Function at 0x425220
Capabilities:
Create process on windows
Get common file path
Self delete
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d38a2
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov dword [esp + 0x60], ecx
and dword [esp + 0x43c], 0xfffffe00
mov dword [esp + 0x440], 0
mov dword [esp + 0x680], 1
mov edi, dword [0x52f408]
mov ecx, 0x13
lea eax, [edi + 1]
imul eax, edi
cdq
idiv ecx
cmp edx, 9
jne 0x4252f2
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov esi, 0xb8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
test ebx, ebx
jle 0x4252e9
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x4252da
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x4252d0
mov ecx, dword [esp + 0x10]
add edx, ecx
dec ebx
jne 0x4252c8
mov ebx, dword [esp + 0x20]
mov edi, dword [0x52f408]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, esi
jl 0x4252b6
mov eax, dword [esp + 0x34]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x34], eax
mov eax, dword [0x52fe1c]
mov dword [esp + 0x38], 0
test al, 1
jne 0x425334
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
push ecx
push str.error
lea ecx, [esp + 0x43c]
mov byte [esp + 0x688], 2
call fcn.00449e90
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], 0
call fcn.00449270
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x4c]
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [esi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esi], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 4], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x44]
mov dword [esi + 8], eax
mov dword [esp + 0x4c], ebx
call fcn.004493f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 1
call fcn.004493f0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x46c], ax
lea eax, [esp + 0x46e]
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [esp + 0x464]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x52f408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xb
jne 0x42545a
call fcn.004b42bc
mov ecx, dword [0x52f408]
cmp ecx, eax
jne 0x42545a
dec ecx
mov dword [0x52f408], ecx
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x464]
push eax
lea eax, [esp + 0x24]
push str.__s_
push eax
mov byte [esp + 0x68c], 3
call fcn.00404c40
mov eax, dword [0x52a6d0]
add esp, 0xc
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0xb
push str._echo_off_r_n
lea ecx, [esp + 0x24]
mov byte [esp + 0x688], 4
call fcn.00426d60
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, str._GOTO_END_r_n
shr eax, 0x10
mov byte [esp + 0x680], 5
mov dword [esp + 0x430], eax
mov ecx, str._GOTO_END_r_n
test eax, eax
jne 0x42550b
movzx esi, cx
mov ecx, esi
call fcn.00405570
test eax, eax
je 0x42551b
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404ab0
jmp 0x42551b
push 0xb
push str._GOTO_END_r_n
lea ecx, [esp + 0x18]
call fcn.004046f0
mov byte [esp + 0x680], 6
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, str.IF_NOT_EXIST
shr esi, 0x10
mov byte [esp + 0x680], 7
mov eax, str.IF_NOT_EXIST
test esi, esi
jne 0x42556b
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x42557b
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ab0
jmp 0x42557b
push 0xd
push str.IF_NOT_EXIST
lea ecx, [esp + 0x1c]
call fcn.004046f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x684], 8
call fcn.00403b80
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x684], 9
call fcn.00403b80
add esp, 4
mov byte [esp + 0x680], 0xa
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push dword [eax - 0xc]
push eax
call fcn.00426d60
mov byte [esp + 0x680], 9
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4255f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 8
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425617
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 6
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42563c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425661
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
push str.SET__a_i0_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 9
push str.:REPEAT_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 0x16
push str.IF__i_100_GOTO_END_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x5148cc
mov byte [esp + 0x680], 0xb
test eax, 0xffff0000
jne 0x4256d4
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x4256e4
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ab0
jmp 0x4256e4
push 2
push 0x5148cc
lea ecx, [esp + 0x1c]
call fcn.004046f0
mov byte [esp + 0x680], 0xc
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, str.DEL
mov byte [esp + 0x680], 0xd
test eax, 0xffff0000
jne 0x42572f
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x42573f
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00404ab0
jmp 0x42573f
push 4
push str.DEL
lea ecx, [esp + 0x18]
call fcn.004046f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x684], 0xe
call fcn.00403b80
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x684], 0xf
call fcn.00403b80
add esp, 4
mov byte [esp + 0x680], 0x10
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push dword [eax - 0xc]
push eax
call fcn.00426d60
mov byte [esp + 0x680], 0xf
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4257b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0xe
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4257d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0xc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4257fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425822
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x680], 0x11
cmp dword [esp + 0x430], 0
jne 0x425868
mov eax, str._GOTO_END_r_n
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x425878
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ab0
jmp 0x425878
push 0xb
push str._GOTO_END_r_n
lea ecx, [esp + 0x1c]
call fcn.004046f0
mov byte [esp + 0x680], 0x12
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x680], 0x13
test esi, esi
jne 0x4258c0
mov eax, str.IF_NOT_EXIST
movzx esi, ax
mov ecx, esi
call fcn.00405570
test eax, eax
je 0x4258d0
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404ab0
jmp 0x4258d0
push 0xd
push str.IF_NOT_EXIST
lea ecx, [esp + 0x18]
call fcn.004046f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x684], 0x14
call fcn.00403b80
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x684], 0x15
call fcn.00403b80
add esp, 4
mov byte [esp + 0x680], 0x16
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push dword [eax - 0xc]
push eax
call fcn.00426d60
mov byte [esp + 0x680], 0x15
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425944
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0x14
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0x12
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42598e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4259b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x21
push str.ping_1.1.1.1__n_1__w_1000___nul_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 0x10
push str.SET__a_i_i_1_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 0xd
push str.GOTO_REPEAT_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 6
push str.:END_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 8
push str.DEL__0_r_n
lea ecx, [esp + 0x24]
call fcn.00426d60
push 0x208
lea eax, [esp + 0x468]
push 0
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [esp + 0x464]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
jne 0x425b4b
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x2b
push str.createDeleteSelfBatchFile_error_GetTempPath
lea ecx, [esp + 0x18]
mov byte [esp + 0x688], 0x17
call fcn.004046f0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x44]
call fcn.00431370
mov esi, eax
mov byte [esp + 0x680], 0x18
mov ecx, dword [esp + 0x34]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
test al, 1
jne 0x425abc
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x425ac7
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
push str.error
lea ecx, [esp + 0x440]
mov byte [esp + 0x68c], 0x19
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 0x18
call fcn.004493f0
cmp dword [esp + 0x58], 0x10
jb 0x425b22
push dword [esp + 0x44]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x680], 4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425f62
mov ecx, dword [edx]
push edx
jmp 0x425f5d
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x464]
mov byte [esp + 0x680], 0x1a
test eax, 0xffff0000
jne 0x425b86
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x425bb5
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ab0
jmp 0x425bb1
lea ecx, [esp + 0x464]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425b90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x468]
push eax
lea ecx, [esp + 0x1c]
call fcn.004046f0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x680], 0x1b
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x42622f
cmp eax, ecx
jg 0x42622f
cmp word [esi + eax*2], 0x5c
je 0x425bea
push 1
push 0x514a64
lea ecx, [esp + 0x1c]
call fcn.00426d60
lea ecx, [esp + 0x24]
call fcn.004317d0
push str..bat
mov edx, eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x684], 0x1c
call fcn.00426910
add esp, 4
mov byte [esp + 0x680], 0x1d
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push dword [eax - 0xc]
push eax
call fcn.00426d60
mov byte [esp + 0x680], 0x1c
mov edx, dword [esp + 0x430]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425c50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0x1b
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425c75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.00431370
mov edi, eax
mov byte [esp + 0x680], 0x1e
cmp dword [edi + 0x14], 0x10
jb 0x425c94
mov edi, dword [edi]
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x680], 0x1f
test edi, edi
je 0x425ceb
test edi, 0xffff0000
jne 0x425cd7
movzx edi, di
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x425cfc
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00426f50
jmp 0x425cf8
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425ce0
sub ecx, edx
jmp 0x425ced
xor ecx, ecx
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00427010
mov esi, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 2
mov byte [esp + 0x694], 0x1e
mov edi, dword [esp + 0x28]
push 0x40000000
push edi
mov byte [esp + 0x37], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x425d86
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x434]
push eax
mov dword [esp + 0x438], 0
push dword [esi - 0xc]
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425d7c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x1b], 1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x1b], 0
mov ecx, ebx
sete byte [esp + 0x1b]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425da9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0x1b
cmp dword [esp + 0x40], 0x10
jb 0x425dc4
push dword [esp + 0x2c]
call fcn.004b3a0c
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x425eec
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x680], 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.createDeleteSelfBatchFile_error_WriteToFile__d
push eax
call fcn.00404c40
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x44]
call fcn.00431370
mov esi, eax
mov byte [esp + 0x680], 0x21
mov ecx, dword [esp + 0x34]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
test al, 1
jne 0x425e5f
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x425e6a
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
push str.error
lea ecx, [esp + 0x440]
mov byte [esp + 0x68c], 0x22
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 0x21
call fcn.004493f0
cmp dword [esp + 0x58], 0x10
jb 0x425ec5
push dword [esp + 0x44]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x680], 0x1b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425f41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425f41
push 0x3c
lea eax, [esp + 0x3f8]
push 0
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [esp + 0x3f4]
push eax
mov dword [esp + 0x3f8], 0x3c
mov dword [esp + 0x404], 0x514ae0
mov dword [esp + 0x408], edi
mov dword [esp + 0x414], 0
mov dword [esp + 0x3fc], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add edi, 0xfffffff0
mov ecx, ebx
lea eax, [edi + 0xc]
mov byte [esp + 0x680], 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425f62
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 3
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425f87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x444], 0x514aec
mov dword [esp + 0x45c], 0xf
mov dword [esp + 0x458], 0
mov byte [esp + 0x448], 0
mov byte [esp + 0x460], 0
mov byte [esp + 0x680], 0x23
mov ecx, dword [0x52f408]
mov edi, 0x14
lea esi, [ecx + 1]
mov eax, esi
imul eax, ecx
cdq
idiv edi
cmp edx, 1
jne 0x42602d
lea eax, [ecx + 2]
imul eax, esi
imul eax, ecx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xd
jne 0x42602d
mov ebx, dword [0x52f408]
xor edi, edi
mov ecx, ebx
inc edi
dec ecx
cmp edi, 0xe4
jb 0x426020
or ebx, 0xffffffff
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0x434]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44c]
mov byte [esp + 0x688], 0x24
call fcn.0044c090
mov edx, eax
mov byte [esp + 0x680], 0x25
cmp dword [edx + 0x14], 0x10
jb 0x426074
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x426093
xor ecx, ecx
jmp 0x4260ae
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x448], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4260a0
sub ecx, dword [esp + 0x448]
push ecx
push edx
mov ecx, edi
call fcn.004012f0
lea ecx, [esp + 0x3c]
call fcn.004312a0
add esp, 0x18
mov byte [esp + 0x680], 0x26
mov edx, dword [eax]
lea edi, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x426126
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x426115
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x426115
call fcn.004047b0
mov dword [esp + 0x430], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42610c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x430]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
jmp 0x426126
push dword [edx - 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.004046f0
mov esi, dword [esp + 0x10]
mov byte [esp + 0x680], 0x25
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42614b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x680], 0x24
cmp dword [esp + 0x40], 0x10
jb 0x426166
push dword [esp + 0x2c]
call fcn.004b3a0c
add esp, 4
mov edi, dword [esp + 0x60]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x426185
call fcn.0040c760
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [esp + 0x680], 0x23
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4261a7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x45c], 0x10
mov dword [esp + 0x444], 0x514aec
jb 0x4261cb
push dword [esp + 0x448]
call fcn.004b3a0c
add esp, 4
lea ecx, [esp + 0x434]
mov dword [esp + 0x45c], 0xf
mov dword [esp + 0x458], 0
mov byte [esp + 0x448], 0
mov dword [esp + 0x444], 0x5186b0
mov dword [esp + 0x680], 0xffffffff
call fcn.004493f0
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c740
int3