Function at 0x4754c0
Capabilities:
Get hostname
Get session user name
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51242d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x5594e8]
xor eax, dword [ebp + 4]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebx], fcn.00475270
lea esi, [ebx + 4]
call fcn.004fd868
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.CI3Xmas
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00402110
push str..log
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.0041b800
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041f9b0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475565
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b8c0
push str.CI3Xmas.cfg
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 3
call fcn.0041b800
mov edx, dword [eax]
add esp, 0x10
mov ecx, ebx
call fcn.00475270
push edx
push 0x100
lea edx, [ebp - 0x12c]
push edx
lea edi, [eax + 4]
mov eax, dword [edi]
push 0x5245f0
push str.logFilename
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4755f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475612
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x47563a
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x475622
sub eax, edx
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, esi
call fcn.00401ee0
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041b8c0
push str.CI3Xmas.cfg
push eax
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 4
call fcn.0041b800
mov eax, dword [eax]
mov ecx, dword [esi]
mov edi, dword [edi]
add esp, 0x10
push eax
push ecx
push str.logFilename
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47568a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4756ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x22c]
mov edi, 0x100
push ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x14
call fcn.004fd765
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x475702
mov esi, dword [esi]
push 0x1041
push esi
call fcn.004ff25e
jmp 0x475704
xor eax, eax
push str.3.20
push str.CI3Xmas
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Application:__s_version__s
mov byte [ebp - 4], 5
mov dword [ebx + 8], eax
call fcn.00402110
push ebx
call fcn.00475320
mov ecx, dword [0x55f42c]
add esp, 0x10
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x22c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Executing__s___s___s
call fcn.00402110
push ebx
call fcn.00475320
add esp, 0x14
push 0
call fcn.004ee0a5
add esp, 4
push 0x530284
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call fcn.00475430
mov edx, dword [eax]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Log_date:__s
mov byte [ebp - 4], 7
call fcn.00402110
push ebx
call fcn.00475320
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4757d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4757d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp + 4]
mov eax, ebx
call fcn.004ecf23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret