Function at 0x404d30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [0x448804]
mov edx, dword [eax + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
mov ecx, 0x448804
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x448804]
mov edx, dword [eax + 0xc]
mov ecx, 0x448804
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x238]
lea edi, [esp + 0x14]
call fcn.00401790
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 8
jl 0x404db0
lea eax, [esi + 0x10]
push 0x43e754
push eax
call fcn.0041b856
add esp, 8
test eax, eax
je 0x404db0
sub eax, esi
sar eax, 1
jns 0x404dd4
mov edi, 0x43e758
lea ebx, [esp + 0x238]
lea esi, [esp + 0x18]
call fcn.004013b0
lea edi, [esp + 0x14]
call fcn.00401790
mov eax, dword [esp + 0x18]
jmp 0x404e1f
inc eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.00401350
mov edi, str.favicon.ico
mov ebx, eax
lea esi, [esp + 0x18]
call fcn.004013b0
lea edi, [esp + 0x14]
call fcn.00401790
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x14]
lea edi, [esp + 0x10]
call fcn.00401790
push 0x43e8d4
push str.:____
mov ecx, edi
push ecx
call fcn.00402200
push 0x43e8d4
push 0x43e754
mov edx, edi
push edx
call fcn.00402200
push 0x43e8d4
push 0x43e790
mov eax, edi
push eax
call fcn.00402200
push 0x43e8d4
push 0x43e794
mov ecx, edi
push ecx
call fcn.00402200
push 0x43e8d4
push 0x43e798
mov edx, edi
push edx
call fcn.00402200
push 0x43e8d4
push 0x43e79c
mov eax, edi
push eax
call fcn.00402200
push 0x43e8d4
push 0x43e7a0
mov ecx, edi
push ecx
call fcn.00402200
push 0x43e8d4
push 0x43e7a4
mov edx, edi
push edx
call fcn.00402200
push 0x43e8d4
push 0x43e7a8
mov eax, edi
push eax
call fcn.00402200
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.0041c990
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
lea ebx, [esp + 0x20]
lea edi, [esp + 0x1c]
call fcn.00401440
mov eax, dword [eax]
push 0x10
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x404f92
mov ecx, dword [ebp + 0x13c]
push ebx
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [ebp + 0x13c]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov esi, dword [esp + 0x234]
dec eax
push eax
mov edi, ebp
call fcn.00406ac0
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x404fa2
mov esi, dword [esp + 0x234]
push 0xffffffffffffffff
mov edi, ebp
call fcn.00406ac0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
jg 0x404fc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405009
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x218]
xor ecx, esp
mov al, 1
call fcn.0041b3f1
add esp, 0x21c
ret 0xc