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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x7b92f0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0xc]
shr eax, 2
test al, 1
jne 0x4074ae
cmp byte [ebp + 0x18], 0
je 0x4070a7
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4070a7
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [esi + 0x88]
push 0xb
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
call edx
mov ecx, dword [esi + 0x88]
mov edi, eax
push 0xb
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
call edx
push ecx
mov ecx, dword [esp + 0x14]
mov esi, eax
push 0
push dword [esp + 0x20]
push edi
call fcn.00403520
cmp eax, esi
jb 0x4074fd
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
add ecx, edi
mov dword [ecx + 0x10], 0
push dword [ecx + 0xc]
call fcn.00402810
mov eax, dword [edi]
xor edx, edx
push 0
mov ecx, dword [eax + 4]
mov eax, 4
add ecx, edi
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00402810
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x407122
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x407128
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
call edx
cmp dword [esp + 0x14], eax
jbe 0x407128
xor ecx, ecx
mov byte [ebp + 0x18], cl
jmp 0x407124
xor ecx, ecx
mov dword [esp + 0x14], ecx
push dword [ebp + 0x18]
lea edx, [esp + 0x34]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00406dd0
add esp, 0xc
mov ecx, 0x10
cmp byte [ebp + 0x10], 0
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
push 0
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00407640
lea ecx, [esi + 0x40]
lea eax, [ecx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
test eax, eax
je 0x4071b6
cmp dword [ecx + 0x14], 0x10
jb 0x407177
mov ecx, dword [ecx]
push 0
push eax
push ecx
mov ecx, edi
call fcn.00407640
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, eax
test al, 3
je 0x407194
and esi, 0xfffffffc
add esi, 4
cmp esi, eax
jbe 0x4071b2
nop dword [eax + eax]
push 0
mov ecx, edi
call fcn.004077a0
mov eax, dword [esp + 0x18]
dec esi
cmp esi, dword [eax]
ja 0x4071a0
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
call edx
mov ecx, dword [esp + 0x10]
add esi, 0xffffff80
push 0
mov ecx, dword [ecx + 0x88]
lea eax, [esi + eax*8]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
call eax
push eax
mov ecx, edi
call fcn.00407640
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
cmp esi, eax
je 0x4072ad
lea edi, [esi + 0x3c]
add eax, 0xffffffbc
cmp esi, eax
jne 0x407286
movups xmm0, xmmword [esi]
mov eax, dword [edi - 0x14]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x50], xmm0
cmp eax, 0xffffffff
je 0x407275
mov ecx, dword [edi]
cmp eax, ecx
ja 0x407261
mov dword [edi], eax
cmp dword [edi + 4], 0x10
jb 0x407258
mov ecx, dword [edi - 0x10]
mov byte [ecx + eax], 0
jmp 0x40726e
lea ecx, [edi - 0x10]
mov byte [ecx + eax], 0
jmp 0x40726e
sub eax, ecx
lea ecx, [edi - 0x10]
push 0
push eax
call fcn.00401940
mov dword [edi - 0x14], 0xffffffff
mov eax, dword [edi]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 0x28
push eax
jmp 0x40728b
push 0
push 0x28
push esi
mov ecx, dword [esp + 0x28]
call fcn.00407640
mov eax, dword [esp + 0x10]
add esi, 0x44
add edi, 0x44
mov eax, dword [eax + 0x5c]
cmp esi, eax
jne 0x407216
mov edi, dword [esp + 0x1c]
cmp byte [ebp + 0x18], 0
mov esi, dword [esp + 0x10]
je 0x407360
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x407360
mov ecx, dword [esi + 0x88]
push 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x78]
jae 0x4072fb
cmp dword [esi + 0x7c], 0x10
lea ecx, [esi + 0x68]
jb 0x407350
mov ecx, dword [ecx]
jmp 0x407350
push eax
mov ecx, esi
call fcn.00402f50
mov dword [esp + 0x18], eax
mov edx, dword [eax + 0x28]
cmp edx, 0xffffffff
je 0x40733e
cmp edx, dword [eax + 0x3c]
lea ecx, [eax + 0x2c]
ja 0x407328
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 0x10
jb 0x407322
mov ecx, dword [ecx]
mov byte [ecx + edx], 0
jmp 0x407337
sub edx, dword [ecx + 0x10]
push 0
push edx
call fcn.00401940
mov eax, dword [esp + 0x18]
mov dword [eax + 0x28], 0xffffffff
cmp dword [eax + 0x40], 0x10
lea ecx, [eax + 0x2c]
jb 0x407349
mov ecx, dword [ecx]
sub ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x24]
add eax, ecx
mov ecx, edi
push eax
call fcn.00407640
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 0x58]
mov dword [esp + 0x18], esi
cmp esi, dword [eax + 0x5c]
je 0x40749d
lea edi, [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
call fcn.00407520
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov edx, dword [eax + 0xc]
adc edx, dword [eax + 4]
mov eax, dword [edi - 0x28]
mov dword [esp + 0x14], eax
xor eax, eax
sub dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
sbb eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
js 0x4073eb
jg 0x4073be
cmp dword [esp + 0x14], 0
jbe 0x4073eb
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.004077a0
mov ecx, dword [edi - 0x28]
xor eax, eax
inc esi
sub ecx, dword [esp + 0x2c]
sbb eax, dword [esp + 0x24]
xor edx, edx
cmp edx, eax
jl 0x4073c2
jg 0x4073e7
cmp esi, ecx
jb 0x4073c2
mov esi, dword [esp + 0x18]
mov eax, dword [edi - 0x14]
cmp eax, 0xffffffff
je 0x407427
mov ecx, dword [edi]
cmp eax, ecx
ja 0x407413
mov dword [edi], eax
cmp dword [edi + 4], 0x10
jb 0x40740a
mov ecx, dword [edi - 0x10]
mov byte [eax + ecx], 0
jmp 0x407420
lea ecx, [edi - 0x10]
mov byte [eax + ecx], 0
jmp 0x407420
sub eax, ecx
lea ecx, [edi - 0x10]
push 0
push eax
call fcn.00401940
mov dword [edi - 0x14], 0xffffffff
mov eax, dword [edi - 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
cmp eax, 0xffffffff
je 0x40746b
cmp eax, ecx
ja 0x407453
mov dword [edi], eax
cmp dword [edi + 4], 0x10
jb 0x40744a
mov edx, dword [edi - 0x10]
mov byte [eax + edx], 0
jmp 0x407464
lea edx, [edi - 0x10]
mov byte [eax + edx], 0
jmp 0x407464
sub eax, ecx
lea ecx, [edi - 0x10]
push 0
push eax
call fcn.00401940
mov ecx, dword [esp + 0x24]
mov dword [edi - 0x14], 0xffffffff
cmp dword [edi + 4], 0x10
jb 0x407476
mov eax, dword [edi - 0x10]
jmp 0x407479
lea eax, [edi - 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.00407640
mov eax, dword [esp + 0x10]
add esi, 0x44
add edi, 0x44
mov dword [esp + 0x18], esi
cmp esi, dword [eax + 0x5c]
jne 0x407377
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x34]
mov dword [esp + 0x30], vtable.std::exception.0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], str.Stream_is_bad
xorps xmm0, xmm0
mov byte [esp + 0x2c], 1
push eax
movq qword [esp + 0x3c], xmm0
call fcn.004b096f
add esp, 8
mov dword [esp + 0x30], vtable.pe_bliss::pe_exception.0
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], 0x33
push 0x7b773c
push eax
call fcn.004aebe4
push 0x21
push str.Incorrect_bound_import_directory
lea ecx, [esp + 0x38]
call fcn.004127d0
push 0x7b773c
lea eax, [esp + 0x34]
push eax
call fcn.004aebe4
int3