Function at 0x4a0fc0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using base64
Get common file path
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x550
call 0x4a0fd4
pop eax
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x50]
mov esi, edx
mov dword [esp + 8], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x128], eax
movzx eax, byte [edx + 0x54]
test al, al
jne 0x4a1020
test ecx, ecx
jne 0x4a1020
mov dword [esp + 0x130], 0
xor ebx, ebx
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x4a195d
jmp 0x4a19b0
test al, al
mov dword [esp + 0xd8], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0xe0], 0
jne 0x4a11be
call sub.kernel32.dll_GetEnvironmentStringsW
test eax, eax
je 0x4a4999
lea edi, [esp + 0x9c]
lea ebx, [esp + 0xe4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
nop dword [eax + eax]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x150]
push eax
call fcn.0049efc0
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x4a11b2
mov ecx, dword [esp + 0x15c]
movq xmm0, qword [esp + 0x154]
mov esi, ebx
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x160]
movd eax, xmm0
mov dword [esp + 0xe4], ebx
movdqa xmmword [esp + 0xc0], xmm0
add eax, ebx
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x164]
mov word [esp + 0xec], 0
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov ecx, edi
mov edx, esi
call fcn.00478830
mov eax, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0xc0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], ebx
movlps qword [esp + 0x44], xmm0
movq xmm0, qword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
movq qword [ecx], xmm0
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xec], eax
lea edx, [esp + 0xd8]
mov ecx, edi
push esi
lea eax, [esp + 0x40]
push eax
call fcn.00468830
add esp, 8
mov eax, dword [esp + 0x9c]
mov ebx, esi
mov esi, dword [esp + 8]
test eax, 0x7fffffff
je 0x4a1070
push 1
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
jmp 0x4a1070
push dword [esp + 0x8c]
call sub.kernel32.dll_FreeEnvironmentStringsW
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov esi, dword [esp + 0x34]
xor edx, edx
test eax, eax
setne dl
cmove esi, eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], esi
nop dword [eax]
lea ecx, [esp + 0x9c]
call fcn.0045ce60
mov edi, eax
test eax, eax
je 0x4a1782
cmp dword [edx], 0x80000000
mov ebx, edx
jne 0x4a13b0
mov ebx, dword [esp + 0xd8]
test ebx, ebx
je 0x4a1220
mov esi, dword [esp + 0xdc]
mov edx, ebx
lea ecx, [esp + 0x8c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.0046cb50
add esp, 0xc
cmp dword [esp + 0x8c], 0
jne 0x4a1220
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov byte [esp + 0x114], 0
test ecx, ecx
jne 0x4a12d7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
lea edx, [esp + 0x3c]
lea eax, [esp + 0x114]
lea ecx, [esp + 0x14c]
push eax
call fcn.0046bd10
add esp, 4
jmp 0x4a1683
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x4a12d0
movzx ecx, word [eax + 0x1ea]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], 0
dec ecx
mov dword [esp + 0x124], ecx
lea edx, [esp + 0x11c]
lea eax, [esp + 0x114]
lea ecx, [esp + 0x14c]
push eax
call fcn.0046bd10
add esp, 4
movsd xmm2, qword [esp + 0x164]
movsd xmm1, qword [esp + 0x15c]
mov eax, dword [esp + 0x174]
movq xmm0, qword [esp + 0x16c]
mov edx, dword [esp + 0x178]
mov ecx, dword [esp + 0x180]
movsd qword [esp + 0xfc], xmm2
movsd qword [esp + 0xf4], xmm1
movsd xmm2, qword [esp + 0x14c]
movsd xmm1, qword [esp + 0x154]
mov dword [esp + 0x10c], eax
movq qword [esp + 0x104], xmm0
movsd qword [esp + 0xec], xmm1
movsd qword [esp + 0xe4], xmm2
movzx eax, word [edx + 0x1ea]
cmp ecx, eax
jae 0x4a1546
mov eax, edx
jmp 0x4a1573
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x4a13e5
js 0x4a48ba
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push ecx
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a48b3
mov ecx, dword [esp + 0x18]
jmp 0x4a13ea
mov eax, 1
push ecx
push esi
mov dword [esp + 0x14], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [edi + 0x18]
movzx eax, byte [edi + 0xc]
mov ecx, dword [edi + 0x14]
test esi, esi
mov byte [esp + 0x10], al
je 0x4a144f
mov dword [esp + 0xc0], ecx
lea ecx, [esi + esi]
cmp esi, 0x3fffffff
mov dword [esp + 0x14], ecx
ja 0x4a48d5
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 2
push ecx
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a48ce
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc0]
jmp 0x4a1456
mov edi, 2
xor eax, eax
push eax
push ecx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], eax
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x158], al
mov dword [esp + 0x15c], esi
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], esi
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
test edi, edi
je 0x4a14d6
mov dword [esp + 0x18], eax
js 0x4a48af
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push edi
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a48e9
mov esi, eax
mov eax, dword [esp + 0x18]
jmp 0x4a14db
mov esi, 1
push edi
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov byte [esp + 0x48], al
lea edx, [esp + 0xd8]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xe4]
push eax
lea eax, [esp + 0x150]
push eax
call fcn.00468830
add esp, 8
mov eax, dword [esp + 0xe4]
test eax, 0x7fffffff
je 0x4a1220
push 1
push eax
push dword [esp + 0xf0]
call main
add esp, 0xc
jmp 0x4a1220
mov edi, dword [esp + 0x17c]
nop dword [eax]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x4a156f
movzx ecx, word [edx + 0x1e8]
inc edi
mov edx, eax
cmp cx, word [eax + 0x1ea]
jae 0x4a1550
jmp 0x4a1573
xor eax, eax
mov ecx, edi
lea edx, [ecx + ecx*8]
lea edx, [edx + edx*2]
add edx, ecx
shl ecx, 4
mov edi, dword [eax + edx + 0xcc]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0xfc]
movsd xmm0, qword [eax + edx + 0xc4]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [eax + edx + 0xb4]
movsd xmm1, qword [eax + edx + 0xbc]
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
mov dword [eax + edx + 0xcc], edi
lea edi, [esp + 0x100]
movsd xmm0, qword [esp + 0xf4]
movsd qword [eax + edx + 0xc4], xmm0
movsd xmm0, qword [esp + 0xe4]
movsd xmm1, qword [esp + 0xec]
movsd qword [eax + edx + 0xbc], xmm1
movsd qword [eax + edx + 0xb4], xmm0
lea edx, [esp + 0x58]
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [eax + ecx], xmm0
movsd qword [eax + ecx + 8], xmm1
movsd xmm1, qword [esp + 0x44]
mov eax, dword [esp + 0x64]
movq xmm0, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x54]
movsd qword [esp + 0x154], xmm1
movsd xmm1, qword [esp + 0x4c]
mov dword [esp + 0x174], eax
movq qword [esp + 0x14c], xmm0
movsd qword [esp + 0x164], xmm2
movsd qword [esp + 0x15c], xmm1
movsd xmm1, qword [esp + 0x5c]
movsd qword [esp + 0x16c], xmm1
movsd xmm2, qword [esp + 0x164]
movsd xmm1, qword [esp + 0x15c]
mov eax, dword [esp + 0x174]
movq xmm0, qword [esp + 0x16c]
dec dword [esp + 0xe0]
cmp byte [esp + 0x114], 0
movsd qword [esp + 0x54], xmm2
movsd qword [esp + 0x4c], xmm1
movsd xmm2, qword [esp + 0x14c]
movsd xmm1, qword [esp + 0x154]
mov dword [esp + 0x64], eax
movq qword [esp + 0x5c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
je 0x4a1721
test esi, esi
je 0x4a4916
mov eax, dword [ebx + 0x1ec]
dec esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], esi
mov dword [eax + 0xb0], 0
push 4
push 0x21c
push ebx
call main
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
cmp eax, 0x80000000
mov dword [esp + 0x18], edx
je 0x4a1220
test eax, eax
je 0x4a1758
push 1
push eax
push ecx
call main
add esp, 0xc
test ebx, ebx
je 0x4a176a
add ebx, ebx
push 2
push ebx
push edi
call main
add esp, 0xc
test esi, 0x7fffffff
je 0x4a1220
push 1
push esi
push dword [esp + 0x20]
jmp 0x4a1539
mov eax, dword [esp + 0xe0]
movq xmm0, qword [esp + 0xd8]
mov dword [esp + 0x13c], eax
mov eax, dword [0x593ab0]
movq qword [esp + 0x134], xmm0
mov dword [esp + 0x130], 1
movzx eax, byte [eax]
push 1
push 4
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a4948
mov edi, eax
mov dword [eax], 0x48544150
add eax, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov word [esp + 0x44], 0
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x3c]
call fcn.00478830
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xec]
movq xmm0, qword [esp + 0xe4]
mov dword [esp + 0x14c], 4
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], 4
mov dword [esp + 0x158], 0
mov edx, dword [esp + 0x134]
xor ebx, ebx
mov dword [esp + 0x34], edi
movq qword [esp + 0x15c], xmm0
mov dword [esp + 0x164], eax
mov dword [esp + 0x10], eax
test edx, edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
je 0x4a1923
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc0], eax
movzx edi, word [edx + 0x1ea]
lea ecx, [edx + 0xb4]
mov ebx, 0xffffffff
mov dword [esp + 0x14], edx
lea eax, [edi + edi*8]
mov dword [esp + 0x20], edi
lea esi, [eax + eax*2]
add esi, edi
lea edi, [edx - 8]
nop word cs:[eax + eax]
test esi, esi
je 0x4a18e0
lea eax, [ecx + 0x1c]
mov dword [esp + 0x18], eax
push 1
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call sub.kernel32.dll_CompareStringOrdinal
mov ecx, dword [esp + 0x18]
add esi, 0xffffffe4
add edi, 0x10
inc ebx
cmp eax, 3
je 0x4a18a0
mov esi, dword [esp + 8]
cmp eax, 1
jne 0x4a190f
jmp 0x4a18e8
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
sub eax, 1
jb 0x4a1e40
mov edx, dword [edx + ebx*4 + 0x1ec]
mov dword [esp + 0xc0], eax
jmp 0x4a1871
cmp eax, 2
jne 0x4a4840
mov ebx, dword [edi - 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x4a1923
push 1
push 4
push dword [esp + 0x3c]
call main
add esp, 0xc
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x4a194f
add eax, eax
push 2
push eax
push dword [esp + 0x14]
call main
add esp, 0xc
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4a19b0
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x4a9410
cmp ecx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ecx
jb 0x4a1999
mov eax, dword [edi]
xor ecx, ecx
bswap eax
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
mov eax, 0x4a9410
adc ecx, 0xffffffff
mov ecx, 0x4a9430
cmove eax, ecx
mov ecx, dword [esp + 0x18]
movzx ebx, byte [ecx + edi - 1]
push ebx
call eax
add esp, 4
test al, al
je 0x4a1a48
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x57b080
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x38]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov dword [eax + 8], 2
cmp dword [esp + 0x130], 0
je 0x4a1afe
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x4a1ad9
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], ecx
mov ecx, 1
mov dword [esp + 0x168], edx
jmp 0x4a1add
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc0], edi
lea esi, [edi + eax]
cmp eax, 3
mov dword [esp + 0x20], esi
jbe 0x4a1b1c
movzx eax, byte [esi - 4]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
xor eax, eax
cmp cl, 0x2e
mov ecx, 0
jne 0x4a1b50
movzx ecx, byte [esi - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x4a1b40
movzx ecx, byte [esi - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x4a1b44
mov ecx, ebx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, bl
cmp cl, 0x65
sete cl
jmp 0x4a1b50
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x16c], eax
lea ecx, [esp + 0x14c]
call fcn.0045e780
cmp dword [esp + 0x128], 4
jb 0x4a1b14
push dword [esp + 0x12c]
call sub.kernel32.dll_CloseHandle
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
nop
test eax, eax
je 0x4a1c9e
movzx edx, byte [ecx]
cmp edx, 0x2f
je 0x4a1bc1
inc ecx
dec eax
cmp edx, 0x5c
jne 0x4a1b20
jmp 0x4a1bc1
xor ecx, ecx
jmp 0x4a1b50
xor ecx, ecx
nop word cs:[eax + eax]
cmp dword [esp + 0x18], eax
je 0x4a1c9e
movzx edx, byte [edi + eax]
cmp edx, 0x2f
je 0x4a1b69
inc eax
cmp edx, 0x5c
jne 0x4a1b50
test cl, cl
je 0x4a1bc1
mov edx, edi
lea ecx, [esp + 0x14c]
push dword [esp + 0x18]
call fcn.004a7590
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x4a1e13
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x4a1f49
mov ebx, dword [esp + 0x18]
test ebx, ebx
js 0x4a4a0e
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push ebx
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a4950
mov esi, eax
push ebx
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], 0
lea eax, [esp + 0x14c]
push 4
push str..exeprogram_not_found
push eax
call fcn.004a8ae0
add esp, 0xc
mov esi, dword [esp + 0x14c]
mov edi, dword [esp + 0x150]
mov ebx, dword [esp + 0x154]
mov edx, edi
lea ecx, [esp + 0x3c]
push ebx
call fcn.004a5250
add esp, 4
cmp dword [esp + 0x3c], 0x80000000
jne 0x4a1d73
mov dword [esp + 0x18], ebx
push ebx
push edi
call fcn.004919f0
add esp, 8
test eax, eax
je 0x4a1e0a
mov ebx, edx
cmp edx, 2
mov dword [esp + 0xc], esi
jne 0x4a1d92
movzx ecx, word [eax]
cmp ecx, 0x2e2e
jne 0x4a1d92
mov edx, 2
xor ecx, ecx
jmp 0x4a1e74
mov eax, edi
xor edi, edi
jmp 0x4a1cbb
xor edi, edi
test cx, cx
je 0x4a1d58
mov cx, 1
test di, di
jne 0x4a1cb0
cmp eax, esi
je 0x4a1dcc
movzx ebx, byte [eax]
test bl, bl
js 0x4a1cd8
inc eax
mov edx, ebx
jmp 0x4a1d2b
movzx esi, byte [eax + 1]
mov edx, ebx
and edx, 0x1f
and esi, 0x3f
cmp bl, 0xdf
jbe 0x4a1d1f
movzx edi, byte [eax + 2]
shl esi, 6
and edi, 0x3f
or edi, esi
cmp bl, 0xf0
jb 0x4a1d31
movzx esi, byte [eax + 3]
and edx, 7
shl edi, 6
add eax, 4
shl edx, 0x12
and esi, 0x3f
or esi, edi
or edx, esi
mov esi, dword [esp + 0x20]
cmp edx, 0xffff
jbe 0x4a1d2b
jmp 0x4a1d45
shl edx, 6
add eax, 2
or edx, esi
mov esi, dword [esp + 0x20]
xor edi, edi
mov ecx, edx
jmp 0x4a1cb2
shl edx, 0xc
add eax, 3
or edx, edi
mov esi, dword [esp + 0x20]
cmp edx, 0xffff
jbe 0x4a1d2b
and edx, 0x3ff
or edx, 0xdc00
mov edi, edx
jmp 0x4a1cb2
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 0x57b054
jmp 0x4a19c3
mov eax, dword [esp + 0x44]
movq xmm0, qword [esp + 0x3c]
mov dword [esp + 0x94], eax
movq qword [esp + 0x8c], xmm0
jmp 0x4a1f39
xor edx, edx
mov ecx, eax
mov dword [esp + 0x10], edi
nop word [eax + eax]
cmp ebx, edx
je 0x4a1e47
cmp byte [ecx + ebx - 1], 0x2e
lea edi, [ecx - 1]
mov esi, edx
lea edx, [edx + 1]
mov ecx, edi
jne 0x4a1da0
mov ecx, ebx
sub ecx, edx
jne 0x4a1e6a
xor ecx, ecx
mov edx, ebx
jmp 0x4a1e70
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc0]
cmp ecx, 7
ja 0x4a1e51
mov edx, dword [esp + 0xc]
mov eax, ebx
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax], 0x2e
je 0x4a2fad
inc eax
dec ecx
jne 0x4a1df0
mov dword [esp + 0x30], 0
jmp 0x4a2fb5
mov ebx, dword [esp + 0x18]
jmp 0x4a1ec7
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x14c]
call fcn.0049a160
jmp 0x4a1f49
xor ebx, ebx
jmp 0x4a1923
mov ecx, eax
mov esi, ebx
mov edx, ebx
xor eax, eax
jmp 0x4a1e70
push ecx
push ebx
push 0x2e
call fcn.004dec50
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
jmp 0x4a2fb5
mov edx, ecx
lea ecx, [edi + ebx + 1]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
test eax, eax
cmovne ecx, eax
test ecx, ecx
je 0x4a1eb3
test eax, eax
cmove edx, esi
add ecx, edx
sub ecx, edi
je 0x4a1eb9
mov esi, dword [esp + 0xc]
cmp ebx, ecx
jbe 0x4a1ebf
cmp byte [edi + ecx], 0xbf
jg 0x4a1ec1
push 0x579fd4
push 0x37
push 0x579f9a
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
mov esi, dword [esp + 0xc]
jmp 0x4a1ec7
mov esi, dword [esp + 0xc]
jmp 0x4a1ec5
jne 0x4a1e9a
cmp ebx, ecx
jb 0x4a1ec7
mov ebx, ecx
mov edx, edi
lea ecx, [esp + 0x14c]
push ebx
call fcn.004a7590
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x4a1f11
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x4a1f39
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x14c]
call fcn.0049a160
test esi, esi
je 0x4a1f49
push 1
push esi
push edi
call main
add esp, 0xc
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
cmp edi, 0x80000000
je 0x4a19d1
cmp ebx, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
jb 0x4a1fae
mov edx, dword [esp + 0x18]
mov ecx, 0x5c005c
mov eax, 0x5c003f
xor ecx, dword [edx]
mov edx, dword [edx + 4]
xor edx, eax
or edx, ecx
je 0x4a2169
mov edx, dword [esp + 0x18]
mov ecx, 0x3f005c
xor ecx, dword [edx]
xor eax, dword [edx + 4]
or eax, ecx
je 0x4a2169
mov ebx, 0x200
xor edi, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x14], 2
cmp ebx, 0x201
jb 0x4a1fee
jmp 0x4a2010
jbe 0x4a209c
cmp ebx, 0x201
jae 0x4a2010
lea eax, [esp + 0x14c]
mov esi, ebx
mov dword [esp + 0xc], 0x200
mov ebx, eax
jmp 0x4a203d
sub ebx, edi
je 0x4a202f
mov edx, edi
lea ecx, [esp + 0x3c]
push ebx
call fcn.0046d070
add esp, 4
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
mov esi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0xc], edi
push 0
call sub.kernel32.dll_SetLastError
push 0
mov dword [esp + 0x14], ebx
push ebx
push esi
push dword [esp + 0x24]
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test eax, eax
jne 0x4a2068
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4a217e
cmp ebx, esi
jne 0x4a1fe0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4a48fd
lea ebx, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x4a2010
jmp 0x4a1fee
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp ebx, eax
ja 0x4a4a15
mov edi, dword [esp + 0xc0]
cmp ebx, 4
jb 0x4a213f
mov eax, dword [esp + 0x10]
cmp word [eax + ebx*2 - 8], 0x2e
jne 0x4a213f
movzx eax, word [eax + ebx*2 - 6]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x4a2147
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x4a5024]
jmp edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a223c
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
jmp 0x4a223c
mov esi, dword [esp + 8]
cmp ebx, 4
jne 0x4a21aa
mov edi, dword [esp + 0xc0]
jmp 0x4a2234
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a219e
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [eax], 0
jmp 0x4a2ee3
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc0]
cmp word [eax + ebx*2 - 0xa], 0x2e
jne 0x4a2234
movzx eax, word [eax + ebx*2 - 8]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x4a223c
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x4a50ac]
jmp edx
mov dword [esp + 0x28], 0
cmp byte [esp + 0x28], 0
je 0x4a2342
lea eax, [esp + 0x40]
mov edi, 0x200
xor ebx, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0xc0], eax
cmp edi, 0x201
jb 0x4a229e
jmp 0x4a22c0
jbe 0x4a246f
cmp edi, 0x201
jae 0x4a22c0
lea eax, [esp + 0x14c]
mov esi, edi
mov dword [esp + 0xc], 0x200
mov edi, eax
jmp 0x4a22ed
sub edi, ebx
je 0x4a22df
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.0046d070
add esp, 4
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], ebx
push 0
call sub.kernel32.dll_SetLastError
push esi
mov dword [esp + 0x14], edi
push edi
call sub.kernel32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x4a2312
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4a24af
cmp edi, esi
jne 0x4a2290
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4a492f
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x4a22c0
jmp 0x4a229e
mov eax, esi
mov ebx, dword [esi + 0x2c]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0
movzx eax, byte [eax + 0x69]
mov byte [esp + 0xc], al
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax], 0x22
mov dword [esp + 0x14c], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x44], 1
mov dword [esp + 0x150], edi
mov word [esp + 0x154], 0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14c]
call fcn.004786d0
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x3c]
jne 0x4a23c3
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax + edi*2], 0x22
inc edi
test esi, esi
mov dword [esp + 0x44], edi
je 0x4a2440
movzx eax, byte [esp + 0xc]
shl esi, 2
lea edi, [esi + esi*4]
mov dword [esp + 0xc], eax
nop word cs:[eax + eax]
nop
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x3c]
jne 0x4a2403
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax + esi*2], 0x20
inc esi
mov dword [esp + 0x44], esi
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xe4]
push dword [esp + 0xc]
push ebx
call fcn.00499cf0
add esp, 8
cmp byte [esp + 0xe4], 4
jne 0x4a2eb6
add ebx, 0x14
add edi, 0xffffffec
jne 0x4a23f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
cmp eax, 0x80000000
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x20], edx
je 0x4a2edd
jmp 0x4a29e3
mov eax, dword [esp + 0xc]
cmp edi, eax
ja 0x4a4a26
test edi, edi
je 0x4a24d6
lea esi, [edi + edi]
cmp edi, 0x3fffffff
ja 0x4a4a37
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 2
push esi
call fcn.00409a80
add esp, 8
test eax, eax
jne 0x4a24dd
mov eax, 2
jmp 0x4a4a39
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a24cf
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
xor ecx, ecx
jmp 0x4a26e3
mov eax, 2
xor esi, esi
push esi
push dword [esp + 0x14]
mov esi, eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a2506
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
lea eax, [esp + 0xe8]
mov edx, esi
mov ecx, str.cmd.exelibrary_std_src_syspalwindows_stdio.rsW
xor ebx, ebx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc0], eax
jmp 0x4a2558
mov dword [esp + 0xc], ecx
mov ecx, edx
mov edx, esi
mov word [edx + edi*2], bx
mov ebx, dword [esp + 0xc]
inc edi
mov dword [esp + 0xec], edi
test ecx, ecx
je 0x4a25d0
test bx, bx
je 0x4a25b0
mov esi, edx
mov edx, ecx
xor ecx, ecx
cmp edi, dword [esp + 0xe4]
jne 0x4a2540
mov eax, str.cmd.exelibrary_std_src_syspalwindows_stdio.rsW
mov esi, ebx
mov ebx, edx
sub eax, edx
mov edx, 0xaaaaaaab
add eax, 0xa
mul edx
mov eax, edx
mov edx, dword [esp + 0x10]
shr eax, 1
cmp cx, 1
mov dword [esp + 0xc], ecx
mov ecx, ebx
mov ebx, esi
adc edx, 0xffffffff
sub eax, edx
inc eax
jmp 0x4a2600
lea eax, [0x57b0d8]
cmp ecx, eax
je 0x4a25d0
movzx eax, byte [ecx]
test al, al
js 0x4a2627
inc ecx
mov esi, edx
mov ebx, eax
mov edx, ecx
xor ecx, ecx
jmp 0x4a2567
cmp dword [esp + 0x10], 1
je 0x4a26b9
mov dword [esp + 0xc], ebx
xor ebx, ebx
cmp edi, dword [esp + 0xe4]
mov ecx, 0
mov eax, 0
mov dword [esp + 0x10], 1
jne 0x4a2548
mov esi, ebx
mov ebx, ecx
inc eax
mov edx, edi
lea ecx, [esp + 0xe4]
push eax
call fcn.0046d070
add esp, 4
mov edx, dword [esp + 0xe8]
mov ecx, ebx
mov ebx, esi
jmp 0x4a2548
movzx esi, byte [ecx + 1]
mov ebx, eax
mov dword [esp + 0xc], edx
and ebx, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x4a2666
mov edx, ecx
movzx ecx, byte [ecx + 2]
shl esi, 6
and ecx, 0x3f
or ecx, esi
cmp al, 0xf0
jb 0x4a267b
movzx eax, byte [edx + 3]
and ebx, 7
shl ecx, 6
add edx, 4
shl ebx, 0x12
and eax, 0x3f
or eax, ecx
or ebx, eax
jmp 0x4a2683
shl ebx, 6
add ecx, 2
or ebx, esi
mov esi, dword [esp + 0xc]
mov edx, ecx
xor ecx, ecx
jmp 0x4a2567
shl ebx, 0xc
add edx, 3
or ebx, ecx
mov esi, dword [esp + 0xc]
cmp ebx, 0xffff
jbe 0x4a26b2
lea eax, [ebx + 0xff0000]
and ebx, 0x3ff
shr eax, 0xa
or ebx, 0xdc00
or eax, 0xd800
mov ecx, ebx
mov ebx, eax
jmp 0x4a2567
xor ecx, ecx
jmp 0x4a2567
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
cmp eax, 0x80000000
mov dword [esp + 0xc0], ecx
jne 0x4a26fa
mov esi, dword [esp + 0xec]
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [eax + 4], esi
mov dword [eax], ecx
mov dword [eax + 8], 2
jmp 0x4a2eef
mov dword [esp + 0x20], eax
xor eax, eax
mov esi, 0x14
test al, al
jne 0x4a4a4a
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
movzx eax, byte [eax + 0x69]
mov byte [esp + 0x88], al
mov eax, dword [0x593ab0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
push 2
push esi
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4a4a45
mov ecx, 0xa
lea edx, [0x57aa81]
mov esi, 1
mov word [eax], 0x63
mov dword [esp + 0x14c], ecx
lea ecx, [esp + 0x150]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], 1
mov dword [esp + 0x24], ecx
xor ecx, ecx
jmp 0x4a27f0
mov eax, 0x57aa80
mov dword [esp + 0x10], ecx
mov ecx, 0xaaaaaaab
mov dword [esp + 0xc], esi
mov esi, edx
mov ebx, edi
sub eax, edx
add eax, 0x1e
mul ecx
mov eax, edx
shr eax, 1
cmp di, 1
sbb eax, 0
add eax, 2
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14c]
mov edi, edx
push eax
call fcn.0046d070
add esp, 4
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x10]
mov edx, esi
mov esi, edi
mov edi, ebx
mov word [eax + esi*2], cx
inc esi
mov ecx, edi
mov dword [esp + 0x154], esi
test cx, cx
je 0x4a2810
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x4a27e2
jmp 0x4a2790
lea ecx, [0x57aa9c]
cmp edx, ecx
je 0x4a290e
movzx ebx, byte [edx]
test bl, bl
js 0x4a2838
inc edx
mov ecx, ebx
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x4a27e2
jmp 0x4a2790
movzx edi, byte [edx + 1]
mov ecx, ebx
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x4a28a3
mov dword [esp + 0xc], esi
mov esi, ecx
mov ecx, edx
movzx edx, byte [edx + 2]
shl edi, 6
and edx, 0x3f
or edx, edi
cmp bl, 0xf0
jb 0x4a28bf
movzx edi, byte [ecx + 3]
add ecx, 4
shl edx, 6
mov dword [esp + 0x10], ecx
mov ecx, esi
and ecx, 7
shl ecx, 0x12
and edi, 0x3f
or edi, edx
or ecx, edi
mov esi, dword [esp + 0xc]
cmp ecx, 0xffff
ja 0x4a28d9
mov edx, dword [esp + 0x10]
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x4a27e2
jmp 0x4a2790
shl ecx, 6
add edx, 2
or ecx, edi
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x4a27e2
jmp 0x4a2790
add ecx, 3
mov dword [esp + 0x10], ecx
mov ecx, esi
shl ecx, 0xc
or ecx, edx
mov esi, dword [esp + 0xc]
cmp ecx, 0xffff
jbe 0x4a288b
lea edx, [ecx + 0xff0000]
and ecx, 0x3ff
shr edx, 0xa
or ecx, 0xdc00
or edx, 0xd800
mov edi, ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
cmp esi, dword [esp + 0x14c]
jne 0x4a27e2
jmp 0x4a2790
movq xmm0, qword [esp + 0x14c]
mov esi, dword [esp + 0x154]
mov ebx, dword [esp + 0x1c]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], esi
cmp esi, dword [esp + 0x3c]
jne 0x4a293b
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea eax, [ebx + ebx]
xor ecx, ecx
mov word [edi + esi*2], 0x22
inc esi
mov dword [esp + 0x44], esi
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, ecx
je 0x4a2f80
cmp word [edx + ecx], 0x22
lea ecx, [ecx + 2]
jne 0x4a2960
xor edi, edi
mov esi, 0x57ab04
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a2997
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
mov eax, 0x80000000
and edi, 0xffffff00
movzx ebx, bl
or ebx, edi
cmp eax, 0x80000000
jne 0x4a29e3
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a2eed
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call main
add esp, 0xc
jmp 0x4a2eed
cmp eax, esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], esi
jne 0x4a2a0f
lea ecx, [esp + 0xd8]
call fcn.0046d670
mov ebx, dword [esp + 0xdc]
mov word [ebx + esi*2], 0
inc esi
mov eax, 0x400
mov ecx, 0x608
mov dword [esp + 0xe0], esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x68], 0
cmove ecx, eax
or ecx, dword [esi + 0x58]
cmp dword [esp + 0x130], 0
mov dword [esp + 0x144], ecx
je 0x4a31a7
mov eax, dword [esp + 0x34]
mov edi, 2
mov ebx, 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 0
mov dword [esp + 0x10], 0
mov esi, dword [eax + 8]
movq xmm0, qword [eax]
test esi, esi
mov dword [esp + 0x94], esi
movq qword [esp + 0x8c], xmm0
jne 0x4a2ac6
mov bl, 1
lea ecx, [esp + 0x9c]
call fcn.0046d670
mov edi, dword [esp + 0xa0]
mov ebx, 1
mov word [edi], 0
mov dword [esp + 0xa4], 1
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
xor edx, edx
test eax, eax
setne dl
cmove esi, eax
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], ecx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14c]
mov dword [esp + 0x16c], esi
call fcn.0046a7e0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x4a3fea
mov edx, dword [esp + 0x44]
lea eax, [edx + edx*8]
lea eax, [eax + eax*2]
add eax, edx
mov esi, dword [ecx + eax + 0xb4]
cmp esi, 0x80000000
je 0x4a3fea
shl edx, 4
mov dword [esp + 0x84], esi
mov edi, dword [ecx + eax + 0xcc]
xor ebx, ebx
mov esi, dword [ecx + edx]
mov dword [esp + 0x148], edi
mov dword [esp + 0x24], esi
mov esi, dword [ecx + edx + 4]
mov edx, dword [ecx + edx + 8]
mov dword [esp + 0xc], esi
mov esi, dword [ecx + eax + 0xc4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + eax + 0xb8]
mov dword [esp + 0x80], esi
mov esi, dword [ecx + eax + 0xc8]
mov eax, dword [ecx + eax + 0xbc]
mov dword [esp + 0x110], edx
add eax, edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x34], eax
jmp 0x4a2bdd
xor ebx, ebx
test si, si
je 0x4a2f15
mov si, 1
test bx, bx
jne 0x4a2bd2
cmp edx, eax
je 0x4a2c6f
movzx ebx, byte [edx]
test bl, bl
js 0x4a2bfa
inc edx
mov edi, ebx
jmp 0x4a2c66
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x4a2c35
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x4a2c3f
movzx ecx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
or edi, ecx
jmp 0x4a2c47
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x4a2c66
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x34]
cmp edi, 0xffff
jbe 0x4a2c66
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x4a2bd4
xor ebx, ebx
mov esi, edi
jmp 0x4a2bd4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a2c8c
push 1
push eax
push dword [esp + 0x118]
call main
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x148]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc]
sub eax, edi
cmp eax, esi
jae 0x4a2ccc
mov edx, edi
lea ecx, [esp + 0x9c]
push esi
call fcn.0046d070
add esp, 4
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
lea eax, [esi + esi]
mov dword [esp + 0x2c], ecx
lea ecx, [ecx + edi*2]
push eax
push dword [esp + 0x8c]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x80]
add edi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xa4], edi
test eax, eax
je 0x4a2d13
add eax, eax
push 2
push eax
push dword [esp + 0x90]
call main
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [esp + 0x9c]
jne 0x4a2d37
lea ecx, [esp + 0x9c]
call fcn.0046d670
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
and dword [esp + 0x110], 0xffffff00
xor edi, edi
mov word [ecx + eax*2], 0x3d
inc eax
mov ecx, ebx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x14]
add eax, ebx
mov dword [esp + 0x10], eax
jmp 0x4a2d6f
xor edi, edi
test dx, dx
je 0x4a3909
mov dx, 1
test di, di
jne 0x4a2d64
cmp ecx, eax
je 0x4a2e11
movzx ebx, byte [ecx]
test bl, bl
js 0x4a2d90
mov esi, ebx
mov ebx, dword [esp + 0xc]
inc ecx
jmp 0x4a2e08
movzx eax, byte [ecx + 1]
mov esi, ebx
and esi, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x4a2dcb
movzx edi, byte [ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x4a2ddd
movzx eax, byte [ecx + 3]
and esi, 7
shl edi, 6
add ecx, 4
shl esi, 0x12
and eax, 0x3f
or eax, edi
or esi, eax
jmp 0x4a2de5
shl esi, 6
mov ebx, dword [esp + 0xc]
add ecx, 2
or esi, eax
mov eax, dword [esp + 0x10]
jmp 0x4a2e08
shl esi, 0xc
add ecx, 3
or esi, edi
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp esi, 0xffff
jbe 0x4a2e08
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x4a2d66
xor edi, edi
mov edx, esi
jmp 0x4a2d66
mov edi, ebx
shr edi, 8
cmp dword [esp + 0x24], 0x80000000
je 0x4a4838
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], eax
mov word [esp + 0xec], 0
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xe4]
call fcn.004786d0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a2e63
push 1
push eax
push ebx
call main
add esp, 0xc
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x140], edi
cmp ebx, dword [esp + 0x9c]
jne 0x4a2e86
lea ecx, [esp + 0x9c]
call fcn.0046d670
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0x110]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14c]
mov word [edi + ebx*2], 0
inc ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xa4], ebx
jmp 0x4a2b30
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
test eax, eax
je 0x4a2edd
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call main
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 2
xor ebx, ebx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a2f08
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call main
add esp, 0xc
test bl, bl
je 0x4a19e1
jmp 0x4a1afe
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a2f32
push 1
push eax
push dword [esp + 0x118]
call main
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x4a2f4a
push 1
push ecx
push eax
call main
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
or dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x57b054
test ecx, ecx
je 0x4a393a
add ecx, ecx
push 2
push ecx
push eax
call main
add esp, 0xc
jmp 0x4a393a
mov eax, dword [esp + 0x18]
mov edx, edi
xor edi, edi
mov ecx, ebx
sub ebx, 1
jb 0x4a3992
mov ecx, eax
movzx eax, word [eax + ebx*2]
cmp ax, 0x5c
jne 0x4a3984
mov esi, 0x57ab04
jmp 0x4a3fd2
mov dword [esp + 0x30], 1
test edx, edx
je 0x4a30f7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
add eax, edx
mov dword [esp + 0x40], eax
mov word [esp + 0x44], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x3c]
lea esi, [esp + 0x14c]
push eax
push esi
call fcn.0049f150
add esp, 8
jmp 0x4a2ffc
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0049f150
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x4a30f7
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
je 0x4a30de
mov edi, dword [esp + 0x158]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], edi
push dword [esp + 0x18]
push ebx
push esi
call fcn.00490740
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x4a306c
push 3
push str.exe.NULexit_code:
push esi
call fcn.00491360
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.004a5250
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x4a30a2
push 1
push eax
push edi
call main
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x4a34b6
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0049f150
add esp, 8
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0xc0]
cmp eax, 0x80000000
jne 0x4a300e
jmp 0x4a30f7
test eax, eax
je 0x4a2fee
push 1
push eax
push ecx
call main
add esp, 0xc
jmp 0x4a2fee
lea ecx, [esp + 0x3c]
call fcn.0049f380
mov esi, dword [esp + 0x3c]
cmp esi, 0x80000000
jne 0x4a3152
cmp byte [esp + 0x40], 3
jne 0x4a32c8
mov esi, dword [esp + 0x44]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a312c
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a3140
push dword [ebx + 8]
push eax
push edi
call main
add esp, 0xc
push 4
push 0xc
push esi
call main
add esp, 0xc
jmp 0x4a32c8
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], eax
push ebx
push edi
call fcn.004918c0
add esp, 8
test eax, eax
je 0x4a322d
test edx, edx
je 0x4a322b
cmp ebx, edx
jbe 0x4a3221
cmp byte [edi + edx], 0xbf
jg 0x4a3227
push 0x579fd4
push 0x37
push 0x579f9a
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
xor ebx, ebx
mov dword [esp + 0x10], 2
mov dword [esp + 0x2c], 0
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
jne 0x4a4065
mov edi, 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x88], 0
pxor xmm0, xmm0
mov cl, 1
xor eax, eax
movdqu xmmword [esp + 0x9c], xmm0
lock cmpxchg byte [0x5c1160], cl
jne 0x4a41ac
mov eax, dword [0x5c113c]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
je 0x4a41cd
call fcn.00498140
xor al, 1
jmp 0x4a41cf
jne 0x4a318e
cmp ebx, edx
jb 0x4a322d
mov ebx, edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], eax
lea esi, [esp + 0x14c]
push dword [esp + 0x18]
push dword [esp + 0xc4]
push esi
call fcn.00490740
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x4a327f
push 3
push str.exe.NULexit_code:
push esi
call fcn.00491360
add esp, 0xc
mov esi, dword [esp + 0x150]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.004a5250
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x4a32b5
push 1
push eax
push esi
call main
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x4a34b6
mov eax, 0x200
xor ebx, ebx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 0
mov dword [esp + 0x10], 2
cmp eax, 0x201
jb 0x4a3324
jmp 0x4a3340
mov edi, dword [esp + 0xc0]
jbe 0x4a33dd
cmp eax, 0x201
jae 0x4a3340
mov dword [esp + 0xc], 0x200
lea esi, [esp + 0x14c]
mov edi, eax
jmp 0x4a3379
sub eax, ebx
je 0x4a3368
mov edx, ebx
lea ecx, [esp + 0x9c]
push eax
call fcn.0046d070
add esp, 4
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov edi, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xc], ebx
push 0
call sub.kernel32.dll_SetLastError
push edi
push esi
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
jne 0x4a33aa
mov dword [esp + 0x14], esi
mov esi, ebx
mov ebx, eax
call sub.kernel32.dll_GetLastError
mov ecx, eax
mov eax, ebx
mov ebx, esi
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x4a34c9
cmp eax, edi
jne 0x4a3310
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4a4967
lea eax, [edi + edi]
test edi, edi
mov ecx, 0xffffffff
cmovs eax, ecx
cmp eax, 0x201
jae 0x4a3340
jmp 0x4a3324
mov ecx, dword [esp + 0xc]
cmp eax, ecx
ja 0x4a4a56
push eax
push esi
lea esi, [esp + 0x44]
push esi
call fcn.0048e920
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.00490740
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x4a3421
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.00491360
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.004a5250
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a344e
push 1
push eax
push esi
call main
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
test eax, eax
je 0x4a3482
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
cmp edi, 0x80000001
jg 0x4a44fd
mov ecx, edi
cmp edi, 0x80000000
je 0x4a3527
mov eax, esi
cmp ecx, 0x80000001
je 0x4a34f1
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
jmp 0x4a351f
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
jmp 0x4a1f6a
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4a34ef
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x4a3527
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x4a3506
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x4a351a
push dword [edi + 8]
push eax
push esi
call main
add esp, 0xc
push 4
push 0xc
push ebx
call main
add esp, 0xc
mov ebx, 0x200
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 2
cmp ebx, 0x201
jb 0x4a3585
jmp 0x4a35a0
mov edi, dword [esp + 0xc0]
jbe 0x4a3634
cmp ebx, 0x201
jae 0x4a35a0
mov dword [esp + 0x10], 0x200
lea esi, [esp + 0x14c]
mov edi, ebx
jmp 0x4a35df
mov edi, dword [esp + 0xc]
sub ebx, edi
je 0x4a35cc
mov edx, edi
lea ecx, [esp + 0x9c]
push ebx
call fcn.0046d070
add esp, 4
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
push 0
call sub.kernel32.dll_SetLastError
push edi
push esi
call sub.kernel32.dll_GetWindowsDirectoryW
mov ebx, eax
test eax, eax
jne 0x4a3600
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4a371e
cmp ebx, edi
jne 0x4a3570
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4a4980
lea ebx, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x4a35a0
jmp 0x4a3585
mov eax, dword [esp + 0x10]
cmp ebx, eax
ja 0x4a4a67
push ebx
push esi
lea esi, [esp + 0x44]
push esi
call fcn.0048e920
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.00490740
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x4a3678
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.00491360
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.004a5250
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a36a5
push 1
push eax
push esi
call main
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
test eax, eax
je 0x4a36d9
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
cmp edi, 0x80000001
jg 0x4a44fd
mov eax, edi
cmp edi, 0x80000000
mov edi, dword [esp + 0xc0]
je 0x4a378a
mov ecx, eax
mov eax, esi
cmp ecx, 0x80000001
je 0x4a374d
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
call main
add esp, 0xc
jmp 0x4a378a
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xc0]
test eax, eax
je 0x4a374b
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x4a378a
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x4a3762
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x4a3776
push dword [edi + 8]
push eax
push esi
call main
add esp, 0xc
push 4
push 0xc
push ebx
call main
add esp, 0xc
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0xe4]
push 4
push 0x579f1c
push eax
call fcn.00482190
add esp, 0xc
mov ebx, dword [esp + 0xe4]
cmp ebx, 0x80000000
je 0x4a38f1
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
lea esi, [esp + 0x14c]
mov dword [esp + 0xc], ebx
add eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], eax
mov word [esp + 0x44], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0049f150
add esp, 8
jmp 0x4a3805
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0049f150
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x4a38de
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
jne 0x4a383b
test eax, eax
je 0x4a37f7
push 1
push eax
push ecx
call main
add esp, 0xc
jmp 0x4a37f7
mov ebx, edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], edi
push dword [esp + 0x18]
push ebx
push esi
call fcn.00490740
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x4a3885
push 3
push str.exe.NULexit_code:
push esi
call fcn.00491360
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0x9c]
push dword [esp + 0x154]
call fcn.004a5250
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x4a38bb
push 1
push eax
push edi
call main
add esp, 0xc
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xc]
cmp edi, 0x80000000
jne 0x4a44da
mov edi, dword [esp + 0xc0]
jmp 0x4a37e7
test ebx, ebx
je 0x4a38f1
push 1
push ebx
push dword [esp + 0x18]
call main
add esp, 0xc
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x57b0a4
jmp 0x4a19c3
mov eax, dword [esp + 0x24]
mov esi, 2
mov dword [esp + 0x14], 0x57b054
test eax, eax
je 0x4a392a
push 1
push eax
push ebx
call main
add esp, 0xc
mov edi, dword [esp + 0x140]
shl edi, 8
or edi, esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ecx, [esp + 0x14c]
call fcn.0045e780
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4a3967
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call main
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [eax + 8], 2
jmp 0x4a47eb
xor edi, edi
test ax, ax
mov eax, ecx
cmove edi, ecx
mov ecx, dword [esp + 0x1c]
test edi, edi
cmove ebx, ecx
mov ecx, dword [esp + 0x3c]
cmove edi, eax
mov eax, ecx
sub eax, esi
cmp eax, ebx
jae 0x4a39c7
mov edx, esi
lea ecx, [esp + 0x3c]
push ebx
call fcn.0046d070
add esp, 4
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
jmp 0x4a39cb
mov dword [esp + 0xc], ecx
lea eax, [ebx + ebx]
lea ecx, [edx + esi*2]
push eax
push edi
push ecx
mov edi, edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
mov eax, edi
cmp esi, dword [esp + 0xc]
mov dword [esp + 0x44], esi
jne 0x4a39f9
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax + esi*2], 0x22
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x44], esi
test eax, eax
je 0x4a4475
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x3c]
jne 0x4a3a31
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
lea ebx, [edi + 1]
mov word [eax + edi*2], 0x20
mov dword [esp + 0x44], ebx
cmp dword [esi], 0
je 0x4a3a8c
movzx eax, byte [esp + 0x88]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14c]
push eax
push esi
call fcn.00499cf0
add esp, 8
cmp byte [esp + 0x14c], 4
jne 0x4a44b3
mov eax, dword [esp + 0x2c]
add eax, 0x14
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jne 0x4a3a1e
jmp 0x4a4471
mov dword [esp + 0x84], edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [esp + 0x80], eax
add eax, edi
mov dword [esp + 0xc], eax
mov eax, edi
jmp 0x4a3ab7
inc eax
cmp dl, cl
je 0x4a3fb0
cmp eax, dword [esp + 0xc]
je 0x4a3ae4
movzx ecx, byte [eax]
mov esi, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi + 0x57ab11]
cmp dl, cl
je 0x4a3aae
test esi, esi
lea esi, [esi + 1]
jne 0x4a3ad0
jmp 0x4a3aae
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1c], edi
jmp 0x4a3af9
xor eax, eax
test dx, dx
je 0x4a3fcd
mov dx, 1
test ax, ax
jne 0x4a3aee
cmp ecx, dword [esp + 0xc]
je 0x4a3b9d
movzx eax, byte [ecx]
test al, al
js 0x4a3b18
inc ecx
mov esi, eax
jmp 0x4a3b94
movzx edi, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edi, 0x3f
cmp al, 0xdf
jbe 0x4a3b5b
mov dword [esp + 0x14], ecx
movzx ecx, byte [ecx + 2]
shl edi, 6
and ecx, 0x3f
or ecx, edi
cmp al, 0xf0
mov edi, ecx
jb 0x4a3b69
mov ecx, dword [esp + 0x14]
and esi, 7
shl edi, 6
shl esi, 0x12
movzx eax, byte [ecx + 3]
add ecx, 4
and eax, 0x3f
or eax, edi
or esi, eax
jmp 0x4a3b75
shl esi, 6
add ecx, 2
or esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x4a3b94
mov ecx, dword [esp + 0x14]
shl esi, 0xc
or esi, edi
add ecx, 3
mov edi, dword [esp + 0x1c]
cmp esi, 0xffff
jbe 0x4a3b94
and esi, 0x3ff
or esi, 0xdc00
mov eax, esi
jmp 0x4a3af0
xor eax, eax
mov edx, esi
jmp 0x4a3af0
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4a3ca5
cmp byte [esp + 0x88], 0
setne al
cmp byte [ecx + edi - 1], 0x5c
sete cl
or cl, al
mov byte [esp + 0x14], cl
jmp 0x4a3bd6
mov byte [esp + 0x14], 1
cmp edi, dword [esp + 0xc]
je 0x4a3c8f
movzx eax, byte [edi]
test al, al
js 0x4a3be2
inc edi
mov esi, eax
jmp 0x4a3c2d
movzx edx, byte [edi + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x4a3c1b
movzx ecx, byte [edi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x4a3c25
movzx eax, byte [edi + 3]
and esi, 7
shl ecx, 6
add edi, 4
shl esi, 0x12
and eax, 0x3f
or eax, ecx
or esi, eax
jmp 0x4a3c2d
shl esi, 6
add edi, 2
or esi, edx
jmp 0x4a3c2d
shl esi, 0xc
add edi, 3
or esi, ecx
cmp esi, 0x110000
je 0x4a3bcc
mov eax, esi
and eax, 0x1ff800
cmp eax, 0xd800
je 0x4a3bcc
cmp esi, 0x80
jae 0x4a3c79
lea eax, [esi - 0x30]
cmp eax, 0xa
jb 0x4a3c79
mov eax, esi
and eax, 0x5f
add eax, 0xffffffbf
cmp eax, 0x19
jbe 0x4a3c79
push 0xc
push 0x57aa74
push esi
call fcn.004dec50
add esp, 0xc
cmp eax, 1
jne 0x4a3bc7
push esi
call fcn.004ef990
add esp, 4
test al, al
jne 0x4a3bc7
jmp 0x4a3bcc
test byte [esp + 0x14], 1
jne 0x4a3ca5
mov al, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
jmp 0x4a3cdc
cmp ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jne 0x4a3cc3
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax + ebx*2 + 2], 0x22
add ebx, 2
mov dword [esp + 0x84], 0
mov dword [esp + 0x44], ebx
xor esi, esi
xor edi, edi
jmp 0x4a3cf3
mov eax, dword [esp + 0x40]
mov word [eax + ebx*2], si
inc ebx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
test si, si
mov dword [esp + 0x10], eax
je 0x4a3d09
mov dword [esp + 0x14], 0
jmp 0x4a3dd7
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0xc]
je 0x4a3f0b
movzx eax, byte [ecx]
test al, al
js 0x4a3d32
inc ecx
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
jmp 0x4a3dd7
movzx edx, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x4a3d89
mov dword [esp + 0x80], edx
movzx edx, byte [ecx + 2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x80]
and dword [esp + 0x14], 0x3f
shl edx, 6
add dword [esp + 0x14], edx
cmp al, 0xf0
mov edx, dword [esp + 0x14]
jb 0x4a3d9f
movzx eax, byte [ecx + 3]
and esi, 7
shl edx, 6
add ecx, 4
shl esi, 0x12
mov dword [esp + 0x1c], ecx
and eax, 0x3f
or eax, edx
or esi, eax
jmp 0x4a3dab
shl esi, 6
add ecx, 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
or esi, edx
jmp 0x4a3dd7
shl esi, 0xc
add ecx, 3
mov dword [esp + 0x1c], ecx
or esi, edx
cmp esi, 0xffff
jbe 0x4a3cfc
lea eax, [esi + 0xff0000]
and esi, 0x3ff
shr eax, 0xa
or esi, 0xdc00
mov dword [esp + 0x14], esi
or eax, 0xd800
mov esi, eax
movzx eax, si
cmp eax, 0x24
jg 0x4a3e16
cmp eax, 0xd
je 0x4a3e23
cmp eax, 0x22
jne 0x4a3e48
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x4a3e7a
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.0046d070
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x4a3e7e
cmp eax, 0x25
je 0x4a3e23
cmp eax, 0x5c
jne 0x4a3e48
inc edi
jmp 0x4a3e4a
mov eax, dword [esp + 0x3c]
sub eax, ebx
cmp eax, 6
ja 0x4a3e53
mov edx, ebx
lea ecx, [esp + 0x3c]
push 7
call fcn.0046d070
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x4a3e57
xor edi, edi
mov eax, dword [esp + 0x10]
jmp 0x4a3ef3
mov eax, dword [esp + 0x10]
mov word [eax + ebx*2 + 0xc], 0x2c
mov dword [eax + ebx*2 + 8], 0x7e003a
mov dword [eax + ebx*2 + 4], 0x640063
mov dword [eax + ebx*2], 0x250025
add ebx, 7
jmp 0x4a3eed
test edi, edi
je 0x4a3ecd
xor eax, eax
cmp edi, 0x10
jae 0x4a3e8b
mov ecx, dword [esp + 0x10]
jmp 0x4a3ebd
mov ecx, dword [esp + 0x10]
movdqa xmm0, xmmword [0x577610]
mov eax, edi
and eax, 0xfffffff0
mov edx, eax
lea ecx, [ecx + ebx*2 + 0x10]
add ebx, eax
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x4a3ea4
mov ecx, dword [esp + 0x10]
cmp edi, eax
je 0x4a3ec9
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x4a3ebf
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
jne 0x4a3ee6
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x40]
mov word [eax + ebx*2], 0x22
inc ebx
mov dword [esp + 0x44], ebx
xor edi, edi
cmp ebx, dword [esp + 0x3c]
jne 0x4a3ce6
lea ecx, [esp + 0x3c]
call fcn.0046d670
jmp 0x4a3ce2
cmp byte [esp + 0x84], 0
jne 0x4a3a76
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x4a3f40
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.0046d070
add esp, 4
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x4a3f44
test edi, edi
je 0x4a3f8b
xor eax, eax
cmp edi, 0x10
jae 0x4a3f4f
mov ecx, esi
jmp 0x4a3f7b
movdqa xmm0, xmmword [0x577610]
mov eax, edi
lea ecx, [esi + ebx*2 + 0x10]
and eax, 0xfffffff0
add ebx, eax
mov edx, eax
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x4a3f64
cmp edi, eax
mov ecx, esi
je 0x4a3f87
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x4a3f7d
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x44], ebx
jne 0x4a3fa0
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov esi, dword [esp + 0x40]
mov word [esi + ebx*2], 0x22
inc ebx
mov dword [esp + 0x44], ebx
jmp 0x4a3a76
xor edi, edi
mov esi, 0x57aac0
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a2986
jmp 0x4a2997
mov esi, 0x57b054
mov ebx, 2
xor edi, edi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a2986
jmp 0x4a2997
xor ebx, ebx
lea ecx, [esp + 0x14c]
call fcn.0045e780
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x9c]
jne 0x4a4022
xor ebx, ebx
lea ecx, [esp + 0x9c]
call fcn.0046d670
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
mov word [eax + ecx*2], 0
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
cmp ebx, 0x80000000
mov dword [esp + 0x10], eax
jne 0x4a4050
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x4a3967
mov esi, dword [esp + 8]
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
je 0x4a31ca
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jmp 0x4a4084
xor ebx, ebx
test si, si
je 0x4a4116
mov si, 1
test bx, bx
jne 0x4a4079
cmp edx, eax
je 0x4a4139
movzx ebx, byte [edx]
test bl, bl
js 0x4a40a1
inc edx
mov edi, ebx
jmp 0x4a410d
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x4a40dc
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x4a40e6
movzx ecx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
or edi, ecx
jmp 0x4a40ee
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x4a410d
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x14]
cmp edi, 0xffff
jbe 0x4a410d
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x4a407b
xor ebx, ebx
mov esi, edi
jmp 0x4a407b
mov ebx, dword [esp + 0xc]
mov esi, 0x57b054
mov edi, 2
mov eax, dword [esp + 0x38]
mov dword [eax + 4], esi
mov dword [eax], edi
mov dword [eax + 8], 2
jmp 0x4a47d6
mov esi, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], ecx
mov word [esp + 0x154], 0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14c]
call fcn.00478830
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0xc]
cmp esi, eax
jne 0x4a4184
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp eax, 0x80000000
mov dword [esp + 0x14], eax
mov word [edi + esi*2], 0
jne 0x4a419c
inc esi
jmp 0x4a4124
mov esi, dword [esp + 8]
mov dword [esp + 0x88], edi
jmp 0x4a31e2
push 0x5c1160
call fcn.004aa2e0
add esp, 4
mov eax, dword [0x5c113c]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
jne 0x4a3215
xor eax, eax
movzx edx, byte [0x5c1161]
movzx ecx, byte [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x120], 0x5c1160
mov byte [esp + 0x124], al
lea eax, [esp + 0x128]
lea edi, [esi + 8]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x114], 2
test dl, dl
lea edx, [esp + 0x114]
setne bl
test cl, cl
mov ecx, esi
cmovne edx, eax
cmp dword [esi], 6
mov dword [esp + 0x11c], ebx
cmovne edx, esi
cmp dword [esi + 8], 6
lea esi, [esi + 0x10]
cmove edi, eax
cmp dword [ecx + 0x10], 6
cmove esi, eax
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x14c]
push eax
push 0xfffffffffffffff6
call fcn.004a5360
add esp, 8
movzx eax, byte [esp + 0x14c]
cmp al, 4
jne 0x4a43c7
mov ecx, dword [esp + 0x150]
lea eax, [esp + 0xec]
mov dword [esp + 0x1c], ecx
mov edx, edi
lea ecx, [esp + 0x14c]
push eax
push 0xfffffffffffffff5
call fcn.004a5360
add esp, 8
movzx eax, byte [esp + 0x14c]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x34]
cmp al, 4
jne 0x4a4402
mov ecx, dword [esp + 0x150]
lea eax, [esp + 0xf4]
mov dword [esp + 0x24], ecx
mov edx, esi
lea ecx, [esp + 0x14c]
push eax
push 0xfffffffffffffff4
call fcn.004a5360
add esp, 8
movzx eax, byte [esp + 0x14c]
mov edx, dword [esp + 8]
cmp al, 4
jne 0x4a4439
mov esi, dword [esp + 0x150]
cmp dword [esp + 0x1c], 0
pxor xmm0, xmm0
mov dword [esp + 0x7c], 0
movdqu xmmword [esp + 0x6c], xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqu xmmword [esp + 0x3c], xmm0
jne 0x4a4338
cmp dword [esp + 0x24], 0
jne 0x4a4338
mov eax, 1
test esi, esi
je 0x4a4359
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, 0x101
mov dword [esp + 0x7c], esi
cmp word [edx + 0x44], 0
je 0x4a436d
movzx ecx, word [edx + 0x46]
mov dword [esp + 0x68], eax
mov word [esp + 0x6c], cx
mov eax, dword [edx + 0x64]
test eax, eax
mov dword [esp + 0x80], eax
je 0x4a44a2
add edx, 0x5c
mov dword [esp + 0x3c], 0x48
lea ecx, [esp + 0x8c]
call fcn.004a5b10
cmp dword [esp + 0x8c], 0
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
je 0x4a4506
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
jmp 0x4a46f2
mov edx, dword [esp + 0x38]
movzx edi, word [esp + 0x14d]
movzx ecx, byte [esp + 0x14f]
mov esi, dword [esp + 0x150]
mov ebx, dword [esp + 0xc]
mov word [edx + 1], di
mov edi, dword [esp + 0x34]
mov byte [edx + 3], cl
mov byte [edx], al
mov dword [edx + 4], esi
mov dword [edx + 8], 2
jmp 0x4a4722
movzx ecx, byte [esp + 0x14f]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x150]
mov byte [edx + 3], cl
movzx ecx, word [esp + 0x14d]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], esi
mov dword [edx + 8], 2
push dword [esp + 0x1c]
jmp 0x4a471d
movzx ecx, byte [esp + 0x14f]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x150]
mov byte [edx + 3], cl
movzx ecx, word [esp + 0x14d]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], esi
mov esi, 2
mov dword [edx + 8], 2
jmp 0x4a46ff
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jne 0x4a448a
lea ecx, [esp + 0x3c]
call fcn.0046d670
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, ebx
mov word [ebx + esi*2], 0x22
inc esi
and edi, 0xffffff00
jmp 0x4a299c
mov dword [esp + 0x3c], 0x44
lea ecx, [esp + 0x3c]
jmp 0x4a454e
mov ebx, dword [esp + 0x14c]
mov esi, dword [esp + 0x150]
mov edi, ebx
and edi, 0xffffff00
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a2986
jmp 0x4a2997
mov eax, ebx
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
test eax, eax
je 0x4a44fd
push 1
push eax
push dword [esp + 0x18]
call main
add esp, 0xc
mov eax, esi
mov ecx, esi
jmp 0x4a1f6a
mov dword [esp + 8], ecx
mov dword [esp + 0x110], esi
mov eax, edi
or dword [esp + 0x144], 0x80000
lea esi, [esp + 0x3c]
mov ecx, 0x11
lea edi, [esp + 0x14c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14c]
mov edi, eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x190], edx
mov esi, dword [esp + 0x110]
lea eax, [esp + 0x9c]
push eax
push ecx
push dword [esp + 0x90]
push dword [esp + 0x38]
push dword [esp + 0x154]
push 1
push 0
push 0
push dword [esp + 0xfc]
push dword [esp + 0xe4]
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4a46ac
mov eax, dword [esp + 0x38]
movsd xmm1, qword [esp + 0xec]
cmp dword [esp + 0x80], 0
movq xmm0, qword [esp + 0xf4]
movsd xmm2, qword [esp + 0xe4]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x9c]
movq qword [eax + 0x18], xmm0
movsd qword [eax + 8], xmm2
movsd qword [eax], xmm1
je 0x4a45df
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.0045fed0
push esi
call sub.kernel32.dll_CloseHandle
push dword [esp + 0x24]
call sub.kernel32.dll_CloseHandle
push dword [esp + 0x1c]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0x114], 4
jb 0x4a460d
push dword [esp + 0x118]
call sub.kernel32.dll_CloseHandle
lea ecx, [esp + 0x11c]
call fcn.0045ecf0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a462f
add eax, eax
push 2
push eax
push edi
call main
add esp, 0xc
test ebx, ebx
je 0x4a4644
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call main
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4a4663
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call main
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a467f
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call main
add esp, 0xc
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
je 0x4a1afe
test eax, eax
je 0x4a1afe
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call main
add esp, 0xc
jmp 0x4a1afe
call sub.kernel32.dll_GetLastError
movzx ecx, word [esp + 0x8c]
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x80], 0
mov word [edx + 1], cx
mov ch, byte [esp + 0x8e]
mov byte [edx + 3], ch
mov byte [edx], 0
mov dword [edx + 4], eax
mov dword [edx + 8], 2
je 0x4a46f2
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.0045fed0
push esi
call sub.kernel32.dll_CloseHandle
mov esi, dword [esp + 0x114]
push dword [esp + 0x24]
call sub.kernel32.dll_CloseHandle
push dword [esp + 0x1c]
call sub.kernel32.dll_CloseHandle
cmp esi, 4
jb 0x4a4722
push dword [esp + 0x118]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xe4], 0
je 0x4a4738
push dword [esp + 0xe8]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xec], 0
je 0x4a474e
push dword [esp + 0xf0]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xf4], 0
je 0x4a4764
push dword [esp + 0xf8]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0x11c], 0
mov esi, dword [esp + 0x120]
movzx eax, byte [esp + 0x124]
je 0x4a4794
test al, al
jne 0x4a47b1
mov eax, dword [0x5c113c]
test eax, 0x7fffffff
je 0x4a47b1
call fcn.00498140
jmp 0x4a47a9
test al, al
jne 0x4a47b1
mov eax, dword [0x5c113c]
test eax, 0x7fffffff
je 0x4a47b1
call fcn.00498140
test al, al
jne 0x4a47b1
mov byte [esi + 1], 1
xor eax, eax
xchg byte [esi], al
cmp al, 2
jne 0x4a47c0
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a47d6
add eax, eax
push 2
push eax
push edi
call main
add esp, 0xc
test ebx, ebx
je 0x4a47eb
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call main
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4a480a
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call main
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a4826
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call main
add esp, 0xc
cmp byte [esp + 0x28], 0
mov bl, 1
jne 0x4a2eef
jmp 0x4a1afe
movzx esi, bl
jmp 0x4a3931
call sub.kernel32.dll_GetLastError
mov byte [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x3c], 0x57aff0
mov dword [esp + 0x40], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xa0], 0x4864c0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 1
push 0x57b024
lea eax, [esp + 0x40]
push eax
call fcn.004d9c00
add esp, 8
jmp 0x4a4a76
xor eax, eax
jmp 0x4a48ee
mov eax, 1
jmp 0x4a48bc
xor eax, eax
push dword [esp + 0x18]
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
mov eax, 2
jmp 0x4a48d7
xor eax, eax
push dword [esp + 0x14]
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
mov eax, 1
push edi
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
push 0x57b630
push 0x28
push 0x577f30
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
push 0x577e04
push 0x21
push str.assertion_failed:_self.height___0
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
push 0x57b630
push 0x28
push 0x577f30
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
mov dword [esp + 0x18], 4
mov eax, 1
push dword [esp + 0x18]
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
push 0x57b630
push 0x28
push 0x577f30
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
push 0x57b630
push 0x28
push 0x577f30
call fcn.004d9c90
add esp, 0xc
jmp 0x4a4a76
call sub.kernel32.dll_GetLastError
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], eax
lea esi, [esp + 0x3c]
lea eax, [esp + 0xe4]
mov dword [esp + 0x14c], 0x57aed0
mov dword [esp + 0x150], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0xe4], esi
mov dword [esp + 0x154], eax
mov dword [esp + 0xe8], 0x4864c0
mov dword [esp + 0x158], 1
lea eax, [esp + 0x14c]
push 0x57aed8
push eax
call fcn.004d9c00
add esp, 8
jmp 0x4a4a76
xor eax, eax
jmp 0x4a4955
push 0x57b620
push eax
push ebx
call fcn.004df620
add esp, 0xc
jmp 0x4a4a76
push 0x57b620
push eax
push edi
call fcn.004df620
add esp, 0xc
jmp 0x4a4a76
xor eax, eax
push esi
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
mov eax, 2
push esi
push eax
call fcn.004ce340
add esp, 8
jmp 0x4a4a76
push 0x57b620
push ecx
push eax
call fcn.004df620
add esp, 0xc
jmp 0x4a4a76
push 0x57b620
push eax
push ebx
call fcn.004df620
add esp, 0xc
ud2