Function at 0x106545f4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ebp + 0xc]
bt esi, eax
bts eax, edi
btc ax, 0xd
mov edx, dword [ebp - 0xc]
shl ax, 0xc1
mov eax, dword [ebp + 8]
lea esi, [ebx + eax]
inc al
cmovnp ax, cx
mov eax, dword [ebp + 0x10]
cmp sp, 0x3f12
push eax
btc ax, 0x60
sar esi, 1
or eax, 0x37d92657
mov eax, dword [edx + esi*4]
clc
cmc
add eax, edi
call fcn.10654846
add esp, 4
cmp si, 0x19be
cmp esp, ecx
cmp eax, 0xffffffff
je 0x10419757
test eax, eax
je 0x1065d026
cmp eax, 1
jne 0x1041975b
inc esi
mov dword [ebp + 8], esi
jmp 0x1041975b
pop esi
nop
pop ebx
lea eax, [ecx + edi]
pop edi
mov esp, ebp
pop ebp
ret
mov cl, byte [esi + 2]
add esi, 2
cmc
sub edx, edx
test cl, cl
je 0x10415c3c
mov al, cl
sub al, 0x30
inc esi
cmp al, 9
ja 0x10415c3c
movsx eax, cl
shr cl, 0x6a
mov cl, byte [esi]
test si, 0x598a
lea edx, [edx + edx*4]
test bp, ax
test cx, 0x6957
lea edx, [eax + edx*2 - 0x30]
cmp cx, 0x4952
test cl, cl
jne 0x10415c06
push 0
push edx
push edi
call fcn.106545f4
add esp, 0xc
pop esi
movzx ebx, cx
mov di, sp
not di
pop ebx
pop edi
mov esp, ebp
bswap bp
pop ebp
ret
lea ebx, [esi - 1]
cmc
cmp dword [ebp + 8], ebx
jle 0x103f808b
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp si, 0x226c
cmp esi, dword [eax + edi + 0x14]
jae 0x104197e5
mov ecx, dword [eax + edi + 0x1c]
movsx edx, cx
lea edx, [ecx + esi*4]
test bp, 0x7f62
mov ecx, dword [edx + edi]
test ecx, ecx
je 0x104197e5
cmp ecx, eax
jb 0x10414d1f
mov edx, dword [ebp - 0x10]
cmp bp, 0x593d
lea edx, [edx + eax]
cmc
test esp, 0x321e47bf
cmp ecx, edx
jae 0x10414d1f
lea eax, [ecx + edi]
sal si, 0xfb
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x104197e5
mov edi, edi
cmp cl, 0x2e
je 0x1065d368
mov cl, byte [esi + 1]
inc esi
cmp cx, 0x556a
cmc
test cl, cl
jne 0x104197ca
pop esi
pop ebx
xor edi, ecx
sbb di, bp
sub eax, eax
not edi
pop edi
mov esp, ebp
not ebp
mov bp, 0x2bbf
pop ebp
ret
push ebp
mov ebp, esp
stc
cmp bh, 6
lea esp, [esp - 0x114]
push edi
sub di, di
dec di
mov edi, dword [ebp + 8]
clc
test edi, edi
je 0x10654631
mov ecx, dword [ebp + 0xc]
cmp di, bp
test ecx, ecx
je 0x10654631
mov eax, 0x5a4d
cmp word [edi], ax
je 0x10657110
sub eax, eax
not di
movsx edi, dx
pop edi
mov esp, ebp
bswap bp
mov ebp, 0x167b30bb
mov bp, si
pop ebp
ret
mov edx, dword [edi + 0x3c]
test dx, sp
add edx, edi
cmp dword [edx], 0x4550
jne 0x10654631
mov eax, dword [edx + 0x78]
clc
mov dword [ebp - 4], eax
cmp di, 0x13c8
test eax, eax
je 0x10654631
mov edx, dword [edx + 0x7c]
cmp esi, 0x27ae3685
test esi, esi
push ebx
cmp bp, bx
cmp eax, 0x1a0f21aa
push esi
stc
cmp ch, 0x9a
test cx, di
or esi, 0xffffffff
cmc
mov dword [ebp - 0x10], edx
clc
cmp ecx, ebp
mov dword [ebp - 8], esi
clc
test esi, ebp
cmp ecx, 0xffff
ja 0x1065c2f8
sub ecx, dword [eax + edi + 0x10]
cmp si, 0x4218
stc
cmp ecx, dword [eax + edi + 0x14]
jae 0x104197e5
mov edx, dword [eax + edi + 0x1c]
stc
lea ecx, [edx + ecx*4]
clc
mov ecx, dword [ecx + edi]
cmp di, 0x2935
test ecx, ecx
jne 0x10419793
pop esi
xchg bl, bh
shr ebx, cl
pop ebx
or edi, edx
or edi, 0x35fb6b4b
sub eax, eax
xchg di, di
pop edi
mov esp, ebp
bswap ebp
movsx ebp, dx
pop ebp
ret
mov ebx, dword [eax + edi + 0x18]
test ebx, ebx
je 0x1041976f
mov edx, dword [eax + edi + 0x20]
dec ebx
lea edx, [edx + edi]
test ebx, ebp
mov dword [ebp + 8], 0
mov dword [ebp - 0xc], edx
cmp esi, ecx
cmp eax, 0x1f8723df
test ebx, ebx
jl 0x1041976f
jmp 0x103f80a0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edi + 0x24]
setae ah
lea eax, [edx + esi*2]
cmovo cx, bp
sets dh
movzx ecx, word [eax + edi]
cwd
sets dh
lea edx, [ebx + 1]
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
jmp 0x1041975b
mov ebx, esi
clc
test bp, ax
sub ebx, eax
cmp ebx, 0x104
jae 0x104197e5
xor ecx, ecx
cmp ax, 0x2e3e
test ch, 0xc9
test ebx, ebx
jbe 0x1065d3b8
lea edi, [ebp - 0x114]
sub edi, eax
rol dl, 0x9f
setg dl
mov dl, byte [eax]
stc
test dl, dl
je 0x1065d3b8
mov byte [edi + eax], dl
inc ecx
inc eax
test sp, 0x128b
cmp ecx, ebx
jb 0x1065d39b
lea eax, [ebp - 0x114]
push eax
movsx ax, al
mov eax, 0x187d7aef
mov byte [ebp + ecx - 0x114], 0
setae al
not ah
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
mov edi, eax
cmc
test edi, edi
jne 0x1065d40a
lea ecx, [ebp - 0x114]
mov eax, edi
cbw
push ecx
mov ah, 0x7d
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
call eax
mov edi, eax
stc
test sp, si
test edi, edi
je 0x104197e5
cmp byte [esi + 1], 0x23
not ch
mov cx, 0x4726
lea ecx, [esi + 1]
je 0x10415bf5
push 0
push ecx
push edi
call fcn.106545f4
add esp, 0xc
pop esi
not di
bswap bx
pop ebx
pop edi
mov esp, ebp
cmovge ebp, esi
not bp
pop ebp
ret