Function at 0x479800
Capabilities:
Check for sandbox username or hostname
Get common file path
Get session user name

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f46d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x458
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x464], 0x730ad8
mov dword [0x730ad8], 0x64a5ac
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x47986a
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730adc], eax
mov dword [ebp - 4], 0
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479895
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730ae0], eax
mov byte [ebp - 4], 1
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4798bd
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730ae4], eax
mov byte [ebp - 4], 2
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4798e5
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730ae8], eax
mov byte [ebp - 4], 3
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x47990d
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730aec], eax
mov byte [ebp - 4], 4
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479935
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730af0], eax
mov byte [ebp - 4], 5
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x47995d
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730af4], eax
mov byte [ebp - 4], 6
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479985
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730af8], eax
mov byte [ebp - 4], 7
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4799ad
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730afc], eax
mov byte [ebp - 4], 8
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4799d5
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730b04], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 9
mov ecx, 0x730b10
movlpd qword [0x730b08], xmm0
call fcn.004a063b
mov byte [ebp - 4], 0xa
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479a16
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730b24], eax
mov byte [ebp - 4], 0xb
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479a3e
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730b28], eax
mov byte [ebp - 4], 0xc
mov dword [0x730b2c], 0
mov dword [0x730b30], 0
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x479a7a
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x730b34], eax
push 0
push 0x63ca44
mov ecx, 0x730afc
mov byte [ebp - 4], 0xd
call fcn.004049c0
push 0x730afc
mov ecx, 0x730af8
call fcn.00404270
push 0x730af8
mov ecx, 0x730af4
call fcn.00404270
push 0x730af4
mov ecx, 0x730af0
call fcn.00404270
push 0x730af0
mov ecx, 0x730aec
call fcn.00404270
push 0x730aec
mov ecx, 0x730ae8
call fcn.00404270
push 0x730ae8
mov ecx, 0x730ae4
call fcn.00404270
push 0x730ae4
mov ecx, 0x730ae0
call fcn.00404270
push 0x730ae0
mov ecx, 0x730adc
call fcn.00404270
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x430], 0
push eax
lea ecx, [ebp - 0x430]
call fcn.00404b00
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x430]
lea edx, [ebp - 0x450]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.004796e0
add esp, 0xc
test al, al
je 0x479bbf
movzx eax, word [ebp - 0x460]
push eax
movzx eax, word [ebp - 0x45c]
push eax
movzx eax, word [ebp - 0x458]
push eax
movzx eax, word [ebp - 0x450]
push eax
push 0x64a0cc
push 0x730ae4
call fcn.00404790
add esp, 0x18
push 0x5c
push dword [ebp - 0x430]
call fcn.005c6644
add esp, 8
test eax, eax
jne 0x479bd8
or eax, 0xffffffff
jmp 0x479be0
sub eax, dword [ebp - 0x430]
sar eax, 1
inc eax
lea ecx, [ebp - 0x430]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00409eb0
push eax
mov ecx, 0x730adc
mov byte [ebp - 4], 0xf
call fcn.00404270
mov byte [ebp - 4], 0xe
or esi, 0xffffffff
mov edx, dword [ebp - 0x450]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479c27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push dword [ebp - 0x430]
call fcn.005c6644
add esp, 8
test eax, eax
jne 0x479c40
or eax, 0xffffffff
jmp 0x479c48
sub eax, dword [ebp - 0x430]
sar eax, 1
inc eax
lea ecx, [ebp - 0x430]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004122d0
push eax
mov ecx, 0x730ae0
mov byte [ebp - 4], 0x10
call fcn.00404270
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479c8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005c7190
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x220]
add esp, 0xc
push 0
push 0x1c
push eax
push 0
call edi
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479cc0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, 0x730ae8
call fcn.004049c0
push 0x63d128
lea eax, [ebp - 0x450]
push 0x730ae8
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730ae8
mov byte [ebp - 4], 0x11
call fcn.00404270
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479d2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Kakao
lea eax, [ebp - 0x460]
push 0x730ae8
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d128
push eax
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 0x12
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d060
push eax
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0x13
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d128
push eax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x14
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730aec
mov byte [ebp - 4], 0x15
call fcn.00404270
mov byte [ebp - 4], 0x14
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479dbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov eax, esi
mov edx, dword [ebp - 0x458]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479ddf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov eax, esi
mov edx, dword [ebp - 0x45c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479e00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x460]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.down
lea eax, [ebp - 0x458]
push 0x730aec
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d128
push eax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x16
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730af0
mov byte [ebp - 4], 0x17
call fcn.00404270
mov byte [ebp - 4], 0x16
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479e83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x458]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479ea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x27
push eax
push 0
call edi
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479ed2
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, 0x730af4
call fcn.004049c0
push 0x63d128
lea eax, [ebp - 0x45c]
push 0x730af4
push eax
call fcn.0040a7c0
add esp, 0xc
push str.Game_Icon
push eax
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0x18
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d128
push eax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x19
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730af4
mov byte [ebp - 4], 0x1a
call fcn.00404270
mov byte [ebp - 4], 0x19
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479f6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, esi
mov edx, dword [ebp - 0x458]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479f8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x45c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479fb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x23
push eax
push 0
call edi
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479fe0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, 0x730af8
call fcn.004049c0
push 0x63d128
lea eax, [ebp - 0x45c]
push 0x730af8
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d060
push eax
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0040a7c0
add esp, 0xc
push 0x63d128
push eax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x1c
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730af8
mov byte [ebp - 4], 0x1d
call fcn.00404270
mov byte [ebp - 4], 0x1c
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a07c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, esi
mov edx, dword [ebp - 0x458]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a09d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x45c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a0be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0
push eax
push 0
call edi
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a0f0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, 0x730afc
call fcn.004049c0
push 0x63d128
lea eax, [ebp - 0x450]
push 0x730afc
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, 0x730afc
mov byte [ebp - 4], 0x1e
call fcn.00404270
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a15a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x454]
call fcn.0040e930
push 0x63ca44
mov ecx, dword [eax]
mov dword [0x730b08], ecx
add ecx, 0xfffffff6
mov eax, dword [eax + 4]
mov dword [0x730b08], ecx
adc eax, 0xffffffff
lea ecx, [ebp - 0x42c]
mov dword [0x730b0c], eax
mov dword [0x730b00], 0
mov dword [ebp - 0x42c], 0
call fcn.00404b00
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x44c]
movq qword [ebp - 0x43c], xmm0
movups xmmword [ebp - 0x44c], xmm0
call fcn.004901ea
push str.server_type.ini
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x20
push 0x730aec
push eax
call fcn.0040a7c0
add esp, 0xc
push 0
push 0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x44c]
push dword [eax]
call fcn.004905c1
mov byte [ebp - 4], 0x20
mov edi, eax
mov edx, dword [ebp - 0x450]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x47a21b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x47a231
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x44c]
call fcn.0049074e
lea ecx, [ebp - 0x42c]
call fcn.00418c10
mov ecx, eax
call fcn.00418b60
mov eax, dword [ebp - 0x42c]
mov edi, dword [eax - 0xc]
test edi, edi
jns 0x47a25a
push 0x80070057
call fcn.004050a0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x47a27d
push edi
lea ecx, [ebp - 0x42c]
call fcn.00404e70
mov eax, dword [ebp - 0x42c]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.005cdfbb
mov eax, dword [ebp - 0x42c]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x47a250
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x42c]
mov edx, 0x63e698
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x42c]
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x47a2d7
test di, di
je 0x47a2d3
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x47a2d7
add ecx, 4
add edx, 4
test di, di
jne 0x47a2b1
xor ecx, ecx
jmp 0x47a2dc
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x47a2ef
mov ecx, 1
jmp 0x47a372
mov ecx, 0x63e6dc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a31a
test dx, dx
je 0x47a316
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a31a
add eax, 4
add ecx, 4
test dx, dx
jne 0x47a2f4
xor eax, eax
jmp 0x47a31f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x47a32f
mov ecx, 2
jmp 0x47a372
lea eax, [ebp - 0x42c]
push eax
push 0x63e72c
call fcn.00409e50
add esp, 8
test al, al
je 0x47a34e
mov ecx, 3
jmp 0x47a372
lea eax, [ebp - 0x42c]
push eax
push str.local
call fcn.00409e50
mov ecx, dword [0x730b00]
add esp, 8
test al, al
mov edx, 4
cmovne ecx, edx
mov dword [0x730b00], ecx
cmp ecx, 4
ja case.default.0x47a381
jmp dword [ecx*4 + 0x47a590]
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.00404ab0
push str.https:__starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.00404ab0
push str.https:__starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.00404ab0
jmp 0x47a4af
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.00404ab0
push str.https:__beta.starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.00404ab0
push str.https:__beta.starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.00404ab0
jmp 0x47a4af
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.00404ab0
push str.https:__sandbox.starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.00404ab0
push str.https:__sandbox.starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.00404ab0
jmp 0x47a4af
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.00404ab0
push str.https:__alpha.starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.00404ab0
push str.https:__alpha.starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.00404ab0
jmp 0x47a4af
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.00404ab0
push str.https:__local.starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.00404ab0
push str.http:__local.starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.00404ab0
jmp 0x47a4af
push 0x24
push str.http:__cafe.daum.net_starplayservice
mov ecx, 0x730b04
call fcn.004049c0
push 0x20
push str.https:__starplay.game_couponbox_
mov ecx, 0x730b24
call fcn.004049c0
push 0x32
push str.https:__starplay.game_bridge_star_app_player_login
mov ecx, 0x730b28
call fcn.004049c0
push 0x208
lea eax, [ebp - 0x428]
mov dword [0x730b2c], 0x17c
push 0
push eax
mov dword [0x730b30], 0x208
call fcn.005c7190
add esp, 0xc
mov dword [ebp - 0x434], 0x208
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a500
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
mov ecx, 0x730b34
call fcn.004049c0
lea ecx, [ebp - 0x44c]
call fcn.0049021f
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a54d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x430]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47a56c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x730ad8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret