Function at 0x10024c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x1004a14c]
mov dword [ebp - 0x60], eax
mov eax, dword [0x1004a148]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0xf7
mov byte [ebp - 5], 0xd4
mov dword [ebp - 0x64], 0xd3aa
mov dword [ebp - 0x48], 0xe8c5d7f8
mov ecx, dword [0x1004a17c]
mov byte [ebp - 2], cl
movsx edx, word [0x1004a120]
mov dword [ebp - 0x30], edx
mov eax, dword [0x1004a14c]
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 1], 0x86
mov dl, byte [0x1004a0d0]
mov byte [ebp - 6], dl
mov eax, dword [0x1004a190]
mov word [ebp - 0x1c], ax
mov ecx, dword [0x1004a188]
mov edx, dword [0x1004a18c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], 0x2301cb98
mov ax, word [0x1004a110]
mov word [ebp - 0x20], ax
mov ecx, dword [0x1004a168]
mov edx, dword [0x1004a16c]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], edx
xor eax, eax
mov dword [ebp - 0x7c], 0x894759f6
mov dword [ebp - 0x78], eax
movzx ecx, byte [0x1004a056]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 7], 0x1d
mov edx, 0xae8e
mov word [ebp - 0x14], dx
xor eax, eax
mov dword [ebp - 0x3c], 0xd28
mov dword [ebp - 0x38], eax
mov byte [ebp - 3], 0xf
xor ecx, ecx
mov dword [ebp - 0x84], 0x323f
mov dword [ebp - 0x80], ecx
mov edx, dword [0x1004a188]
mov eax, dword [0x1004a18c]
mov dword [ebp - 0x54], eax
mov word [ebp - 0x24], dx
mov dword [ebp - 0x58], 0x911d
mov eax, dword [0x1004a144]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov ecx, dword [0x1004a154]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 8], 0xd7
mov byte [ebp - 9], 0xf9
mov edx, dword [0x1004a154]
mov byte [ebp - 0xa], dl
movzx eax, byte [0x1004a0bb]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
xor eax, eax
mov dword [ebp - 0x9c], 0x4247
mov dword [ebp - 0x98], eax
mov ecx, dword [0x1004a104]
mov dword [ebp - 0x5c], ecx
mov dx, word [0x1004a0c8]
mov word [ebp - 0x28], dx
mov byte [ebp - 0xb], 0xc1
mov byte [ebp - 0xc], 0x38
mov eax, 0xfb646
mov dword [ebp - 0xa4], 0x3d8b64a0
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0xd], 0x72
mov cl, byte [str.address_family_not]
mov byte [ebp - 0xe], cl
movsx edx, byte [0x1004a017]
movzx eax, word [0x1004a150]
cmp edx, eax
je 0x10024df5
push 0x104
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov word [0x1004a0f0], ax
jmp 0x10024e31
mov edx, dword [ebp - 0x3c]
or edx, dword [ebp - 0x38]
je 0x10024e31
movsx eax, byte [ebp - 1]
cdq
mov ecx, 8
imul ecx, ecx, 0x3232
mov dword [ecx + 0x100e3178], eax
mov dword [ecx + 0x100e317c], edx
movzx edx, byte [ebp - 2]
movzx eax, byte [0x1004a056]
lea ecx, [eax + edx + 0x8f]
mov byte [0x1004a056], cl
mov edx, dword [0x1004a118]
sub edx, dword [ebp - 0x44]
mov eax, dword [0x1004a11c]
sbb eax, dword [ebp - 0x40]
and edx, dword [0x1004a118]
and eax, dword [0x1004a11c]
mov dword [0x1004a118], edx
mov dword [0x1004a11c], eax
mov eax, dword [ebp - 0x18]
not eax
movzx ecx, byte [0x1004a0bc]
imul eax, ecx
movzx edx, word [0x1004a150]
mov ecx, dword [ebp - 0x2c]
sub ecx, edx
sub eax, ecx
not eax
cdq
mov ecx, eax
movzx eax, byte [0x1004a056]
movsx edx, byte [ebp - 3]
add eax, edx
not eax
cdq
sub eax, 0x81aee867
xor ecx, eax
mov dword [ebp - 0x18], ecx
movsx eax, word [0x1004a120]
movzx ecx, word [ebp - 0x14]
sub eax, ecx
movsx edx, word [0x1004a120]
add edx, eax
mov word [0x1004a120], dx
movzx eax, word [0x1004a0f0]
not eax
mov ecx, dword [ebp - 0x30]
sub ecx, eax
xor edx, edx
mov dword [0x1004a160], ecx
mov dword [0x1004a164], edx
movzx eax, word [ebp - 0x34]
mov esp, ebp
pop ebp
ret