Function at 0x47aef0
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 0x47af04
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 0x47af50
test ecx, ecx
jne 0x47af50
mov dword [esp + 0x130], 0
xor ebx, ebx
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x47b88d
jmp 0x47b8e0
test al, al
mov dword [esp + 0xd8], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0xe0], 0
jne 0x47b0ee
call sub.kernel32.dll_GetEnvironmentStringsW
test eax, eax
je 0x47e8c9
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.00478ef0
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x47b0e2
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.00452760
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.00442760
add esp, 8
mov eax, dword [esp + 0x9c]
mov ebx, esi
mov esi, dword [esp + 8]
test eax, 0x7fffffff
je 0x47afa0
push 1
push eax
push dword [esp + 0xa8]
call fcn.004016f0
add esp, 0xc
jmp 0x47afa0
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.00436d90
mov edi, eax
test eax, eax
je 0x47b6b2
cmp dword [edx], 0x80000000
mov ebx, edx
jne 0x47b2e0
mov ebx, dword [esp + 0xd8]
test ebx, ebx
je 0x47b150
mov esi, dword [esp + 0xdc]
mov edx, ebx
lea ecx, [esp + 0x8c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.00446a80
add esp, 0xc
cmp dword [esp + 0x8c], 0
jne 0x47b150
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov byte [esp + 0x114], 0
test ecx, ecx
jne 0x47b207
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.00445c40
add esp, 4
jmp 0x47b5b3
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x47b200
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.00445c40
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 0x47b476
mov eax, edx
jmp 0x47b4a3
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x47b315
js 0x47e7ea
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 1
push ecx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e7e3
mov ecx, dword [esp + 0x18]
jmp 0x47b31a
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 0x47b37f
mov dword [esp + 0xc0], ecx
lea ecx, [esi + esi]
cmp esi, 0x3fffffff
mov dword [esp + 0x14], ecx
ja 0x47e805
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 2
push ecx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e7fe
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc0]
jmp 0x47b386
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 0x47b406
mov dword [esp + 0x18], eax
js 0x47e7df
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 1
push edi
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e819
mov esi, eax
mov eax, dword [esp + 0x18]
jmp 0x47b40b
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.00442760
add esp, 8
mov eax, dword [esp + 0xe4]
test eax, 0x7fffffff
je 0x47b150
push 1
push eax
push dword [esp + 0xf0]
call fcn.004016f0
add esp, 0xc
jmp 0x47b150
mov edi, dword [esp + 0x17c]
nop dword [eax]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x47b49f
movzx ecx, word [edx + 0x1e8]
inc edi
mov edx, eax
cmp cx, word [eax + 0x1ea]
jae 0x47b480
jmp 0x47b4a3
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 0x47b651
test esi, esi
je 0x47e846
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 fcn.004016f0
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 0x47b150
test eax, eax
je 0x47b688
push 1
push eax
push ecx
call fcn.004016f0
add esp, 0xc
test ebx, ebx
je 0x47b69a
add ebx, ebx
push 2
push ebx
push edi
call fcn.004016f0
add esp, 0xc
test esi, 0x7fffffff
je 0x47b150
push 1
push esi
push dword [esp + 0x20]
jmp 0x47b469
mov eax, dword [esp + 0xe0]
movq xmm0, qword [esp + 0xd8]
mov dword [esp + 0x13c], eax
mov eax, dword [0x4fcc54]
movq qword [esp + 0x134], xmm0
mov dword [esp + 0x130], 1
movzx eax, byte [eax]
push 1
push 4
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e878
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.00452760
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 0x47b853
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 0x47b810
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 0x47b7d0
mov esi, dword [esp + 8]
cmp eax, 1
jne 0x47b83f
jmp 0x47b818
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
sub eax, 1
jb 0x47bd70
mov edx, dword [edx + ebx*4 + 0x1ec]
mov dword [esp + 0xc0], eax
jmp 0x47b7a1
cmp eax, 2
jne 0x47e770
mov ebx, dword [edi - 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x47b853
push 1
push 4
push dword [esp + 0x3c]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x47b87f
add eax, eax
push 2
push eax
push dword [esp + 0x14]
call fcn.004016f0
add esp, 0xc
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x47b8e0
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x483340
cmp ecx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ecx
jb 0x47b8c9
mov eax, dword [edi]
xor ecx, ecx
bswap eax
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
mov eax, 0x483340
adc ecx, 0xffffffff
mov ecx, 0x483360
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 0x47b978
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x4e4220
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 0x47ba2e
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x47ba09
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 0x47ba0d
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc0], edi
lea esi, [edi + eax]
cmp eax, 3
mov dword [esp + 0x20], esi
jbe 0x47ba4c
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 0x47ba80
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 0x47ba70
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 0x47ba74
mov ecx, ebx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, bl
cmp cl, 0x65
sete cl
jmp 0x47ba80
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.004386b0
cmp dword [esp + 0x128], 4
jb 0x47ba44
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 0x47bbce
movzx edx, byte [ecx]
cmp edx, 0x2f
je 0x47baf1
inc ecx
dec eax
cmp edx, 0x5c
jne 0x47ba50
jmp 0x47baf1
xor ecx, ecx
jmp 0x47ba80
xor ecx, ecx
nop word cs:[eax + eax]
cmp dword [esp + 0x18], eax
je 0x47bbce
movzx edx, byte [edi + eax]
cmp edx, 0x2f
je 0x47ba99
inc eax
cmp edx, 0x5c
jne 0x47ba80
test cl, cl
je 0x47baf1
mov edx, edi
lea ecx, [esp + 0x14c]
push dword [esp + 0x18]
call fcn.004814c0
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x47bd43
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x47be79
mov ebx, dword [esp + 0x18]
test ebx, ebx
js 0x47e93e
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 1
push ebx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e880
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.00482a10
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.0047f180
add esp, 4
cmp dword [esp + 0x3c], 0x80000000
jne 0x47bca3
mov dword [esp + 0x18], ebx
push ebx
push edi
call fcn.0046b920
add esp, 8
test eax, eax
je 0x47bd3a
mov ebx, edx
cmp edx, 2
mov dword [esp + 0xc], esi
jne 0x47bcc2
movzx ecx, word [eax]
cmp ecx, 0x2e2e
jne 0x47bcc2
mov edx, 2
xor ecx, ecx
jmp 0x47bda4
mov eax, edi
xor edi, edi
jmp 0x47bbeb
xor edi, edi
test cx, cx
je 0x47bc88
mov cx, 1
test di, di
jne 0x47bbe0
cmp eax, esi
je 0x47bcfc
movzx ebx, byte [eax]
test bl, bl
js 0x47bc08
inc eax
mov edx, ebx
jmp 0x47bc5b
movzx esi, byte [eax + 1]
mov edx, ebx
and edx, 0x1f
and esi, 0x3f
cmp bl, 0xdf
jbe 0x47bc4f
movzx edi, byte [eax + 2]
shl esi, 6
and edi, 0x3f
or edi, esi
cmp bl, 0xf0
jb 0x47bc61
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 0x47bc5b
jmp 0x47bc75
shl edx, 6
add eax, 2
or edx, esi
mov esi, dword [esp + 0x20]
xor edi, edi
mov ecx, edx
jmp 0x47bbe2
shl edx, 0xc
add eax, 3
or edx, edi
mov esi, dword [esp + 0x20]
cmp edx, 0xffff
jbe 0x47bc5b
and edx, 0x3ff
or edx, 0xdc00
mov edi, edx
jmp 0x47bbe2
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 0x4e41f4
jmp 0x47b8f3
mov eax, dword [esp + 0x44]
movq xmm0, qword [esp + 0x3c]
mov dword [esp + 0x94], eax
movq qword [esp + 0x8c], xmm0
jmp 0x47be69
xor edx, edx
mov ecx, eax
mov dword [esp + 0x10], edi
nop word [eax + eax]
cmp ebx, edx
je 0x47bd77
cmp byte [ecx + ebx - 1], 0x2e
lea edi, [ecx - 1]
mov esi, edx
lea edx, [edx + 1]
mov ecx, edi
jne 0x47bcd0
mov ecx, ebx
sub ecx, edx
jne 0x47bd9a
xor ecx, ecx
mov edx, ebx
jmp 0x47bda0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc0]
cmp ecx, 7
ja 0x47bd81
mov edx, dword [esp + 0xc]
mov eax, ebx
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax], 0x2e
je 0x47cedd
inc eax
dec ecx
jne 0x47bd20
mov dword [esp + 0x30], 0
jmp 0x47cee5
mov ebx, dword [esp + 0x18]
jmp 0x47bdf7
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.00474090
jmp 0x47be79
xor ebx, ebx
jmp 0x47b853
mov ecx, eax
mov esi, ebx
mov edx, ebx
xor eax, eax
jmp 0x47bda0
push ecx
push ebx
push 0x2e
call fcn.004b8a60
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
jmp 0x47cee5
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 0x47bde3
test eax, eax
cmove edx, esi
add ecx, edx
sub ecx, edi
je 0x47bde9
mov esi, dword [esp + 0xc]
cmp ebx, ecx
jbe 0x47bdef
cmp byte [edi + ecx], 0xbf
jg 0x47bdf1
push 0x4e3174
push 0x37
push 0x4e313a
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
mov esi, dword [esp + 0xc]
jmp 0x47bdf7
mov esi, dword [esp + 0xc]
jmp 0x47bdf5
jne 0x47bdca
cmp ebx, ecx
jb 0x47bdf7
mov ebx, ecx
mov edx, edi
lea ecx, [esp + 0x14c]
push ebx
call fcn.004814c0
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x47be41
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x47be69
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.00474090
test esi, esi
je 0x47be79
push 1
push esi
push edi
call fcn.004016f0
add esp, 0xc
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
cmp edi, 0x80000000
je 0x47b901
cmp ebx, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
jb 0x47bede
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 0x47c099
mov edx, dword [esp + 0x18]
mov ecx, 0x3f005c
xor ecx, dword [edx]
xor eax, dword [edx + 4]
or eax, ecx
je 0x47c099
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 0x47bf1e
jmp 0x47bf40
jbe 0x47bfcc
cmp ebx, 0x201
jae 0x47bf40
lea eax, [esp + 0x14c]
mov esi, ebx
mov dword [esp + 0xc], 0x200
mov ebx, eax
jmp 0x47bf6d
sub ebx, edi
je 0x47bf5f
mov edx, edi
lea ecx, [esp + 0x3c]
push ebx
call fcn.00446fa0
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 0x47bf98
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x47c0ae
cmp ebx, esi
jne 0x47bf10
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x47e82d
lea ebx, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x47bf40
jmp 0x47bf1e
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp ebx, eax
ja 0x47e945
mov edi, dword [esp + 0xc0]
cmp ebx, 4
jb 0x47c06f
mov eax, dword [esp + 0x10]
cmp word [eax + ebx*2 - 8], 0x2e
jne 0x47c06f
movzx eax, word [eax + ebx*2 - 6]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x47c077
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x47ef54]
jmp edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47c16c
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
add esp, 0xc
jmp 0x47c16c
mov esi, dword [esp + 8]
cmp ebx, 4
jne 0x47c0da
mov edi, dword [esp + 0xc0]
jmp 0x47c164
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47c0ce
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [eax], 0
jmp 0x47ce13
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc0]
cmp word [eax + ebx*2 - 0xa], 0x2e
jne 0x47c164
movzx eax, word [eax + ebx*2 - 8]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x47c16c
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x47efdc]
jmp edx
mov dword [esp + 0x28], 0
cmp byte [esp + 0x28], 0
je 0x47c272
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 0x47c1ce
jmp 0x47c1f0
jbe 0x47c39f
cmp edi, 0x201
jae 0x47c1f0
lea eax, [esp + 0x14c]
mov esi, edi
mov dword [esp + 0xc], 0x200
mov edi, eax
jmp 0x47c21d
sub edi, ebx
je 0x47c20f
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.00446fa0
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 0x47c242
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x47c3df
cmp edi, esi
jne 0x47c1c0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x47e85f
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x47c1f0
jmp 0x47c1ce
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.004475a0
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.00452600
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x3c]
jne 0x47c2f3
lea ecx, [esp + 0x3c]
call fcn.004475a0
mov eax, dword [esp + 0x40]
mov word [eax + edi*2], 0x22
inc edi
test esi, esi
mov dword [esp + 0x44], edi
je 0x47c370
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 0x47c333
lea ecx, [esp + 0x3c]
call fcn.004475a0
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.00473c20
add esp, 8
cmp byte [esp + 0xe4], 4
jne 0x47cde6
add ebx, 0x14
add edi, 0xffffffec
jne 0x47c320
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 0x47ce0d
jmp 0x47c913
mov eax, dword [esp + 0xc]
cmp edi, eax
ja 0x47e956
test edi, edi
je 0x47c406
lea esi, [edi + edi]
cmp edi, 0x3fffffff
ja 0x47e967
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 2
push esi
call fcn.004016e0
add esp, 8
test eax, eax
jne 0x47c40d
mov eax, 2
jmp 0x47e969
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47c3ff
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
add esp, 0xc
xor ecx, ecx
jmp 0x47c613
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 0x47c436
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
add esp, 0xc
lea eax, [esp + 0xe8]
mov edx, esi
mov ecx, str.cmd.exelibrary_std_src_syspalwindows_stdio.rsxBN
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 0x47c488
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 0x47c500
test bx, bx
je 0x47c4e0
mov esi, edx
mov edx, ecx
xor ecx, ecx
cmp edi, dword [esp + 0xe4]
jne 0x47c470
mov eax, str.cmd.exelibrary_std_src_syspalwindows_stdio.rsxBN
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 0x47c530
lea eax, [0x4e4278]
cmp ecx, eax
je 0x47c500
movzx eax, byte [ecx]
test al, al
js 0x47c557
inc ecx
mov esi, edx
mov ebx, eax
mov edx, ecx
xor ecx, ecx
jmp 0x47c497
cmp dword [esp + 0x10], 1
je 0x47c5e9
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 0x47c478
mov esi, ebx
mov ebx, ecx
inc eax
mov edx, edi
lea ecx, [esp + 0xe4]
push eax
call fcn.00446fa0
add esp, 4
mov edx, dword [esp + 0xe8]
mov ecx, ebx
mov ebx, esi
jmp 0x47c478
movzx esi, byte [ecx + 1]
mov ebx, eax
mov dword [esp + 0xc], edx
and ebx, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x47c596
mov edx, ecx
movzx ecx, byte [ecx + 2]
shl esi, 6
and ecx, 0x3f
or ecx, esi
cmp al, 0xf0
jb 0x47c5ab
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 0x47c5b3
shl ebx, 6
add ecx, 2
or ebx, esi
mov esi, dword [esp + 0xc]
mov edx, ecx
xor ecx, ecx
jmp 0x47c497
shl ebx, 0xc
add edx, 3
or ebx, ecx
mov esi, dword [esp + 0xc]
cmp ebx, 0xffff
jbe 0x47c5e2
lea eax, [ebx + 0xff0000]
and ebx, 0x3ff
shr eax, 0xa
or ebx, 0xdc00
or eax, 0xd800
mov ecx, ebx
mov ebx, eax
jmp 0x47c497
xor ecx, ecx
jmp 0x47c497
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
cmp eax, 0x80000000
mov dword [esp + 0xc0], ecx
jne 0x47c62a
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 0x47ce1f
mov dword [esp + 0x20], eax
xor eax, eax
mov esi, 0x14
test al, al
jne 0x47e97a
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 [0x4fcc54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
push 2
push esi
call fcn.004016e0
add esp, 8
test eax, eax
je 0x47e975
mov ecx, 0xa
lea edx, [0x4e3c21]
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 0x47c720
mov eax, 0x4e3c20
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.00446fa0
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 0x47c740
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x47c712
jmp 0x47c6c0
lea ecx, [0x4e3c3c]
cmp edx, ecx
je 0x47c83e
movzx ebx, byte [edx]
test bl, bl
js 0x47c768
inc edx
mov ecx, ebx
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x47c712
jmp 0x47c6c0
movzx edi, byte [edx + 1]
mov ecx, ebx
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x47c7d3
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 0x47c7ef
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 0x47c809
mov edx, dword [esp + 0x10]
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x47c712
jmp 0x47c6c0
shl ecx, 6
add edx, 2
or ecx, edi
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x47c712
jmp 0x47c6c0
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 0x47c7bb
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 0x47c712
jmp 0x47c6c0
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 0x47c86b
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47ceb0
cmp word [edx + ecx], 0x22
lea ecx, [ecx + 2]
jne 0x47c890
xor edi, edi
mov esi, 0x4e3ca4
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47c8c7
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
add esp, 0xc
mov eax, 0x80000000
and edi, 0xffffff00
movzx ebx, bl
or ebx, edi
cmp eax, 0x80000000
jne 0x47c913
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 0x47ce1d
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.004016f0
add esp, 0xc
jmp 0x47ce1d
cmp eax, esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], esi
jne 0x47c93f
lea ecx, [esp + 0xd8]
call fcn.004475a0
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 0x47d0d7
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 0x47c9f6
mov bl, 1
lea ecx, [esp + 0x9c]
call fcn.004475a0
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.00444710
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x47df1a
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 0x47df1a
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 0x47cb0d
xor ebx, ebx
test si, si
je 0x47ce45
mov si, 1
test bx, bx
jne 0x47cb02
cmp edx, eax
je 0x47cb9f
movzx ebx, byte [edx]
test bl, bl
js 0x47cb2a
inc edx
mov edi, ebx
jmp 0x47cb96
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x47cb65
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x47cb6f
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 0x47cb77
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x47cb96
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x34]
cmp edi, 0xffff
jbe 0x47cb96
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x47cb04
xor ebx, ebx
mov esi, edi
jmp 0x47cb04
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47cbbc
push 1
push eax
push dword [esp + 0x118]
call fcn.004016f0
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 0x47cbfc
mov edx, edi
lea ecx, [esp + 0x9c]
push esi
call fcn.00446fa0
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 0x47cc43
add eax, eax
push 2
push eax
push dword [esp + 0x90]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [esp + 0x9c]
jne 0x47cc67
lea ecx, [esp + 0x9c]
call fcn.004475a0
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 0x47cc9f
xor edi, edi
test dx, dx
je 0x47d839
mov dx, 1
test di, di
jne 0x47cc94
cmp ecx, eax
je 0x47cd41
movzx ebx, byte [ecx]
test bl, bl
js 0x47ccc0
mov esi, ebx
mov ebx, dword [esp + 0xc]
inc ecx
jmp 0x47cd38
movzx eax, byte [ecx + 1]
mov esi, ebx
and esi, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x47ccfb
movzx edi, byte [ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x47cd0d
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 0x47cd15
shl esi, 6
mov ebx, dword [esp + 0xc]
add ecx, 2
or esi, eax
mov eax, dword [esp + 0x10]
jmp 0x47cd38
shl esi, 0xc
add ecx, 3
or esi, edi
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp esi, 0xffff
jbe 0x47cd38
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x47cc96
xor edi, edi
mov edx, esi
jmp 0x47cc96
mov edi, ebx
shr edi, 8
cmp dword [esp + 0x24], 0x80000000
je 0x47e768
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.00452600
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47cd93
push 1
push eax
push ebx
call fcn.004016f0
add esp, 0xc
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x140], edi
cmp ebx, dword [esp + 0x9c]
jne 0x47cdb6
lea ecx, [esp + 0x9c]
call fcn.004475a0
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 0x47ca60
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
test eax, eax
je 0x47ce0d
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.004016f0
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 0x47ce38
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call fcn.004016f0
add esp, 0xc
test bl, bl
je 0x47b911
jmp 0x47ba2e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47ce62
push 1
push eax
push dword [esp + 0x118]
call fcn.004016f0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x47ce7a
push 1
push ecx
push eax
call fcn.004016f0
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
or dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x4e41f4
test ecx, ecx
je 0x47d86a
add ecx, ecx
push 2
push ecx
push eax
call fcn.004016f0
add esp, 0xc
jmp 0x47d86a
mov eax, dword [esp + 0x18]
mov edx, edi
xor edi, edi
mov ecx, ebx
sub ebx, 1
jb 0x47d8c2
mov ecx, eax
movzx eax, word [eax + ebx*2]
cmp ax, 0x5c
jne 0x47d8b4
mov esi, 0x4e3ca4
jmp 0x47df02
mov dword [esp + 0x30], 1
test edx, edx
je 0x47d027
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.00479080
add esp, 8
jmp 0x47cf2c
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00479080
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x47d027
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
je 0x47d00e
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.0046a670
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x47cf9c
push 3
push str.exe.NULexit_code:
push esi
call fcn.0046b290
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.0047f180
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x47cfd2
push 1
push eax
push edi
call fcn.004016f0
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x47d3e6
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00479080
add esp, 8
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0xc0]
cmp eax, 0x80000000
jne 0x47cf3e
jmp 0x47d027
test eax, eax
je 0x47cf1e
push 1
push eax
push ecx
call fcn.004016f0
add esp, 0xc
jmp 0x47cf1e
lea ecx, [esp + 0x3c]
call fcn.004792b0
mov esi, dword [esp + 0x3c]
cmp esi, 0x80000000
jne 0x47d082
cmp byte [esp + 0x40], 3
jne 0x47d1f8
mov esi, dword [esp + 0x44]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x47d05c
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x47d070
push dword [ebx + 8]
push eax
push edi
call fcn.004016f0
add esp, 0xc
push 4
push 0xc
push esi
call fcn.004016f0
add esp, 0xc
jmp 0x47d1f8
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.0046b7f0
add esp, 8
test eax, eax
je 0x47d15d
test edx, edx
je 0x47d15b
cmp ebx, edx
jbe 0x47d151
cmp byte [edi + edx], 0xbf
jg 0x47d157
push 0x4e3174
push 0x37
push 0x4e313a
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
xor ebx, ebx
mov dword [esp + 0x10], 2
mov dword [esp + 0x2c], 0
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
jne 0x47df95
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 [0x51e120], cl
jne 0x47e0dc
mov eax, dword [0x51e0fc]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
je 0x47e0fd
call fcn.00472070
xor al, 1
jmp 0x47e0ff
jne 0x47d0be
cmp ebx, edx
jb 0x47d15d
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.0046a670
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x47d1af
push 3
push str.exe.NULexit_code:
push esi
call fcn.0046b290
add esp, 0xc
mov esi, dword [esp + 0x150]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.0047f180
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x47d1e5
push 1
push eax
push esi
call fcn.004016f0
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x47d3e6
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 0x47d254
jmp 0x47d270
mov edi, dword [esp + 0xc0]
jbe 0x47d30d
cmp eax, 0x201
jae 0x47d270
mov dword [esp + 0xc], 0x200
lea esi, [esp + 0x14c]
mov edi, eax
jmp 0x47d2a9
sub eax, ebx
je 0x47d298
mov edx, ebx
lea ecx, [esp + 0x9c]
push eax
call fcn.00446fa0
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 0x47d2da
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 0x47d3f9
cmp eax, edi
jne 0x47d240
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x47e897
lea eax, [edi + edi]
test edi, edi
mov ecx, 0xffffffff
cmovs eax, ecx
cmp eax, 0x201
jae 0x47d270
jmp 0x47d254
mov ecx, dword [esp + 0xc]
cmp eax, ecx
ja 0x47e986
push eax
push esi
lea esi, [esp + 0x44]
push esi
call fcn.00468850
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.0046a670
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x47d351
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.0046b290
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.0047f180
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47d37e
push 1
push eax
push esi
call fcn.004016f0
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 0x47d3b2
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.004016f0
add esp, 0xc
cmp edi, 0x80000001
jg 0x47e42d
mov ecx, edi
cmp edi, 0x80000000
je 0x47d457
mov eax, esi
cmp ecx, 0x80000001
je 0x47d421
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
jmp 0x47d44f
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
jmp 0x47be9a
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x47d41f
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.004016f0
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x47d457
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x47d436
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x47d44a
push dword [edi + 8]
push eax
push esi
call fcn.004016f0
add esp, 0xc
push 4
push 0xc
push ebx
call fcn.004016f0
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 0x47d4b5
jmp 0x47d4d0
mov edi, dword [esp + 0xc0]
jbe 0x47d564
cmp ebx, 0x201
jae 0x47d4d0
mov dword [esp + 0x10], 0x200
lea esi, [esp + 0x14c]
mov edi, ebx
jmp 0x47d50f
mov edi, dword [esp + 0xc]
sub ebx, edi
je 0x47d4fc
mov edx, edi
lea ecx, [esp + 0x9c]
push ebx
call fcn.00446fa0
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 0x47d530
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x47d64e
cmp ebx, edi
jne 0x47d4a0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x47e8b0
lea ebx, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x47d4d0
jmp 0x47d4b5
mov eax, dword [esp + 0x10]
cmp ebx, eax
ja 0x47e997
push ebx
push esi
lea esi, [esp + 0x44]
push esi
call fcn.00468850
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.0046a670
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x47d5a8
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.0046b290
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.0047f180
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47d5d5
push 1
push eax
push esi
call fcn.004016f0
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 0x47d609
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.004016f0
add esp, 0xc
cmp edi, 0x80000001
jg 0x47e42d
mov eax, edi
cmp edi, 0x80000000
mov edi, dword [esp + 0xc0]
je 0x47d6ba
mov ecx, eax
mov eax, esi
cmp ecx, 0x80000001
je 0x47d67d
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
call fcn.004016f0
add esp, 0xc
jmp 0x47d6ba
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xc0]
test eax, eax
je 0x47d67b
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.004016f0
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x47d6ba
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x47d692
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x47d6a6
push dword [edi + 8]
push eax
push esi
call fcn.004016f0
add esp, 0xc
push 4
push 0xc
push ebx
call fcn.004016f0
add esp, 0xc
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0xe4]
push 4
push 0x4e30bc
push eax
call fcn.0045c0c0
add esp, 0xc
mov ebx, dword [esp + 0xe4]
cmp ebx, 0x80000000
je 0x47d821
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.00479080
add esp, 8
jmp 0x47d735
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00479080
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x47d80e
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
jne 0x47d76b
test eax, eax
je 0x47d727
push 1
push eax
push ecx
call fcn.004016f0
add esp, 0xc
jmp 0x47d727
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.0046a670
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x47d7b5
push 3
push str.exe.NULexit_code:
push esi
call fcn.0046b290
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0x9c]
push dword [esp + 0x154]
call fcn.0047f180
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x47d7eb
push 1
push eax
push edi
call fcn.004016f0
add esp, 0xc
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xc]
cmp edi, 0x80000000
jne 0x47e40a
mov edi, dword [esp + 0xc0]
jmp 0x47d717
test ebx, ebx
je 0x47d821
push 1
push ebx
push dword [esp + 0x18]
call fcn.004016f0
add esp, 0xc
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x4e4244
jmp 0x47b8f3
mov eax, dword [esp + 0x24]
mov esi, 2
mov dword [esp + 0x14], 0x4e41f4
test eax, eax
je 0x47d85a
push 1
push eax
push ebx
call fcn.004016f0
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.004386b0
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x47d897
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.004016f0
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 0x47e71b
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 0x47d8f7
mov edx, esi
lea ecx, [esp + 0x3c]
push ebx
call fcn.00446fa0
add esp, 4
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
jmp 0x47d8fb
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 0x47d929
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47e3a5
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 0x47d961
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47d9bc
movzx eax, byte [esp + 0x88]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14c]
push eax
push esi
call fcn.00473c20
add esp, 8
cmp byte [esp + 0x14c], 4
jne 0x47e3e3
mov eax, dword [esp + 0x2c]
add eax, 0x14
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jne 0x47d94e
jmp 0x47e3a1
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 0x47d9e7
inc eax
cmp dl, cl
je 0x47dee0
cmp eax, dword [esp + 0xc]
je 0x47da14
movzx ecx, byte [eax]
mov esi, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi + 0x4e3cb1]
cmp dl, cl
je 0x47d9de
test esi, esi
lea esi, [esi + 1]
jne 0x47da00
jmp 0x47d9de
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1c], edi
jmp 0x47da29
xor eax, eax
test dx, dx
je 0x47defd
mov dx, 1
test ax, ax
jne 0x47da1e
cmp ecx, dword [esp + 0xc]
je 0x47dacd
movzx eax, byte [ecx]
test al, al
js 0x47da48
inc ecx
mov esi, eax
jmp 0x47dac4
movzx edi, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edi, 0x3f
cmp al, 0xdf
jbe 0x47da8b
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 0x47da99
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 0x47daa5
shl esi, 6
add ecx, 2
or esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x47dac4
mov ecx, dword [esp + 0x14]
shl esi, 0xc
or esi, edi
add ecx, 3
mov edi, dword [esp + 0x1c]
cmp esi, 0xffff
jbe 0x47dac4
and esi, 0x3ff
or esi, 0xdc00
mov eax, esi
jmp 0x47da20
xor eax, eax
mov edx, esi
jmp 0x47da20
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x47dbd5
cmp byte [esp + 0x88], 0
setne al
cmp byte [ecx + edi - 1], 0x5c
sete cl
or cl, al
mov byte [esp + 0x14], cl
jmp 0x47db06
mov byte [esp + 0x14], 1
cmp edi, dword [esp + 0xc]
je 0x47dbbf
movzx eax, byte [edi]
test al, al
js 0x47db12
inc edi
mov esi, eax
jmp 0x47db5d
movzx edx, byte [edi + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x47db4b
movzx ecx, byte [edi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x47db55
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 0x47db5d
shl esi, 6
add edi, 2
or esi, edx
jmp 0x47db5d
shl esi, 0xc
add edi, 3
or esi, ecx
cmp esi, 0x110000
je 0x47dafc
mov eax, esi
and eax, 0x1ff800
cmp eax, 0xd800
je 0x47dafc
cmp esi, 0x80
jae 0x47dba9
lea eax, [esi - 0x30]
cmp eax, 0xa
jb 0x47dba9
mov eax, esi
and eax, 0x5f
add eax, 0xffffffbf
cmp eax, 0x19
jbe 0x47dba9
push 0xc
push 0x4e3c14
push esi
call fcn.004b8a60
add esp, 0xc
cmp eax, 1
jne 0x47daf7
push esi
call fcn.004c97a0
add esp, 4
test al, al
jne 0x47daf7
jmp 0x47dafc
test byte [esp + 0x14], 1
jne 0x47dbd5
mov al, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
jmp 0x47dc0c
cmp ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jne 0x47dbf3
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47dc23
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 0x47dc39
mov dword [esp + 0x14], 0
jmp 0x47dd07
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0xc]
je 0x47de3b
movzx eax, byte [ecx]
test al, al
js 0x47dc62
inc ecx
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
jmp 0x47dd07
movzx edx, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x47dcb9
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 0x47dccf
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 0x47dcdb
shl esi, 6
add ecx, 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
or esi, edx
jmp 0x47dd07
shl esi, 0xc
add ecx, 3
mov dword [esp + 0x1c], ecx
or esi, edx
cmp esi, 0xffff
jbe 0x47dc2c
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 0x47dd46
cmp eax, 0xd
je 0x47dd53
cmp eax, 0x22
jne 0x47dd78
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x47ddaa
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.00446fa0
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x47ddae
cmp eax, 0x25
je 0x47dd53
cmp eax, 0x5c
jne 0x47dd78
inc edi
jmp 0x47dd7a
mov eax, dword [esp + 0x3c]
sub eax, ebx
cmp eax, 6
ja 0x47dd83
mov edx, ebx
lea ecx, [esp + 0x3c]
push 7
call fcn.00446fa0
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x47dd87
xor edi, edi
mov eax, dword [esp + 0x10]
jmp 0x47de23
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 0x47de1d
test edi, edi
je 0x47ddfd
xor eax, eax
cmp edi, 0x10
jae 0x47ddbb
mov ecx, dword [esp + 0x10]
jmp 0x47dded
mov ecx, dword [esp + 0x10]
movdqa xmm0, xmmword [0x4e07b0]
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 0x47ddd4
mov ecx, dword [esp + 0x10]
cmp edi, eax
je 0x47ddf9
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x47ddef
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
jne 0x47de16
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47dc16
lea ecx, [esp + 0x3c]
call fcn.004475a0
jmp 0x47dc12
cmp byte [esp + 0x84], 0
jne 0x47d9a6
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x47de70
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.00446fa0
add esp, 4
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x47de74
test edi, edi
je 0x47debb
xor eax, eax
cmp edi, 0x10
jae 0x47de7f
mov ecx, esi
jmp 0x47deab
movdqa xmm0, xmmword [0x4e07b0]
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 0x47de94
cmp edi, eax
mov ecx, esi
je 0x47deb7
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x47dead
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x44], ebx
jne 0x47ded0
lea ecx, [esp + 0x3c]
call fcn.004475a0
mov esi, dword [esp + 0x40]
mov word [esi + ebx*2], 0x22
inc ebx
mov dword [esp + 0x44], ebx
jmp 0x47d9a6
xor edi, edi
mov esi, 0x4e3c60
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x47c8b6
jmp 0x47c8c7
mov esi, 0x4e41f4
mov ebx, 2
xor edi, edi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x47c8b6
jmp 0x47c8c7
xor ebx, ebx
lea ecx, [esp + 0x14c]
call fcn.004386b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x9c]
jne 0x47df52
xor ebx, ebx
lea ecx, [esp + 0x9c]
call fcn.004475a0
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 0x47df80
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x47d897
mov esi, dword [esp + 8]
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
je 0x47d0fa
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 0x47dfb4
xor ebx, ebx
test si, si
je 0x47e046
mov si, 1
test bx, bx
jne 0x47dfa9
cmp edx, eax
je 0x47e069
movzx ebx, byte [edx]
test bl, bl
js 0x47dfd1
inc edx
mov edi, ebx
jmp 0x47e03d
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x47e00c
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x47e016
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 0x47e01e
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x47e03d
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x14]
cmp edi, 0xffff
jbe 0x47e03d
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x47dfab
xor ebx, ebx
mov esi, edi
jmp 0x47dfab
mov ebx, dword [esp + 0xc]
mov esi, 0x4e41f4
mov edi, 2
mov eax, dword [esp + 0x38]
mov dword [eax + 4], esi
mov dword [eax], edi
mov dword [eax + 8], 2
jmp 0x47e706
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.00452760
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0xc]
cmp esi, eax
jne 0x47e0b4
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47e0cc
inc esi
jmp 0x47e054
mov esi, dword [esp + 8]
mov dword [esp + 0x88], edi
jmp 0x47d112
push 0x51e120
call fcn.00484210
add esp, 4
mov eax, dword [0x51e0fc]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
jne 0x47d145
xor eax, eax
movzx edx, byte [0x51e121]
movzx ecx, byte [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x120], 0x51e120
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.0047f290
add esp, 8
movzx eax, byte [esp + 0x14c]
cmp al, 4
jne 0x47e2f7
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.0047f290
add esp, 8
movzx eax, byte [esp + 0x14c]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x34]
cmp al, 4
jne 0x47e332
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.0047f290
add esp, 8
movzx eax, byte [esp + 0x14c]
mov edx, dword [esp + 8]
cmp al, 4
jne 0x47e369
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 0x47e268
cmp dword [esp + 0x24], 0
jne 0x47e268
mov eax, 1
test esi, esi
je 0x47e289
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 0x47e29d
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 0x47e3d2
add edx, 0x5c
mov dword [esp + 0x3c], 0x48
lea ecx, [esp + 0x8c]
call fcn.0047fa40
cmp dword [esp + 0x8c], 0
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
je 0x47e436
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
jmp 0x47e622
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 0x47e652
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 0x47e64d
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 0x47e62f
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jne 0x47e3ba
lea ecx, [esp + 0x3c]
call fcn.004475a0
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 0x47c8cc
mov dword [esp + 0x3c], 0x44
lea ecx, [esp + 0x3c]
jmp 0x47e47e
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 0x47c8b6
jmp 0x47c8c7
mov eax, ebx
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
test eax, eax
je 0x47e42d
push 1
push eax
push dword [esp + 0x18]
call fcn.004016f0
add esp, 0xc
mov eax, esi
mov ecx, esi
jmp 0x47be9a
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 0x47e5dc
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 0x47e50f
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.00439e00
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 0x47e53d
push dword [esp + 0x118]
call sub.kernel32.dll_CloseHandle
lea ecx, [esp + 0x11c]
call fcn.00438c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47e55f
add eax, eax
push 2
push eax
push edi
call fcn.004016f0
add esp, 0xc
test ebx, ebx
je 0x47e574
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x47e593
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47e5af
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.004016f0
add esp, 0xc
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
je 0x47ba2e
test eax, eax
je 0x47ba2e
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call fcn.004016f0
add esp, 0xc
jmp 0x47ba2e
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 0x47e622
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.00439e00
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 0x47e652
push dword [esp + 0x118]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xe4], 0
je 0x47e668
push dword [esp + 0xe8]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xec], 0
je 0x47e67e
push dword [esp + 0xf0]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0xf4], 0
je 0x47e694
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 0x47e6c4
test al, al
jne 0x47e6e1
mov eax, dword [0x51e0fc]
test eax, 0x7fffffff
je 0x47e6e1
call fcn.00472070
jmp 0x47e6d9
test al, al
jne 0x47e6e1
mov eax, dword [0x51e0fc]
test eax, 0x7fffffff
je 0x47e6e1
call fcn.00472070
test al, al
jne 0x47e6e1
mov byte [esi + 1], 1
xor eax, eax
xchg byte [esi], al
cmp al, 2
jne 0x47e6f0
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 0x47e706
add eax, eax
push 2
push eax
push edi
call fcn.004016f0
add esp, 0xc
test ebx, ebx
je 0x47e71b
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x47e73a
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call fcn.004016f0
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47e756
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.004016f0
add esp, 0xc
cmp byte [esp + 0x28], 0
mov bl, 1
jne 0x47ce1f
jmp 0x47ba2e
movzx esi, bl
jmp 0x47d861
call sub.kernel32.dll_GetLastError
mov byte [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x3c], 0x4e4190
mov dword [esp + 0x40], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xa0], 0x4603f0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 1
push 0x4e41c4
lea eax, [esp + 0x40]
push eax
call fcn.004b3a10
add esp, 8
jmp 0x47e9a6
xor eax, eax
jmp 0x47e81e
mov eax, 1
jmp 0x47e7ec
xor eax, eax
push dword [esp + 0x18]
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
mov eax, 2
jmp 0x47e807
xor eax, eax
push dword [esp + 0x14]
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
mov eax, 1
push edi
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
push 0x4e47d0
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
push 0x4e0fa4
push 0x21
push str.assertion_failed:_self.height___0
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
push 0x4e47d0
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
mov dword [esp + 0x18], 4
mov eax, 1
push dword [esp + 0x18]
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
push 0x4e47d0
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
push 0x4e47d0
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004b3aa0
add esp, 0xc
jmp 0x47e9a6
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], 0x4e4070
mov dword [esp + 0x150], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0xe4], esi
mov dword [esp + 0x154], eax
mov dword [esp + 0xe8], 0x4603f0
mov dword [esp + 0x158], 1
lea eax, [esp + 0x14c]
push 0x4e4078
push eax
call fcn.004b3a10
add esp, 8
jmp 0x47e9a6
xor eax, eax
jmp 0x47e885
push 0x4e47c0
push eax
push ebx
call fcn.004b9430
add esp, 0xc
jmp 0x47e9a6
push 0x4e47c0
push eax
push edi
call fcn.004b9430
add esp, 0xc
jmp 0x47e9a6
xor eax, eax
push esi
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
mov eax, 2
push esi
push eax
call fcn.004a8150
add esp, 8
jmp 0x47e9a6
push 0x4e47c0
push ecx
push eax
call fcn.004b9430
add esp, 0xc
jmp 0x47e9a6
push 0x4e47c0
push eax
push ebx
call fcn.004b9430
add esp, 0xc
ud2