Function at 0x41bb40
Capabilities:
Get common file path

Disassembly:
outsd dx, dword [esi]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0d5e
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x678390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 2
call fcn.00453765
test al, al
je 0x41bba3
or esp, dword [esi]
push ecx
je 0x41bb2d
sbb ch, bh
push eax
cmpsd dword [esi], dword es:[edi]
sub eax, 0xe3651880
invalid
call fcn.0041b790
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x60]
call eax
test al, al
je 0x41bda2
call fcn.0045360c
test al, al
je 0x41bbd2
fcomp qword [edi - 0x637a5fe0]
pop ecx
push cs
insb byte es:[edi], dx
pop eax
pop ds
xor ch, byte [edx]
jg 0x41bc1f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00483520
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41bda2
invalid
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00404170
push 1
push 0x5e9bd4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00405d30
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405c20
push 4
push 0x5eba1c
lea ecx, [ebp - 0x248]
call fcn.00405d30
call fcn.00453aa1
test al, al
je 0x41bc76
std
invalid
inc ebp
or byte [eax - 0x73], dl
lea edi, [eax - 0x17000003]
loop 0x41bbdb
invalid
int1
jns 0x41bc30
mov eax, 0x118440f4
in eax, dx
pop es
insb byte es:[edi], dx
and dh, dl
xchg ecx, eax
int1
ljmp 0x1379
call fcn.00453bb5
test al, al
je 0x41bc9d
bswap esi
push ebp
jge 0x41bcba
scasd eax, dword es:[edi]
sti
push edi
cmp dword [esi + 0x4e], esi
mov word [ebx + ebp], fs
bound eax, qword [esi + 0x31]
push cs
and ebp, ebp
iretd
call fcn.004023e0
mov ecx, eax
call fcn.00474b54
push eax
lea ecx, [ebp - 0x230]
call fcn.00404170
push 0xc
push str.WnConfig.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00405d30
call fcn.00453bfa
test al, al
pop esi
add byte [ebp - 0x22f73], cl
inc esi
inc ebp
cld
add al, 0xe8
mov al, byte gs:[0x2ae8fffe]
jg 0x41bcd2
add byte [eax + eax*8 - 0x68c0e38c], al
je 0x41bcf0
aas
xchg edi, eax
xchg esp, eax
and cl, bh
in eax, 0xa6
arpl word [esi - 0x7e4818ea], dx
int 0x2b
pop ss
sub esp, dword ss:[esi + edx*4]
dec ebp
pop ss
cli
or ch, ah
add ebx, dword [ebp + 0x4e]
cmp dword [ebp + 0x34], 8
lea esi, [ebp + 0x20]
lea edx, [ebp + 0x38]
cmovae esi, dword [ebp + 0x20]
lea ecx, [ebp - 0x230]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp - 0x248]
push esi
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp - 0x21c], 8
push 0
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push 0
cmovae eax, dword [ebp - 0x248]
push 1
push edx
push 0
push ecx
mov ecx, dword [ebp - 0x24c]
push eax
call fcn.0041be30
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x41bd65
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402ce0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x41bda4
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402ce0
jmp 0x41bda4
xor esi, esi
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41bdb9
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00402ce0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x41bde2
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00402ce0
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
cmp ecx, 8
jb 0x41be0b
inc ecx
push ecx
push dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
call fcn.00402ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047070c
mov esp, ebp
pop ebp
ret 0x48