Function at 0x4037c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f5a8
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
xor edi, edi
cmp esi, edi
jne 0x4037fb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
push esi
mov dword [0x46bd80], edi
mov dword [0x46bd84], edi
call fcn.00403700
mov cl, byte [esi + 8]
add esp, 4
test cl, cl
mov dword [esp + 0x10], eax
jne 0x403834
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
cmp dword [esp + 0x6c], edi
jne 0x40384f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [0x46bb84]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
push edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov esi, dword [ecx + 0x2c]
push esi
push ebp
push ebx
mov dword [esp + 0x74], edi
call fcn.0041c8a0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], edx
mov edx, ebx
mov ebx, dword [esp + 0x7c]
add edx, ebx
adc ebp, ecx
push edi
sub edx, 1
push esi
sbb ebp, 0
push ebp
push edx
mov dword [esp + 0x34], eax
call fcn.0041c8a0
mov ebp, dword [esp + 0x24]
mov edi, eax
sub eax, ebp
inc eax
imul eax, esi
mov dword [esp + 0x14], eax
cmp ebx, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
jb 0x4038d3
lea eax, [esp + 0x18]
mov eax, dword [eax]
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x40390c
push 0x10000
push str.Fatal_Error
push str.Cant_allocate_memory_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0041c4fb
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.00403480
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
add esp, 0xc
test cl, cl
je 0x4039a6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
cdq
add eax, ecx
adc edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x28]
jl 0x40395a
jg 0x403948
cmp eax, ebp
jb 0x40395a
mov ecx, dword [esp + 0x50]
test ecx, ecx
jg 0x4039a6
jl 0x40395a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jae 0x4039a6
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x84]
test al, al
mov dword [esp + 0x48], edx
jne 0x403986
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
cdq
add ecx, eax
mov eax, dword [esp + 0x48]
adc eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.00403480
add esp, 0xc
test al, al
je 0x4039a6
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
jne 0x40392d
mov al, byte [esp + 0x84]
test al, al
je 0x4039cc
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4039cc
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.00403480
add esp, 0xc
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebx, ebp
sub ebx, edx
cmp eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jg 0x403c5c
jl 0x4039fe
cmp dword [esp + 0x24], edi
ja 0x403c5c
jmp 0x4039fe
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
cmp ebx, eax
jl 0x403a64
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cdq
add edi, eax
mov al, byte [esp + 0x84]
adc ecx, edx
test al, al
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
jne 0x403a3d
mov eax, dword [esp + 0x58]
cdq
mov ecx, edi
add ecx, eax
mov eax, dword [esp + 0x48]
adc eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00403480
add esp, 0xc
test al, al
je 0x403c5c
mov eax, dword [esp + 0x44]
mov ebx, ebp
sub ebx, eax
mov al, byte [esp + 0x84]
test al, al
je 0x403a8e
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x403a8e
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00403480
add esp, 0xc
mov eax, dword [0x46bd80]
or eax, dword [0x46bd84]
jne 0x403ab5
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, ebx
cdq
add eax, esi
adc edx, ecx
mov dword [0x46bd80], eax
mov dword [0x46bd84], edx
mov eax, dword [esp + 0x54]
lea ecx, [ebx + 1]
cmp ecx, eax
mov esi, 1
jge 0x403afb
mov eax, ebx
cdq
mov ecx, eax
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x38]
mov eax, esi
cdq
add eax, ecx
adc edx, edi
mov edi, dword [esp + 0x20]
add eax, ebp
adc edx, edi
cmp edx, dword [esp + 0x30]
jg 0x403afb
jl 0x403aef
cmp eax, dword [esp + 0x2c]
ja 0x403afb
mov eax, dword [esp + 0x54]
inc esi
lea edx, [esi + ebx]
cmp edx, eax
jl 0x403ace
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edi, ebp
sub edi, edx
sbb eax, ecx
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x84]
test al, al
jne 0x403bd2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x403bd2
mov ecx, dword [0x46bb84]
mov edx, dword [ecx + 0x2c]
imul edx, dword [esp + 0x54]
push 4
push 0x1000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
push esi
mov ebp, eax
mov eax, dword [esp + 0x54]
push ebp
push eax
push ecx
push edx
call fcn.00402b10
mov eax, dword [0x46bb84]
mov eax, dword [eax + 0x2c]
mov edx, eax
imul edx, esi
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x1c]
imul edx, eax
imul eax, edi
push ebp
push edx
add eax, ecx
push eax
push 2
call fcn.00402520
test eax, eax
je 0x403bbe
cmp eax, 0xc0000242
push 0x10000
jne 0x403bac
push str.Problem:_Bad_compression_buffer
jmp 0x403bb1
push str.Problem
push str.Decompress_of_file_didnt_work.__File_probably_damaged
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x8000
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebp, dword [esp + 0x1c]
jmp 0x403c03
mov eax, dword [0x46bb84]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x14]
imul ecx, edi
mov edi, dword [esp + 0x4c]
add ecx, edx
push esi
push ecx
mov ecx, dword [esp + 0x58]
mov eax, ebx
cdq
add eax, edi
adc edx, ecx
push edx
mov edx, dword [esp + 0x78]
push eax
push edx
call fcn.00402b10
add esp, 0x14
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov eax, esi
cdq
add ebp, eax
adc edi, edx
add ebx, esi
test ecx, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
jle 0x403c3e
mov al, byte [esp + 0x84]
test al, al
jne 0x403c3e
mov eax, ecx
cdq
add ebp, eax
mov esi, edi
adc esi, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
add ebx, ecx
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jl 0x4039fa
jg 0x403c58
cmp ebp, dword [esp + 0x2c]
jbe 0x4039fa
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, ebp
or edx, ecx
jne 0x403c7f
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov eax, dword [0x46bb84]
mov eax, dword [eax + 0x2c]
cmp ebp, eax
jl 0x403cae
push 0
push eax
push ecx
push ebp
call fcn.0041c9b0
or eax, edx
jne 0x403cae
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov edi, dword [esp + 0x7c]
push 4
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x403ccf
push 3
call fcn.0041c4fb
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x46bb84]
mov eax, dword [eax + 0x2c]
cmp ebp, eax
jl 0x403d09
mov ecx, dword [esp + 0x78]
push 0
push eax
push ecx
push ebp
call fcn.0041c9b0
mov ecx, dword [esp + 0x7c]
mov esi, eax
add esi, dword [esp + 0x14]
mov edi, ebx
jmp 0x403d16
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
lea esi, [eax + ebp]
mov edi, ebx
mov eax, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x8000
mov ecx, edx
push 0
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret