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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43e5e2
push eax
mov dword fs:[0], esp
sub esp, 0x84c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xcc]
cmp eax, ebx
je 0x4059a8
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0xc8]
mov edi, dword [eax]
cmp edi, eax
je 0x405790
mov eax, dword [edi + 8]
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00408190
mov edx, dword [esp + 0x14]
mov ebp, dword [esi + 0xa0]
add ebp, edx
push 1
lea ecx, [esp + 0x1c]
mov dword [esi + 0xa0], ebp
call fcn.00403320
mov edi, dword [edi]
mov eax, dword [esi + 0xc8]
cmp edi, eax
jne 0x405753
lea edi, [esi + 0x3fc]
push ebx
mov ecx, edi
mov dword [esi + 0x9c], ebx
call fcn.00407940
fild dword [esi + 0x9c]
lea ebp, [esi + 0x57c]
push ecx
mov ecx, ebp
fstp dword [esp]
call fcn.00407940
mov eax, dword [esi + 0xa0]
push ecx
cdq
and edx, 0x3ff
mov ecx, edi
add eax, edx
sar eax, 0xa
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp]
call fcn.00407930
mov eax, dword [esi + 0xa0]
push ecx
cdq
and edx, 0x3ff
mov ecx, ebp
add eax, edx
sar eax, 0xa
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp]
call fcn.00407930
cmp dword [esi + 0xcc], ebx
je 0x405aa3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edi, [esi + 0xc4]
mov bl, 3
mov eax, dword [esi + 0xc8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00408190
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x864], 0
test eax, eax
jne 0x405853
mov eax, 0x4416fc
lea edx, [esp + 0x5c]
push eax
push edx
call ebp
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00408410
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.004069a0
push 0x441708
lea edx, [esp + 0x2c]
push 0x451d68
push edx
call fcn.00403c30
lea ecx, [esp + 0x68]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x87c], 1
call fcn.00403c30
add esp, 0x18
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x868], bl
call fcn.00403320
mov eax, dword [esp + 0x14]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
test esi, esi
mov dword [esi + 0xb0], eax
je 0x4058d9
lea edx, [esi + 0x5c]
jmp 0x4058db
xor edx, edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4058e8
mov ecx, 0x4416fc
mov eax, dword [0x451d6c]
test eax, eax
jne 0x4058f6
mov eax, 0x4416fc
push edx
push ecx
push eax
call fcn.004170f0
add esp, 0xc
test eax, eax
je 0x405956
mov ecx, dword [0x44dd44]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x864], 4
test ecx, ecx
jne 0x405924
mov ecx, 0x4416fc
push eax
push ecx
lea edx, [esp + 0x18]
push str.decompress_file__s_fail_err___d
push edx
call fcn.00432112
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push 1
push eax
call fcn.004065c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x864], bl
call fcn.00433832
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0x9c]
add eax, ecx
push 1
lea ecx, [esp + 0x3c]
mov dword [esi + 0x9c], eax
mov byte [esp + 0x868], 0
call fcn.00403320
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x868], 0xffffffff
call fcn.00403320
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x40581f
xor ebx, ebx
jmp 0x405aa3
mov eax, dword [esi + 0x80]
cmp eax, ebx
jne 0x4059b7
mov eax, 0x4416fc
push eax
mov ecx, esi
call fcn.004069a0
mov eax, dword [esi + 0x80]
cmp eax, ebx
jne 0x4059ce
mov eax, 0x4416fc
lea edx, [esp + 0x45c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x441708
lea eax, [esp + 0x50]
push 0x451d68
push eax
call fcn.00403c30
lea ecx, [esp + 0x468]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov dword [esp + 0x87c], 5
call fcn.00403c30
add esp, 0x18
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x868], 7
call fcn.00403320
mov eax, dword [esi + 0x78]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cmp esi, ebx
mov dword [esi + 0xb0], eax
je 0x405a43
lea edx, [esi + 0x5c]
jmp 0x405a45
xor edx, edx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jne 0x405a52
mov ecx, 0x4416fc
mov eax, dword [0x451d6c]
cmp eax, ebx
jne 0x405a60
mov eax, 0x4416fc
push edx
push ecx
push eax
call fcn.004170f0
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0x9c]
add ecx, eax
add esp, 0xc
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x405aa3
mov al, byte [ecx - 1]
test al, al
je 0x405a99
cmp al, 0xff
je 0x405a99
dec al
mov byte [ecx - 1], al
jmp 0x405aa3
dec ecx
push ecx
call fcn.0043359c
add esp, 4
mov ecx, dword [esi + 0x1c]
push ebx
push ebx
push 0x46a
push ecx
mov dword [esi + 0xa0], ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x858
ret