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

Disassembly:
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edi + 0x24]
lahf
lea eax, [edx + esi*2]
cwd
mov cx, 0x1b7e
movzx ecx, word [eax + edi]
movsx edx, sp
cwd
lea edx, [ebx + 1]
jmp 0x1055908c
je 0x10565d99
mov cl, byte [esi + 1]
inc esi
cmp si, bx
test cl, cl
jmp 0x105bf0e3
je 0x105bf0e9
cmp eax, edi
jmp 0x1048b53c
push ecx
jmp 0x10556fc3
jne 0x104c0e7f
cmp byte [ebp + 0x10], 0
je 0x104cfd42
mov ebx, dword [ebp + 0xc]
rcr esi, 0xcb
movzx eax, di
lea eax, [ebp - 0x114]
shl esi, 2
sub edx, edx
not cl
cmp esp, esp
shl cl, cl
sub ebx, eax
movsx esi, si
mov edi, edi
movsx esi, bp
mov eax, 0x33fe7010
mov cl, dl
btr si, 0x20
rol eax, cl
btr esi, edi
lea esi, [ebp + edx - 0x114]
add al, dl
test edi, 0xa965682
cmp cx, si
xor al, byte [ebx + esi]
mov byte [esi], al
je 0x1048b5b2
inc edx
test si, 0x3412
test edi, edi
cmp edx, 0x104
jb 0x1048b570
lea eax, [ebp - 0x114]
jmp 0x10534d4f
je 0x104e51af
sub eax, eax
cmova di, bx
pop edi
jmp 0x104d111f
sub bl, 0x30
jmp 0x1059674e
jl 0x104d900b
jmp 0x105fe33f
mov esp, ebp
bswap bp
pop ebp
jmp 0x104b1ec3
ret
ret
je 0x10491d91
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jmp 0x105f2817
cmp byte [esi + 1], 0x23
lea ecx, [esi + 1]
je 0x104dae3d
push 0
jmp 0x104755d7
jae 0x105bf0e9
mov edx, dword [eax + edi + 0x1c]
cmc
lea ecx, [edx + ecx*4]
test edi, ebx
jmp 0x104d60f3
ja 0x105136c2
movsx ecx, cl
lea edx, [edx + edx*4]
cmp dx, 0x73c2
lea edx, [ecx + edx*2 - 0x30]
sub cl, 0xb0
rol cl, cl
mov cl, byte [esi]
jmp 0x105136ba
mov eax, dword [ebp + 0xc]
jmp 0x10640d70
mov esp, ebp
mov bp, di
xchg ebp, ebp
pop ebp
jmp 0x104f5767
mov ecx, dword [ecx + edi]
jmp 0x10562331
jle 0x105adbed
mov eax, dword [ebp - 4]
sbb esi, edi
shrd si, bp, 0x87
mov esi, dword [ebp - 8]
stc
cmp si, cx
cmp esi, dword [eax + edi + 0x14]
jmp 0x1054c83f
mov cl, byte [esi + 2]
cmp dx, 0x4ac0
add esi, 2
xor edx, edx
cmc
test cl, cl
jmp 0x104f3067
mov edx, dword [edi + 0x3c]
stc
cmp ecx, ecx
test eax, edi
lea edx, [edx + edi]
cmp dword [edx], 0x4550
jmp 0x105ff748
mov esp, ebp
pop ebp
ret
inc eax
test ecx, ebp
mov dword [ebp + 8], edx
cmc
cmp edx, ecx
jmp 0x10536c42
je 0x105136c2
mov bl, cl
jmp 0x10497516
ret
call eax
pop esi
bswap di
movzx edi, si
cmovns edi, ebp
pop ebx
xchg edi, edi
pop edi
jmp 0x105394b3
ret
je 0x104d900b
mov edx, dword [eax + edi + 0x20]
jmp 0x105ca2f5
lea ebx, [esi - 1]
cmp dword [ebp + 8], ebx
jmp 0x104d8ff4
test cl, cl
jne 0x104f306d
push 0
push edx
jmp 0x1056d4c3
call eax
test eax, eax
jne 0x1046db32
lea edx, [ebp - 0x114]
movzx eax, cx
mov eax, ebp
push edx
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA_2]
jmp 0x1052f891
mov ebx, dword [eax + edi + 0x18]
jmp 0x10553900
pop esi
movzx ax, ah
lahf
bswap bx
pop ebx
bswap eax
lea eax, [ecx + edi]
pop edi
mov esp, ebp
movsx ebp, ax
pop ebp
ret
call eax
test eax, eax
jmp 0x1046db2c
test edi, edi
jmp 0x104b7ba3
push eax
jmp 0x1057cc82
jb 0x10565dcd
mov eax, dword [ebp + 8]
movzx ecx, di
movsx ecx, si
lea ecx, [ebp - 0x114]
jmp 0x105420f2
mov esp, ebp
pop ebp
ret
mov esp, ebp
pop ebp
jmp 0x104fc315
call eax
pop esi
setp bh
jmp 0x1058e103
push ecx
jmp 0x105dca7a
jae 0x105bf0e9
mov ecx, dword [eax + edi + 0x1c]
lea edx, [ecx + esi*4]
mov ecx, dword [edx + edi]
cmp esp, 0x395545b4
test ecx, ecx
jmp 0x1054f4f2
mov dword [ebp + 8], esi
jmp 0x105acf5a
je 0x105bf0e9
cmp ecx, eax
jmp 0x106132d7
test ebx, ebx
jmp 0x10500383
push eax
jmp 0x105b6b41
mov dword [ebp - 8], ecx
jmp 0x105ed7e4
test ecx, ecx
jne 0x1054f4f8
pop esi
not edi
setle bl
pop ebx
dec di
shl edi, 0x73
sub eax, eax
mov edi, esi
not di
pop edi
jmp 0x105691ab
mov ecx, esi
cmp cx, 0x4ed9
sub ecx, eax
stc
cmp ecx, 0x104
jae 0x105bf0e9
mov dword [ebp + 8], 0
stc
cmc
test esp, edx
test ecx, ecx
jbe 0x10536c48
lea ebx, [ebp - 0x114]
sub ebx, eax
clc
not dl
mov dl, byte [eax]
clc
test dl, dl
jmp 0x106105c9
push ebp
mov ebp, esp
cmp cl, dl
cmp dl, 0x2f
sub esp, 0x114
push edi
sbb di, 0x1fb
xor edi, 0x264814a4
add edi, ebx
mov edi, dword [ebp + 8]
test ax, 0x11c2
jmp 0x10532560
push eax
test si, 0x51f6
shld ax, sp, 0xff
sar esi, 1
mov eax, dword [edx + esi*4]
clc
stc
add eax, edi
jmp 0x105af469
mov esp, ebp
pop ebp
jmp 0x104b574d
push eax
jmp 0x105ee3a7
push edi
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress_2]
jmp 0x1053e8cc
pop ebx
cmovno di, sp
pop edi
jmp 0x104a0eff
inc esi
cmp bl, 9
jmp 0x104c53cf
cmp word [edi], ax
jmp 0x10491d8b
jae 0x1052c8f0
lea eax, [ecx + edi]
and esi, 0xd9e081f
sal cl, cl
mov cl, byte [eax]
shrd esi, ebp, 0x72
xadd si, si
mov esi, eax
clc
test cl, cl
je 0x105bf0e9
mov edi, edi
cmp ch, bl
cmc
cmp cl, 0x2e
jmp 0x1046cbbc
jmp 0x10506408
mov ecx, dword [ebp + 0xc]
jmp 0x105fe337
call fcn.105959a2
lea esp, [esp + 4]
test bx, 0x7e1f
cmp eax, 0xffffffff
jmp 0x105e9229
call fcn.10566769
add esp, 0xc
pop esi
sete bh
pop ebx
mov edi, 0x6f880fd5
pop edi
jmp 0x10537606
ja 0x1051d498
sub ecx, dword [eax + edi + 0x10]
stc
cmp ecx, dword [eax + edi + 0x14]
jmp 0x104c1b37
jne 0x105a7648
pop esi
pop ebx
shrd di, cx, 0x7f
xor eax, eax
movzx edi, si
pop edi
jmp 0x104e896a
dec ebx
cmp sp, 0xe2b
test si, 0x2a2f
cmc
add edx, edi
mov dword [ebp + 8], 0
test ebx, 0x84d3f93
mov dword [ebp - 0xc], edx
cmc
test ebx, ebx
jmp 0x104a05a7
mov byte [ebp + eax - 0x114], 0
mov ax, bx
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA_2]
jmp 0x1051741e
je 0x10506405
test eax, eax
je 0x10440ad3
cmp eax, 1
jne 0x10506408
inc esi
jmp 0x1054d806
mov dword [ebp + 8], edx
jmp 0x10506408
call fcn.10566769
add esp, 0xc
bswap bx
not si
movsx esi, bx
pop esi
movzx ebx, di
pop ebx
xchg di, di
pop edi
jmp 0x1063e6d1
je 0x10491d91
mov eax, 0x5a4d
clc
cmp dx, 0x5889
jmp 0x105a2527
mov edx, dword [ebp - 0xc]
add eax, ebp
xadd esi, eax
mov eax, dword [ebp + 8]
cmp cx, sp
and esi, 0x5e9442f6
lea esi, [ebx + eax]
not eax
inc ax
mov eax, dword [ebp + 0x10]
cmc
jmp 0x10566f21
jne 0x10491d91
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
test eax, eax
je 0x10491d91
mov edx, dword [edx + 0x7c]
test dh, 0x65
clc
push ebx
cmp ebp, eax
push esi
test dl, 0x3a
or esi, 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], esi
cmp ecx, 0xffff
jmp 0x105b8715
je 0x10536c48
mov byte [ebx + eax], dl
mov edx, ebp
not dx
cdq
mov edx, dword [ebp + 8]
inc edx
jmp 0x104ee3cd
jb 0x1052c8f0
mov edx, dword [ebp - 0x10]
add edx, eax
cmp edi, 0x17db5b54
cmp ecx, edx
jmp 0x105a761d
mov esp, ebp
pop ebp
ret
push eax
push edi
xchg ah, al
movzx eax, bx
mov al, 0xa8
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress_2]
jmp 0x104fbd7d