Function at 0x415200
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba0a
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x498e04]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x9c], 0
push 0x63
push 0
lea eax, [ebp - 0x9b]
push eax
call fcn.00449d00
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00418580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00418580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00418580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004166d0
mov byte [ebp - 4], 3
call fcn.0041b210
test eax, eax
je 0x4152ad
push 0
push 1
push 1
push str.SOFTWAREWow6432NodeDr.SoftNetClient5
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xf8]
call fcn.00416740
mov dword [ebp - 0xd4], eax
jmp 0x4152ce
push 0
push 1
push 1
push str.SOFTWAREDr.SoftNetClient5
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xf8]
call fcn.00416740
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x415318
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
push str.n5iclient
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00416810
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x268]
call fcn.00418800
push eax
lea ecx, [ebp - 0xb8]
call fcn.00418b10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
call fcn.004186d0
push str.n5iclient_filter
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00416810
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x270]
call fcn.00418800
push eax
lea ecx, [ebp - 0x28]
call fcn.00418b10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.004186d0
lea ecx, [ebp - 0xf8]
call fcn.004167e0
lea ecx, [ebp - 0xb8]
call fcn.00418810
push eax
call fcn.00449da0
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 8]
jge 0x415426
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
call fcn.0041af60
test eax, eax
jne 0x415485
mov eax, dword [0x49a3e0]
push eax
lea ecx, [ebp - 0x254]
push ecx
call fcn.00419e80
add esp, 8
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x278]
call fcn.00418800
push eax
lea ecx, [ebp - 0xd0]
call fcn.00418b10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.004186d0
jmp 0x415510
mov byte [ebp - 0x20c], 0
push 0xff
push 0
lea eax, [ebp - 0x20b]
push eax
call fcn.00449d00
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x20c]
push ecx
push str.ALLUSERSPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x4154fe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00418b10
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x102]
push ecx
movzx edx, word [ebp - 0x106]
push edx
movzx eax, word [ebp - 0x108]
push eax
push str.n5iclient
push str._s__4.4d_2.2d_2.2d.log
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00415a20
add esp, 0x18
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00419440
push 0x4844b4
lea ecx, [ebp - 0xd0]
call fcn.00418810
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044e27b
add esp, 0xc
test eax, eax
je 0x4155c2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx ecx, word [ebp - 0xfc]
push ecx
movzx edx, word [ebp - 0xfe]
push edx
movzx eax, word [ebp - 0x100]
push eax
movzx ecx, word [ebp - 0x102]
push ecx
movzx edx, word [ebp - 0x106]
push edx
movzx eax, word [ebp - 0x108]
push eax
push str._4.4d_2.2d_2.2d__2.2d_2.2d_2.2d__u_
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00415a20
add esp, 0x24
lea edx, [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044e140
add esp, 8
add eax, 1
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00448fa1
add esp, 4
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x415697
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
mov ecx, dword [ebp - 0xa0]
push ecx
push 0
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00449d00
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0044b77d
add esp, 0x10
mov dword [ebp - 0x2c], 0
push 0x48e349
lea ecx, [ebp - 0x28]
call fcn.00418e00
test eax, eax
je 0x415776
lea ecx, [ebp - 0x28]
call fcn.00418810
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.0040c2b0
add esp, 8
test eax, eax
jne 0x415776
cmp dword [ebp - 0x10c], 0
je 0x415729
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0044a9ac
add esp, 4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044dfdc
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
jmp 0x415801
mov edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0x9c]
push eax
push str.__s__s
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044dd9d
add esp, 0x10
cmp dword [ebp - 0x10c], 0
je 0x4157b9
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.0044a9ac
add esp, 4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044dfdc
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00417ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004186d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004186d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00449ce2
mov esp, ebp
pop ebp
ret