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

Disassembly:
jmp 0x533590
sub esp, 0x10c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x108], eax
mov al, byte [esp + 0x124]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x24], ebx
mov byte [ebx + 0xc], al
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x5335d1
lea ecx, [esi + 0x20]
call fcn.0040dfad
add esi, 0x30
cmp esi, edi
jne 0x5335c0
mov esi, dword [ebx]
xorps xmm0, xmm0
mov dword [ebx + 4], esi
movlpd qword [esp + 0x30], xmm0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], edx
jmp 0x5335f4
mov ebx, dword [esp + 0x24]
xor eax, eax
cmp eax, edx
jb 0x533609
ja 0x533605
cmp dword [esp + 0x120], edi
jbe 0x533609
mov al, 1
jmp 0x53360b
xor al, al
test al, al
je 0x534284
mov dword [esp + 0x34], edx
xorps xmm0, xmm0
mov edx, dword [ebx + 4]
mov dword [esp + 0x30], edi
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xc0], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
cmp edx, dword [ebx + 8]
je 0x5336be
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [edx], eax
mov eax, dword [esp + 0xa8]
mov byte [edx + 8], al
shr eax, 0x10
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xb4]
mov word [edx + 0xa], ax
mov eax, dword [esp + 0xb0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0xbc]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
add dword [ebx + 4], 0x30
jmp 0x533721
lea eax, [esp + 0xa0]
mov ecx, ebx
push eax
push edx
call fcn.00407f81
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x533721
mov ecx, dword [esp + 0xc8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x533717
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534266
push ecx
push esi
call fcn.004036ca
add esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x11c]
mov esi, dword [ebx + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x24], 0
push eax
call fcn.00412f35
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esi - 0x30], eax
mov dword [esi - 0x2c], ecx
mov al, byte [esp + 0x80]
mov byte [esi - 0x28], al
cmp dword [esp + 0x1c], 0
jne 0x534192
mov ebx, dword [esp + 0x14]
add ebx, dword [esi - 0x30]
mov eax, dword [esp + 0x18]
adc eax, ecx
mov dword [esp + 0x28], ebx
cmp byte [esp + 0x124], 0
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x11c]
setne dl
cmp dword [esp + 0x120], ebx
mov ebx, 8
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x125]
cmovb ecx, dword [esp + 0x120]
mov byte [esp + 0x4d], al
mov eax, dword [esp + 0x128]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov byte [esp + 0x4c], dl
movzx eax, byte [esi - 0x28]
sub eax, 0
jne 0x5337f1
mov ebx, 4
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], ebx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.004023a6
mov word [esi - 0x26], ax
lea ecx, [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0041562c
mov dword [esi - 0x20], eax
lea ecx, [esp + 0x44]
lea eax, [esp + 0x1c]
mov dword [esi - 0x1c], edx
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.0040e836
mov dword [esi - 0x18], eax
mov dword [esi - 0x14], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x533bc0
lea ecx, [esp + 0xac]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 2
mov dword [ecx], eax
call fcn.0040fce0
mov ecx, dword [esp + 0xac]
add esp, 8
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
lea eax, [ecx + ecx*2]
mov dword [esp + 0x9c], 0xf
lea edi, [esi + eax*8]
cmp esi, edi
je 0x533972
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, esi
sar edx, 2
mov ecx, edx
dec edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x10]
nop
add eax, 0x18
add ecx, edx
cmp eax, edi
jne 0x5338f0
push ecx
lea ecx, [esp + 0x8c]
call fcn.0040e09d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x533910
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x8c]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
je 0x533964
nop word [eax + eax]
push 1
push 0x92406c
lea ecx, [esp + 0x90]
call fcn.004070e5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x53394d
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x8c]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
jne 0x533930
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
movups xmm0, xmmword [esp + 0x88]
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
movups xmmword [esp + 0xdc], xmm0
push eax
movq xmm0, qword [esp + 0x9c]
push esi
movq qword [esp + 0xf4], xmm0
call fcn.0040c8b5
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xb4]
add esp, 8
cmp eax, ecx
je 0x5339c0
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0xf0], 0x10
lea esi, [esp + 0xdc]
cmovae esi, dword [esp + 0xdc]
call fcn.00415dfc
push 0
mov dword [esp + 0x60], eax
lea ecx, [esp + 0xa4]
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x60], 0x16
push 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0xf
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0x924694
mov dword [esp + 0xc8], eax
call fcn.0040826f
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x90], str.name_lookup_table_at_offset_0x_llx_does_not_have_a_complete_header:__s
mov dword [esp + 0x8c], 0x92fc04
mov dword [esp + 0x94], esi
call fcn.0040c69e
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xa4]
je 0x533ad6
lea ecx, [esp + 0xa0]
call fcn.004067b2
lea eax, [esp + 0x58]
push eax
push dword [esp + 0xc0]
lea eax, [esp + 0x40]
push eax
call fcn.00408deb
add esp, 0xc
lea ecx, [esp + 0xa0]
call fcn.0040934a
mov edx, dword [esp + 0x110]
cmp edx, 0x10
jb 0x533b37
mov ecx, dword [esp + 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x533b2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534266
push edx
push ecx
call fcn.004036ca
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
push ecx
mov ecx, esp
mov dword [ecx], eax
push dword [esp + 0x13c]
call dword [esp + 0x13c]
mov edx, dword [esp + 0xf8]
add esp, 8
cmp edx, 0x10
jb 0x533b95
mov ecx, dword [esp + 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x533b8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534266
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x5335f4
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x10]
jmp 0x5335f4
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.0040e836
mov edi, eax
mov eax, edx
mov ecx, edi
mov dword [esp + 0x2c], eax
or ecx, eax
je 0x533fb8
cmp byte [esp + 0x130], 0
je 0x533c07
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.00406465
mov bl, al
jmp 0x533c09
xor bl, bl
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
call fcn.0040a619
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x533cb9
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xe0], eax
movzx ecx, bl
mov eax, ecx
mov dword [esp + 0xdc], edi
shr eax, 4
shr ecx, 7
and eax, 7
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xf0], ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0xec], eax
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x533c9b
movups xmm0, xmmword [esp + 0xdc]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0xec]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x533ca9
lea edx, [esp + 0xdc]
push edx
push eax
call fcn.0040528b
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x533bc0
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x533fc1
lea ecx, [esp + 0xac]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 2
mov dword [ecx], eax
call fcn.0040fce0
mov ecx, dword [esp + 0xac]
add esp, 8
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
lea eax, [ecx + ecx*2]
mov dword [esp + 0x9c], 0xf
lea edi, [esi + eax*8]
cmp esi, edi
je 0x533de2
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, esi
sar edx, 2
mov ecx, edx
dec edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x10]
add eax, 0x18
add ecx, edx
cmp eax, edi
jne 0x533d66
push ecx
lea ecx, [esp + 0x8c]
call fcn.0040e09d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x533d86
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x8c]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
je 0x533dd4
nop dword [eax]
push 1
push 0x92406c
lea ecx, [esp + 0x90]
call fcn.004070e5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x533dbd
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x8c]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
jne 0x533da0
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
movups xmm0, xmmword [esp + 0x88]
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
movups xmmword [esp + 0xdc], xmm0
push eax
movq xmm0, qword [esp + 0x9c]
push esi
movq qword [esp + 0xf4], xmm0
call fcn.0040c8b5
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xb4]
add esp, 8
cmp eax, ecx
je 0x533e30
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0xf0], 0x10
lea esi, [esp + 0xdc]
cmovae esi, dword [esp + 0xdc]
call fcn.00415dfc
push 0
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xa4]
push 0
lea eax, [esp + 0x90]
mov dword [esp + 0x70], 0x16
push 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0xf
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0x924694
mov dword [esp + 0xc8], eax
call fcn.0040826f
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x110], eax
lea eax, [esp + 0xfc]
push eax
mov dword [esp + 0x104], str.name_lookup_table_at_offset_0x_llx_parsing_failed:__s
mov dword [esp + 0x100], 0x92fc04
mov dword [esp + 0x108], esi
call fcn.0040c69e
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xa4]
je 0x533f46
lea ecx, [esp + 0xa0]
call fcn.004067b2
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xc0]
lea eax, [esp + 0x44]
push eax
call fcn.00408deb
add esp, 0xc
lea ecx, [esp + 0xa0]
call fcn.0040934a
mov edx, dword [esp + 0x9c]
cmp edx, 0x10
jb 0x533fa7
mov ecx, dword [esp + 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x533f9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534266
push edx
push ecx
call fcn.004036ca
add esp, 8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
jmp 0x533b43
mov eax, dword [esp + 0x1c]
jmp 0x533cbd
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp ecx, edi
jne 0x533fdd
cmp eax, edx
je 0x5335f0
sub edi, ebx
mov esi, edx
sbb esi, 0
sub ecx, ebx
mov dword [esp + 0x2c], ecx
sbb eax, 0
mov dword [esp + 0xc], eax
call fcn.00415dfc
push 0
mov dword [esp + 0x78], eax
lea ecx, [esp + 0xa4]
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x78], 0x16
push 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0xf
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0x924694
mov dword [esp + 0xc8], eax
call fcn.0040826f
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0xe4], str.name_lookup_table_at_offset_0x_llx_has_a_terminator_at_offset_0x_llx_before_the_expected_end_at_0x_llx
mov dword [esp + 0xe0], 0x93103c
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], esi
call fcn.0040c69e
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xa4]
je 0x53410d
lea ecx, [esp + 0xa0]
call fcn.004067b2
lea eax, [esp + 0x70]
push eax
push dword [esp + 0xc0]
lea eax, [esp + 0x48]
push eax
call fcn.00408deb
add esp, 0xc
lea ecx, [esp + 0xa0]
call fcn.0040934a
mov edx, dword [esp + 0x110]
cmp edx, 0x10
jb 0x53416e
mov ecx, dword [esp + 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x534164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534266
push edx
push ecx
call fcn.004036ca
add esp, 8
mov eax, dword [esp + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x44], 0
mov dword [ecx], eax
push dword [esp + 0x13c]
call dword [esp + 0x13c]
jmp 0x533b92
mov ecx, dword [ebx + 4]
sub ecx, 0x10
call fcn.0040dfad
add dword [ebx + 4], 0xffffffd0
push ecx
mov ecx, esp
mov dword [ecx], 0
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
lea eax, [esp + 0x100]
push eax
mov dword [esp + 0x24], 0
call fcn.004146be
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x5341d0
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0xc]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push str.name_lookup_table_at_offset_0x_llx_parsing_failed:__s
sub esp, 8
mov esi, esp
call fcn.00415dfc
push edi
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.00408314
add esp, 0x14
mov ecx, esp
mov dword [ecx], 0
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push dword [esp + 0x13c]
mov dword [esp + 0x14], 0
call dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
add esp, 8
test ecx, ecx
je 0x534238
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x110]
cmp edx, 0x10
jb 0x534276
mov ecx, dword [esp + 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53426c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x53426c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x534284
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x10c
ret 0x20