Function at 0x4823c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a4ae7
mov eax, dword fs:[0]
push eax
mov eax, 0x19c4
call fcn.00515150
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x19c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x19d8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x19e8]
mov edi, dword [esp + 0x19fc]
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x19e0], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
push ebp
mov ecx, edi
lea edx, [esp + 0x30]
mov byte [esp + 0x19e4], 1
call fcn.00483650
test eax, eax
jne 0x4824c6
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x48247a
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x482491
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x34], esi
mov dword [esp + 0x19e0], 0xffffffff
mov eax, dword [esp + 0x19ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4824bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x483308
lea ecx, [esp + 0x44]
push ecx
call fcn.0048dda0
mov byte [esp + 0x19e0], 2
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x60], eax
mov byte [esp + 0x19e0], 3
cmp dword [ebx], 4
jae 0x482acb
mov ebx, dword [esp + 0x5c]
jmp 0x482510
mov ecx, dword [ebx]
mov ecx, dword [ecx*4 + 0x623a80]
lea edx, [esp + 0x28]
push edx
xor ebp, ebp
call fcn.004066b0
mov byte [esp + 0x19e0], 4
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], ebp
jl 0x4825c6
push str._data_local_tmp
push eax
call fcn.004f7373
add esp, 8
cmp eax, ebp
je 0x4825c6
mov edi, dword [esp + 0x28]
sub eax, edi
sar eax, 1
js 0x4825c6
push 0x640
lea eax, [esp + 0xd58]
push ebp
push eax
call fcn.004fe380
lea ecx, [esp + 0xd60]
add esp, 0xc
push ecx
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x44], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esi], eax
call fcn.00484320
cmp eax, ebp
jne 0x4825c6
cmp dword [esp + 0xd60], ebp
jne 0x4825c6
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push ebp
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00487580
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x24]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x19f0], 5
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.004073f0
mov ecx, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
call fcn.004868b0
cmp dword [ebx], 2
jl 0x48282b
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x19e0], 6
mov ecx, dword [esp + 0x28]
push ecx
push str.shell:chmod_777__s
lea edi, [esp + 0x20]
call fcn.00407710
add esp, 8
mov edx, edi
push edx
mov eax, 1
lea ecx, [esp + 0x94]
call fcn.0042ca60
mov eax, dword [eax]
mov ecx, 0x5d9638
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482696
cmp dx, bp
je 0x482692
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482696
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x482670
xor eax, eax
jmp 0x48269b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
mov eax, dword [esp + 0x90]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4826c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x482715
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
dec eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
call fcn.004098d0
lea edi, [esp + 0x18]
mov byte [esp + 0x19e0], 7
call fcn.00406fe0
mov byte [esp + 0x19e0], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x482715
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
push edi
lea esi, [esp + 0xbc]
call fcn.00490170
mov bl, 8
mov byte [esp + 0x19e0], bl
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
call eax
add eax, 0x10
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x24]
push ecx
push 1
push 0x2710
push 2
lea edx, [esp + 0xb4]
push edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x1a10], 9
mov dword [esp + 0x70], esp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xf0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebp
push eax
xor esi, esi
mov byte [ecx + 4], 0
call fcn.00409ca0
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.004800a0
mov byte [esp + 0x19e0], bl
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4827d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xd0], 0x10
jb 0x4827ed
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004f6734
add esp, 4
add edi, 0xfffffff0
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], ebp
mov byte [esp + 0xbc], 0
mov byte [esp + 0x19e0], 5
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48282b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
push 0x640
lea ecx, [esp + 0xd8]
push ebp
push ecx
call fcn.004fe380
mov eax, dword [esp + 0x34]
add esp, 0xc
lea edx, [esp + 0xd4]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esi], eax
call fcn.00484320
cmp eax, ebp
jne 0x482a5b
cmp dword [esp + 0xe0], 1
jne 0x482a5b
mov eax, dword [esp + 0x28]
push str.360apktmp.apk
push eax
push 0x5d7fec
lea edi, [esp + 0x6c]
call fcn.00407710
mov ecx, dword [esp + 0x1a00]
add esp, 0xc
push 0x640
lea edx, [esp + 0x718]
push ebp
push edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
call fcn.004fe380
mov esi, dword [esp + 0x6c]
add esp, 0xc
lea eax, [esp + 0x714]
push eax
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x48], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [edi], eax
call fcn.00484320
cmp eax, ebp
jne 0x482959
mov eax, dword [esp + 0x720]
cmp eax, ebp
jne 0x482931
mov ecx, dword [esp + 0x24]
push ebp
push ecx
push ecx
mov eax, esi
mov dword [esp + 0x4c], esp
mov edi, esp
call fcn.004073f0
mov edx, dword [esp + 0x2c]
push edx
jmp 0x48294f
cmp eax, 1
jne 0x482959
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov eax, esi
mov dword [esp + 0x4c], esp
mov edi, esp
call fcn.004073f0
mov ecx, dword [esp + 0x2c]
push ecx
add eax, 0x10
mov dword [edi], eax
call fcn.00487580
mov edx, dword [esp + 0x1a00]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x1a0c]
mov dword [esp + 0x48], esp
push ecx
mov edx, esp
mov dword [eax + 4], ecx
mov dword [esp + 0x4c], esp
push edx
mov ecx, 0x5d74e0
call fcn.004066b0
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xb0]
push edx
push eax
push ecx
mov byte [esp + 0x1a00], 0xa
mov eax, esi
lea edi, [esp + 0xb4]
lea ebx, [esp + 0x84]
mov dword [esp + 0x38], esp
mov ebp, esp
call fcn.004073f0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1a00], 0xb
mov eax, dword [esp + 0x1a0c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0xb0], esp
mov ebp, esp
call fcn.004073f0
mov ecx, dword [esp + 0x44]
add eax, 0x10
push ecx
mov dword [ebp], eax
mov edx, edi
mov ecx, ebx
mov byte [esp + 0x1a08], 5
call fcn.00486dc0
test eax, eax
je 0x482a5b
push 0x640
lea edx, [esp + 0x1398]
push 0
push edx
call fcn.004fe380
add esp, 0xc
lea eax, [esp + 0x1394]
push eax
push ecx
mov eax, esi
mov dword [esp + 0x94], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [edi], eax
call fcn.00484320
test eax, eax
jne 0x482a5b
cmp dword [esp + 0x13a0], eax
je 0x482bb3
mov ebx, dword [esp + 0x70]
lea edi, [esp + 0x44]
call fcn.0042d130
mov byte [esp + 0x19e0], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482a90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19e0], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482ab8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x5c]
inc dword [ebx]
cmp dword [ebx], 4
jb 0x482510
mov esi, dword [esp + 0x70]
call fcn.00406ae0
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
cmp edi, eax
jbe 0x482ae5
call fcn.004f825e
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x64], ebx
mov ebp, edi
nop
mov edi, eax
cmp dword [esp + 0x50], eax
jbe 0x482afd
call fcn.004f825e
test ebx, ebx
je 0x482b07
cmp ebx, dword [esp + 0x44]
je 0x482b0c
call fcn.004f825e
cmp ebp, edi
je 0x482c84
test ebx, ebx
jne 0x482c76
call fcn.004f825e
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x482b2d
call fcn.004f825e
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00409a20
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x482b5d
mov ecx, edi
mov eax, esi
call fcn.004073a0
mov ecx, dword [esi]
mov edx, 0x7c
mov word [ecx + ebx*2], dx
test edi, edi
jl 0x483020
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x483020
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x482c7d
call fcn.004f825e
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x482ba3
call fcn.004f825e
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
add ebp, 4
jmp 0x482af0
mov byte [esp + 0x19e0], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482bdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19e0], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482c03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ebx, ecx
cmp eax, ecx
jbe 0x482c1e
call fcn.004f825e
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
mov edi, eax
cmp eax, ecx
jbe 0x482c2d
call fcn.004f825e
mov ecx, dword [esp + 0x44]
push ebx
push esi
push edi
push ecx
lea edx, [esp + 0x54]
push edx
lea ebx, [esp + 0x78]
call fcn.0040db20
lea eax, [esp + 0x74]
push eax
call fcn.0048dda0
mov esi, dword [esp + 0x19f0]
mov byte [esp + 0x19e0], 0xc
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], esi
test ecx, ecx
jne 0x482d4e
xor edx, edx
jmp 0x482d5a
mov eax, dword [ebx]
jmp 0x482b23
mov eax, dword [eax]
jmp 0x482b99
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x482c98
mov eax, 0x7c
mov ebx, esi
call fcn.0048da90
mov byte [esp + 0x19e0], 2
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19e0], 1
mov esi, dword [esp + 0x50]
test esi, esi
je 0x482d12
mov eax, dword [esp + 0x54]
mov edi, eax
cmp esi, eax
je 0x482d09
lea ebx, [ebx]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x482ce0
mov esi, dword [esp + 0x50]
push esi
call fcn.004f6734
add esp, 4
mov ecx, dword [esp + 0x44]
xor eax, eax
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.004f6734
mov eax, dword [esp + 0x34]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x48247a
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esp + 0x30]
push edx
jmp 0x482470
mov edx, dword [esp + 0x88]
sub edx, ecx
sar edx, 2
mov eax, dword [esp + 0x84]
mov edi, eax
sub edi, ecx
sar edi, 2
cmp edi, edx
jae 0x482d7a
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x84], eax
jmp 0x482da1
mov edi, eax
cmp ecx, eax
jbe 0x482d85
call fcn.004f825e
mov eax, dword [esp + 0x74]
push edi
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x84]
call fcn.004c1a00
cmp esi, 2
jne 0x482dce
mov eax, dword [esp + 0x20]
cmp dword [eax], 8
jl 0x482dc4
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x74]
mov dword [esp + 0x1c], 1
call fcn.004c1100
mov dword [esp + 0x1c], 0
jmp 0x482e02
test esi, esi
jne 0x482de5
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 8
jl 0x482dfa
mov dword [esp + 0x1c], 1
jmp 0x482ded
mov dword [esp + 0x1c], 0
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x74]
call fcn.004c1100
mov dword [esp + 0x1c], 2
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x74]
call fcn.004c1100
mov edx, dword [esp + 0x84]
sub edx, dword [esp + 0x80]
xor ebp, ebp
mov dword [esp + 0x5c], ebp
test edx, 0xfffffffc
jle 0x482fff
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x19e0], 0xd
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
sar eax, 2
cmp ebp, eax
jb 0x482e6b
call fcn.004f825e
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + ebp*4]
mov eax, dword [esp + 0x20]
push esi
push edx
push eax
call fcn.00487730
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x19f8]
mov edx, dword [esp + 0x19f4]
push ecx
sar eax, 2
push esi
push edx
cmp ebp, eax
jb 0x482eac
call fcn.004f825e
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + ebp*4]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0xa4], esp
mov esi, esp
call fcn.004073f0
mov ecx, dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
call fcn.00481790
test eax, eax
jne 0x482f9e
lea ebx, [esp + 0x18]
lea edi, [esp + 0x44]
call fcn.0042d130
mov edi, ebx
call fcn.00487a40
cmp eax, 0xb
je 0x482fd7
cmp eax, 0x1a
je 0x482fd7
cmp eax, 0x1b
je 0x482fd7
cmp eax, 0x25
je 0x482fd7
cmp eax, 0x27
je 0x482fd7
cmp eax, 0x23
je 0x482fd7
cmp eax, 0x24
je 0x482fd7
cmp eax, 0x13
je 0x482fd7
cmp eax, 0x2b
je 0x482fd7
cmp eax, 0x28
je 0x482fd7
cmp eax, 0x29
je 0x482fd7
mov byte [esp + 0x19e0], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482f83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
inc ebp
sar ecx, 2
cmp ebp, ecx
jge 0x482fff
jmp 0x482e2f
mov byte [esp + 0x19e0], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48315c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48315c
mov byte [esp + 0x19e0], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482fff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x48305e
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x48303a
cmp dword [ecx - 8], 0
jge 0x48302a
push 0x80070057
call fcn.00401050
mov dword [ecx - 0xc], 0
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx], dx
jmp 0x48305e
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx], eax
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
cmp ebp, eax
jbe 0x483073
call fcn.004f825e
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x64], esi
jmp 0x483080
mov edi, eax
cmp dword [esp + 0x50], eax
jbe 0x48308d
call fcn.004f825e
test esi, esi
je 0x483097
cmp esi, dword [esp + 0x44]
je 0x48309c
call fcn.004f825e
cmp ebp, edi
je 0x48314a
test esi, esi
jne 0x48313f
call fcn.004f825e
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4830bd
call fcn.004f825e
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebx
call fcn.00409a20
mov eax, dword [ebx]
mov edi, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [edi + 1]
sub eax, esi
or edx, eax
jge 0x4830ed
mov ecx, esi
mov eax, ebx
call fcn.004073a0
mov ecx, dword [ebx]
mov edx, 0x7c
mov word [ecx + edi*2], dx
test esi, esi
jl 0x483020
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x483020
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x483146
call fcn.004f825e
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x48312f
call fcn.004f825e
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x64]
add ebp, 4
jmp 0x483080
mov eax, dword [esi]
jmp 0x4830b3
mov eax, dword [eax]
jmp 0x483125
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
je 0x48315c
mov eax, 0x7c
call fcn.0048da90
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
xor ebp, ebp
push ebp
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x98], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x483198
cmp eax, dword [esi]
jne 0x483198
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4831d4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
jne 0x4831b1
call fcn.00407390
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004f745a
add esp, 0x10
mov edx, dword [esp + 0x2c]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.00487580
mov eax, dword [esp + 0x80]
cmp eax, ebp
je 0x4831f7
push eax
call fcn.004f6734
add esp, 4
mov eax, dword [esp + 0x74]
push eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
call fcn.004f6734
add esp, 4
mov byte [esp + 0x19e0], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48323a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x19e0], 1
mov esi, dword [esp + 0x50]
cmp esi, ebp
je 0x483286
mov eax, dword [esp + 0x54]
mov edi, eax
cmp esi, eax
je 0x48327d
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483272
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x483254
mov esi, dword [esp + 0x50]
push esi
call fcn.004f6734
add esp, 4
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
call fcn.004f6734
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebp
je 0x4832bf
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
je 0x4832d6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x19e0], 0xffffffff
mov eax, dword [esp + 0x19ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x19d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19c0]
xor ecx, esp
call fcn.004f673f
add esp, 0x19d0
ret 0x20