Function at 0x4bba80
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.0048f080
mov edi, dword [ebx + 0x44]
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, 0x52
ja case.0x4bbab7.4
movzx eax, byte [eax + 0x4bc760]
jmp dword [eax*4 + 0x4bc6d0]
lea ecx, [esp + 0x10]
push ecx
push 0
mov edi, 4
mov dword [esp + 0x18], 8
call fcn.004bb5e0
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.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
or ebp, 0xffffffff
cmp dword [ebx + 0x5c], ebp
jne case.0x4bbab7.4
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004baad0
test eax, eax
je 0x4bbfde
push 0
push closesocket
push esi
call fcn.004b18e0
cmp eax, ebp
mov dword [ebx + 0x5c], eax
je 0x4bbfe6
push 0
push 0
xor edi, edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbab7.4
mov edi, ebx
call fcn.004bafd0
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004ac270
test eax, eax
je 0x4bbfe6
lea eax, [esp + 0x14]
push eax
push 0
mov edi, 0x38
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004ac270
test eax, eax
je 0x4bbfe6
lea edx, [esp + 0x14]
push edx
mov edi, 0x38
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b21f0
jmp 0x4bbbba
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b22b0
jmp 0x4bbbba
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbab7.4
cmp dword [edi], 0x30
jb case.0x4bbab7.4
push 0xfff8
add edi, 8
call fcn.004a48f0
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 0x4bc2a1
mov edi, dword [esp + 0x10]
push esi
push 0
call fcn.004bb5e0
push esi
call fcn.004a4950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbab7.4
cmp dword [edi], 0x38
jb case.0x4bbab7.4
push 0xfff8
add edi, 8
call fcn.004a48f0
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.004af470
jmp 0x4bbc4e
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
cmp dword [ebx + 0x98], 0
jne case.0x4bbab7.4
lea esi, [ebx + 0x78]
push esi
push eax
call fcn.004a4c20
test eax, eax
je 0x4bbfe6
push esi
push 0
mov edi, 0x20
call fcn.004bb5e0
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.0x4bbab7.4
cmp dword [ebx + 0xa8], 0
jne case.0x4bbab7.4
lea esi, [ebx + 0xa0]
push esi
push eax
call fcn.004b5910
test eax, eax
je 0x4bbfe6
push esi
push 0
mov edi, 8
call fcn.004bb5e0
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.0x4bbab7.4
cmp dword [edi], 0x10
jne case.0x4bbab7.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.004a4da0
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbab7.4
cmp dword [edi], 0x18
jne case.0x4bbab7.4
lea ecx, [esp + 0x14]
push ecx
add edi, 8
push edi
push eax
call fcn.004b6020
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbab7.4
xor esi, esi
cmp dword [ebx + 0x98], esi
je case.0x4bbab7.4
cmp dword [ebx + 0x9c], esi
jne case.0x4bbab7.4
cmp dword [edi], 0xc
jne case.0x4bbab7.4
push 0xc
call fcn.004a48f0
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 0x4ba8a0
push edx
push ecx
lea edx, [ebx + 0x78]
push edx
push eax
call fcn.004a60d0
push esi
push esi
xor edi, edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbab7.4
xor esi, esi
cmp dword [ebx + 0xa8], esi
je case.0x4bbab7.4
cmp dword [ebx + 0xac], esi
jne case.0x4bbab7.4
cmp dword [edi], 0xc
jne case.0x4bbab7.4
push 0xc
call fcn.004a48f0
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 0x4ba9b0
push eax
push edx
lea eax, [ebx + 0xa0]
push eax
push ecx
call fcn.004b5a40
push esi
push esi
xor edi, edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je 0x4bbf2b
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x4bbf2b
cmp dword [eax + 4], 0
je 0x4bbf13
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 0x4bbef2
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.004bb5e0
push esi
call fcn.004a4950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x103
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb670
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.0048f080
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 0x4bbf74
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x4bbf74
cmp dword [eax + 4], 0
je 0x4bbf13
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xac]
jmp 0x4bbee5
mov ecx, dword [ebx + 0x34]
push ecx
push str._d:_invalid_state_for_refs_enum_mft_n
jmp 0x4bbf34
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004baad0
test eax, eax
je 0x4bbfde
push esi
call fcn.004036f0
mov edi, eax
mov eax, dword [ebx + 0x44]
add edi, 1
lea edx, [edi + 0x30]
cmp dword [eax], edx
jb case.0x4bbab7.4
mov ecx, dword [ebx + 0x34]
push esi
push ecx
push str._d:_add_ntfs_monitor__s_n
call fcn.0048f080
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004bad50
lea edx, [esp + 0x10]
push edx
mov edi, 4
push 0
mov dword [esp + 0x18], eax
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb670
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.004baad0
test eax, eax
je 0x4bbfde
push esi
call fcn.004036f0
mov ecx, dword [ebx + 0x44]
mov edi, eax
add edi, 1
lea eax, [edi + 0x38]
cmp dword [ecx], eax
jb case.0x4bbab7.4
mov edx, dword [ebx + 0x34]
push esi
push edx
push str._d:_add_refs_monitor__s_n
call fcn.0048f080
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004bae10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov edi, 4
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
cmp dword [ebx + 0x64], eax
jbe 0x4bc07b
lea ecx, [ecx]
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x64], 0
jne 0x4bc073
mov dword [ecx + 0x64], 1
add eax, 1
cmp eax, dword [ebx + 0x64]
jb 0x4bc060
mov edx, dword [ebx + 0x64]
push edx
push str._d_ntfs_monitors_started_n
call fcn.0048f080
xor eax, eax
add esp, 8
cmp dword [ebx + 0x70], eax
jbe 0x4bc0ae
mov ecx, dword [ebx + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x6c], 0
jne 0x4bc0a6
mov dword [ecx + 0x6c], 1
add eax, 1
cmp eax, dword [ebx + 0x70]
jb 0x4bc093
mov edx, dword [ebx + 0x70]
push edx
push str._d_refs_monitors_started_n
call fcn.0048f080
add esp, 8
push 0
push 0
xor edi, edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor ebp, ebp
cmp dword [ebx + 0x60], ebp
je 0x4bc105
xor esi, esi
cmp dword [ebx + 0x64], ebp
jbe 0x4bc0f3
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi*4]
call fcn.004bb6a0
add esi, 1
cmp esi, dword [ebx + 0x64]
jb 0x4bc0e0
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.004a4950
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
cmp dword [ebx + 0x6c], ebp
je 0x4bc145
xor edi, edi
cmp dword [ebx + 0x70], ebp
jbe 0x4bc133
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
call fcn.004baf50
mov eax, dword [esi + 0x40]
push eax
call fcn.004a4950
push esi
call fcn.004a4950
add edi, 1
cmp edi, dword [ebx + 0x70]
jb 0x4bc111
mov ecx, dword [ebx + 0x6c]
push ecx
call fcn.004a4950
mov dword [ebx + 0x6c], ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
push ebp
push ebp
xor edi, edi
call fcn.004bb5e0
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 0x4bc191
jmp 0x4bc170
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x44], edi
jbe 0x4bc189
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 0x4bc170
xor esi, esi
cmp dword [ebx + 0x70], esi
jbe 0x4bc1c1
jmp 0x4bc1a0
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], edi
jbe 0x4bc1b9
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 0x4bc1a0
push 0
push 0
xor edi, edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae 0x4bc2d5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc2d5
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x40], ebp
jne 0x4bc21d
mov eax, dword [eax + 0x38]
push 0
push closesocket
push eax
call fcn.004b18e0
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 0x4bc2b4
push 0xfff8
call fcn.004a48f0
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 0x4bc374
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.0048f080
add esp, 8
call fcn.004bb670
push esi
call fcn.004a4950
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.0048f080
add esp, 8
call fcn.004bb670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push eax
push str.invalid_monitor_index__u_n
jmp 0x4bbf34
cmp dword [edi], 0x40
jb case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae 0x4bc2d5
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc2d5
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x48], ebp
jne 0x4bc321
mov eax, dword [eax + 0x40]
push 0
push closesocket
push eax
call fcn.004b18e0
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 0x4bc2b4
push 0xfff8
call fcn.004a48f0
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.004af470
test eax, eax
je 0x4bc37e
mov edx, dword [esp + 0x10]
push edx
push str.SERVICE_SERVER_COMMAND_REFS_MONITOR_READ_USN_JOURNAL_DATA_read_ok__d_n
call fcn.0048f080
add esp, 8
mov edi, dword [esp + 0x10]
push esi
jmp 0x4bbefe
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.0048f080
add esp, 8
call fcn.004bb670
push esi
call fcn.004a4950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x60]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbab7.4
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
push edx
push eax
push str.RESUME_NTFS__d__d_n
call fcn.0048f080
add esp, 0xc
cmp dword [ebp + 0x64], 3
jne 0x4bc416
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.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x40
jb case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbab7.4
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
push edx
push eax
push str.RESUME_REFS__d__d_n
call fcn.0048f080
add esp, 0xc
cmp dword [ebp + 0x6c], 3
jne 0x4bc47a
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.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x18
jne case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbab7.4
or ebp, 0xffffffff
cmp dword [esi + 0x40], ebp
jne 0x4bc4ca
mov edx, dword [esi + 0x38]
push 0
push closesocket
push edx
call fcn.004b18e0
mov dword [esi + 0x40], eax
mov esi, dword [esi + 0x40]
cmp esi, ebp
je 0x4bc2b4
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.004a4da0
lea eax, [esp + 0x14]
push eax
mov edi, 0x28
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbab7.4
call fcn.004bb060
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbab7.4
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + edi*4]
test eax, eax
je case.0x4bbab7.4
call fcn.004bb160
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbab7.4
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + edi*4]
test esi, esi
je case.0x4bbab7.4
call fcn.004bb1a0
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x1c
jne case.0x4bbab7.4
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbab7.4
or ebp, 0xffffffff
cmp dword [esi + 0x48], ebp
jne 0x4bc5ed
mov edx, dword [esi + 0x40]
push 0
push closesocket
push edx
call fcn.004b18e0
mov dword [esi + 0x48], eax
mov esi, dword [esi + 0x48]
cmp esi, ebp
je 0x4bc2b4
lea eax, [esp + 0x14]
push eax
add edi, 0xc
push edi
push esi
call fcn.004b6020
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x28
push 0
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbab7.4
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
test esi, esi
je case.0x4bbab7.4
call fcn.004bb0e0
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbab7.4
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + edi*4]
test eax, eax
je case.0x4bbab7.4
call fcn.004bb180
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbab7.4
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbab7.4
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbab7.4
call fcn.004bb1c0
push 0
xor edi, edi
push edi
call fcn.004bb5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret