Function at 0x4745f0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x80
mov eax, dword [0x4d16b0]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov eax, 2
push ebp
xor ebp, ebp
mov ebx, 1
push esi
mov esi, ecx
add dword [esi + 0xe4], ebx
mov ecx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xe4]
cmp eax, dword [esi + 0xd4]
push edi
mov edi, 8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
jb 0x47494b
cmp byte [esi + 0x123], 0
je 0x47475d
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xe8]
add eax, ebx
push eax
push ebp
push ecx
mov dword [esi + 0xe4], ebp
call fcn.004854b0
add esp, 0xc
jmp 0x4746e7
mov edi, 8
xor ebp, ebp
add byte [esi + 0x124], 1
mov bl, byte [esi + 0x124]
cmp bl, 7
jae 0x474758
mov edx, dword [esi + 0xcc]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub edx, dword [esp + ecx + 0x30]
mov edi, dword [esp + ecx + 0x14]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
test byte [esi + 0x74], 2
mov ebp, eax
mov dword [esi + 0xe0], ebp
jne 0x474748
mov eax, dword [esi + 0xd0]
sub eax, dword [esp + ecx + 0x68]
mov edi, dword [esp + ecx + 0x4c]
xor edx, edx
lea eax, [eax + edi - 1]
div edi
test eax, eax
mov dword [esi + 0xd4], eax
je 0x4746e0
test ebp, ebp
je 0x4746e0
cmp bl, 7
jb 0x47494b
mov edi, 8
xor ebp, ebp
mov ebx, 1
test byte [esi + 0x70], 0x20
jne 0x4748e4
lea ecx, [esp + 0x13]
mov byte [esp + 0x84], 0x49
mov byte [esp + 0x85], 0x44
mov byte [esp + 0x86], 0x41
mov byte [esp + 0x87], 0x54
mov byte [esp + 0x88], 0
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
nop
cmp dword [esi + 0x7c], ebp
jne 0x4748a5
cmp dword [esi + 0x10c], ebp
jne 0x47486b
xor eax, eax
mov ecx, esi
call fcn.00470aa0
mov ecx, esi
call fcn.00470940
mov dword [esi + 0x10c], eax
mov eax, 4
lea ecx, [esp + 0x84]
lea edx, [esi + 0x11c]
lea ecx, [ecx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x4747f8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4747e0
cmp eax, ebp
je 0x474855
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x474847
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x474855
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x474847
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x474855
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x474847
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x474855
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x474855
cmp edi, ebp
mov eax, 1
jg 0x474857
or eax, 0xffffffff
jmp 0x474857
xor eax, eax
cmp eax, ebp
jne 0x474964
cmp dword [esi + 0x10c], ebp
je 0x4747b5
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0x10c]
cmp ecx, edx
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
jbe 0x47488a
mov dword [esi + 0x7c], edx
mov ebx, dword [esi + 0x7c]
call fcn.00470a30
mov eax, dword [esi + 0x7c]
sub dword [esi + 0x10c], eax
mov edi, 8
xor ebp, ebp
lea ebx, [edi - 7]
lea ecx, [esi + 0x78]
push ecx
call fcn.00478b50
add esp, 4
cmp eax, ebx
je 0x474970
cmp eax, ebp
jne 0x474996
cmp dword [esi + 0x88], ebp
jne 0x4747a0
mov ecx, str.Extra_compressed_data
call fcn.004665c0
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebp
cmp dword [esi + 0x10c], ebp
jne 0x4748f1
cmp dword [esi + 0x7c], ebp
je 0x4748fb
mov ecx, str.Extra_compression_data
call fcn.004665c0
lea ecx, [esi + 0x78]
cmp ecx, ebp
je 0x474948
mov eax, dword [ecx + 0x1c]
cmp eax, ebp
je 0x474948
mov dword [eax + 0x1c], ebp
mov dword [ecx + 0x14], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x30], ebx
lea ecx, [eax + 0x530]
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x14], 0x8000
mov dword [eax + 0x20], ebp
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], ebp
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x4c], ecx
or dword [esi + 0x6c], edi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f460
add esp, 0x80
ret
mov edi, str.Not_enough_image_data
mov eax, esi
jmp fcn.004665a0
cmp dword [esi + 0x88], ebp
je 0x4748cd
cmp dword [esi + 0x7c], ebp
jne 0x4748cd
cmp dword [esi + 0x10c], ebp
je 0x4748d7
jmp 0x4748cd
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x4749a5
mov eax, str.Decompression_Error
mov edi, eax
mov eax, esi
jmp fcn.004665a0