Function at 0x4399e0
Capabilities:
Packed with generic packer
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42cbf0
call fcn.00427ee0
mov edi, 0x94
mov eax, edi
call fcn.00421490
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x42c0e0]
mov ecx, dword [esi + 0x10]
mov dword [0x434dc8], ecx
mov eax, dword [esi + 4]
mov dword [0x434dd4], eax
mov edx, dword [esi + 8]
mov dword [0x434dd8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x434dcc], esi
cmp ecx, 2
je 0x42180e
or esi, 0x8000
mov dword [0x434dcc], esi
shl eax, 8
add eax, edx
mov dword [0x434dd0], eax
xor esi, esi
push esi
mov edi, dword [fcn.0042c0e8]
call edi
cmp word [eax], 0x5a4d
jne 0x421849
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421849
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x421861
cmp eax, 0x20b
je 0x42184e
mov dword [ebp - 0x1c], esi
jmp 0x421875
cmp dword [ecx + 0x84], 0xe
jbe 0x421849
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42186f
cmp dword [ecx + 0x74], 0xe
jbe 0x421849
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.004229f7
pop ecx
test eax, eax
jne 0x4218a1
cmp dword [0x434db8], 1
jne 0x42188e
call fcn.004281ad
push 0x1c
call fcn.00428035
push 0xff
call fcn.0042198a
pop ecx
pop ecx
call fcn.004287ab
mov dword [ebp - 4], esi
call fcn.00423ee6
test eax, eax
jge 0x4218ba
push 0x1b
call fcn.00421789
pop ecx
call dword [0x42c190]
mov dword [0x4363f4], eax
call fcn.00428689
mov dword [0x434db0], eax
call fcn.004285e7
test eax, eax
jge 0x4218e0
push 8
call fcn.00421789
pop ecx
call fcn.004283b4
test eax, eax
jge 0x4218f1
push 9
call fcn.00421789
pop ecx
push 1
call fcn.004219ba
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x421907
push eax
call fcn.00421789
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x42c0e4]
call fcn.00428357
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x421928
movzx eax, word [ebp - 0x40]
jmp 0x42192b
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call 0x418f70
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x421949
push edi
call fcn.00421ae5
call fcn.00421b07
jmp 0x42197b
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00427f1b
ret
pushal
mov esi, fcn.0041f000
lea edi, [esi - 0x1e000]
push edi
jmp 0x4399fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x439a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4399f0
mov eax, 1
add ebx, ebx
jne 0x439a13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x439a08
jne 0x439a24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x439a08
xor ecx, ecx
sub eax, 3
jb 0x439a38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x439aaa
mov ebp, eax
add ebx, ebx
jne 0x439a43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x439a50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x439a74
inc ecx
add ebx, ebx
jne 0x439a60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x439a55
jne 0x439a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x439a55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x439a94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x439a85
jmp 0x4399f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x439a94
add edi, ecx
jmp 0x4399f6
pop esi
mov edi, esi
mov ecx, 0xc8b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x439ab2
cmp byte [edi], 0x11
jne 0x439ab2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x439ab7
lea edi, [esi + 0x37000]
mov eax, dword [edi]
or eax, eax
je 0x439b2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x39370]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39460]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x439ae4
mov ecx, edi
jns 0x439b13
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39464]
or eax, eax
je 0x439b29
mov dword [ebx], eax
add ebx, 4
jmp 0x439b01
call dword [esi + 0x39474]
mov ebp, dword [esi + 0x39468]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x439b63
sub esp, 0xffffff80
jmp 0x4217ae