Function at 0x413e80
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d83eb
push eax
mov eax, 0x24b0
mov dword fs:[0], esp
call fcn.004d4ce0
push esi
push edi
xor esi, esi
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], si
mov word [esp + 0x220], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x428]
push eax
push ecx
mov ecx, dword [esp + 0x24d4]
lea eax, [esp + 0x228]
push edx
mov edx, dword [esp + 0x24d4]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], 0x103
mov dword [esp + 0x2c], 0x1047
call fcn.004adee0
add esp, 0x1c
test eax, eax
je 0x414112
push ebx
push ebp
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push str.TWFormFN:
call edi
push eax
lea eax, [esp + 0x438]
push str.TWFormFN:
push eax
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0x10
test eax, eax
jne 0x4140cc
push str.TWFormFN:
call edi
mov ecx, dword [0x4ed0fc]
lea ebp, [esp + eax*2 + 0x434]
mov dword [esp + 0x14], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x73ff2c]
push str._formdata_
lea edx, [esp + 0x28]
push 0x103
push edx
push eax
mov dword [esp + 0x24dc], esi
call fcn.004a8e10
lea ecx, [esp + 0x34]
add esp, 0x14
test ecx, ecx
jne 0x413fb0
xor ebx, ebx
jmp 0x413fbd
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x413fcc
cmp ebx, dword [edi - 4]
jle 0x413fe7
lea ecx, [esp + 0x10]
call fcn.00406610
push ebx
lea ecx, [esp + 0x14]
call fcn.00406580
cmp eax, esi
je 0x414011
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
cmp ebp, esi
je 0x414087
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
je 0x414087
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea ebx, [edx - 0xc]
cmp ecx, 1
jg 0x41406d
mov edi, dword [edx - 8]
lea ecx, [edi + eax]
cmp ecx, dword [edx - 4]
jg 0x41406d
lea ecx, [eax + eax]
lea edi, [edx + edi*2]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
add edx, eax
xor esi, esi
mov dword [ecx - 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x414087
push ebp
push eax
push edx
mov edx, dword [edx - 8]
push edx
lea ecx, [esp + 0x20]
call fcn.0040f8d0
test eax, eax
je 0x414087
push ebx
call fcn.00406650
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4ed100]
mov dword [esp + 0x24c8], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4140cc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4140cc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d4cc1
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x434]
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, dword [esp + 0x24e0]
lea edx, [esp + 0x234]
inc eax
push edx
mov edx, dword [esp + 0x24e0]
push ecx
push eax
push edx
mov dword [esp + 0x38], eax
call fcn.004adee0
add esp, 0x1c
test eax, eax
jne 0x413f28
pop ebp
pop ebx
mov ecx, dword [esp + 0x24b8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24bc
ret