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

Disassembly:
mov ebx, esi
sub ebx, eax
cmp ebx, 0x104
jae 0x1041e1fa
sub ecx, ecx
test sp, 0x464d
test ecx, ebp
test ebx, ebx
jbe 0x10414c2b
lea edi, [ebp - 0x114]
xadd dl, dl
or dl, 0xc3
sub edi, eax
shr dl, cl
mov dl, byte [eax]
cmp si, ax
cmp si, 0x7a46
test esp, 0x31f14795
test dl, dl
je 0x10414c2b
mov byte [edi + eax], dl
inc ecx
inc eax
cmp edx, esp
cmp ecx, ebx
jb 0x10414c04
lea eax, [ebp - 0x114]
push eax
cbw
cwde
movsx eax, ax
mov byte [ebp + ecx - 0x114], 0
not al
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
mov edi, eax
test edi, edi
jne 0x10414c6b
lea ecx, [ebp - 0x114]
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
call eax
mov edi, eax
test edi, edi
je 0x1041e1fa
cmp byte [esi + 1], 0x23
lea ecx, [esi + 1]
je 0x1044bfcb
push 0
push ecx
push edi
call fcn.10435777
add esp, 0xc
pop esi
xchg bl, bl
cmovns bx, bp
not edi
pop ebx
bswap edi
mov di, ax
pop edi
mov esp, ebp
cmovne bp, si
pop ebp
ret
mov edx, dword [edi + 0x3c]
test ah, cl
stc
lea edx, [edx + edi]
test ax, di
cmp dword [edx], 0x4550
jne 0x104357b3
mov eax, dword [edx + 0x78]
cmc
mov dword [ebp - 4], eax
cmc
test eax, eax
je 0x104357b3
mov edx, dword [edx + 0x7c]
push ebx
test sp, 0x5146
cmp edi, edx
push esi
or esi, 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], esi
cmp esp, 0x74738aa
cmp ecx, 0xffff
ja 0x1042f128
sub ecx, dword [eax + edi + 0x10]
cmp ecx, dword [eax + edi + 0x14]
jae 0x1041e1fa
mov edx, dword [eax + edi + 0x1c]
cmc
cmp esi, ebp
lea ecx, [edx + ecx*4]
cmp bh, 0x5f
cmc
mov ecx, dword [ecx + edi]
test ecx, ecx
jne 0x1041e1a1
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
inc eax
mov edx, dword [ebp - 0xc]
xadd ax, si
lahf
mov eax, dword [ebp + 8]
bt esi, edx
ror si, 0x5a
and si, 0x51ed
lea esi, [ebx + eax]
clc
sar eax, 8
mov eax, dword [ebp + 0x10]
push eax
sar esi, 1
shl eax, 0xa1
mov eax, dword [edx + esi*4]
add eax, edi
call fcn.1042e2cf
add esp, 4
clc
cmc
cmp eax, 0xffffffff
je 0x1041e163
test eax, eax
je 0x10426a74
cmp eax, 1
jne 0x1041e16a
inc esi
mov dword [ebp + 8], esi
jmp 0x1041e16a
lea ebx, [esi - 1]
cmc
cmp dh, 0x40
cmp dword [ebp + 8], ebx
jle 0x1041675e
mov eax, dword [ebp - 4]
sub si, 0x7512
cmc
mov esi, dword [ebp - 8]
cmp edi, esp
cmp esi, dword [eax + edi + 0x14]
jae 0x1041e1fa
mov ecx, dword [eax + edi + 0x1c]
lea edx, [ecx + esi*4]
bswap cx
mov ecx, dword [edx + edi]
cmc
test ecx, ecx
je 0x1041e1fa
cmp ecx, eax
jb 0x104366b4
mov edx, dword [ebp - 0x10]
cmp esp, 0x16b016fa
clc
stc
lea edx, [edx + eax]
cmp ecx, edx
jae 0x104366b4
lea eax, [ecx + edi]
cmc
mov cl, byte [eax]
stc
shl esi, 0xe2
btr si, ax
mov esi, eax
test bx, bp
test ah, 0xae
test cl, cl
je 0x1041e1fa
mov edi, edi
cmp bx, 0x5114
cmp cl, 0x2e
je 0x10414bd3
mov cl, byte [esi + 1]
inc esi
stc
test cl, cl
jne 0x1041e1e4
pop esi
shr di, 0x6b
pop ebx
sub eax, eax
xchg edi, edi
mov di, bx
cmovbe edi, ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edi + 0x24]
cwde
mov cl, 0xc4
lea eax, [edx + esi*2]
movzx ecx, word [eax + edi]
setb dh
lea edx, [ebx + 1]
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
jmp 0x1041e16a
mov ebx, dword [eax + edi + 0x18]
test ebx, ebx
je 0x1041e181
mov edx, dword [eax + edi + 0x20]
dec ebx
test cx, dx
add edx, edi
cmc
clc
mov dword [ebp + 8], 0
mov dword [ebp - 0xc], edx
test ax, cx
clc
test ebx, ebx
jl 0x1041e181
jmp 0x1041676a
push ebp
mov ebp, esp
cmp cl, 0x3c
clc
lea esp, [esp - 0x114]
push edi
mov edi, dword [ebp + 8]
cmp bl, cl
cmc
test edi, edi
je 0x104357b3
mov ecx, dword [ebp + 0xc]
cmp ax, ax
test ecx, ecx
je 0x104357b3
mov eax, 0x5a4d
test ah, 0xea
cmp word [edi], ax
je 0x104157e3
xor eax, eax
pop edi
mov esp, ebp
not ebp
pop ebp
ret
pop esi
pop ebx
lea eax, [ecx + edi]
pop edi
mov esp, ebp
cmovb ebp, edi
pop ebp
ret
mov cl, byte [esi + 2]
lea esi, [esi + 2]
test bp, sp
cmp ax, 0x7a21
sub edx, edx
test cl, cl
je 0x1044c010
mov al, cl
test esi, 0x4034561c
sub al, 0x30
inc esi
cmp al, 9
ja 0x1044c010
movsx eax, cl
mov cl, byte [esi]
stc
clc
lea edx, [edx + edx*4]
stc
cmp bx, si
lea edx, [eax + edx*2 - 0x30]
clc
test cl, cl
jne 0x1044bfe2
push 0
push edx
push edi
call fcn.10435777
add esp, 0xc
mov edi, 0x3bc85726
mov di, bx
cmovb esi, edx
pop esi
movsx edi, ax
movzx edi, si
pop ebx
not di
bswap di
pop edi
mov esp, ebp
cmovbe ebp, eax
pop ebp
ret