Function at 0x4bbb10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebx, eax
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0x34]
push esi
push edi
push ecx
push edx
push str._d:_got_command__d_n
call fcn.0048f0d0
mov edi, dword [ebx + 0x44]
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, 0x52
ja case.0x4bbb47.4
movzx eax, byte [eax + 0x4bc7f0]
jmp dword [eax*4 + 0x4bc760]
lea ecx, [esp + 0x10]
push ecx
push 0
mov edi, 4
mov dword [esp + 0x18], 8
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0
push 0
xor edi, edi
mov dword [ebx + 0xb0], 1
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
or ebp, 0xffffffff
cmp dword [ebx + 0x5c], ebp
jne case.0x4bbb47.4
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004bab60
test eax, eax
je 0x4bc06e
push 0
push closesocket
push esi
call fcn.004b1970
cmp eax, ebp
mov dword [ebx + 0x5c], eax
je 0x4bc076
push 0
push 0
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbb47.4
mov edi, ebx
call fcn.004bb060
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004ac310
test eax, eax
je 0x4bc076
lea eax, [esp + 0x14]
push eax
push 0
mov edi, 0x38
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004ac310
test eax, eax
je 0x4bc076
lea edx, [esp + 0x14]
push edx
mov edi, 0x38
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b2280
jmp 0x4bbc4a
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b2340
jmp 0x4bbc4a
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbb47.4
cmp dword [edi], 0x30
jb case.0x4bbb47.4
push 0xfff8
add edi, 8
call fcn.004a49a0
mov ecx, dword [ebx + 0x5c]
push 0
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0xfff8
push esi
push 0x28
push edi
push 0x900bb
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4bc331
mov edi, dword [esp + 0x10]
push esi
push 0
call fcn.004bb670
push esi
call fcn.004a4a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbb47.4
cmp dword [edi], 0x38
jb case.0x4bbb47.4
push 0xfff8
add edi, 8
call fcn.004a49a0
push 0
lea edx, [esp + 0x14]
push edx
push 0xfff8
mov esi, eax
mov eax, dword [ebx + 0x5c]
push esi
push edi
push eax
call fcn.004af4f0
jmp 0x4bbcde
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
cmp dword [ebx + 0x98], 0
jne case.0x4bbb47.4
lea esi, [ebx + 0x78]
push esi
push eax
call fcn.004a4cd0
test eax, eax
je 0x4bc076
push esi
push 0
mov edi, 0x20
call fcn.004bb670
pop edi
pop esi
pop ebp
mov dword [ebx + 0x98], 1
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
cmp dword [ebx + 0xa8], 0
jne case.0x4bbb47.4
lea esi, [ebx + 0xa0]
push esi
push eax
call fcn.004b59b0
test eax, eax
je 0x4bc076
push esi
push 0
mov edi, 8
call fcn.004bb670
pop edi
pop esi
pop ebp
mov dword [ebx + 0xa8], 1
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
cmp dword [edi], 0x10
jne case.0x4bbb47.4
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 8]
push edx
push ecx
push eax
call fcn.004a4e50
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbb47.4
cmp dword [edi], 0x18
jne case.0x4bbb47.4
lea ecx, [esp + 0x14]
push ecx
add edi, 8
push edi
push eax
call fcn.004b60c0
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbb47.4
xor esi, esi
cmp dword [ebx + 0x98], esi
je case.0x4bbb47.4
cmp dword [ebx + 0x9c], esi
jne case.0x4bbb47.4
cmp dword [edi], 0xc
jne case.0x4bbb47.4
push 0xc
call fcn.004a49a0
mov dword [ebx + 0x9c], eax
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x9c]
mov dword [eax + 8], esi
mov ecx, dword [ebx + 0x9c]
mov dword [ecx], esi
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x5c]
push 0x4ba930
push edx
push ecx
lea edx, [ebx + 0x78]
push edx
push eax
call fcn.004a6180
push esi
push esi
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbb47.4
xor esi, esi
cmp dword [ebx + 0xa8], esi
je case.0x4bbb47.4
cmp dword [ebx + 0xac], esi
jne case.0x4bbb47.4
cmp dword [edi], 0xc
jne case.0x4bbb47.4
push 0xc
call fcn.004a49a0
mov dword [ebx + 0xac], eax
mov dword [eax + 4], esi
mov ecx, dword [ebx + 0xac]
mov dword [ecx + 8], esi
mov edx, dword [ebx + 0xac]
mov dword [edx], esi
mov eax, dword [ebx + 0xac]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx + 8]
mov ecx, dword [ebx + 0x5c]
push 0x4baa40
push eax
push edx
lea eax, [ebx + 0xa0]
push eax
push ecx
call fcn.004b5ae0
push esi
push esi
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je 0x4bbfbb
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x4bbfbb
cmp dword [eax + 4], 0
je 0x4bbfa3
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x9c]
cmp dword [eax + 4], 0
jne 0x4bbf82
mov dword [eax + 8], 0
mov edi, dword [esi + 4]
sub edi, esi
lea eax, [esi + 8]
sub edi, 8
push eax
push 0
call fcn.004bb670
push esi
call fcn.004a4a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x103
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [ebx + 0x34]
push ecx
push str._d:_invalid_state_for_ntfs_enum_mft_n
call fcn.0048f0d0
add esp, 8
pop edi
pop esi
pop ebp
mov dword [ebx + 0x38], 1
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je 0x4bc004
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x4bc004
cmp dword [eax + 4], 0
je 0x4bbfa3
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xac]
jmp 0x4bbf75
mov ecx, dword [ebx + 0x34]
push ecx
push str._d:_invalid_state_for_refs_enum_mft_n
jmp 0x4bbfc4
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004bab60
test eax, eax
je 0x4bc06e
push esi
call fcn.00403710
mov edi, eax
mov eax, dword [ebx + 0x44]
add edi, 1
lea edx, [edi + 0x30]
cmp dword [eax], edx
jb case.0x4bbb47.4
mov ecx, dword [ebx + 0x34]
push esi
push ecx
push str._d:_add_ntfs_monitor__s_n
call fcn.0048f0d0
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004bade0
lea edx, [esp + 0x10]
push edx
mov edi, 4
push 0
mov dword [esp + 0x18], eax
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004bab60
test eax, eax
je 0x4bc06e
push esi
call fcn.00403710
mov ecx, dword [ebx + 0x44]
mov edi, eax
add edi, 1
lea eax, [edi + 0x38]
cmp dword [ecx], eax
jb case.0x4bbb47.4
mov edx, dword [ebx + 0x34]
push esi
push edx
push str._d:_add_refs_monitor__s_n
call fcn.0048f0d0
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004baea0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov edi, 4
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
cmp dword [ebx + 0x64], eax
jbe 0x4bc10b
lea ecx, [ecx]
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x64], 0
jne 0x4bc103
mov dword [ecx + 0x64], 1
add eax, 1
cmp eax, dword [ebx + 0x64]
jb 0x4bc0f0
mov edx, dword [ebx + 0x64]
push edx
push str._d_ntfs_monitors_started_n
call fcn.0048f0d0
xor eax, eax
add esp, 8
cmp dword [ebx + 0x70], eax
jbe 0x4bc13e
mov ecx, dword [ebx + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x6c], 0
jne 0x4bc136
mov dword [ecx + 0x6c], 1
add eax, 1
cmp eax, dword [ebx + 0x70]
jb 0x4bc123
mov edx, dword [ebx + 0x70]
push edx
push str._d_refs_monitors_started_n
call fcn.0048f0d0
add esp, 8
push 0
push 0
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor ebp, ebp
cmp dword [ebx + 0x60], ebp
je 0x4bc195
xor esi, esi
cmp dword [ebx + 0x64], ebp
jbe 0x4bc183
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi*4]
call fcn.004bb730
add esi, 1
cmp esi, dword [ebx + 0x64]
jb 0x4bc170
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.004a4a00
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
cmp dword [ebx + 0x6c], ebp
je 0x4bc1d5
xor edi, edi
cmp dword [ebx + 0x70], ebp
jbe 0x4bc1c3
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
call fcn.004bafe0
mov eax, dword [esi + 0x40]
push eax
call fcn.004a4a00
push esi
call fcn.004a4a00
add edi, 1
cmp edi, dword [ebx + 0x70]
jb 0x4bc1a1
mov ecx, dword [ebx + 0x6c]
push ecx
call fcn.004a4a00
mov dword [ebx + 0x6c], ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
push ebp
push ebp
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
cmp dword [ebx + 0x64], esi
mov edi, 0xbb8
jbe 0x4bc221
jmp 0x4bc200
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x44], edi
jbe 0x4bc219
mov dword [eax + 0x44], edi
call ebp
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0x48], eax
add esi, 1
cmp esi, dword [ebx + 0x64]
jb 0x4bc200
xor esi, esi
cmp dword [ebx + 0x70], esi
jbe 0x4bc251
jmp 0x4bc230
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], edi
jbe 0x4bc249
mov dword [eax + 0x4c], edi
call ebp
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0x50], eax
add esi, 1
cmp esi, dword [ebx + 0x70]
jb 0x4bc230
push 0
push 0
xor edi, edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae 0x4bc365
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc365
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x40], ebp
jne 0x4bc2ad
mov eax, dword [eax + 0x38]
push 0
push closesocket
push eax
call fcn.004b1970
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 0x60]
mov ecx, dword [edx + ecx*4]
mov dword [ecx + 0x40], eax
mov edx, dword [edi + 8]
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 0x40], ebp
je 0x4bc344
push 0xfff8
call fcn.004a49a0
mov ecx, dword [edi + 8]
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebx + 0x60]
push 0xfff8
mov esi, eax
push esi
push 0x28
lea eax, [edi + 0x10]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x40]
push 0x900bb
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4bc404
mov edx, dword [edi + 8]
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + eax*4]
mov dword [edx + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceIoControl_failed__d_n
call fcn.0048f0d0
add esp, 8
call fcn.004bb700
push esi
call fcn.004a4a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_monitor_volume__d_n
call fcn.0048f0d0
add esp, 8
call fcn.004bb700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push eax
push str.invalid_monitor_index__u_n
jmp 0x4bbfc4
cmp dword [edi], 0x40
jb case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae 0x4bc365
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc365
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x48], ebp
jne 0x4bc3b1
mov eax, dword [eax + 0x40]
push 0
push closesocket
push eax
call fcn.004b1970
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 0x6c]
mov ecx, dword [edx + ecx*4]
mov dword [ecx + 0x48], eax
mov edx, dword [edi + 8]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 0x48], ebp
je 0x4bc344
push 0xfff8
call fcn.004a49a0
mov ecx, dword [edi + 8]
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebx + 0x6c]
mov esi, eax
push 0xfff8
push esi
lea eax, [edi + 0x10]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x48]
push ecx
call fcn.004af4f0
test eax, eax
je 0x4bc40e
mov edx, dword [esp + 0x10]
push edx
push str.SERVICE_SERVER_COMMAND_REFS_MONITOR_READ_USN_JOURNAL_DATA_read_ok__d_n
call fcn.0048f0d0
add esp, 8
mov edi, dword [esp + 0x10]
push esi
jmp 0x4bbf8e
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
mov edx, dword [ebx + 0x6c]
mov eax, dword [edx + ecx*4]
mov dword [eax + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceIoControl_failed__d_n
call fcn.0048f0d0
add esp, 8
call fcn.004bb700
push esi
call fcn.004a4a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x60]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbb47.4
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
push edx
push eax
push str.RESUME_NTFS__d__d_n
call fcn.0048f0d0
add esp, 0xc
cmp dword [ebp + 0x64], 3
jne 0x4bc4a6
lea esi, [edi + 0x10]
lea edi, [ebp + 0x10]
mov ecx, 0xa
mov dword [ebp + 0x64], 1
rep movsd dword es:[edi], dword [esi]
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x40
jb case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbb47.4
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
push edx
push eax
push str.RESUME_REFS__d__d_n
call fcn.0048f0d0
add esp, 0xc
cmp dword [ebp + 0x6c], 3
jne 0x4bc50a
lea esi, [edi + 0x10]
lea edi, [ebp + 0x10]
mov ecx, 0xc
mov dword [ebp + 0x6c], 1
rep movsd dword es:[edi], dword [esi]
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x18
jne case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbb47.4
or ebp, 0xffffffff
cmp dword [esi + 0x40], ebp
jne 0x4bc55a
mov edx, dword [esi + 0x38]
push 0
push closesocket
push edx
call fcn.004b1970
mov dword [esi + 0x40], eax
mov esi, dword [esi + 0x40]
cmp esi, ebp
je 0x4bc344
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.004a4e50
lea eax, [esp + 0x14]
push eax
mov edi, 0x28
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbb47.4
call fcn.004bb0f0
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbb47.4
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + edi*4]
test eax, eax
je case.0x4bbb47.4
call fcn.004bb1f0
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbb47.4
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + edi*4]
test esi, esi
je case.0x4bbb47.4
call fcn.004bb230
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x1c
jne case.0x4bbb47.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbb47.4
or ebp, 0xffffffff
cmp dword [esi + 0x48], ebp
jne 0x4bc67d
mov edx, dword [esi + 0x40]
push 0
push closesocket
push edx
call fcn.004b1970
mov dword [esi + 0x48], eax
mov esi, dword [esi + 0x48]
cmp esi, ebp
je 0x4bc344
lea eax, [esp + 0x14]
push eax
add edi, 0xc
push edi
push esi
call fcn.004b60c0
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x28
push 0
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbb47.4
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
test esi, esi
je case.0x4bbb47.4
call fcn.004bb170
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbb47.4
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + edi*4]
test eax, eax
je case.0x4bbb47.4
call fcn.004bb210
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbb47.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbb47.4
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbb47.4
call fcn.004bb250
push 0
xor edi, edi
push edi
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret