Function at 0x10040fd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028094d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
mov dword [ebp - 0x19c], ecx
movzx eax, byte [0x10c387c8]
test eax, eax
jne 0x10041004
jmp 0x10041c52
lea ecx, [ebp - 0x18]
call fcn.100238c0
lea ecx, [ebp - 0x20]
call fcn.100238c0
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x138]
call eax
mov dword [ebp - 0x1a0], eax
push str.juiceware.fun_
lea ecx, [ebp - 0x158]
call fcn.10022ec0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x454]
push ecx
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push eax
lea ecx, [ebp - 0x158]
call fcn.1003ac10
nop
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x68]
call edx
movzx eax, al
test eax, eax
je 0x1004122a
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x138]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10041228
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x24], eax
push 0x102b0cd0
mov ecx, dword [ebp - 0x24]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100410ef
mov dword [ebp - 0x24], str.local_server
jmp 0x1004110e
mov ecx, 0x10cf43e0
call fcn.1021dd80
mov ecx, eax
call fcn.10035920
movzx edx, byte [eax]
test edx, edx
je 0x1004110e
mov dword [ebp - 0x24], str.valve_server
mov ecx, 0x10cf43e0
call fcn.1021de10
movss xmm0, dword [0x102a9ea4]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
push eax
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.10040fa0
add esp, 8
mov byte [ebp - 4], 1
push 0x102b0cfc
lea ecx, [ebp - 0x158]
call fcn.100251d0
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x158]
call fcn.100251d0
nop
push 0x102b0d00
mov eax, dword [0x10cf44e4]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.10040fa0
add esp, 8
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x134]
push eax
push 0x102b0d04
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.1001fcc0
add esp, 0xc
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x158]
call fcn.100251b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b8]
call fcn.10006830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2d0]
call fcn.10006830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.10006830
nop
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
call fcn.10006830
nop
jmp 0x1004123b
push str.__no_connection
lea ecx, [ebp - 0x158]
call fcn.100251d0
nop
push str._fps
mov ecx, dword [0x10cf44e0]
push ecx
lea edx, [ebp - 0x330]
push edx
call fcn.10040fa0
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
push ecx
push 0x102b0d24
lea edx, [ebp - 0x318]
push edx
call fcn.1001fcc0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x300]
push edx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x158]
call fcn.100251b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x300]
call fcn.10006830
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x318]
call fcn.10006830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.10006830
nop
call fcn.10030220
mov edx, dword [eax + 0x14]
push edx
call fcn.100d76d0
movss xmm0, dword [0x102a9ee4]
movss dword [esp], xmm0
push 0
push 0
lea ecx, [ebp - 0x158]
call fcn.10007400
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100c9f60
add esp, 0x14
call fcn.100d7340
nop
movzx ecx, byte [0x10c6f850]
test ecx, ecx
je 0x10041339
mov dword [ebp - 0x38], 0x18
jmp 0x10041340
mov dword [ebp - 0x38], 0xe
cvtsi2ss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp - 0x13c]
push ecx
movss xmm1, dword [0x102aa858]
movss dword [esp], xmm1
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x260]
call fcn.10023890
push 0
push eax
call fcn.100dada0
add esp, 8
movzx edx, byte [0x10313551]
test edx, edx
je 0x10041389
mov byte [0x10313551], 0
movzx eax, byte [0x10313551]
test eax, eax
je 0x100413f0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x270]
call fcn.10023890
mov dword [ebp - 0x74], eax
push ecx
movss xmm0, dword [0x102aa868]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x102aa868]
movss dword [esp], xmm0
lea ecx, [ebp - 0x278]
call fcn.10023890
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov edx, dword [ebp - 0x78]
push edx
call fcn.100dace0
add esp, 0xc
push 0xc20ab
push 0
push str.wwwwwwww
call fcn.100c5b00
add esp, 0xc
call fcn.100cf0f0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x280]
push eax
call fcn.100cf130
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x288]
push eax
call fcn.100cf170
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.10030220
mov eax, dword [eax + 0x14]
push eax
call fcn.100d76d0
add esp, 4
push 0
push ecx
movss xmm0, dword [0x102b1504]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
lea ecx, [ebp - 0x1a8]
call fcn.10023890
push eax
call fcn.100db3e0
add esp, 8
push 0x32
push 0x27
push 0x27
push 0x27
lea ecx, [ebp - 0x350]
call fcn.100237e0
mov ecx, eax
call fcn.10024cc0
mov dword [ebp - 0x7c], eax
push ecx
movss xmm0, dword [0x102b14fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
lea ecx, [ebp - 0x1b0]
call fcn.10023890
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x80], eax
push 0xf
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.100e2270
nop
push 0xff
push 0x27
push 0x27
push 0x27
lea ecx, [ebp - 0x168]
call fcn.100237e0
push 0x8c
push 0x27
push 0x27
push 0x27
lea ecx, [ebp - 0x4c]
call fcn.100237e0
nop
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x168]
call fcn.10024cc0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x168]
call fcn.10024cc0
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0x90], eax
push ecx
movss xmm0, dword [0x102aa858]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x1c0]
call fcn.10023890
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
lea ecx, [ebp - 0x168]
call fcn.10024cc0
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x168]
call fcn.10024cc0
mov dword [ebp - 0xa4], eax
push ecx
movss xmm0, dword [0x102aa858]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
lea ecx, [ebp - 0x1d0]
call fcn.10023890
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0xa8], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x1e0]
call fcn.10023890
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1e8]
push edx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
push 0xff
push 0x27
push 0x27
push 0x27
lea ecx, [ebp - 0x178]
call fcn.100237e0
nop
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x178]
call fcn.10024cc0
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x178]
call fcn.10024cc0
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0xbc], eax
push ecx
movss xmm0, dword [0x102aa858]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x1f0]
call fcn.10023890
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
lea ecx, [ebp - 0x178]
call fcn.10024cc0
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x4c]
call fcn.10024cc0
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x178]
call fcn.10024cc0
mov dword [ebp - 0xd0], eax
push ecx
movss xmm0, dword [0x102aa858]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
lea ecx, [ebp - 0x268]
call fcn.10023890
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0xd4], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x208]
call fcn.10023890
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
mov ecx, 0x10c387bd
call fcn.1000ff00
mov dword [ebp - 0xdc], eax
mov ecx, 0x10c387bd
call fcn.10011060
mov dword [ebp - 0xe0], eax
mov ecx, 0x10c387bd
call fcn.100128a0
mov dword [ebp - 0xe4], eax
push 0xff
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x198]
call fcn.100237e0
mov ecx, 0x10c387bd
call fcn.1000ff00
mov dword [ebp - 0xe8], eax
mov ecx, 0x10c387bd
call fcn.10011060
mov dword [ebp - 0xec], eax
mov ecx, 0x10c387bd
call fcn.100128a0
mov dword [ebp - 0xf0], eax
push 0xff
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x188]
call fcn.100237e0
nop
lea ecx, [ebp - 0x188]
call fcn.10024cc0
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x198]
call fcn.10024cc0
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x198]
call fcn.10024cc0
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x188]
call fcn.10024cc0
mov dword [ebp - 0x100], eax
push ecx
movss xmm0, dword [0x102a9eb8]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x218]
call fcn.10023890
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
lea ecx, [ebp - 0x198]
call fcn.10024cc0
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x188]
call fcn.10024cc0
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x188]
call fcn.10024cc0
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x198]
call fcn.10024cc0
mov dword [ebp - 0x114], eax
push ecx
movss xmm0, dword [0x102a9eb8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
lea ecx, [ebp - 0x228]
call fcn.10023890
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x118], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, dword [0x102a9eb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x238]
call fcn.10023890
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.100e22f0
nop
lea ecx, [ebp - 0x158]
call fcn.10007400
mov dword [ebp - 0x124], eax
push 0xe6
push 0xfa
push 0xfa
push 0xfa
lea ecx, [ebp - 0x340]
call fcn.100237e0
mov ecx, eax
call fcn.10024cc0
mov dword [ebp - 0x128], eax
movss xmm0, dword [ebp - 0x138]
divss xmm0, dword [0x102a9eb8]
movss xmm1, dword [0x102ab3ec]
subss xmm1, xmm0
movss dword [ebp - 0x120], xmm1
movzx eax, byte [0x10c6f850]
test eax, eax
je 0x10041b5c
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [0x102ab3ec]
movss dword [ebp - 0x3c], xmm0
jmp 0x10041b66
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x3c]
divss xmm0, dword [0x102a9eb8]
movss xmm1, dword [ebp - 0x13c]
divss xmm1, dword [0x102a9eb8]
subss xmm0, xmm1
push ecx
movss xmm1, dword [ebp - 0x120]
movss dword [esp], xmm1
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x248]
call fcn.10023890
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.1003aa50
add esp, 0xc
mov dword [ebp - 0x12c], eax
push 0
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.100e2430
nop
push ecx
movss xmm0, dword [0x102aa844]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [0x102aa854]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x258]
call fcn.10023890
push eax
call fcn.100da460
add esp, 4
movzx eax, byte [0x10c6f850]
test eax, eax
je 0x10041c3a
push 0
push 0
push 0
push 0
push str.Swatermark_sett
push 0x102b0d44
call fcn.1003d610
add esp, 0x18
call fcn.100cbb80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10006830
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret