Function at 0x41f5a0
Capabilities:
Get common file path

Disassembly:
push ebp
jmp 0x41fe6c
sub eax, esi
jne 0x41f5fa
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x41f5fa
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x41f5fa
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
push 0x41f815
ret
push es
enter 0xffffffffffffad22, 0
mov dword [eax + 0x44], ecx
mov dword [ecx + 0x190], edx
push 0x10a5
mov eax, 0x547f64
cmp cl, ah
je 0x41fb8d
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
je 0x41fe1f
jne 0x41fe1f
push 0x10290ba7
mov eax, 0xf5a190
ja 0x41f607
retf
push 0x401a38
call fcn.004322c5
add esp, 4
push 0xa
call esi
push 0x41fca8
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x41fd19
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x41fb8d
lea eax, [ebp - 0x2ec]
push eax
push ebx
push ebx
jmp 0x41fcd7
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x3c]
lea esi, [ebp - 0x4c]
lea ebx, [ebx]
cmp ecx, 4
jb 0x41ff49
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x41fd87
sub ecx, 4
je 0x41fd7c
jne 0x41fd7c
sbb esi, edx
mov dword [fcn.0043668c], esi
test dword [esi - 8], 0xfff
mov cl, byte [eax + 0x54]
sbb al, 4
push ebx
add al, 0x68
add al, 1
add byte [eax], al
jmp 0x41f908
movzx edi, byte [edx]
sub ecx, edi
jne 0x41f8ac
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x41f8ac
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x41f8ac
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
push 0x41f6b5
ret
push 5
call esi
je 0x41f6d9
jne 0x41f6d9
mov esi, 0xce8e34
fmul dword [ebx + 0x1c8]
cmp byte [0xddffd6], 0
sbb dword [edx], 0xfde96851
inc ecx
add bl, al
movsx esi, byte [eax + 0x34]
cmp edx, dword [esi + 0x3e0]
pop ss
lcall 0xc8d, 0x8d8af4da
sti
invalid
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x41fb8d
push 0x40
push 0x48e008
call fcn.0040f210
add esp, 8
test eax, eax
jmp 0x41f621
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8550], eax
push 0xa
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
je 0x41f8ce
jne 0x41f8ce
mov eax, 0x10dc5808
push 0xb3d1f4
pop ecx
std
call fcn.00418160
xor eax, eax
mov word [ebp - 0x2ec], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.004303a0
je 0x41f7e3
jne 0x41f7e3
push 0xec8ba8
mov esi, 0x49dd64
inc esi
xchg byte [eax - 0x6e], al
inc edi
jmp 0x41fab9
movzx esi, byte [ecx]
movzx eax, byte [edx]
je 0x41f5c8
jne 0x41f5c8
mov byte [edi + 0x54], 0
mov dword [0x112ad8cc], eax
mov eax, dword [ecx + 0x568]
push 0x848f50
int 0xc5
push 0x48e008
call fcn.00418c40
add esp, 0x1c
test eax, eax
je 0x41fb8d
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.0041d2a0
add esp, 8
test eax, eax
push 0x41fae5
ret
cmp eax, 4
jb 0x41f81a
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41f9db
sub eax, 4
jmp 0x41fc4d
je 0x41f745
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, 1
mov dword [ebp - 4], edi
push 6
push 0x401a24
push 0x41fa7b
ret
mov dword [ebp - 4], ebx
jmp 0x41f745
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5f], eax
push 0x41ff75
ret
mov word [ebp - 0x4f4], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.004303a0
add esp, 0xc
push 0x41f865
ret
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00430391
push 0x41fc37
ret
add ecx, 4
add edx, 4
jmp 0x41f9d6
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
je 0x41fb8d
xor edx, edx
je 0x41fbd9
jne 0x41fbd9
push 0x1146d80c
test dword [ebp + 0x50], 0xfbff9e8d
movapd xmm4, xmmword [0x449f20]
cmp byte [0xd32618], bl
push 0xb3d950
mov dword [ecx], edx
add byte [edi + 0x64f04d8b], 0x89
or eax, 0
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
jmp 0x41fc12
add edx, 4
add esi, 4
jmp 0x41f82d
movzx ecx, byte [esi]
jmp 0x41f877
call fcn.004303a0
mov dword [ebp - 0x8550], 0x81
push 0x41fe47
ret
mov ebp, esp
push 0xfffffffffffffffe
push 0x43df18
push 0x42fea0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x8590
call fcn.00432300
mov eax, dword [0x48d0b8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
je 0x41f96d
jne 0x41f96d
mov ecx, dword [esi*4 + 0xa86e50]
adc eax, 0xe300895b
insb byte es:[edi], dx
mov dword [ebp - 0x2c], 0xb6bdc8f3
mov dword [ebp - 0x28], 0x8f47dfb9
mov dword [ebp - 0x24], 0xcef27a22
mov dword [ebp - 0x20], 0xa1a5c861
mov byte [ebp - 0x4c], bl
xor eax, eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
jmp 0x41fbae
xor ecx, ecx
and eax, ecx
je 0x41fb4e
jne 0x41fb4e
jmp dword [0x1000b000]