Function at 0x403620
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x464046
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4845f4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x30], 0x46c85c
mov dword [esp + 0x94], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.0042f910
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xa4], 2
call fcn.0045afe4
lea ecx, [esp + 0x1c]
call fcn.0042f920
mov esi, eax
cmp esi, ebx
jne 0x4036e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.00415460
mov dword [esp + 0x30], vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 3
call fcn.0045e297
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.0045af76
xor eax, eax
jmp 0x403897
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push esi
lea ecx, [esp + 0x1c]
call fcn.0042fe80
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
push esi
lea ecx, [esp + 0x20]
call fcn.0042fcd0
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0042fd80
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
imul edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x38]
lea edi, [esp + 0x60]
mov word [esp + 0x46], 0x18
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ebx
mov word [esp + 0x44], 1
mov dword [esp + 0x38], 0x28
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push ebx
push ecx
lea edx, [esp + 0x6c]
push ebx
push edx
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
imul ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, ecx
mov esi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045b503
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
push ebx
push 0x481248
push 0x481244
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push edx
neg eax
sbb eax, eax
and eax, edi
push eax
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004024a0
test eax, eax
jne 0x40383d
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.00415460
mov dword [esp + 0x30], vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 4
call fcn.0045e297
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.0045af76
xor eax, eax
jmp 0x403897
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00403520
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.00415460
mov dword [esp + 0x30], vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 5
call fcn.0045e297
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.0045af76
mov eax, 1
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 4