Function at 0x403b30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45d5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [ebp + 0x1108], eax
je 0x403b86
mov dword [ebp + 0x10e4], 0x3f3
mov dword [ebp + 0x10e8], ebx
mov dword [ebp + 0x10ec], ebx
jmp 0x403f4a
cmp dword [ebp + 0x10f0], ebx
je 0x403f4a
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x1104], eax
mov dword [ebp + 0x10f4], ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ebx
mov word [ecx], bx
mov edx, dword [ebp + 0x14]
mov word [edx], bx
mov edx, dword [esp + 0x50]
lea eax, [ebp + 0x10cc]
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [esp + 0x48], eax
lea esi, [ebp + 0x58]
mov eax, esi
mov dword [ebp + 0x4c], ebx
call fcn.004025b0
mov eax, esi
call fcn.00402aa0
mov eax, dword [esi]
push str.MEMORY_
push eax
call fcn.0043f623
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp + 0x10f8], eax
mov eax, 0x12c
lea edi, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.004024c0
mov ecx, dword [esp + 0x30]
mov word [ecx], bx
mov dword [esp + 0x40], ebx
mov eax, 0x12c
lea edi, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004024c0
mov edx, dword [esp + 0x28]
mov word [edx], bx
mov ecx, dword [esp + 0x4c]
mov eax, edi
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x44], 1
call fcn.00402b00
mov eax, dword [esi]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403c65
sub eax, edx
sar eax, 1
cmp eax, dword [esi + 4]
jb 0x403c90
push 0x473694
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x5c], str.The_string_has_no_terminating_null_character_
call fcn.00444ccc
cmp eax, 3
mov edi, dword [esp + 0x30]
jb 0x403f17
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403ca2
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x34]
jb 0x403cce
push 0x473694
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], str.The_string_has_no_terminating_null_character_
call fcn.00444ccc
cmp eax, 2
jb 0x403f17
mov eax, dword [esp + 0x28]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403ce0
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x2c]
jb 0x403d0c
push 0x473694
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], str.The_string_has_no_terminating_null_character_
call fcn.00444ccc
cmp eax, 2
jb 0x403f17
mov ecx, dword [ebp + 0x60]
mov eax, 0x12c
lea esi, [esp + 0x20]
mov word [ecx], bx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402260
mov edx, dword [esp + 0x20]
mov byte [edx], bl
mov byte [esp + 0x40], 2
mov eax, 0x12c
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00402260
mov eax, dword [esp + 0x18]
mov byte [eax], bl
mov byte [esp + 0x40], 3
mov ecx, dword [esp + 0x54]
push ecx
push ebx
push 0x4040f0
push ebx
mov eax, esi
call fcn.00402300
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x34]
call fcn.00402300
mov edx, dword [ebp + 0x10f0]
push eax
mov eax, dword [ebp + 0x1114]
push edx
call eax
add esp, 0x1c
test eax, eax
je 0x403e7f
lea esp, [esp]
mov eax, dword [ebp + 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403da6
sub eax, edx
sar eax, 1
cmp eax, dword [ebp + 0x64]
lea esi, [ebp + 0x60]
jae 0x403f00
cmp eax, ebx
je 0x403e7f
mov edx, esi
lea eax, [esp + 0x28]
call fcn.004025b0
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041b267
mov byte [esp + 0x44], 1
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.0041b267
mov eax, dword [esi]
mov word [eax], bx
add esp, 4
mov eax, 0x12c
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402260
mov ecx, dword [esp + 0x20]
mov byte [ecx], bl
mov byte [esp + 0x40], 2
mov eax, 0x12c
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00402260
mov edx, dword [esp + 0x18]
mov byte [edx], bl
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
push eax
push ebx
push 0x4040f0
push ebx
mov eax, esi
call fcn.00402300
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x34]
call fcn.00402300
mov ecx, dword [ebp + 0x10f0]
mov edx, dword [ebp + 0x1114]
push eax
push ecx
call edx
add esp, 0x1c
test eax, eax
jne 0x403da0
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x18]
push eax
call fcn.0041b267
mov byte [esp + 0x44], 1
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.0041b267
mov eax, dword [ebp + 8]
add esp, 4
mov esi, ebp
call fcn.00404580
cmp dword [ebp + 0x10f4], ebx
je 0x403ec4
cmp dword [ebp + 8], ebx
je 0x403ec4
mov ebp, dword [ebp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x48]
call fcn.00402fd0
mov esi, eax
neg esi
mov byte [esp + 0x40], bl
mov edx, dword [esp + 0x28]
sbb esi, esi
push edx
add esi, 1
call fcn.0041b267
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.0041b267
add esp, 4
mov eax, esi
jmp 0x403f4c
push 0x473694
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], str.The_string_has_no_terminating_null_character_
call fcn.00444ccc
mov eax, dword [esp + 0x48]
mov byte [esp + 0x40], bl
mov ecx, dword [esp + 0x28]
push ecx
mov dword [eax + 0x18], 0x3ea
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
call fcn.0041b267
add esp, 4
push edi
mov dword [esp + 0x44], 0xffffffff
call fcn.0041b267
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x10