Function at 0x4038b0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456b1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x870
mov eax, dword [0x472340]
xor eax, ebp
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x870], eax
push edi
xor ebx, ebx
xor eax, eax
mov word [esp + 0x470], bx
mov ecx, 0xff
lea edi, [esp + 0x472]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esi + 0x2fc], 8
mov dword [esp + 0xc], esi
jb 0x403915
mov eax, dword [esi + 0x2e8]
jmp 0x40391b
lea eax, [esi + 0x2e8]
push eax
lea eax, [esp + 0x474]
push eax
call fcn.00435730
xor eax, eax
mov word [esp + 0x270], bx
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
push ebx
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x480]
push edx
stosw word es:[edi], ax
mov eax, edx
push ebx
push eax
call fcn.00436fe2
lea ecx, [esp + 0x284]
push ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
call fcn.00435c89
add esp, 0x20
push eax
lea edx, [esp + 0x26c]
push edx
lea ecx, [esp + 0x4c]
call fcn.0040ae10
mov eax, dword [esp + 0xc]
mov esi, dword [esi + 0x374]
mov eax, dword [eax + 0x378]
cmp esi, eax
mov dword [esp + 0x884], ebx
je 0x403a94
nop
xor eax, eax
mov word [esp + 0x60], bx
mov ecx, 0x81
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esi + 0x18], 8
jb 0x4039cf
mov eax, dword [esi + 4]
jmp 0x4039d2
lea eax, [esi + 4]
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
push ebx
push eax
call fcn.00436fe2
lea edx, [esp + 0x74]
mov edi, 7
push edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00435c89
add esp, 0x18
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x30]
call fcn.0040ae10
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x884], 1
jae 0x403a25
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x38]
call fcn.00407340
test eax, eax
je 0x403a57
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x380
call fcn.004102b0
cmp dword [esp + 0x40], 8
mov byte [esp + 0x884], bl
jb 0x403a72
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044cdd7
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x378]
add esi, 0x1c
cmp esi, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jne 0x4039b0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x384]
mov esi, dword [eax]
cmp esi, eax
je 0x403afd
lea edx, [esi + 0xc]
push edx
call fcn.00402a80
mov al, byte [esi + 0x29]
add esp, 4
cmp al, bl
jne 0x403af1
mov eax, dword [esi + 8]
cmp byte [eax + 0x29], bl
jne 0x403ad3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x29], bl
jne 0x403af1
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x29], bl
je 0x403ac8
jmp 0x403af1
mov eax, dword [esi + 4]
cmp byte [eax + 0x29], bl
jne 0x403aef
jmp 0x403ae0
cmp esi, dword [eax + 8]
jne 0x403aef
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x29], bl
je 0x403ae0
mov esi, eax
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 0x384]
jne 0x403aa4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x2c4]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x888], 2
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x403bde
lea esi, [eax + 4]
jmp 0x403b40
xor eax, eax
mov word [esp + 0x60], bx
mov ecx, 0x81
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esi + 0x14], 8
jb 0x403b5e
mov eax, dword [esi]
jmp 0x403b60
mov eax, esi
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
push ebx
push eax
call fcn.00436fe2
lea edx, [esp + 0x74]
mov edi, 7
push edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00435c89
add esp, 0x18
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x30]
call fcn.0040ae10
lea ecx, [esp + 0x28]
push ecx
call fcn.00402a80
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, 8
jb 0x403bbf
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044cdd7
add esp, 4
mov ecx, dword [esp + 0x18]
add esi, 0x1c
lea eax, [esi - 4]
cmp eax, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jne 0x403b40
push 0x45b6dc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x403c35
mov edi, dword [esp + 0x18]
cmp esi, edi
je 0x403c2c
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 8
jb 0x403c11
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0044cdd7
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x403c00
mov esi, dword [esp + 0x14]
push esi
call fcn.0044cdd7
add esp, 4
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jb 0x403c55
mov eax, dword [esp + 0x48]
push eax
call fcn.0044cdd7
add esp, 4
mov ecx, dword [esp + 0x87c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x874]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004351f1
mov esp, ebp
pop ebp
ret