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

Disassembly:
sub esp, 0x128
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x24], 0
push esi
push edi
or edi, 0xffffffff
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
or esi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call dword [eax + 0x10]
mov eax, dword [eax + 8]
cmp dword [eax], 4
jne 0x8454f1
mov ecx, ebx
call fcn.00409c69
cmp dword [eax + 0x18], 0x40
lea esi, [eax + 0x10]
jbe 0x8454a1
mov esi, dword [esi]
mov edi, dword [esi]
mov ecx, ebx
mov eax, dword [ebx]
mov esi, dword [esi + 4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call dword [eax + 0x4c]
test esi, esi
jg 0x8454f1
jl 0x8454bf
test edi, edi
jae 0x8454f1
sub esp, 8
mov word [esp + 0x24], 0x103
mov eax, esp
mov dword [esp + 0x1c], str.negative_file_number
mov ecx, ebx
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x1c]
push eax
call fcn.0040b131
jmp 0x845eff
mov ecx, ebx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0xf
mov word [esp + 0x1c], 0x103
mov dword [esp + 0x14], str.unexpected_token_in_.file_directive
call fcn.00409c69
mov ecx, ebx
cmp dword [eax], 3
lea eax, [esp + 0x14]
push eax
setne byte [esp + 0x24]
push dword [esp + 0x24]
call fcn.0040afa6
test al, al
jne 0x845ebd
mov eax, dword [ebx]
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x58]
call eax
test al, al
jne 0x845ebd
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0xf
call dword [eax + 0x10]
mov eax, dword [eax + 8]
cmp dword [eax], 3
jne 0x84563e
mov eax, edi
mov word [esp + 0x1c], 0x103
and eax, esi
mov dword [esp + 0x14], str.explicit_path_specified__but_no_file_number
cmp eax, 0xffffffff
jne 0x8455c1
mov al, 1
jmp 0x8455c3
xor al, al
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.0040afa6
test al, al
jne 0x845637
mov eax, dword [ebx]
lea ecx, [esp + 0xdc]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x58]
call eax
test al, al
jne 0x845637
cmp dword [esp + 0xf0], 0x10
lea eax, [esp + 0xdc]
cmovae eax, dword [esp + 0xdc]
cmp dword [esp + 0xd8], 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc4]
cmovae eax, dword [esp + 0xc4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x34], eax
jmp 0x845664
mov bl, 1
jmp 0x8458db
cmp dword [esp + 0xd8], 0x10
lea eax, [esp + 0xc4]
cmovae eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x24], eax
push 9
mov ecx, ebx
mov byte [esp + 0x12], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0xf
call fcn.00413c05
test al, al
jne 0x845846
nop word [eax + eax]
mov ecx, ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x64], 0x103
mov dword [esp + 0x5c], str.unexpected_token_in_.file_directive
call fcn.00409c69
mov ecx, ebx
cmp dword [eax], 2
lea eax, [esp + 0x5c]
push eax
setne byte [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0040afa6
test al, al
jne 0x84596e
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x84596e
mov eax, dword [esp + 0x44]
cmp eax, 3
jne 0x845788
push eax
push 0x9f3398
push dword [esp + 0x48]
call fcn.004031ed
add esp, 0xc
test eax, eax
jne 0x84593a
mov eax, edi
mov byte [esp + 0xe], 1
and eax, esi
mov word [esp + 0xb4], 0x103
mov dword [esp + 0xac], str.MD5_checksum_specified__but_no_file_number
cmp eax, 0xffffffff
jne 0x845756
mov al, 1
jmp 0x845758
xor al, al
lea ecx, [esp + 0xac]
push ecx
push eax
mov ecx, ebx
call fcn.0040afa6
test al, al
jne 0x84596e
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0084bb40
add esp, 0xc
jmp 0x84582d
cmp eax, 6
jne 0x84593a
push eax
push str.source
push dword [esp + 0x48]
call fcn.004031ed
add esp, 0xc
test eax, eax
jne 0x84593a
mov eax, edi
mov byte [esp + 0xf], 1
and eax, esi
mov word [esp + 0x84], 0x103
mov dword [esp + 0x7c], str.source_specified__but_no_file_number
cmp eax, 0xffffffff
jne 0x8457cf
mov al, 1
jmp 0x8457d1
xor al, al
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebx
call fcn.0040afa6
test al, al
jne 0x84596e
mov ecx, ebx
mov word [esp + 0x70], 0x103
mov dword [esp + 0x68], str.unexpected_token_in_.file_directive
call fcn.00409c69
mov ecx, ebx
cmp dword [eax], 3
lea eax, [esp + 0x68]
push eax
setne byte [esp + 0x30]
push dword [esp + 0x30]
call fcn.0040afa6
test al, al
jne 0x84596e
mov eax, dword [ebx]
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x58]
call eax
test al, al
jne 0x84596e
push 9
mov ecx, ebx
call fcn.00413c05
test al, al
je 0x8456b0
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x845975
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [eax + 8]
cmp byte [eax + 0xba], 0
je 0x84587f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
push dword [esp + 0x24]
mov ecx, eax
push dword [esp + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x11c]
xor bl, bl
mov edx, dword [esp + 0xa8]
cmp edx, 0x10
jb 0x8458bd
mov ecx, dword [esp + 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8458b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x845eed
push edx
push ecx
call fcn.004036ca
add esp, 8
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0xf
mov byte [esp + 0x94], 0
mov edx, dword [esp + 0xf0]
cmp edx, 0x10
jb 0x845917
mov ecx, dword [esp + 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x84590d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x845eed
push edx
push ecx
call fcn.004036ca
add esp, 8
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0xf
mov byte [esp + 0xdc], 0
jmp 0x845ebf
sub esp, 8
mov word [esp + 0x78], 0x103
mov eax, esp
mov dword [esp + 0x70], str.unexpected_token_in_.file_directive
mov ecx, ebx
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x70]
push eax
call fcn.0040b131
mov bl, al
jmp 0x845881
mov bl, 1
jmp 0x845881
mov ecx, dword [ebx + 0x90]
cmp byte [ecx + 0x2d1], 0
je 0x8459fc
push 0
call fcn.0040f9a2
mov esi, eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
push ecx
push edx
call fcn.0040c8b5
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
shl ecx, 4
sub ecx, dword [esi + 0x5c]
lea eax, [edx + ecx*4]
push eax
push edx
call fcn.0040c18f
lea eax, [esi + 0x148]
mov dword [esi + 0x5c], 0
add esp, 0x10
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x8459dc
mov eax, dword [eax]
mov byte [eax], 0
mov word [esi + 0x185], 1
mov byte [esi + 0x184], 0
mov eax, dword [ebx + 0x90]
mov byte [eax + 0x2d1], 0
cmp byte [esp + 0xe], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0xd], 0
je 0x845a56
xor ebx, ebx
xor edi, edi
mov eax, dword [esp + 0x4c]
mov esi, 0x38
mov edx, dword [esp + 0x50]
sub esi, edi
mov ecx, esi
call fcn.00403bcf
mov edx, dword [esp + 0x58]
mov ecx, esi
mov byte [esp + ebx + 0x68], al
mov eax, dword [esp + 0x54]
call fcn.00403bcf
add edi, 8
mov byte [esp + ebx + 0x70], al
lea ebx, [ebx + 1]
cmp edi, 0x40
jne 0x845a11
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov byte [esp + 0xd], 1
cmp byte [esp + 0xf], 0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x68], xmm0
je 0x845ab9
mov ecx, dword [ebx + 0x90]
push 8
push dword [esp + 0xa8]
call fcn.00414713
cmp dword [esp + 0xa8], 0x10
lea ecx, [esp + 0x94]
push dword [esp + 0xa4]
cmovae ecx, dword [esp + 0x98]
mov esi, eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0xb0]
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 1
mov eax, edi
or eax, dword [esp + 0x3c]
jne 0x845b69
mov eax, dword [ebx + 0x90]
cmp word [eax + 0x310], 5
jae 0x845b12
sub esp, 8
mov word [esp + 0x78], 0x103
mov eax, esp
mov dword [esp + 0x70], str.file_0_not_supported_prior_to_DWARF_5
lea ecx, [esp + 0x70]
push ecx
mov dword [eax], 0
mov ecx, ebx
mov dword [eax + 4], 0
mov eax, dword [ebx]
push dword [esp + 0x144]
mov eax, dword [eax + 0x44]
call eax
mov bl, al
jmp 0x845881
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
movq xmm0, qword [esp + 0x14]
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 0
sub esp, 0xc
mov edi, dword [esi]
mov edx, esp
sub esp, 0x14
mov eax, esp
movq qword [edx], xmm0
push dword [esp + 0x48]
movups xmm0, xmmword [esp + 0x90]
mov dword [edx + 8], ecx
push dword [esp + 0x50]
mov cl, byte [esp + 0x39]
push dword [esp + 0x60]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], cl
mov ecx, esi
push dword [esp + 0x50]
call dword [edi + 0x128]
jmp 0x845e17
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
movq xmm0, qword [esp + 0x14]
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 0
sub esp, 0xc
mov edi, dword [esi]
mov edx, esp
sub esp, 0x14
mov eax, esp
movq qword [edx], xmm0
push dword [esp + 0x48]
movups xmm0, xmmword [esp + 0x90]
mov dword [edx + 8], ecx
push dword [esp + 0x50]
mov cl, byte [esp + 0x39]
push dword [esp + 0x60]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], cl
lea eax, [esp + 0x5c]
push dword [esp + 0x50]
mov ecx, esi
push dword [esp + 0x6c]
push eax
call dword [edi + 0x124]
mov cl, byte [esp + 0x30]
mov al, cl
not al
test al, 1
jne 0x845e04
test cl, 1
je 0x845be7
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
jmp 0x845be9
xor esi, esi
lea eax, [esp + 0x100]
mov dword [esp + 0xfc], 2
mov dword [esp + 0xf4], eax
xor ecx, ecx
lea eax, [esp + 0xf4]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.0040fce0
mov ecx, dword [esp + 0x100]
add esp, 8
mov esi, dword [esp + 0xf4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x8c], 0
lea eax, [ecx + ecx*2]
mov dword [esp + 0x90], 0xf
lea edi, [esi + eax*8]
cmp esi, edi
je 0x845d02
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 dword [eax]
add eax, 0x18
add ecx, edx
cmp eax, edi
jne 0x845c80
push ecx
lea ecx, [esp + 0x80]
call fcn.0040e09d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x845ca0
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x80]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
je 0x845cf4
nop word [eax + eax]
push 1
push 0x92406c
lea ecx, [esp + 0x84]
call fcn.004070e5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x845cdd
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [esp + 0x80]
push eax
call fcn.004070e5
add esi, 0x18
cmp esi, edi
jne 0x845cc0
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0xf4]
movups xmm0, xmmword [esp + 0x7c]
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
movups xmmword [esp + 0xac], xmm0
push eax
movq xmm0, qword [esp + 0x90]
push esi
movq qword [esp + 0xc4], xmm0
call fcn.0040c8b5
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x108]
add esp, 8
cmp eax, ecx
je 0x845d4d
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
sub esp, 8
mov word [esp + 0x78], 0x104
lea eax, [esp + 0xb4]
mov ecx, ebx
mov dword [esp + 0x70], eax
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x144]
call fcn.00408f35
mov edx, dword [esp + 0xc0]
mov bl, al
cmp edx, 0x10
jb 0x845dc4
mov ecx, dword [esp + 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x845dba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x845dba
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
test byte [esp + 0x30], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xf
mov byte [esp + 0xac], 0
je 0x845881
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x845881
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x845881
test cl, 1
je 0x845e17
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x845e17
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebx + 0x1de], 0
jne 0x84587f
mov esi, dword [ebx + 0x90]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], 0
push eax
lea ecx, [esi + 0x2b8]
call fcn.004036f7
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0xd], 0
jne 0x845e57
cmp dword [ecx + 0x10], 0
jbe 0x845e5d
mov ecx, dword [esi + 0x2b8]
cmp dword [ecx + 0x70], 0
je 0x84587f
mov al, byte [ecx + 0x199]
cmp al, byte [ecx + 0x19a]
je 0x84587f
sub esp, 8
mov byte [ebx + 0x1de], 1
mov eax, esp
mov word [esp + 0x78], 0x103
mov dword [esp + 0x70], str.inconsistent_use_of_MD5_checksums
lea ecx, [esp + 0x70]
push ecx
mov dword [eax], 0
mov ecx, ebx
mov dword [eax + 4], 0
mov eax, dword [ebx]
push dword [esp + 0x144]
mov eax, dword [eax + 0x44]
call eax
mov bl, al
jmp 0x845881
mov bl, 1
mov edx, dword [esp + 0xd8]
cmp edx, 0x10
jb 0x845efd
mov ecx, dword [esp + 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x845ef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x845ef3
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 al, bl
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x128
ret 4