Function at 0x53f670
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x53f678
push ecx
push ebx
push esi
mov eax, 0x53f238
call fcn.00406c2c
xor eax, eax
push ebp
push 0x53ffb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54447c]
mov eax, dword [eax]
call fcn.004a06e8
mov edx, dword [0x4a1e78]
mov eax, pe_nt_image_headers32
call fcn.00405828
mov edx, dword [0x5446e8]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x4197c4]
call fcn.00403be8
mov edx, dword [0x5446fc]
mov dword [edx], eax
mov eax, dword [0x5446fc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409ce8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040eda4
mov edx, dword [ebp - 0x14]
mov eax, 0x548464
mov ecx, 0x53ffcc
call fcn.00404d38
mov eax, dword [0x548464]
call fcn.00409a1c
test al, al
jne 0x53f87f
call sub.kernel32.dll_GetACP
mov ebx, eax
push 0x2a
call sub.user32.dll_GetSystemMetrics
test eax, eax
jle 0x53f775
cmp ebx, 0x3a8
jne 0x53f775
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409ce8
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov ecx, 0x53ffe0
call fcn.00404d38
mov eax, dword [0x5443b8]
mov byte [eax], 0
jmp 0x53f916
push 0x2a
call sub.user32.dll_GetSystemMetrics
test eax, eax
jle 0x53f7c1
cmp ebx, 0x3b6
jne 0x53f7c1
mov eax, dword [0x5443b8]
mov byte [eax], 0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00409ce8
mov edx, dword [ebp - 0x28]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov ecx, 0x53fffc
call fcn.00404d38
jmp 0x53f916
cmp ebx, 0x3a4
jne 0x53f802
mov eax, dword [0x5443b8]
mov byte [eax], 0
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00409ce8
mov edx, dword [ebp - 0x30]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov ecx, 0x540018
call fcn.00404d38
jmp 0x53f916
mov eax, dword [0x5443b8]
mov byte [eax], 1
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00409ce8
mov edx, dword [ebp - 0x38]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov ecx, 0x540034
call fcn.00404d38
call sub.kernel32.dll_GetSystemDefaultLCID
sub eax, 0x407
jne 0x53f916
mov eax, dword [0x5443b8]
mov byte [eax], 0
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00409ce8
mov edx, dword [ebp - 0x40]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov ecx, 0x540050
call fcn.00404d38
jmp 0x53f916
mov ecx, dword [0x548464]
mov dl, 1
mov eax, dword [0x4403c0]
call fcn.00440470
mov ebx, eax
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x54006c
mov edx, 0x540080
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
mov eax, 0x548468
call fcn.00404a80
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00409ce8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040eda4
push dword [ebp - 0x4c]
push 0x540090
push dword [0x548468]
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
mov edx, 3
call fcn.00404dac
mov edx, 0x5400a4
mov eax, dword [0x548468]
call fcn.00408fe0
mov edx, dword [0x5443b8]
mov byte [edx], al
mov eax, ebx
call fcn.00403c18
mov eax, dword [0x5446e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.00409a1c
test al, al
je 0x53f96c
mov eax, dword [0x5443b8]
cmp byte [eax], 0
jne 0x53f96c
mov eax, dword [0x5446e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
mov dl, 1
mov eax, dword [0x4403c0]
call fcn.00440470
mov edx, dword [0x544560]
mov dword [edx], eax
mov ecx, dword [0x5446fc]
mov ecx, dword [ecx]
mov eax, dword [0x544560]
mov eax, dword [eax]
mov edx, 0x5400b8
mov ebx, dword [eax]
call dword [ebx + 0x48]
jmp 0x53f983
mov eax, dword [0x5446e8]
mov eax, dword [eax]
add eax, 0x54
call fcn.00404a2c
mov eax, dword [0x5443b8]
mov byte [eax], 1
mov eax, dword [0x54471c]
cmp dword [eax], 2
jne 0x53f9dc
call fcn.004d5bd0
test al, al
jne 0x53f9dc
lea ecx, [ebp - 0x58]
mov edx, 0x5400c8
mov eax, 0x5400b8
call fcn.00510c34
mov edx, dword [ebp - 0x58]
mov eax, 0x548460
call fcn.00404a80
push 0x10
push 0x5400d0
mov eax, dword [0x548460]
call fcn.00404eec
push eax
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x53ff8a
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.00402b68
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00409ce8
mov edx, dword [ebp - 0x5c]
mov eax, 0x54845c
call fcn.00404a80
lea edx, [ebp - 0x64]
mov eax, dword [0x54845c]
call fcn.0040eda4
mov edx, dword [ebp - 0x64]
mov eax, 0x54845c
mov ecx, 0x5400e0
call fcn.00404d38
mov eax, dword [0x54845c]
call fcn.00409a1c
test al, al
jne 0x53fa90
lea ecx, [ebp - 0x68]
mov edx, 0x5400f4
mov eax, 0x5400b8
call fcn.00510c34
push dword [ebp - 0x68]
push 0x540104
lea ecx, [ebp - 0x6c]
mov edx, 0x540110
mov eax, 0x5400b8
call fcn.00510c34
push dword [ebp - 0x6c]
mov eax, 0x548460
mov edx, 3
call fcn.00404dac
push 0x30
push 0x540118
mov eax, dword [0x548460]
call fcn.00404eec
push eax
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x53ff8a
xor edx, edx
mov al, 2
call fcn.00407ac0
mov ebx, eax
push 0x54847c
push ebx
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x53facb
push 0x10
push 0x540118
push 0x540124
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x53ff8a
mov ecx, dword [0x54447c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4ce018]
call fcn.00498d88
mov edx, dword [0x5441b8]
mov dword [edx], eax
call fcn.00402bc8
push 0x54846c
mov ecx, 0x548470
mov edx, 0x543fe4
mov eax, 0x54845c
call fcn.004d019c
test al, al
jne 0x53fba2
lea ecx, [ebp - 0x70]
mov edx, 0x540170
mov eax, 0x5400b8
call fcn.00510c34
mov edx, dword [ebp - 0x70]
mov eax, 0x548460
call fcn.00404a80
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x328]
mov dl, 1
call fcn.0047fd38
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x310]
xor edx, edx
call fcn.0047fd38
cmp dword [0x548460], 0
je 0x53fb75
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
mov edx, dword [0x548460]
call fcn.0047fe48
mov eax, 0x64
call fcn.00403274
imul eax
mov ecx, 0xa
cdq
idiv ecx
add edx, 0x1e
jno 0x53fb93
call fcn.00403b58
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov dword [eax + 0xc], edx
jmp 0x53fcfe
cmp byte [0x543fe4], 0
jne 0x53fc76
lea ecx, [ebp - 0x74]
mov edx, 0x540180
mov eax, 0x5400b8
call fcn.00510c34
mov edx, dword [ebp - 0x74]
mov eax, 0x548460
call fcn.00404a80
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x328]
mov dl, 1
call fcn.0047fd38
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x310]
xor edx, edx
call fcn.0047fd38
cmp dword [0x548460], 0
je 0x53fc33
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x54846c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, dword [0x548460]
call fcn.0040a674
mov edx, dword [ebp - 0x78]
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
call fcn.0047fe48
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
mov edx, dword [0x54846c]
mov dword [eax + 0xc], edx
mov eax, 0x64
call fcn.00403274
imul eax
mov ecx, 0xa
cdq
idiv ecx
add edx, 0x14
jno 0x53fc67
call fcn.00403b58
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov dword [eax + 0xc], edx
jmp 0x53fcfe
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x328]
xor edx, edx
call fcn.0047fd38
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x310]
mov dl, 1
call fcn.0047fd38
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
mov edx, dword [0x54845c]
call fcn.0047fe48
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, 0x64
call fcn.00403274
imul eax
mov ecx, 0xa
cdq
idiv ecx
add edx, 0xa
jno 0x53fce6
call fcn.00403b58
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov dword [eax + 0xc], edx
cmp byte [0x548470], 0
je 0x53fcfe
call fcn.004048b8
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0xc], 0
je 0x53fe42
mov eax, 0x105
call fcn.004027e0
mov dword [0x548478], eax
xor eax, eax
push ebp
push 0x53fd8c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
mov eax, dword [0x548478]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x88]
mov edx, dword [0x548478]
call fcn.00404c24
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00409114
mov edx, dword [ebp - 0x84]
mov eax, 0x548474
call fcn.00404a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fd93
mov eax, dword [0x548478]
call fcn.00402800
ret
call fcn.00402b08
test eax, eax
jle 0x53ff0f
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x53ff0f
mov eax, dword [0x5441b8]
mov eax, ecx
mov ecx, 0xa
cdq
idiv ecx
dec eax
sub eax, 2
jae 0x53ff0f
lea edx, [ebp - 0x94]
mov eax, 1
call fcn.00402b68
mov edx, dword [ebp - 0x94]
mov eax, 0x54019c
call fcn.00408fe0
test al, al
je 0x53febf
call fcn.004da0e0
test al, al
je 0x53feb8
mov eax, dword [0x54447c]
mov eax, dword [eax]
call fcn.004a086c
jmp 0x53ff8a
call fcn.004da9d8
jmp 0x53ff0f
lea edx, [ebp - 0x98]
mov eax, 1
call fcn.00402b68
mov eax, dword [ebp - 0x98]
mov edx, 0x5401ac
call fcn.00404e38
jne 0x53ff0f
push 1
push 0
push 0
push 0x5401b0
push 0x5401c0
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x54447c]
mov eax, dword [eax]
call fcn.004a086c
jmp 0x53ff8a
mov ecx, dword [0x5441a0]
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov edx, dword [0x51f498]
call fcn.004a0700
mov eax, dword [0x5441b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
mov dl, 1
call fcn.0043ac34
call fcn.00402b08
dec eax
jne 0x53ff7e
lea edx, [ebp - 0x9c]
mov eax, 1
call fcn.00402b68
mov eax, dword [ebp - 0x9c]
mov edx, 0x5401d0
call fcn.00408fe0
test al, al
je 0x53ff7e
mov eax, dword [0x54447c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5441a0]
mov eax, dword [eax]
call fcn.00537074
mov eax, dword [0x54447c]
mov eax, dword [eax]
call fcn.004a0780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ffbc
lea eax, [ebp - 0x9c]
mov edx, 7
call fcn.00404a50
lea eax, [ebp - 0x78]
mov edx, 0x1a
call fcn.00404a50
ret