Function at 0x426560
Capabilities:
Create process on windows
Get common file path
Resolve function by parsing pe exports
Self delete

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d80ed
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x532d60]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x532d60]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov dword [esp + 0x54], ecx
and dword [esp + 0x9c], 0xfffffe00
mov dword [esp + 0xa0], 0
mov dword [esp + 0x2e0], 1
mov eax, dword [esp + 0x34]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x34], eax
mov eax, dword [0x538390]
mov dword [esp + 0x38], 0
test al, 1
jne 0x426607
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
mov ecx, dword [0x534374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
push str.error
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2ec], 2
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], 1
call fcn.0044c9c0
call fcn.0040cc90
test al, al
jne 0x42666f
push 4
call fcn.004b8190
mov ecx, dword [0x537408]
add esp, 4
mov dword [eax], ecx
xor eax, eax
push 0x206
push eax
mov word [esp + 0xcc], ax
lea eax, [esp + 0xce]
push eax
call fcn.004bcc70
add esp, 0xc
lea eax, [esp + 0xc4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x2e0], 3
mov ecx, dword [0x537408]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 0x18
idiv esi
cmp edx, 0xf
jne 0x4266df
dec ecx
mov dword [0x537408], ecx
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x28]
push str.__s_
push eax
call fcn.00404fe0
mov eax, dword [0x5326d0]
add esp, 0xc
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0xb
push str._echo_off_r_n
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e8], 4
call fcn.00427f00
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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 + 0x2e0], 5
mov dword [esp + 0x20], eax
mov ecx, str._GOTO_END_r_n
test eax, eax
jne 0x426771
movzx esi, cx
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x426781
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404e50
jmp 0x426781
push 0xb
push str._GOTO_END_r_n
lea ecx, [esp + 0x18]
call fcn.00404a90
mov byte [esp + 0x2e0], 6
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, str.IF_NOT_EXIST
shr ebx, 0x10
mov byte [esp + 0x2e0], 7
mov eax, str.IF_NOT_EXIST
test ebx, ebx
jne 0x4267d1
movzx esi, ax
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x4267e1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e50
jmp 0x4267e1
push 0xd
push str.IF_NOT_EXIST
lea ecx, [esp + 0x1c]
call fcn.00404a90
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e4], 8
call fcn.00403f20
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e4], 9
call fcn.00403f20
add esp, 4
mov byte [esp + 0x2e0], 0xa
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00427f00
mov byte [esp + 0x2e0], 9
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x426858
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 8
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42687d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 6
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4268a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4268c7
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 + 0x20]
call fcn.00427f00
push 9
push str.:REPEAT_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
push 0x16
push str.IF__i_100_GOTO_END_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x51beac
mov byte [esp + 0x2e0], 0xb
test eax, 0xffff0000
jne 0x42693a
movzx esi, ax
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x42694a
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e50
jmp 0x42694a
push 2
push 0x51beac
lea ecx, [esp + 0x1c]
call fcn.00404a90
mov byte [esp + 0x2e0], 0xc
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, str.DEL
mov byte [esp + 0x2e0], 0xd
test eax, 0xffff0000
jne 0x426995
movzx esi, ax
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x4269a5
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404e50
jmp 0x4269a5
push 4
push str.DEL
lea ecx, [esp + 0x18]
call fcn.00404a90
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e4], 0xe
call fcn.00403f20
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e4], 0xf
call fcn.00403f20
add esp, 4
mov byte [esp + 0x2e0], 0x10
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00427f00
mov byte [esp + 0x2e0], 0xf
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426a19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0xe
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426a3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0xc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426a63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426a88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2e0], 0x11
cmp dword [esp + 0x20], 0
jne 0x426acb
mov eax, str._GOTO_END_r_n
movzx esi, ax
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x426adb
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e50
jmp 0x426adb
push 0xb
push str._GOTO_END_r_n
lea ecx, [esp + 0x1c]
call fcn.00404a90
mov byte [esp + 0x2e0], 0x12
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2e0], 0x13
test ebx, ebx
jne 0x426b23
mov eax, str.IF_NOT_EXIST
movzx esi, ax
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x426b33
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404e50
jmp 0x426b33
push 0xd
push str.IF_NOT_EXIST
lea ecx, [esp + 0x18]
call fcn.00404a90
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e4], 0x14
call fcn.00403f20
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e4], 0x15
call fcn.00403f20
add esp, 4
mov byte [esp + 0x2e0], 0x16
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00427f00
mov byte [esp + 0x2e0], 0x15
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426ba7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0x14
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426bcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0x12
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426bf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426c16
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 + 0x20]
call fcn.00427f00
mov ecx, dword [0x537408]
mov ebx, 0xd
lea esi, [ecx + 1]
mov eax, esi
imul eax, ecx
cdq
idiv ebx
cmp edx, 0xa
jne 0x426c67
sub ecx, 0
je 0x426c5d
dec ecx
je 0x426c51
mov dword [0x537408], esi
jmp 0x426c67
mov dword [0x537408], 0
jmp 0x426c67
mov dword [0x537408], 2
push 0x10
push str.SET__a_i_i_1_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
push 0xd
push str.GOTO_REPEAT_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
push 6
push str.:END_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
push 8
push str.DEL__0_r_n
lea ecx, [esp + 0x20]
call fcn.00427f00
push 0x208
lea eax, [esp + 0xc8]
push 0
push eax
call fcn.004bcc70
add esp, 0xc
lea eax, [esp + 0xc4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
jne 0x426d97
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 + 0x2e8], 0x17
call fcn.00404a90
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
call fcn.00433ad0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2e4], 0x18
call fcn.0044c7d0
lea eax, [esp + 0x2c]
push eax
push ecx
push str.error
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2ec], 0x19
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], 0x18
call fcn.0044c9c0
cmp dword [esp + 0x50], 0x10
jb 0x426d6e
push dword [esp + 0x3c]
call fcn.004b817c
add esp, 4
mov byte [esp + 0x2e0], 4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4270d9
mov ecx, dword [edx]
push edx
jmp 0x4270d4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0xc4]
mov byte [esp + 0x2e0], 0x1a
test eax, 0xffff0000
jne 0x426dd2
movzx ebx, ax
mov ecx, ebx
call fcn.00405910
test eax, eax
je 0x426e05
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e50
jmp 0x426e01
lea ecx, [esp + 0xc4]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404a90
mov esi, dword [esp + 0x14]
mov byte [esp + 0x2e0], 0x1b
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x427356
cmp eax, ecx
jg 0x427356
cmp word [esi + eax*2], 0x5c
je 0x426e3a
push 1
push 0x51c044
lea ecx, [esp + 0x1c]
call fcn.00427f00
lea ecx, [esp + 0x1c]
call fcn.004340f0
push str..bat
mov edx, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2e4], 0x1c
call fcn.00427ab0
add esp, 4
mov byte [esp + 0x2e0], 0x1d
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push dword [eax - 0xc]
push eax
call fcn.00427f00
mov byte [esp + 0x2e0], 0x1c
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426e9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0x1b
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426ebf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x3c]
call fcn.00433ad0
mov esi, eax
mov byte [esp + 0x2e0], 0x1e
cmp dword [esi + 0x14], 0x10
jb 0x426ede
mov esi, dword [esi]
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2e0], 0x1f
test esi, esi
je 0x426f31
test esi, 0xffff0000
jne 0x426f21
movzx esi, si
mov ecx, esi
call fcn.00405910
test eax, eax
je 0x426f3e
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004280f0
jmp 0x426f3e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426f26
sub ecx, edx
jmp 0x426f33
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.004281b0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 0x20
call fcn.00439380
test al, al
mov byte [esp + 0x2e0], 0x1e
mov edx, dword [esp + 0x10]
sete bl
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426f7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0x1b
cmp dword [esp + 0x50], 0x10
jb 0x426f98
push dword [esp + 0x3c]
call fcn.004b817c
add esp, 4
test bl, bl
je 0x427074
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2e0], 0x21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.createDeleteSelfBatchFile_error_WriteToFile__d
push eax
call fcn.00404fe0
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
call fcn.00433ad0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2e4], 0x22
call fcn.0044c7d0
lea eax, [esp + 0x2c]
push eax
push ecx
push str.error
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2ec], 0x23
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], 0x22
call fcn.0044c9c0
cmp dword [esp + 0x50], 0x10
jb 0x42703e
push dword [esp + 0x3c]
call fcn.004b817c
add esp, 4
mov byte [esp + 0x2e0], 0x1b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427063
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 4
mov edx, dword [esp + 0x14]
jmp 0x426d7a
push 0x3c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.004bcc70
mov esi, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x68], str.open
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x60], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esi, 0xfffffff0
mov byte [esp + 0x2e0], 4
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4270d9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 3
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4270fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 1
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427123
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xa4], 0x51c0cc
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
mov byte [esp + 0xc0], 0
mov byte [esp + 0x2e0], 0x24
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x2e8], 0x25
call fcn.0044f670
mov edx, eax
mov byte [esp + 0x2e0], 0x26
cmp dword [edx + 0x14], 0x10
jb 0x4271a3
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x4271c2
xor ecx, ecx
jmp 0x4271db
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
jmp 0x4271d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4271d0
sub ecx, dword [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [esp + 0x34]
call fcn.00433a00
add esp, 0x18
mov byte [esp + 0x2e0], 0x27
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x42724d
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42723c
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42723c
call fcn.00404b50
mov dword [esp + 0x20], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x427233
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
jmp 0x42724d
push dword [edx - 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.00404a90
mov esi, dword [esp + 0x10]
mov byte [esp + 0x2e0], 0x26
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427272
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x2e0], 0x25
cmp dword [esp + 0x50], 0x10
jb 0x42728d
push dword [esp + 0x3c]
call fcn.004b817c
add esp, 4
mov ebx, dword [esp + 0x54]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4272ac
call fcn.0040caf0
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [esp + 0x2e0], 0x24
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4272ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0xbc], 0x10
mov dword [esp + 0xa4], 0x51c0cc
jb 0x4272f2
push dword [esp + 0xa8]
call fcn.004b817c
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
mov dword [esp + 0xa4], 0x51fca0
mov dword [esp + 0x2e0], 0xffffffff
call fcn.0044c9c0
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004b8181
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040cad0
int3