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

Disassembly:
mov eax, dword [ebp + 8]
cmc
mov ecx, eax
mov ecx, dword [ebp - 4]
movsx dx, cl
xor dx, dx
bt edx, edx
mov edx, dword [ecx + eax + 0x24]
sal cl, cl
sar cl, cl
bswap cx
lea ecx, [edx + esi*2]
movzx edx, word [ecx + eax]
bts cx, bp
mov dword [ebp - 8], edx
mov ecx, eax
sbb dl, 0x27
or edx, ebp
mov edx, dword [ebp - 4]
cwde
mov ax, 0x790c
mov eax, dword [ebp - 8]
cmp eax, dword [edx + ecx + 0x14]
jmp 0x14bfa78
mov esp, ebp
pop ebp
jmp 0x157fcef
je 0x11aef91
mov eax, dword [edx + ecx + 0x20]
test ah, 0x64
lea eax, [eax + ecx]
test bh, al
cmc
stc
sub ebx, ebx
jmp 0x1340a5f
ret
mov eax, dword [eax + ecx]
cmp cl, 0xc4
test eax, eax
jmp 0x15096a0
cmp byte [esi + 1], 0x23
lea ecx, [esi + 1]
je 0x14de58f
push 0
jmp 0x1c0446a
mov dword [ebp - 0x10], eax
test esp, 0x43e51f43
cmc
mov dword [ebp - 8], 0xffffffff
test dx, sp
clc
cmp esi, 0xffff
jmp 0x132b650
push eax
movzx eax, ax
push edx
movzx ax, al
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x134de26
mov esp, ebp
pop ebp
ret
test eax, eax
jmp 0x150768e
mov ecx, esi
test bp, di
jmp 0x1c30140
pop edi
adc esi, 0x9db2241
xor bl, 0x29
pop ebx
btr si, ax
adc si, 0x7395
add eax, ecx
not esi
pop esi
jmp 0x12edaa6
push edi
jmp 0x11f36d1
je 0x153ba3f
mov edx, dword [ebp + 8]
jmp 0x14a8047
inc eax
cmc
test cl, bl
cmp edi, ecx
jmp 0x14dbbb4
inc esi
cmc
cmp al, 9
ja 0x15338b3
movsx eax, cl
sub cl, 0xdd
mov cl, byte [esi]
stc
test edi, edx
lea edx, [edx + edx*4]
lea edx, [eax + edx*2 - 0x30]
test cl, cl
jmp 0x15338ad
je 0x13091d9
mov edi, dword [ebp + 0xc]
shr bh, cl
shl bh, cl
lea ecx, [ebp - 0x114]
xchg si, bx
bsf si, si
sub eax, eax
sal bl, cl
clc
sub edi, ecx
rol ebx, cl
rcl cl, 0x79
lea esp, [esp]
jmp 0x12ad20f
ret
je 0x14dbbba
mov byte [ebx + eax], dl
jmp 0x157dda6
mov cl, al
mov ebx, 0x1cd33038
xchg esi, esi
rol ebx, cl
adc esi, ecx
ror esi, 0x25
lea esi, [ebp + eax - 0x114]
sar ecx, 0xe9
lea ecx, [eax + ebx]
jmp 0x12d9f7c
xor cl, byte [edi + esi]
mov byte [esi], cl
jmp 0x1c2c05d
jae 0x122a38a
add eax, ecx
mov cl, byte [eax]
neg esi
mov esi, eax
cmc
test bp, di
test cl, cl
jmp 0x14fda08
push edi
call fcn.01580a2b
add esp, 0xc
pop edi
movzx ebx, di
pop ebx
mov si, ax
pop esi
mov esp, ebp
jmp 0x1354e42
mov esp, ebp
not ebp
pop ebp
jmp 0x11be56b
jne 0x154e3ba
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
clc
test ebx, esp
stc
test edx, edx
jmp 0x1c0f67a
mov eax, dword [ebp - 0xc]
sub esi, 0x4a136417
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
test di, cx
sar esi, 1
cmp edi, 0x3cf3168
cmp ecx, esi
test esp, ecx
mov eax, dword [eax + esi*4]
push edx
stc
mov edx, dword [ebp + 0xc]
add eax, ecx
jmp 0x154f2de
je 0x14dbbba
lea ebx, [ebp - 0x114]
sub ebx, eax
xadd dl, dl
mov dl, byte [eax]
test ebx, edi
cmp bp, bp
test dl, dl
jmp 0x126fb18
mov eax, dword [ebp + 0xc]
jmp 0x11feb73
js 0x11aef91
jmp 0x12fe496
ja 0x1c3d044
mov eax, esi
jmp 0x1c04494
ret
mov eax, dword [ecx + 0x3c]
jmp 0x14a90ad
dec edi
jmp 0x151e6ce
call eax
pop edi
movzx esi, bx
mov bx, dx
pop ebx
movsx esi, bx
not esi
pop esi
mov esp, ebp
cmovl bp, sp
not ebp
pop ebp
jmp 0x135afbf
pop ebp
jmp 0x126aa2f
ret
cmp edi, edx
jmp 0x158c927
cmp dword [eax + ecx], 0x4550
jmp 0x12f2f9a
jmp 0x11aef91
jae 0x153ba3f
mov esi, dword [edx + ecx + 0x1c]
cmc
cmp ecx, esp
lea eax, [esi + eax*4]
jmp 0x11d0b9e
ret
mov esp, ebp
mov ebp, esp
movsx ebp, bp
jmp 0x1514f2f
pop esi
jmp 0x1571325
call eax
mov edi, eax
cmp sp, cx
test di, 0x3919
test edi, edi
jmp 0x1256a1f
jb 0x12fe5f1
lea ecx, [ebp - 0x114]
push ecx
cwde
mov ah, 0x10
mov byte [ebp + edi - 0x114], 0
mov ah, 0xf6
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
mov edi, eax
stc
test edi, edi
jmp 0x1587f7d
mov cl, byte [esi + 2]
cmp bp, 0x4bf5
add esi, 2
cmp dx, bp
test al, dl
sub edx, edx
test cl, cl
jmp 0x155681b
push edx
jmp 0x12e6d60
je 0x153ba3f
cmp cl, 0x2e
jmp 0x1c0f64c
jns 0x1c2823b
lea edi, [esi - 1]
jmp 0x151c727
je 0x153ba3f
cmp eax, edx
jmp 0x158ddba
pop ebp
jmp 0x133375f
jmp 0x1c28247
mov dword [ebp - 0xc], eax
jmp 0x13270be
call fcn.01580a2b
add esp, 0xc
cmova esi, esp
pop edi
pop ebx
mov esi, edi
mov si, 0x2ce1
pop esi
jmp 0x120082f
mov dword [ebp - 8], eax
jmp 0x14b4492
jne 0x1556821
push 0
jmp 0x14fd8e1
inc esi
test cl, cl
jne 0x14fda0e
pop edi
sal ebx, cl
rcl bl, cl
pop ebx
btr si, 0xbc
sub eax, eax
not si
bswap si
movsx esi, si
pop esi
jmp 0x11bc4e7
je 0x1336188
xor eax, eax
not si
pop esi
jmp 0x14c79ef
call fcn.01576d1a
add esp, 4
jmp 0x1221cdd
je 0x15338b3
lea eax, [ecx - 0x30]
jmp 0x1263439
jle 0x12fe48d
jmp 0x11aef89
test esi, esi
je 0x154e3ba
mov eax, 0x5a4d
test ebx, edi
jmp 0x15816dc
mov esp, ebp
movzx ebp, dx
xchg bp, bp
movsx ebp, bp
pop ebp
jmp 0x14c665b
jb 0x12ad20f
lea eax, [ebp - 0x114]
jmp 0x1c3aeed
inc edi
jmp 0x125c2ec
ret
push ebp
mov ebp, esp
shr ch, 0x2b
xadd cl, ch
mov ecx, dword [ebp + 8]
test ecx, ebp
test bp, 0x57f2
cmc
sub esp, 0x114
cmp di, bx
test sp, 0x768b
push esi
test ecx, ecx
jmp 0x1c3e269
cmp word [ecx], ax
jmp 0x154e3b4
jne 0x1256a25
lea edx, [ebp - 0x114]
movsx eax, sp
push edx
nop
mov eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x14da85f
jne 0x11eda1a
cmp byte [ebp + 0x10], 0
jmp 0x1269ac4
jb 0x122a38a
mov esi, dword [ebp - 0x10]
add esi, edx
clc
stc
cmp eax, esi
jmp 0x12e2e08
jae 0x153ba3f
xor edi, edi
cmc
test ecx, ecx
jmp 0x12fe5e0
push ecx
jmp 0x1c1344f
sub eax, dword [edx + ecx + 0x10]
jmp 0x153264c
je 0x12280af
mov cl, byte [esi + 1]
jmp 0x153ba36
je 0x154e3ba
mov eax, dword [eax + ecx + 0x7c]
push ebx
jmp 0x1238f13
push edi
jmp 0x1526859
jle 0x11aef56
lea ebx, [esi + 1]
ror ecx, 0xec
mov ecx, dword [ebp + 8]
cmp bx, sp
cmp ebx, edi
jmp 0x155a258
je 0x1576c5a
inc eax
test bx, di
clc
cmp eax, 0x104
jmp 0x1576c54
sub ecx, eax
cmp ecx, 0x104
jmp 0x1c04214
push eax
movsx ax, ch
lahf
push edx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
pop edi
mov bh, 0x43
not esi
pop ebx
not si
bswap si
jmp 0x14d8126
mov edi, dword [edx + ecx + 0x18]
clc
test ecx, 0x249355f7
test edi, edi
jmp 0x11be4d6
je 0x154e3ba
mov esi, dword [ebp + 0xc]
cmp eax, 0x3c6b1642
jmp 0x1566888