Function at 0x4bb1a2
Capabilities:
Check if file exists
Get file attributes
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x97c
mov dword [ebp - 0x988], ecx
lea ecx, [ebp - 0x97c]
call fcn.00566717
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0x40
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x968]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x40c
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0054c7e0
add esp, 0xc
cmp dword [0x5edf58], 0
jne 0x4bb247
cmp dword [ebp - 0x410], 0
jne 0x4bb247
mov dword [ebp - 0x980], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x97c]
call fcn.0056676c
mov eax, dword [ebp - 0x980]
jmp 0x4bb47a
mov ecx, dword [ebp - 0x410]
neg ecx
sbb ecx, ecx
and ecx, str.SNLOGFile
push ecx
push 0x6785ac
mov ecx, dword [ebp - 0x988]
call fcn.004bba7c
mov dword [ebp - 0x96c], 0
mov dword [ebp - 0x928], 0x41
lea edx, [ebp - 0x520]
push edx
call fcn.00529440
add esp, 4
cmp dword [ebp - 0x410], 0
jne 0x4bb2c0
mov eax, dword [ebp - 0x418]
push eax
push 0x5edec4
push 0x5eded4
push 0x5edec4
push str.DBFile_s_s__s__d.log
lea ecx, [ebp - 0x920]
push ecx
call fcn.0054c6e3
add esp, 0x18
jmp 0x4bb2e0
push 0x5edec4
lea edx, [ebp - 0x968]
push edx
push str.SNLOGFile_s__s.Log
lea eax, [ebp - 0x920]
push eax
call fcn.0054c6e3
add esp, 0x10
lea ecx, [ebp - 0x920]
push ecx
lea edx, [ebp - 0x520]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4bb317
mov ecx, dword [ebp - 0x928]
or ch, 0x10
mov dword [ebp - 0x928], ecx
mov dword [ebp - 0x924], 0
jmp 0x4bb332
mov edx, dword [ebp - 0x924]
add edx, 1
mov dword [ebp - 0x924], edx
cmp dword [ebp - 0x924], 5
jge 0x4bb456
push 0
mov eax, dword [ebp - 0x928]
push eax
lea ecx, [ebp - 0x520]
push ecx
lea ecx, [ebp - 0x97c]
call fcn.00566829
test eax, eax
je 0x4bb446
lea ecx, [ebp - 0x97c]
call fcn.0044d1c0
cmp dword [ebp - 0x414], 1
jne 0x4bb3cf
push 0x5c5d9c
lea edx, [ebp - 0x40c]
push edx
call fcn.0054cb20
add esp, 8
test eax, eax
je 0x4bb3b2
lea eax, [ebp - 0x40c]
push eax
mov ecx, dword [ebp - 0x414]
push ecx
push 0x5c5da0
lea edx, [ebp - 0x920]
push edx
call fcn.0054c6e3
add esp, 0x10
jmp 0x4bb3cd
lea eax, [ebp - 0x40c]
push eax
push 0x5c5da8
lea ecx, [ebp - 0x920]
push ecx
call fcn.0054c6e3
add esp, 0xc
jmp 0x4bb417
cmp dword [ebp - 0x410], 0
jne 0x4bb3fc
lea edx, [ebp - 0x40c]
push edx
mov eax, dword [ebp - 0x414]
push eax
push str._r_n_d_s
lea ecx, [ebp - 0x920]
push ecx
call fcn.0054c6e3
add esp, 0x10
jmp 0x4bb417
lea edx, [ebp - 0x40c]
push edx
push str._s_r_n
lea eax, [ebp - 0x920]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x920]
push ecx
call fcn.0054ce70
add esp, 4
push eax
lea edx, [ebp - 0x920]
push edx
lea ecx, [ebp - 0x97c]
call fcn.00566980
lea ecx, [ebp - 0x97c]
call fcn.00566a44
jmp 0x4bb456
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4bb323
mov eax, dword [ebp - 0x96c]
mov dword [ebp - 0x984], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x97c]
call fcn.0056676c
mov eax, dword [ebp - 0x984]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8