Function at 0x10051190
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 0x100511a4
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 0x100511f0
test ecx, ecx
jne 0x100511f0
mov dword [esp + 0x130], 0
xor ebx, ebx
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x10051b2d
jmp 0x10051b80
test al, al
mov dword [esp + 0xd8], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0xe0], 0
jne 0x1005138e
call sub.KERNEL32.dll_GetEnvironmentStringsW
test eax, eax
je 0x10054b69
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.1004f190
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x10051382
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.10028a00
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.10018a00
add esp, 8
mov eax, dword [esp + 0x9c]
mov ebx, esi
mov esi, dword [esp + 8]
test eax, 0x7fffffff
je 0x10051240
push 1
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
add esp, 0xc
jmp 0x10051240
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.1000d030
mov edi, eax
test eax, eax
je 0x10051952
cmp dword [edx], 0x80000000
mov ebx, edx
jne 0x10051580
mov ebx, dword [esp + 0xd8]
test ebx, ebx
je 0x100513f0
mov esi, dword [esp + 0xdc]
mov edx, ebx
lea ecx, [esp + 0x8c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.1001cd20
add esp, 0xc
cmp dword [esp + 0x8c], 0
jne 0x100513f0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov byte [esp + 0x114], 0
test ecx, ecx
jne 0x100514a7
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.1001bee0
add esp, 4
jmp 0x10051853
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x100514a0
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.1001bee0
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 0x10051716
mov eax, edx
jmp 0x10051743
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x100515b5
js 0x10054a8a
mov eax, dword [0x100e08c0]
movzx eax, byte [eax]
push 1
push ecx
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054a83
mov ecx, dword [esp + 0x18]
jmp 0x100515ba
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 0x1005161f
mov dword [esp + 0xc0], ecx
lea ecx, [esi + esi]
cmp esi, 0x3fffffff
mov dword [esp + 0x14], ecx
ja 0x10054aa5
mov eax, dword [0x100e08c0]
movzx eax, byte [eax]
push 2
push ecx
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054a9e
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc0]
jmp 0x10051626
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 0x100516a6
mov dword [esp + 0x18], eax
js 0x10054a7f
mov eax, dword [0x100e08c0]
movzx eax, byte [eax]
push 1
push edi
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054ab9
mov esi, eax
mov eax, dword [esp + 0x18]
jmp 0x100516ab
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.10018a00
add esp, 8
mov eax, dword [esp + 0xe4]
test eax, 0x7fffffff
je 0x100513f0
push 1
push eax
push dword [esp + 0xf0]
call fcn.10004ab0
add esp, 0xc
jmp 0x100513f0
mov edi, dword [esp + 0x17c]
nop dword [eax]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x1005173f
movzx ecx, word [edx + 0x1e8]
inc edi
mov edx, eax
cmp cx, word [eax + 0x1ea]
jae 0x10051720
jmp 0x10051743
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 0x100518f1
test esi, esi
je 0x10054ae6
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.10004ab0
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 0x100513f0
test eax, eax
je 0x10051928
push 1
push eax
push ecx
call fcn.10004ab0
add esp, 0xc
test ebx, ebx
je 0x1005193a
add ebx, ebx
push 2
push ebx
push edi
call fcn.10004ab0
add esp, 0xc
test esi, 0x7fffffff
je 0x100513f0
push 1
push esi
push dword [esp + 0x20]
jmp 0x10051709
mov eax, dword [esp + 0xe0]
movq xmm0, qword [esp + 0xd8]
mov dword [esp + 0x13c], eax
mov eax, dword [0x100e08c0]
movq qword [esp + 0x134], xmm0
mov dword [esp + 0x130], 1
movzx eax, byte [eax]
push 1
push 4
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054b18
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.10028a00
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 0x10051af3
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 0x10051ab0
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 0x10051a70
mov esi, dword [esp + 8]
cmp eax, 1
jne 0x10051adf
jmp 0x10051ab8
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
sub eax, 1
jb 0x10052010
mov edx, dword [edx + ebx*4 + 0x1ec]
mov dword [esp + 0xc0], eax
jmp 0x10051a41
cmp eax, 2
jne 0x10054a10
mov ebx, dword [edi - 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x10051af3
push 1
push 4
push dword [esp + 0x3c]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x10051b1f
add eax, eax
push 2
push eax
push dword [esp + 0x14]
call fcn.10004ab0
add esp, 0xc
lea eax, [esp + 0x134]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10051b80
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x100595e0
cmp ecx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ecx
jb 0x10051b69
mov eax, dword [edi]
xor ecx, ecx
bswap eax
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
mov eax, 0x100595e0
adc ecx, 0xffffffff
mov ecx, 0x10059600
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 0x10051c18
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x100c7fd0
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 0x10051cce
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x10051ca9
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 0x10051cad
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc0], edi
lea esi, [edi + eax]
cmp eax, 3
mov dword [esp + 0x20], esi
jbe 0x10051cec
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 0x10051d20
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 0x10051d10
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 0x10051d14
mov ecx, ebx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, bl
cmp cl, 0x65
sete cl
jmp 0x10051d20
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.1000e950
cmp dword [esp + 0x128], 4
jb 0x10051ce4
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 0x10051e6e
movzx edx, byte [ecx]
cmp edx, 0x2f
je 0x10051d91
inc ecx
dec eax
cmp edx, 0x5c
jne 0x10051cf0
jmp 0x10051d91
xor ecx, ecx
jmp 0x10051d20
xor ecx, ecx
nop word cs:[eax + eax]
cmp dword [esp + 0x18], eax
je 0x10051e6e
movzx edx, byte [edi + eax]
cmp edx, 0x2f
je 0x10051d39
inc eax
cmp edx, 0x5c
jne 0x10051d20
test cl, cl
je 0x10051d91
mov edx, edi
lea ecx, [esp + 0x14c]
push dword [esp + 0x18]
call fcn.10057760
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x10051fe3
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x10052119
mov ebx, dword [esp + 0x18]
test ebx, ebx
js 0x10054bde
mov eax, dword [0x100e08c0]
movzx eax, byte [eax]
push 1
push ebx
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054b20
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.10058cb0
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.10055420
add esp, 4
cmp dword [esp + 0x3c], 0x80000000
jne 0x10051f43
mov dword [esp + 0x18], ebx
push ebx
push edi
call fcn.10041bc0
add esp, 8
test eax, eax
je 0x10051fda
mov ebx, edx
cmp edx, 2
mov dword [esp + 0xc], esi
jne 0x10051f62
movzx ecx, word [eax]
cmp ecx, 0x2e2e
jne 0x10051f62
mov edx, 2
xor ecx, ecx
jmp 0x10052044
mov eax, edi
xor edi, edi
jmp 0x10051e8b
xor edi, edi
test cx, cx
je 0x10051f28
mov cx, 1
test di, di
jne 0x10051e80
cmp eax, esi
je 0x10051f9c
movzx ebx, byte [eax]
test bl, bl
js 0x10051ea8
inc eax
mov edx, ebx
jmp 0x10051efb
movzx esi, byte [eax + 1]
mov edx, ebx
and edx, 0x1f
and esi, 0x3f
cmp bl, 0xdf
jbe 0x10051eef
movzx edi, byte [eax + 2]
shl esi, 6
and edi, 0x3f
or edi, esi
cmp bl, 0xf0
jb 0x10051f01
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 0x10051efb
jmp 0x10051f15
shl edx, 6
add eax, 2
or edx, esi
mov esi, dword [esp + 0x20]
xor edi, edi
mov ecx, edx
jmp 0x10051e82
shl edx, 0xc
add eax, 3
or edx, edi
mov esi, dword [esp + 0x20]
cmp edx, 0xffff
jbe 0x10051efb
and edx, 0x3ff
or edx, 0xdc00
mov edi, edx
jmp 0x10051e82
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 0x100c7fa4
jmp 0x10051b93
mov eax, dword [esp + 0x44]
movq xmm0, qword [esp + 0x3c]
mov dword [esp + 0x94], eax
movq qword [esp + 0x8c], xmm0
jmp 0x10052109
xor edx, edx
mov ecx, eax
mov dword [esp + 0x10], edi
nop word [eax + eax]
cmp ebx, edx
je 0x10052017
cmp byte [ecx + ebx - 1], 0x2e
lea edi, [ecx - 1]
mov esi, edx
lea edx, [edx + 1]
mov ecx, edi
jne 0x10051f70
mov ecx, ebx
sub ecx, edx
jne 0x1005203a
xor ecx, ecx
mov edx, ebx
jmp 0x10052040
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc0]
cmp ecx, 7
ja 0x10052021
mov edx, dword [esp + 0xc]
mov eax, ebx
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax], 0x2e
je 0x1005317d
inc eax
dec ecx
jne 0x10051fc0
mov dword [esp + 0x30], 0
jmp 0x10053185
mov ebx, dword [esp + 0x18]
jmp 0x10052097
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.1004a330
jmp 0x10052119
xor ebx, ebx
jmp 0x10051af3
mov ecx, eax
mov esi, ebx
mov edx, ebx
xor eax, eax
jmp 0x10052040
push ecx
push ebx
push 0x2e
call fcn.1008ee20
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
jmp 0x10053185
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 0x10052083
test eax, eax
cmove edx, esi
add ecx, edx
sub ecx, edi
je 0x10052089
mov esi, dword [esp + 0xc]
cmp ebx, ecx
jbe 0x1005208f
cmp byte [edi + ecx], 0xbf
jg 0x10052091
push 0x100c6f24
push 0x37
push 0x100c6eea
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
mov esi, dword [esp + 0xc]
jmp 0x10052097
mov esi, dword [esp + 0xc]
jmp 0x10052095
jne 0x1005206a
cmp ebx, ecx
jb 0x10052097
mov ebx, ecx
mov edx, edi
lea ecx, [esp + 0x14c]
push ebx
call fcn.10057760
add esp, 4
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
cmp edx, 0x80000000
jne 0x100520e1
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x8c], 0x80000000
jmp 0x10052109
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.1004a330
test esi, esi
je 0x10052119
push 1
push esi
push edi
call fcn.10004ab0
add esp, 0xc
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
cmp edi, 0x80000000
je 0x10051ba1
cmp ebx, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
jb 0x1005217e
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 0x10052339
mov edx, dword [esp + 0x18]
mov ecx, 0x3f005c
xor ecx, dword [edx]
xor eax, dword [edx + 4]
or eax, ecx
je 0x10052339
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 0x100521be
jmp 0x100521e0
jbe 0x1005226c
cmp ebx, 0x201
jae 0x100521e0
lea eax, [esp + 0x14c]
mov esi, ebx
mov dword [esp + 0xc], 0x200
mov ebx, eax
jmp 0x1005220d
sub ebx, edi
je 0x100521ff
mov edx, edi
lea ecx, [esp + 0x3c]
push ebx
call fcn.1001d240
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 0x10052238
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1005234e
cmp ebx, esi
jne 0x100521b0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10054acd
lea ebx, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x100521e0
jmp 0x100521be
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp ebx, eax
ja 0x10054be5
mov edi, dword [esp + 0xc0]
cmp ebx, 4
jb 0x1005230f
mov eax, dword [esp + 0x10]
cmp word [eax + ebx*2 - 8], 0x2e
jne 0x1005230f
movzx eax, word [eax + ebx*2 - 6]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x10052317
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x100551f4]
jmp edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1005240c
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
add esp, 0xc
jmp 0x1005240c
mov esi, dword [esp + 8]
cmp ebx, 4
jne 0x1005237a
mov edi, dword [esp + 0xc0]
jmp 0x10052404
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1005236e
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov byte [eax], 0
jmp 0x100530b3
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc0]
cmp word [eax + ebx*2 - 0xa], 0x2e
jne 0x10052404
movzx eax, word [eax + ebx*2 - 8]
mov dword [esp + 0x28], 0
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x1005240c
mov edx, dword [esp + 0x2c]
add edx, dword [ecx*4 + 0x1005527c]
jmp edx
mov dword [esp + 0x28], 0
cmp byte [esp + 0x28], 0
je 0x10052512
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 0x1005246e
jmp 0x10052490
jbe 0x1005263f
cmp edi, 0x201
jae 0x10052490
lea eax, [esp + 0x14c]
mov esi, edi
mov dword [esp + 0xc], 0x200
mov edi, eax
jmp 0x100524bd
sub edi, ebx
je 0x100524af
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.1001d240
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 0x100524e2
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1005267f
cmp edi, esi
jne 0x10052460
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10054aff
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x10052490
jmp 0x1005246e
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.1001d840
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.100288a0
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x3c]
jne 0x10052593
lea ecx, [esp + 0x3c]
call fcn.1001d840
mov eax, dword [esp + 0x40]
mov word [eax + edi*2], 0x22
inc edi
test esi, esi
mov dword [esp + 0x44], edi
je 0x10052610
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 0x100525d3
lea ecx, [esp + 0x3c]
call fcn.1001d840
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.10049ec0
add esp, 8
cmp byte [esp + 0xe4], 4
jne 0x10053086
add ebx, 0x14
add edi, 0xffffffec
jne 0x100525c0
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 0x100530ad
jmp 0x10052bb3
mov eax, dword [esp + 0xc]
cmp edi, eax
ja 0x10054bf6
test edi, edi
je 0x100526a6
lea esi, [edi + edi]
cmp edi, 0x3fffffff
ja 0x10054c07
mov eax, dword [0x100e08c0]
movzx eax, byte [eax]
push 2
push esi
call fcn.10004aa0
add esp, 8
test eax, eax
jne 0x100526ad
mov eax, 2
jmp 0x10054c09
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1005269f
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
add esp, 0xc
xor ecx, ecx
jmp 0x100528b3
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 0x100526d6
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
add esp, 0xc
lea eax, [esp + 0xe8]
mov edx, esi
mov ecx, str.cmd.exelibrary_std_src_syspalwindows_stdio.rs_
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 0x10052728
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 0x100527a0
test bx, bx
je 0x10052780
mov esi, edx
mov edx, ecx
xor ecx, ecx
cmp edi, dword [esp + 0xe4]
jne 0x10052710
mov eax, str.cmd.exelibrary_std_src_syspalwindows_stdio.rs_
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 0x100527d0
lea eax, [0x100c8028]
cmp ecx, eax
je 0x100527a0
movzx eax, byte [ecx]
test al, al
js 0x100527f7
inc ecx
mov esi, edx
mov ebx, eax
mov edx, ecx
xor ecx, ecx
jmp 0x10052737
cmp dword [esp + 0x10], 1
je 0x10052889
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 0x10052718
mov esi, ebx
mov ebx, ecx
inc eax
mov edx, edi
lea ecx, [esp + 0xe4]
push eax
call fcn.1001d240
add esp, 4
mov edx, dword [esp + 0xe8]
mov ecx, ebx
mov ebx, esi
jmp 0x10052718
movzx esi, byte [ecx + 1]
mov ebx, eax
mov dword [esp + 0xc], edx
and ebx, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x10052836
mov edx, ecx
movzx ecx, byte [ecx + 2]
shl esi, 6
and ecx, 0x3f
or ecx, esi
cmp al, 0xf0
jb 0x1005284b
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 0x10052853
shl ebx, 6
add ecx, 2
or ebx, esi
mov esi, dword [esp + 0xc]
mov edx, ecx
xor ecx, ecx
jmp 0x10052737
shl ebx, 0xc
add edx, 3
or ebx, ecx
mov esi, dword [esp + 0xc]
cmp ebx, 0xffff
jbe 0x10052882
lea eax, [ebx + 0xff0000]
and ebx, 0x3ff
shr eax, 0xa
or ebx, 0xdc00
or eax, 0xd800
mov ecx, ebx
mov ebx, eax
jmp 0x10052737
xor ecx, ecx
jmp 0x10052737
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
cmp eax, 0x80000000
mov dword [esp + 0xc0], ecx
jne 0x100528ca
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 0x100530bf
mov dword [esp + 0x20], eax
xor eax, eax
mov esi, 0x14
test al, al
jne 0x10054c1a
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 [0x100e08c0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
push 2
push esi
call fcn.10004aa0
add esp, 8
test eax, eax
je 0x10054c15
mov ecx, 0xa
lea edx, [0x100c79d1]
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 0x100529c0
mov eax, 0x100c79d0
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.1001d240
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 0x100529e0
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x100529b2
jmp 0x10052960
lea ecx, [0x100c79ec]
cmp edx, ecx
je 0x10052ade
movzx ebx, byte [edx]
test bl, bl
js 0x10052a08
inc edx
mov ecx, ebx
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x100529b2
jmp 0x10052960
movzx edi, byte [edx + 1]
mov ecx, ebx
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x10052a73
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 0x10052a8f
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 0x10052aa9
mov edx, dword [esp + 0x10]
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x100529b2
jmp 0x10052960
shl ecx, 6
add edx, 2
or ecx, edi
xor edi, edi
cmp esi, dword [esp + 0x14c]
jne 0x100529b2
jmp 0x10052960
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 0x10052a5b
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 0x100529b2
jmp 0x10052960
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 0x10052b0b
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10053150
cmp word [edx + ecx], 0x22
lea ecx, [ecx + 2]
jne 0x10052b30
xor edi, edi
mov esi, 0x100c7a54
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10052b67
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
add esp, 0xc
mov eax, 0x80000000
and edi, 0xffffff00
movzx ebx, bl
or ebx, edi
cmp eax, 0x80000000
jne 0x10052bb3
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 0x100530bd
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.10004ab0
add esp, 0xc
jmp 0x100530bd
cmp eax, esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], esi
jne 0x10052bdf
lea ecx, [esp + 0xd8]
call fcn.1001d840
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 0x10053377
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 0x10052c96
mov bl, 1
lea ecx, [esp + 0x9c]
call fcn.1001d840
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.1001a9b0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x100541ba
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 0x100541ba
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 0x10052dad
xor ebx, ebx
test si, si
je 0x100530e5
mov si, 1
test bx, bx
jne 0x10052da2
cmp edx, eax
je 0x10052e3f
movzx ebx, byte [edx]
test bl, bl
js 0x10052dca
inc edx
mov edi, ebx
jmp 0x10052e36
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x10052e05
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x10052e0f
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 0x10052e17
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x10052e36
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x34]
cmp edi, 0xffff
jbe 0x10052e36
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x10052da4
xor ebx, ebx
mov esi, edi
jmp 0x10052da4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10052e5c
push 1
push eax
push dword [esp + 0x118]
call fcn.10004ab0
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 0x10052e9c
mov edx, edi
lea ecx, [esp + 0x9c]
push esi
call fcn.1001d240
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 0x10052ee3
add eax, eax
push 2
push eax
push dword [esp + 0x90]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [esp + 0x9c]
jne 0x10052f07
lea ecx, [esp + 0x9c]
call fcn.1001d840
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 0x10052f3f
xor edi, edi
test dx, dx
je 0x10053ad9
mov dx, 1
test di, di
jne 0x10052f34
cmp ecx, eax
je 0x10052fe1
movzx ebx, byte [ecx]
test bl, bl
js 0x10052f60
mov esi, ebx
mov ebx, dword [esp + 0xc]
inc ecx
jmp 0x10052fd8
movzx eax, byte [ecx + 1]
mov esi, ebx
and esi, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x10052f9b
movzx edi, byte [ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x10052fad
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 0x10052fb5
shl esi, 6
mov ebx, dword [esp + 0xc]
add ecx, 2
or esi, eax
mov eax, dword [esp + 0x10]
jmp 0x10052fd8
shl esi, 0xc
add ecx, 3
or esi, edi
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp esi, 0xffff
jbe 0x10052fd8
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x10052f36
xor edi, edi
mov edx, esi
jmp 0x10052f36
mov edi, ebx
shr edi, 8
cmp dword [esp + 0x24], 0x80000000
je 0x10054a08
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.100288a0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10053033
push 1
push eax
push ebx
call fcn.10004ab0
add esp, 0xc
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x140], edi
cmp ebx, dword [esp + 0x9c]
jne 0x10053056
lea ecx, [esp + 0x9c]
call fcn.1001d840
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 0x10052d00
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
test eax, eax
je 0x100530ad
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.10004ab0
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 0x100530d8
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call fcn.10004ab0
add esp, 0xc
test bl, bl
je 0x10051bb1
jmp 0x10051cce
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10053102
push 1
push eax
push dword [esp + 0x118]
call fcn.10004ab0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x1005311a
push 1
push ecx
push eax
call fcn.10004ab0
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
or dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x100c7fa4
test ecx, ecx
je 0x10053b0a
add ecx, ecx
push 2
push ecx
push eax
call fcn.10004ab0
add esp, 0xc
jmp 0x10053b0a
mov eax, dword [esp + 0x18]
mov edx, edi
xor edi, edi
mov ecx, ebx
sub ebx, 1
jb 0x10053b62
mov ecx, eax
movzx eax, word [eax + ebx*2]
cmp ax, 0x5c
jne 0x10053b54
mov esi, 0x100c7a54
jmp 0x100541a2
mov dword [esp + 0x30], 1
test edx, edx
je 0x100532c7
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.1004f320
add esp, 8
jmp 0x100531cc
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1004f320
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x100532c7
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
je 0x100532ae
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.10040910
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x1005323c
push 3
push str.exe.NULexit_code:
push esi
call fcn.10041530
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.10055420
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x10053272
push 1
push eax
push edi
call fcn.10004ab0
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x10053686
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1004f320
add esp, 8
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0xc0]
cmp eax, 0x80000000
jne 0x100531de
jmp 0x100532c7
test eax, eax
je 0x100531be
push 1
push eax
push ecx
call fcn.10004ab0
add esp, 0xc
jmp 0x100531be
lea ecx, [esp + 0x3c]
call fcn.1004f550
mov esi, dword [esp + 0x3c]
cmp esi, 0x80000000
jne 0x10053322
cmp byte [esp + 0x40], 3
jne 0x10053498
mov esi, dword [esp + 0x44]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x100532fc
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x10053310
push dword [ebx + 8]
push eax
push edi
call fcn.10004ab0
add esp, 0xc
push 4
push 0xc
push esi
call fcn.10004ab0
add esp, 0xc
jmp 0x10053498
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.10041a90
add esp, 8
test eax, eax
je 0x100533fd
test edx, edx
je 0x100533fb
cmp ebx, edx
jbe 0x100533f1
cmp byte [edi + edx], 0xbf
jg 0x100533f7
push 0x100c6f24
push 0x37
push 0x100c6eea
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
xor ebx, ebx
mov dword [esp + 0x10], 2
mov dword [esp + 0x2c], 0
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
jne 0x10054235
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 [0x100fc100], cl
jne 0x1005437c
mov eax, dword [0x100fc0dc]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
je 0x1005439d
call fcn.10048310
xor al, 1
jmp 0x1005439f
jne 0x1005335e
cmp ebx, edx
jb 0x100533fd
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.10040910
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x1005344f
push 3
push str.exe.NULexit_code:
push esi
call fcn.10041530
add esp, 0xc
mov esi, dword [esp + 0x150]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x154]
call fcn.10055420
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x10053485
push 1
push eax
push esi
call fcn.10004ab0
add esp, 0xc
mov edi, dword [esp + 0xe4]
cmp edi, 0x80000000
jne 0x10053686
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 0x100534f4
jmp 0x10053510
mov edi, dword [esp + 0xc0]
jbe 0x100535ad
cmp eax, 0x201
jae 0x10053510
mov dword [esp + 0xc], 0x200
lea esi, [esp + 0x14c]
mov edi, eax
jmp 0x10053549
sub eax, ebx
je 0x10053538
mov edx, ebx
lea ecx, [esp + 0x9c]
push eax
call fcn.1001d240
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 0x1005357a
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 0x10053699
cmp eax, edi
jne 0x100534e0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10054b37
lea eax, [edi + edi]
test edi, edi
mov ecx, 0xffffffff
cmovs eax, ecx
cmp eax, 0x201
jae 0x10053510
jmp 0x100534f4
mov ecx, dword [esp + 0xc]
cmp eax, ecx
ja 0x10054c26
push eax
push esi
lea esi, [esp + 0x44]
push esi
call fcn.1003eaf0
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.10040910
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x100535f1
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.10041530
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.10055420
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1005361e
push 1
push eax
push esi
call fcn.10004ab0
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 0x10053652
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
add esp, 0xc
cmp edi, 0x80000001
jg 0x100546cd
mov ecx, edi
cmp edi, 0x80000000
je 0x100536f7
mov eax, esi
cmp ecx, 0x80000001
je 0x100536c1
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
jmp 0x100536ef
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
jmp 0x1005213a
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x100536bf
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x100536f7
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x100536d6
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x100536ea
push dword [edi + 8]
push eax
push esi
call fcn.10004ab0
add esp, 0xc
push 4
push 0xc
push ebx
call fcn.10004ab0
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 0x10053755
jmp 0x10053770
mov edi, dword [esp + 0xc0]
jbe 0x10053804
cmp ebx, 0x201
jae 0x10053770
mov dword [esp + 0x10], 0x200
lea esi, [esp + 0x14c]
mov edi, ebx
jmp 0x100537af
mov edi, dword [esp + 0xc]
sub ebx, edi
je 0x1005379c
mov edx, edi
lea ecx, [esp + 0x9c]
push ebx
call fcn.1001d240
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 0x100537d0
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x100538ee
cmp ebx, edi
jne 0x10053740
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10054b50
lea ebx, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs ebx, eax
cmp ebx, 0x201
jae 0x10053770
jmp 0x10053755
mov eax, dword [esp + 0x10]
cmp ebx, eax
ja 0x10054c37
push ebx
push esi
lea esi, [esp + 0x44]
push esi
call fcn.1003eaf0
add esp, 0xc
push dword [esp + 0x18]
push edi
push esi
call fcn.10040910
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x10053848
push 3
push str.exe.NULexit_code:
lea eax, [esp + 0x44]
push eax
call fcn.10041530
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edx, esi
lea ecx, [esp + 0xe4]
push dword [esp + 0x44]
call fcn.10055420
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10053875
push 1
push eax
push esi
call fcn.10004ab0
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 0x100538a9
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
add esp, 0xc
cmp edi, 0x80000001
jg 0x100546cd
mov eax, edi
cmp edi, 0x80000000
mov edi, dword [esp + 0xc0]
je 0x1005395a
mov ecx, eax
mov eax, esi
cmp ecx, 0x80000001
je 0x1005391d
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 2
call fcn.10004ab0
add esp, 0xc
jmp 0x1005395a
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xc0]
test eax, eax
je 0x1005391b
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
add esp, 0xc
xor eax, eax
cmp al, 3
jne 0x1005395a
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x10053932
push esi
call eax
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x10053946
push dword [edi + 8]
push eax
push esi
call fcn.10004ab0
add esp, 0xc
push 4
push 0xc
push ebx
call fcn.10004ab0
add esp, 0xc
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0xe4]
push 4
push 0x100c6e6c
push eax
call fcn.10032360
add esp, 0xc
mov ebx, dword [esp + 0xe4]
cmp ebx, 0x80000000
je 0x10053ac1
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.1004f320
add esp, 8
jmp 0x100539d5
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1004f320
add esp, 8
mov eax, dword [esp + 0x14c]
cmp eax, 0x80000000
je 0x10053aae
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
test edx, edx
jne 0x10053a0b
test eax, eax
je 0x100539c7
push 1
push eax
push ecx
call fcn.10004ab0
add esp, 0xc
jmp 0x100539c7
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.10040910
add esp, 0xc
cmp dword [esp + 0x30], 1
je 0x10053a55
push 3
push str.exe.NULexit_code:
push esi
call fcn.10041530
add esp, 0xc
mov edi, dword [esp + 0x150]
mov edx, edi
lea ecx, [esp + 0x9c]
push dword [esp + 0x154]
call fcn.10055420
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x10053a8b
push 1
push eax
push edi
call fcn.10004ab0
add esp, 0xc
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xc]
cmp edi, 0x80000000
jne 0x100546aa
mov edi, dword [esp + 0xc0]
jmp 0x100539b7
test ebx, ebx
je 0x10053ac1
push 1
push ebx
push dword [esp + 0x18]
call fcn.10004ab0
add esp, 0xc
mov byte [esp + 0x90], 2
mov dword [esp + 0x94], 0x100c7ff4
jmp 0x10051b93
mov eax, dword [esp + 0x24]
mov esi, 2
mov dword [esp + 0x14], 0x100c7fa4
test eax, eax
je 0x10053afa
push 1
push eax
push ebx
call fcn.10004ab0
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.1000e950
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x10053b37
add eax, eax
push 2
push eax
push dword [esp + 0xa8]
call fcn.10004ab0
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 0x100549bb
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 0x10053b97
mov edx, esi
lea ecx, [esp + 0x3c]
push ebx
call fcn.1001d240
add esp, 4
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
jmp 0x10053b9b
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 0x10053bc9
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10054645
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 0x10053c01
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10053c5c
movzx eax, byte [esp + 0x88]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14c]
push eax
push esi
call fcn.10049ec0
add esp, 8
cmp byte [esp + 0x14c], 4
jne 0x10054683
mov eax, dword [esp + 0x2c]
add eax, 0x14
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jne 0x10053bee
jmp 0x10054641
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 0x10053c87
inc eax
cmp dl, cl
je 0x10054180
cmp eax, dword [esp + 0xc]
je 0x10053cb4
movzx ecx, byte [eax]
mov esi, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi + 0x100c7a61]
cmp dl, cl
je 0x10053c7e
test esi, esi
lea esi, [esi + 1]
jne 0x10053ca0
jmp 0x10053c7e
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1c], edi
jmp 0x10053cc9
xor eax, eax
test dx, dx
je 0x1005419d
mov dx, 1
test ax, ax
jne 0x10053cbe
cmp ecx, dword [esp + 0xc]
je 0x10053d6d
movzx eax, byte [ecx]
test al, al
js 0x10053ce8
inc ecx
mov esi, eax
jmp 0x10053d64
movzx edi, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edi, 0x3f
cmp al, 0xdf
jbe 0x10053d2b
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 0x10053d39
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 0x10053d45
shl esi, 6
add ecx, 2
or esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x10053d64
mov ecx, dword [esp + 0x14]
shl esi, 0xc
or esi, edi
add ecx, 3
mov edi, dword [esp + 0x1c]
cmp esi, 0xffff
jbe 0x10053d64
and esi, 0x3ff
or esi, 0xdc00
mov eax, esi
jmp 0x10053cc0
xor eax, eax
mov edx, esi
jmp 0x10053cc0
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x10053e75
cmp byte [esp + 0x88], 0
setne al
cmp byte [ecx + edi - 1], 0x5c
sete cl
or cl, al
mov byte [esp + 0x14], cl
jmp 0x10053da6
mov byte [esp + 0x14], 1
cmp edi, dword [esp + 0xc]
je 0x10053e5f
movzx eax, byte [edi]
test al, al
js 0x10053db2
inc edi
mov esi, eax
jmp 0x10053dfd
movzx edx, byte [edi + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x10053deb
movzx ecx, byte [edi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x10053df5
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 0x10053dfd
shl esi, 6
add edi, 2
or esi, edx
jmp 0x10053dfd
shl esi, 0xc
add edi, 3
or esi, ecx
cmp esi, 0x110000
je 0x10053d9c
mov eax, esi
and eax, 0x1ff800
cmp eax, 0xd800
je 0x10053d9c
cmp esi, 0x80
jae 0x10053e49
lea eax, [esi - 0x30]
cmp eax, 0xa
jb 0x10053e49
mov eax, esi
and eax, 0x5f
add eax, 0xffffffbf
cmp eax, 0x19
jbe 0x10053e49
push 0xc
push 0x100c79c4
push esi
call fcn.1008ee20
add esp, 0xc
cmp eax, 1
jne 0x10053d97
push esi
call fcn.1009fb60
add esp, 4
test al, al
jne 0x10053d97
jmp 0x10053d9c
test byte [esp + 0x14], 1
jne 0x10053e75
mov al, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
jmp 0x10053eac
cmp ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jne 0x10053e93
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10053ec3
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 0x10053ed9
mov dword [esp + 0x14], 0
jmp 0x10053fa7
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0xc]
je 0x100540db
movzx eax, byte [ecx]
test al, al
js 0x10053f02
inc ecx
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
jmp 0x10053fa7
movzx edx, byte [ecx + 1]
mov esi, eax
and esi, 0x1f
and edx, 0x3f
cmp al, 0xdf
jbe 0x10053f59
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 0x10053f6f
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 0x10053f7b
shl esi, 6
add ecx, 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
or esi, edx
jmp 0x10053fa7
shl esi, 0xc
add ecx, 3
mov dword [esp + 0x1c], ecx
or esi, edx
cmp esi, 0xffff
jbe 0x10053ecc
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 0x10053fe6
cmp eax, 0xd
je 0x10053ff3
cmp eax, 0x22
jne 0x10054018
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x1005404a
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.1001d240
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x1005404e
cmp eax, 0x25
je 0x10053ff3
cmp eax, 0x5c
jne 0x10054018
inc edi
jmp 0x1005401a
mov eax, dword [esp + 0x3c]
sub eax, ebx
cmp eax, 6
ja 0x10054023
mov edx, ebx
lea ecx, [esp + 0x3c]
push 7
call fcn.1001d240
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x10054027
xor edi, edi
mov eax, dword [esp + 0x10]
jmp 0x100540c3
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 0x100540bd
test edi, edi
je 0x1005409d
xor eax, eax
cmp edi, 0x10
jae 0x1005405b
mov ecx, dword [esp + 0x10]
jmp 0x1005408d
mov ecx, dword [esp + 0x10]
movdqa xmm0, xmmword [0x100c4560]
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 0x10054074
mov ecx, dword [esp + 0x10]
cmp edi, eax
je 0x10054099
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x1005408f
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
jne 0x100540b6
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10053eb6
lea ecx, [esp + 0x3c]
call fcn.1001d840
jmp 0x10053eb2
cmp byte [esp + 0x84], 0
jne 0x10053c46
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
jae 0x10054110
mov edx, ebx
lea ecx, [esp + 0x3c]
push edi
call fcn.1001d240
add esp, 4
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x10054114
test edi, edi
je 0x1005415b
xor eax, eax
cmp edi, 0x10
jae 0x1005411f
mov ecx, esi
jmp 0x1005414b
movdqa xmm0, xmmword [0x100c4560]
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 0x10054134
cmp edi, eax
mov ecx, esi
je 0x10054157
sub edi, eax
mov word [ecx + ebx*2], 0x5c
inc ebx
dec edi
jne 0x1005414d
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x44], ebx
jne 0x10054170
lea ecx, [esp + 0x3c]
call fcn.1001d840
mov esi, dword [esp + 0x40]
mov word [esi + ebx*2], 0x22
inc ebx
mov dword [esp + 0x44], ebx
jmp 0x10053c46
xor edi, edi
mov esi, 0x100c7a10
mov ebx, 2
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10052b56
jmp 0x10052b67
mov esi, 0x100c7fa4
mov ebx, 2
xor edi, edi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10052b56
jmp 0x10052b67
xor ebx, ebx
lea ecx, [esp + 0x14c]
call fcn.1000e950
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x9c]
jne 0x100541f2
xor ebx, ebx
lea ecx, [esp + 0x9c]
call fcn.1001d840
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 0x10054220
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10053b37
mov esi, dword [esp + 8]
cmp dword [esi + 0x34], 0x80000000
mov dword [esp + 0xc], ebx
je 0x1005339a
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 0x10054254
xor ebx, ebx
test si, si
je 0x100542e6
mov si, 1
test bx, bx
jne 0x10054249
cmp edx, eax
je 0x10054309
movzx ebx, byte [edx]
test bl, bl
js 0x10054271
inc edx
mov edi, ebx
jmp 0x100542dd
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x100542ac
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x100542b6
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 0x100542be
shl edi, 6
add edx, 2
or edi, ecx
jmp 0x100542dd
shl edi, 0xc
add edx, 3
or edi, eax
mov eax, dword [esp + 0x14]
cmp edi, 0xffff
jbe 0x100542dd
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x1005424b
xor ebx, ebx
mov esi, edi
jmp 0x1005424b
mov ebx, dword [esp + 0xc]
mov esi, 0x100c7fa4
mov edi, 2
mov eax, dword [esp + 0x38]
mov dword [eax + 4], esi
mov dword [eax], edi
mov dword [eax + 8], 2
jmp 0x100549a6
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.10028a00
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0xc]
cmp esi, eax
jne 0x10054354
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x1005436c
inc esi
jmp 0x100542f4
mov esi, dword [esp + 8]
mov dword [esp + 0x88], edi
jmp 0x100533b2
push 0x100fc100
call fcn.1005a4b0
add esp, 4
mov eax, dword [0x100fc0dc]
mov dword [esp + 0x34], edi
test eax, 0x7fffffff
jne 0x100533e5
xor eax, eax
movzx edx, byte [0x100fc101]
movzx ecx, byte [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x120], 0x100fc100
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.10055530
add esp, 8
movzx eax, byte [esp + 0x14c]
cmp al, 4
jne 0x10054597
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.10055530
add esp, 8
movzx eax, byte [esp + 0x14c]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x34]
cmp al, 4
jne 0x100545d2
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.10055530
add esp, 8
movzx eax, byte [esp + 0x14c]
mov edx, dword [esp + 8]
cmp al, 4
jne 0x10054609
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 0x10054508
cmp dword [esp + 0x24], 0
jne 0x10054508
mov eax, 1
test esi, esi
je 0x10054529
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 0x1005453d
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 0x10054672
add edx, 0x5c
mov dword [esp + 0x3c], 0x48
lea ecx, [esp + 0x8c]
call fcn.10055ce0
cmp dword [esp + 0x8c], 0
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
je 0x100546d6
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
jmp 0x100548c2
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 0x100548f2
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 0x100548ed
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 0x100548cf
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jne 0x1005465a
lea ecx, [esp + 0x3c]
call fcn.1001d840
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 0x10052b6c
mov dword [esp + 0x3c], 0x44
lea ecx, [esp + 0x3c]
jmp 0x1005471e
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 0x10052b56
jmp 0x10052b67
mov eax, ebx
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
test eax, eax
je 0x100546cd
push 1
push eax
push dword [esp + 0x18]
call fcn.10004ab0
add esp, 0xc
mov eax, esi
mov ecx, esi
jmp 0x1005213a
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 0x1005487c
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 0x100547af
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.100100a0
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 0x100547dd
push dword [esp + 0x118]
call sub.KERNEL32.dll_CloseHandle
lea ecx, [esp + 0x11c]
call fcn.1000eec0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100547ff
add eax, eax
push 2
push eax
push edi
call fcn.10004ab0
add esp, 0xc
test ebx, ebx
je 0x10054814
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x10054833
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1005484f
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.10004ab0
add esp, 0xc
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
je 0x10051cce
test eax, eax
je 0x10051cce
add eax, eax
push 2
push eax
push dword [esp + 0x20]
call fcn.10004ab0
add esp, 0xc
jmp 0x10051cce
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 0x100548c2
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
call fcn.100100a0
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 0x100548f2
push dword [esp + 0x118]
call sub.KERNEL32.dll_CloseHandle
cmp dword [esp + 0xe4], 0
je 0x10054908
push dword [esp + 0xe8]
call sub.KERNEL32.dll_CloseHandle
cmp dword [esp + 0xec], 0
je 0x1005491e
push dword [esp + 0xf0]
call sub.KERNEL32.dll_CloseHandle
cmp dword [esp + 0xf4], 0
je 0x10054934
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 0x10054964
test al, al
jne 0x10054981
mov eax, dword [0x100fc0dc]
test eax, 0x7fffffff
je 0x10054981
call fcn.10048310
jmp 0x10054979
test al, al
jne 0x10054981
mov eax, dword [0x100fc0dc]
test eax, 0x7fffffff
je 0x10054981
call fcn.10048310
test al, al
jne 0x10054981
mov byte [esi + 1], 1
xor eax, eax
xchg byte [esi], al
cmp al, 2
jne 0x10054990
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 0x100549a6
add eax, eax
push 2
push eax
push edi
call fcn.10004ab0
add esp, 0xc
test ebx, ebx
je 0x100549bb
add ebx, ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x100549da
add eax, eax
push 2
push eax
push dword [esp + 0xe4]
call fcn.10004ab0
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100549f6
add eax, eax
push 2
push eax
push dword [esp + 0xc8]
call fcn.10004ab0
add esp, 0xc
cmp byte [esp + 0x28], 0
mov bl, 1
jne 0x100530bf
jmp 0x10051cce
movzx esi, bl
jmp 0x10053b01
call sub.KERNEL32.dll_GetLastError
mov byte [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x3c], 0x100c7f40
mov dword [esp + 0x40], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xa0], 0x10036690
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 1
push 0x100c7f74
lea eax, [esp + 0x40]
push eax
call fcn.10089dd0
add esp, 8
jmp 0x10054c46
xor eax, eax
jmp 0x10054abe
mov eax, 1
jmp 0x10054a8c
xor eax, eax
push dword [esp + 0x18]
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
mov eax, 2
jmp 0x10054aa7
xor eax, eax
push dword [esp + 0x14]
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
mov eax, 1
push edi
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
push 0x100c8580
push 0x28
push str.internal_error:_entered_unreachable_code_L_f
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
push 0x100c4d54
push 0x21
push str.assertion_failed:_self.height___0
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
push 0x100c8580
push 0x28
push str.internal_error:_entered_unreachable_code_L_f
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
mov dword [esp + 0x18], 4
mov eax, 1
push dword [esp + 0x18]
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
push 0x100c8580
push 0x28
push str.internal_error:_entered_unreachable_code_L_f
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
push 0x100c8580
push 0x28
push str.internal_error:_entered_unreachable_code_L_f
call fcn.10089e60
add esp, 0xc
jmp 0x10054c46
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], 0x100c7e20
mov dword [esp + 0x150], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0xe4], esi
mov dword [esp + 0x154], eax
mov dword [esp + 0xe8], 0x10036690
mov dword [esp + 0x158], 1
lea eax, [esp + 0x14c]
push 0x100c7e28
push eax
call fcn.10089dd0
add esp, 8
jmp 0x10054c46
xor eax, eax
jmp 0x10054b25
push 0x100c8570
push eax
push ebx
call fcn.1008f7f0
add esp, 0xc
jmp 0x10054c46
push 0x100c8570
push eax
push edi
call fcn.1008f7f0
add esp, 0xc
jmp 0x10054c46
xor eax, eax
push esi
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
mov eax, 2
push esi
push eax
call fcn.1007e510
add esp, 8
jmp 0x10054c46
push 0x100c8570
push ecx
push eax
call fcn.1008f7f0
add esp, 0xc
jmp 0x10054c46
push 0x100c8570
push eax
push ebx
call fcn.1008f7f0
add esp, 0xc
ud2