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

Disassembly:
jmp 0x7f0130
sub esp, 0x70
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
mov ebx, ecx
push esi
push edi
mov ecx, ebp
mov dword [esp + 0x30], ebx
call fcn.00402121
test al, al
je 0x7f0158
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp + 0x1c]
mov byte [esp + 0x11], 0
mov dword [esp + 0x2c], edi
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x7f0187
lea esi, [ebx + 0x64]
mov edx, dword [eax - 4]
lea esi, [esi + 4]
add eax, 0xfffffffc
add edx, 0x6c
mov dword [esi - 4], edx
cmp eax, ecx
jne 0x7f0174
xor eax, eax
mov dword [esp + 0x78], 0xc
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
call fcn.0040dbb6
mov ecx, eax
sub esp, 8
mov eax, esp
mov dword [eax], str.size_info
mov dword [eax + 4], 9
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov byte [esp + 0x12], al
test al, al
je 0x7f01ee
lea eax, [esp + 0x68]
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.0040dcfb
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.0041368d
mov dword [esp + 0x18], eax
jmp 0x7f01f6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00411d83
mov esi, dword [eax]
mov edi, dword [eax + 4]
call fcn.0040fbcd
test eax, eax
je 0x7f0221
push edi
push esi
push 0xb
push str.OptFunction
call fcn.00413061
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x1c], ecx
jbe 0x7f03da
lea edi, [ebx + 0x10]
mov dword [esp + 0x1c], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x18]
mov ebx, dword [eax + ecx*4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
call fcn.0040fbcd
test eax, eax
je 0x7f0278
push dword [esp + 0x24]
push esi
push 7
push str.RunPass
call fcn.00413061
add esp, 0x10
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.00411d83
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push 3
push 0
push ebx
call fcn.00415578
push ebx
mov ecx, edi
call fcn.0040827e
push ebx
mov ecx, edi
call fcn.00404d59
lea ecx, [esp + 0x54]
call fcn.0040f5a6
push ebx
mov dword [esp + 0x58], 0x9efab4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0
call fcn.00408701
mov esi, eax
add esp, 4
test esi, esi
je 0x7f02dc
mov ecx, esi
call fcn.0040e813
mov eax, dword [ebx]
mov ecx, ebx
push ebp
mov eax, dword [eax + 0x40]
call eax
cmp byte [esp + 0x12], 0
mov byte [esp + 0x13], al
je 0x7f0336
mov ecx, ebp
call fcn.0041368d
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
cmp eax, ecx
je 0x7f0336
mov edi, eax
xor eax, eax
push ebp
sub edi, ecx
lea ecx, [esp + 0x6c]
push ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
sbb eax, eax
push eax
push edi
push dword [esp + 0x40]
push ebx
call fcn.0040eaf2
add dword [esp + 0x14], edi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
test esi, esi
je 0x7f0341
mov ecx, esi
call fcn.00402f36
lea ecx, [esp + 0x54]
call fcn.00405bb4
mov al, byte [esp + 0x13]
or byte [esp + 0x11], al
test al, al
je 0x7f0373
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.00411d83
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push 3
push 1
push ebx
call fcn.00415578
push ebx
mov ecx, edi
call fcn.00401ad2
push ebx
mov ecx, edi
call fcn.00402a2c
push ebx
mov ecx, edi
call fcn.0040ee21
push ebx
mov ecx, edi
call fcn.0041549c
push ebx
mov ecx, edi
call fcn.00410758
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.00411d83
push 3
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.00412d8c
call fcn.0040fbcd
test eax, eax
je 0x7f03c4
call fcn.00401b40
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x7f0240
call fcn.0040fbcd
test eax, eax
je 0x7f03e8
call fcn.00401b40
cmp dword [esp + 0x70], 0
je 0x7f0426
mov edi, dword [esp + 0x6c]
xor esi, esi
test edi, edi
je 0x7f0426
nop dword [eax]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x7f0421
cmp ecx, 0xfffffffc
je 0x7f0421
mov eax, dword [ecx]
push 4
add eax, 0xd
push eax
push ecx
call fcn.00415398
add esp, 0xc
inc esi
cmp esi, edi
jne 0x7f0400
push dword [esp + 0x68]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [esp + 0x15]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4