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

Disassembly:
mov ecx, dword [ebp - 4]
mov dh, ch
mov edx, dword [ecx + edi + 0x24]
movzx ecx, dx
movzx ax, dh
lea eax, [edx + esi*2]
setl cl
movzx edx, bp
bswap ecx
movzx ecx, word [eax + edi]
movsx dx, ah
lea edx, [ebx + 1]
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
jmp 0xe88f71
push ebp
mov ebp, esp
cmp ax, cx
clc
sub esp, 0x114
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0xbca2b2
mov ecx, dword [ebp + 0xc]
cmp esp, 0x43037ce
test ecx, ecx
je 0xbca2b2
mov eax, 0x5a4d
stc
cmp word [edi], ax
je 0xfd2192
sub eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
cmovp edx, edi
neg al
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmovge si, si
lea esi, [ebx + eax]
bsf ax, cx
mov eax, dword [ebp + 0x10]
push eax
and eax, ebx
or ax, di
sar esi, 1
mov eax, dword [edx + esi*4]
add eax, edi
call fcn.00fd7f03
add esp, 4
cmp esp, 0x348b5c24
cmc
test edi, 0x14b76480
cmp eax, 0xffffffff
je 0xe88f69
test eax, eax
je 0xbc2465
cmp eax, 1
jne 0xe88f71
inc esi
mov dword [ebp + 8], esi
jmp 0xe88f71
lea ebx, [esi - 1]
stc
cmc
cmp ah, 0x44
cmp dword [ebp + 8], ebx
jle 0xbd0978
mov eax, dword [ebp - 4]
shr esi, 0x5e
and si, cx
mov esi, dword [ebp - 8]
cmp esi, dword [eax + edi + 0x14]
jae 0xe88ffc
mov ecx, dword [eax + edi + 0x1c]
sal dx, 0x7d
lea edx, [ecx + esi*4]
movsx cx, bl
and ecx, esi
btr cx, 0x83
mov ecx, dword [edx + edi]
test ecx, ecx
je 0xe88ffc
cmp ecx, eax
jb 0xfd905b
mov edx, dword [ebp - 0x10]
add edx, eax
cmp bp, 0x6dc9
stc
cmp ecx, edx
jae 0xfd905b
lea eax, [ecx + edi]
btc si, cx
mov cl, byte [eax]
mov esi, eax
cmp esp, esi
test cl, cl
je 0xe88ffc
mov edi, edi
clc
cmp cl, 0x2e
je 0xf2925f
mov cl, byte [esi + 1]
inc esi
cmp di, cx
test cl, cl
jne 0xe88fe4
pop esi
pop ebx
xor eax, eax
xchg di, di
pop edi
mov esp, ebp
mov bp, 0x1ca5
bswap ebp
pop ebp
ret
mov ebx, esi
stc
sub ebx, eax
cmp ebx, 0x104
jae 0xe88ffc
xor ecx, ecx
clc
stc
test ebx, ebx
jbe 0xf292ac
lea edi, [ebp - 0x114]
shl dl, cl
add dl, 0xe2
sub edi, eax
sar dl, 0xa
mov dl, byte [eax]
cmp di, 0x632c
test dl, dl
je 0xf292ac
mov byte [edi + eax], dl
inc ecx
inc eax
stc
test dx, si
cmp ecx, ebx
jb 0xf2928c
lea eax, [ebp - 0x114]
push eax
lahf
movsx eax, sp
mov byte [ebp + ecx - 0x114], 0
cbw
lahf
bswap ax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
mov edi, eax
clc
stc
cmp dl, 0xe
test edi, edi
jne 0xf292fe
lea ecx, [ebp - 0x114]
bswap ax
movsx eax, sp
lahf
push ecx
cbw
xchg ah, al
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
call eax
mov edi, eax
test edi, edi
je 0xe88ffc
cmp byte [esi + 1], 0x23
movzx cx, bh
lea ecx, [esi + 1]
je 0xfd4c31
push 0
push ecx
push edi
call fcn.00bca279
add esp, 0xc
pop esi
not edi
pop ebx
pop edi
mov esp, ebp
cmovae bp, dx
xchg bp, bp
pop ebp
ret
mov ebx, dword [eax + edi + 0x18]
test ebx, ebx
je 0xe88f86
mov edx, dword [eax + edi + 0x20]
dec ebx
test bp, di
lea edx, [edx + edi]
test cx, cx
mov dword [ebp + 8], 0
cmc
mov dword [ebp - 0xc], edx
test ebx, ebx
jl 0xe88f86
jmp 0xbd0983
mov edx, dword [edi + 0x3c]
clc
add edx, edi
cmp bx, 0x44d6
cmp dword [edx], 0x4550
jne 0xbca2b2
mov eax, dword [edx + 0x78]
cmp bh, 0xeb
mov dword [ebp - 4], eax
cmp bp, ax
test eax, eax
je 0xbca2b2
mov edx, dword [edx + 0x7c]
push ebx
clc
cmc
push esi
test ax, 0x56e2
cmc
cmp si, di
or esi, 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], esi
cmp esp, esi
clc
cmp ecx, 0xffff
ja 0xf2a365
sub ecx, dword [eax + edi + 0x10]
cmp ecx, dword [eax + edi + 0x14]
jae 0xe88ffc
mov edx, dword [eax + edi + 0x1c]
clc
cmp si, 0x4294
lea ecx, [edx + ecx*4]
cmp bx, 0x75df
mov ecx, dword [ecx + edi]
cmp sp, dx
test ecx, ecx
jne 0xe88fb1
pop esi
pop ebx
dec edi
xor eax, eax
pop edi
mov esp, ebp
bswap bp
cmovp bp, si
pop ebp
ret
mov cl, byte [esi + 2]
add esi, 2
stc
xor edx, edx
test esi, ecx
test cl, cl
je 0xfd4c76
mov al, cl
sub al, 0x30
inc esi
cmp bl, bh
cmp al, 9
ja 0xfd4c76
movsx eax, cl
mov cl, byte [esi]
test ebx, 0x3eb2d42
stc
lea edx, [edx + edx*4]
test sp, di
clc
lea edx, [eax + edx*2 - 0x30]
cmp ebp, ebx
clc
stc
test cl, cl
jne 0xfd4c44
push 0
push edx
push edi
call fcn.00bca279
add esp, 0xc
pop esi
cmovg ebx, eax
pop ebx
pop edi
mov esp, ebp
bswap bp
pop ebp
ret
pop esi
cbw
pop ebx
sete ah
lea eax, [ecx + edi]
xchg edi, edi
movzx edi, bx
movsx edi, ax
pop edi
mov esp, ebp
mov bp, 0x1b5a
not ebp
pop ebp
ret