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

Disassembly:
sub esp, 0x174
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x178]
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov ebp, edx
mov eax, dword [esp + 0x188]
mov esi, ecx
mov dword [esp + 0x3c], ebp
push edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x19c], ebx
ja 0x405a96
jb 0x405a71
cmp dword [esp + 0x198], 0x150000
jae 0x405a96
push dword [esp + 0x198]
add eax, 0x38
push eax
push str._s_was_skipped_due_to_no_content_hash___u_bytes___1344_KB__n
push 0x808080
call fcn.00404dd1
add esp, 0x10
or eax, 0xffffffff
jmp 0x405d7e
push ebx
push dword [esp + 0x194]
push ebx
call fcn.00404d6c
mov edi, eax
mov dword [esp + 0x34], edi
cmp edi, 0xffffffff
jne 0x405ad1
push ebx
push dword [esp + 0x194]
push ebx
push str.No_hash_unit__d__d__d_n
push 0xff
call fcn.00404dd1
add esp, 0x14
xor eax, eax
jmp 0x405d7e
mov edx, dword [esi]
mov eax, dword [esi + 4]
imul ecx, edi, 0xc
dec eax
mov ebx, dword [ecx + edx]
cmp edi, eax
jne 0x405ae6
mov eax, dword [esi + 0xc]
jmp 0x405aea
mov eax, dword [ecx + edx + 0xc]
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
push 0x30000
push ebp
push 0
push 0
push dword [esp + 0x28]
mov byte [esp + 0x2b], 1
movlpd qword [esp + 0x50], xmm0
call fcn.00446a5d
test al, al
je 0x405d60
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov ecx, 0x30000
cmp dword [esp + 0x2c], ecx
jne 0x405d21
cmp byte [0x529b16], 0
jne 0x405d5b
cmp byte [esi + 0x11], 0
je 0x405bb0
test byte [ebp], 0xc0
je 0x405bb0
push 0x60
lea edi, [esi + 0x14]
add ebp, 0x10
pop esi
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0xddf8a00b
push eax
push 0x7f0
push ebp
push ebp
mov dword [esp + 0x60], 0xb31fa6fe
mov dword [esp + 0x64], 0x569fdfd8
mov dword [esp + 0x68], 0x780f056a
call fcn.004733b3
add esp, 0x14
add ebp, 0x800
dec esi
jne 0x405b61
mov esi, dword [esp + 0x44]
mov ecx, 0x30000
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
cmp byte [esp + 0x194], 0
lea eax, [esp + 0x58]
push eax
push ecx
push ebp
je 0x405bcc
call fcn.00471408
lea eax, [esp + 0x7c]
jmp 0x405bd5
call fcn.004720e5
lea eax, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x28], eax
cmp ebx, dword [esp + 0x20]
jb 0x405c21
push ebx
push dword [esp + 0x194]
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00404d6c
mov edi, eax
mov dword [esp + 0x34], edi
cmp edi, 0xffffffff
je 0x405d3d
mov edx, dword [esi]
mov eax, dword [esi + 4]
imul ecx, edi, 0xc
dec eax
mov ebx, dword [ecx + edx]
cmp edi, eax
jne 0x405c19
mov eax, dword [esi + 0xc]
jmp 0x405c1d
mov eax, dword [ecx + edx + 0xc]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
call fcn.004bfd9e
mov edx, dword [esp + 0x19c]
mov ecx, dword [esp + 0x198]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x4eed60]
movss dword [esp + 0x38], xmm0
call fcn.004bfd9e
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 8]
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mov eax, dword [ecx]
divss xmm1, xmm0
cmp eax, dword [edx + ebx*8]
jne 0x405cb5
mov eax, dword [ecx + 4]
cmp eax, dword [edx + ebx*8 + 4]
jne 0x405cb5
cvttss2si eax, xmm1
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x20]
add eax, 0x38
push eax
lea eax, [esp + 0x88]
push str._s_content_hash_match_at_offset__I64u___i___
push eax
call fcn.004ba78c
add esp, 0x18
lea eax, [esp + 0x78]
push eax
push dword [0x529ab0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x405ce5
cvttss2si eax, xmm1
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x20]
add eax, 0x38
push eax
push str.___s_content_hash_mismatch_at_offset__I64u___i____n
push 0xff
call fcn.00404dd1
add esp, 0x18
mov byte [esp + 0x13], 0
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
mov eax, dword [esp + 0x1c]
inc ebx
push edx
add ecx, 0x30000
push 0x30000
push ebp
adc eax, 0
mov dword [esp + 0x24], ecx
push eax
push ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
call fcn.00446a5d
test al, al
jne 0x405b30
mov al, byte [esp + 0x13]
test al, al
jne 0x405d60
mov eax, dword [esp + 0x14]
add eax, 0x38
push eax
push str._s_content_hash_mismatch_n
push 0xff
jmp 0x405d72
push ebx
push dword [esp + 0x194]
push 0
push str.No_hash_unit__d__d__d_n
push 0xff
call fcn.00404dd1
add esp, 0x14
jmp 0x405d21
push 0x4c
pop eax
jmp 0x405d7e
mov eax, dword [esp + 0x14]
add eax, 0x38
push eax
push str._s_content_hash_match_n
push 0x177d06
call fcn.00404dd1
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x174
ret