Function at 0x40ab30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4a99c8]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov eax, dword [eax + 4]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x14]
mov dword [esp + 0x58], edi
mov edi, dword [ebp + 0x28]
mov byte [eax], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [ebx + 0x164], 0
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x5c], eax
jne 0x40abda
cmp dword [ebx + 0x1b8], 0
jne 0x40abda
cmp dword [ebx + 0x1d8], 0
je 0x40b09f
mov eax, dword [ecx + 0xe0]
test eax, eax
je 0x40b09f
mov esi, dword [ecx + 0xe4]
test esi, esi
je 0x40b09f
push eax
push dword [esp + 0x18]
push edx
call fcn.004082f0
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
js 0x40b09f
shr esi, 5
test esi, esi
je 0x40b09f
dec esi
test esi, esi
je 0x40b09f
cmp dword [ebx + 0x74], 0
je 0x40ac38
push esi
push str.Number_of_Delay_Import_Records____d_n
call fcn.00414b20
add esp, 8
mov eax, 0x400
cmp esi, eax
cmovge esi, eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x38], esi
call fcn.00419300
push 0x3e800
call fcn.004039a0
add esp, 8
mov dword [esp + 0x2c], 0
cmp dword [esp + 0x34], 0
mov esi, eax
mov dword [esp + 0x20], esi
jle 0x40b040
mov ecx, dword [esp + 0x30]
nop dword [eax]
push ecx
push edi
call fcn.004037b0
add esp, 8
test eax, eax
js 0x40b038
push 0x20
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.00403770
add esp, 0xc
test eax, eax
js 0x40b038
cmp dword [ebx + 0x74], 0
je 0x40accd
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x78]
push str.DLL_Record:_rva_name_x__rva_diat_x__rva_dint_x_rva_bdiat_x_n
call fcn.00414b20
add esp, 0x14
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x40acf4
cmp dword [esp + 0x74], eax
jne 0x40acf4
cmp dword [esp + 0x78], eax
jne 0x40acf4
cmp dword [esp + 0x7c], eax
jne 0x40acf4
cmp dword [esp + 0x84], eax
je 0x40b038
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.004082f0
add esp, 0xc
test eax, eax
js 0x40b038
push eax
push edi
call fcn.004037b0
add esp, 8
test eax, eax
js 0x40b038
push edi
call fcn.00403550
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x40b016
mov esi, dword [esp + 0x74]
test esi, esi
je 0x40b016
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.004082f0
add esp, 0xc
test eax, eax
jns 0x40ad5a
or esi, 0xffffffff
jmp 0x40ad71
push eax
push edi
call fcn.004037b0
add esp, 8
test eax, eax
jns 0x40ad6d
or esi, 0xffffffff
jmp 0x40ad71
test esi, esi
jns 0x40ad81
push 0x1e
push dword [esp + 0x58]
call fcn.00408650
add esp, 8
test esi, esi
jle 0x40adf6
mov ebx, dword [esp + 0x10]
xor edi, edi
nop dword [eax]
push ebx
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
call fcn.0040b0c0
add esp, 0xc
test eax, eax
js 0x40adf4
cmp dword [esp + 0x60], 0
je 0x40adba
mov eax, dword [esp + 0x20]
mov dword [eax + edi*4], 0
jmp 0x40adeb
cmp dword [esp + 0x64], 0
je 0x40adf4
mov eax, dword [esp + 0x20]
mov ecx, 0x10b
mov dword [eax + edi*4], esi
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
cmp ax, cx
jne 0x40adde
add esi, 4
jmp 0x40adeb
mov ecx, 0x20b
cmp ax, cx
jne 0x40adeb
add esi, 8
inc edi
cmp edi, 0xfa00
jl 0x40ad90
mov edi, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x40b038
push ebx
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.004082f0
add esp, 0xc
test eax, eax
js 0x40b038
push eax
push edi
call fcn.004037b0
add esp, 8
test eax, eax
js 0x40b038
mov esi, dword [esp + 0x38]
inc dword [esp + 0x3c]
push str.DelayImport
push esi
call fcn.0041a180
push dword [esp + 0x2c]
push 0x440bbc
push esi
call fcn.0041a220
add esp, 0x14
xor esi, esi
mov dword [esp + 0x4c], esi
nop dword [eax]
push edi
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
call fcn.0040b0c0
add esp, 0xc
test eax, eax
js 0x40b012
cmp dword [esp + 0x48], 0
je 0x40af20
cmp dword [esp + 0x44], 0
mov byte [esp + 0x130], 0
jne 0x40b012
push edi
call fcn.00403630
push dword [esp + 0x4c]
mov ebx, eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.004082f0
add esp, 0x10
test eax, eax
js 0x40b012
push eax
push edi
call fcn.004037b0
add esp, 8
test eax, eax
js 0x40b008
push edi
call fcn.00403700
push edi
call fcn.00403550
mov edi, eax
lea eax, [esp + 0x138]
push 0x100
push eax
push dword [esp + 0x20]
call fcn.00403680
push ebx
push dword [esp + 0x28]
mov esi, eax
call fcn.004037b0
add esp, 0x1c
test esi, esi
je 0x40b012
test edi, edi
je 0x40b012
mov ebx, dword [esp + 0x28]
mov eax, 0x440bbc
mov esi, dword [esp + 0x4c]
jmp 0x40af32
cmp dword [esp + 0x44], 0
je 0x40aff5
xor edi, edi
mov eax, str.Ordinal__d
push edi
push eax
push dword [esp + 0x40]
call fcn.0041a710
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [edx + 0x16c], 0
je 0x40af7b
mov eax, dword [esp + 0x34]
xor ecx, ecx
dec eax
cmp dword [esp + 0x2c], eax
lea eax, [esp + 0x88]
sete cl
push ecx
push eax
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x54]
push eax
push edx
call fcn.0040a5f0
mov edx, dword [esp + 0x24]
add esp, 0x18
cmp dword [edx + 0x1b8], 0
je 0x40afa9
mov eax, dword [esp + 0x20]
push ebx
push dword [eax + esi*4]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push edi
push dword [esp + 0x34]
push dword [eax + 0x10]
call fcn.0040a540
mov edx, dword [esp + 0x24]
add esp, 0x18
cmp dword [edx + 0x1d8], 0
je 0x40afc6
test edi, edi
je 0x40afc6
push dword [edx + 0x74]
push edi
push dword [esp + 0x60]
call fcn.00412670
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, 0x10b
movzx eax, word [eax]
cmp ax, cx
jne 0x40afdc
add ebx, 4
jmp 0x40afe9
mov ecx, 0x20b
cmp ax, cx
jne 0x40afed
add ebx, 8
mov dword [esp + 0x28], ebx
inc dword [esp + 0x40]
mov edi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x4c], esi
cmp esi, 0xfa00
jl 0x40ae60
jmp 0x40b012
push ebx
push edi
call fcn.004037b0
add esp, 8
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
inc eax
mov edi, dword [esp + 0x10]
add ecx, 0x20
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x34]
jl 0x40ac80
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
push dword [esp + 0x38]
call fcn.0041a5c0
mov ecx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
cmp dword [ebx + 0x16c], 0
je 0x40b092
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.004191d0
push dword [esp + 0x64]
lea eax, [esp + 0x12c]
push 0x10
push eax
call fcn.00403940
add esp, 0x14
test esi, esi
je 0x40b09f
push esi
call fcn.00403980
add esp, 4
mov ecx, dword [esp + 0x234]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret