Function at 0x100107c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x100b1e84], 0
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], ecx
je 0x10010a3b
cmp dword [0x100b1e80], 0
je 0x10010a3b
mov edx, dword [ecx + 0x3c]
xor esi, esi
add edx, ecx
mov dword [ebp - 8], edx
movzx eax, word [edx + 0x14]
lea edi, [edx + 0x18]
mov ebx, dword [edx + 0x88]
add edi, eax
movzx eax, word [edx + 6]
mov ecx, edi
xor edx, edx
mov dword [ebp - 0x10], eax
cmp dx, ax
jae 0x10010832
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x10010829
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x1001099f
mov eax, dword [ebp - 0x10]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010812
xor eax, eax
add eax, dword [ebp - 4]
xor esi, esi
mov edx, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x20]
movzx eax, word [edx + 6]
xor edx, edx
mov dword [ebp - 0x10], eax
cmp dx, ax
jae 0x10010872
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x10010869
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x100109ab
mov eax, dword [ebp - 0x10]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010852
xor eax, eax
mov edx, dword [ebp - 8]
xor esi, esi
add eax, dword [ebp - 4]
mov ecx, edi
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
movzx eax, word [edx + 6]
xor edx, edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebx + 0x24]
cmp dx, ax
jae 0x100108b5
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x100108ac
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x100109b7
mov eax, dword [ebp - 0x10]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010895
xor eax, eax
add eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
movzx ebx, word [ecx + 6]
mov esi, dword [eax + 0x1c]
xor eax, eax
cmp ax, bx
jae 0x100108f0
mov ecx, dword [edi + 0xc]
cmp ecx, esi
ja 0x100108e7
mov eax, dword [edi + 8]
add eax, ecx
cmp esi, eax
jb 0x100109c3
inc edx
add edi, 0x28
cmp dx, bx
jb 0x100108d3
xor eax, eax
add eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10010995
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
lea ebx, [edx + 0x18]
add ebx, eax
movzx eax, word [edx + 6]
mov dword [ebp - 8], eax
movzx eax, ax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
xor esi, esi
mov edi, dword [edx + ecx*4]
xor edx, edx
mov ecx, ebx
cmp dx, ax
jae 0x10010958
mov edx, dword [ecx + 0xc]
cmp edx, edi
ja 0x1001094f
mov eax, dword [ecx + 8]
add eax, edx
cmp edi, eax
jb 0x100109cf
mov eax, dword [ebp - 0xc]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010938
xor eax, eax
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x10010981
nop dword [eax + eax]
ror eax, 0xd
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10010970
cmp dword [ebp - 0x14], eax
je 0x100109d8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x1c]
jb 0x10010927
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x10010834
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x10010874
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x100108b7
mov eax, dword [edi + 0x14]
sub eax, ecx
add eax, esi
jmp 0x100108f2
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, edi
jmp 0x1001095a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
movzx eax, word [ecx + eax*2]
xor ecx, ecx
mov esi, dword [esi + eax*4]
mov eax, dword [ebp - 8]
movzx edi, ax
xor eax, eax
cmp ax, di
jae 0x10010a14
mov edx, dword [ebx + 0xc]
cmp edx, esi
ja 0x10010a0b
mov eax, dword [ebx + 8]
add eax, edx
cmp esi, eax
jb 0x10010c60
inc ecx
add ebx, 0x28
cmp cx, di
jb 0x100109f7
xor eax, eax
add eax, dword [ebp - 4]
je 0x10010995
xor ecx, ecx
cmp byte [eax], 0xb8
je 0x10010c6c
inc ecx
inc eax
cmp ecx, 0xa
jl 0x10010a21
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x3c]
xor esi, esi
add edx, ecx
mov dword [ebp - 8], edx
movzx eax, word [edx + 0x14]
lea edi, [edx + 0x18]
mov ebx, dword [edx + 0x78]
add edi, eax
movzx eax, word [edx + 6]
mov ecx, edi
xor edx, edx
mov dword [ebp - 0x24], eax
cmp dx, ax
jae 0x10010a81
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x10010a78
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x10010be6
mov eax, dword [ebp - 0x24]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010a61
xor eax, eax
add eax, dword [ebp - 4]
xor esi, esi
mov edx, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 0x10], eax
mov ebx, dword [eax + 0x20]
movzx eax, word [edx + 6]
xor edx, edx
mov dword [ebp - 0x24], eax
cmp dx, ax
jae 0x10010ac1
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x10010ab8
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x10010bf2
mov eax, dword [ebp - 0x24]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010aa1
xor eax, eax
mov edx, dword [ebp - 8]
xor esi, esi
add eax, dword [ebp - 4]
mov ecx, edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
movzx eax, word [edx + 6]
xor edx, edx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebx + 0x24]
cmp dx, ax
jae 0x10010b04
mov edx, dword [ecx + 0xc]
cmp edx, ebx
ja 0x10010afb
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, eax
jb 0x10010bfe
mov eax, dword [ebp - 0x24]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010ae4
xor eax, eax
add eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx ebx, word [ecx + 6]
mov esi, dword [eax + 0x1c]
xor eax, eax
cmp ax, bx
jae 0x10010b3f
mov ecx, dword [edi + 0xc]
cmp ecx, esi
ja 0x10010b36
mov eax, dword [edi + 8]
add eax, ecx
cmp esi, eax
jb 0x10010c0a
inc edx
add edi, 0x28
cmp dx, bx
jb 0x10010b22
xor eax, eax
add eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10010995
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
lea ebx, [edx + 0x18]
add ebx, eax
movzx eax, word [edx + 6]
mov dword [ebp - 8], eax
movzx eax, ax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x20]
xor esi, esi
mov edi, dword [edx + ecx*4]
xor edx, edx
mov ecx, ebx
cmp dx, ax
jae 0x10010ba7
mov edx, dword [ecx + 0xc]
cmp edx, edi
ja 0x10010b9e
mov eax, dword [ecx + 8]
add eax, edx
cmp edi, eax
jb 0x10010c16
mov eax, dword [ebp - 0x10]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x10010b87
xor eax, eax
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x10010bc8
ror eax, 0xd
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10010bb7
cmp dword [ebp - 0x14], eax
je 0x10010c1f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x24]
jb 0x10010b76
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x10010a83
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x10010ac3
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, ebx
jmp 0x10010b06
mov eax, dword [edi + 0x14]
sub eax, ecx
add eax, esi
jmp 0x10010b41
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, edi
jmp 0x10010ba9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
xor ecx, ecx
mov esi, dword [esi + eax*4]
mov eax, dword [ebp - 8]
movzx edi, ax
xor eax, eax
cmp ax, di
jae 0x10010a14
mov edx, dword [ebx + 0xc]
cmp edx, esi
ja 0x10010c52
mov eax, dword [ebx + 8]
add eax, edx
cmp esi, eax
jb 0x10010c60
inc ecx
add ebx, 0x28
cmp cx, di
jb 0x10010c42
jmp 0x10010a14
mov eax, dword [ebx + 0x14]
sub eax, edx
add eax, esi
jmp 0x10010a16
mov eax, dword [eax + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret