Function at 0x4bbd90
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.0x4bbdc7.3
movzx eax, byte [eax + 0x4bca4c]
jmp dword [eax*4 + 0x4bc9c0]
lea ecx, [esp + 0x10]
push ecx
push 0
mov edi, 4
mov dword [esp + 0x18], 8
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
or ebp, 0xffffffff
cmp dword [ebx + 0x5c], ebp
jne case.0x4bbdc7.3
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004badb0
test eax, eax
je 0x4bc2d1
push 0
push closesocket
push esi
call fcn.004b1bb0
cmp eax, ebp
mov dword [ebx + 0x5c], eax
je 0x4bc2d9
push 0
push 0
xor edi, edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbdc7.3
mov edi, ebx
call fcn.004bb2b0
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004ac540
test eax, eax
je 0x4bc2d9
lea eax, [esp + 0x14]
push eax
push 0
mov edi, 0x38
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004ac540
test eax, eax
je 0x4bc2d9
lea edx, [esp + 0x14]
push edx
mov edi, 0x38
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b24c0
jmp 0x4bbead
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b2580
jmp 0x4bbead
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbdc7.3
cmp dword [edi], 0x30
jb case.0x4bbdc7.3
push 0xfff8
add edi, 8
call fcn.004a47b0
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 0x4bc591
mov edi, dword [esp + 0x10]
push esi
push 0
call fcn.004bb840
push esi
call fcn.004a4810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbdc7.3
cmp dword [edi], 0x38
jb case.0x4bbdc7.3
push 0xfff8
add edi, 8
call fcn.004a47b0
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.004af7a0
jmp 0x4bbf41
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
cmp dword [ebx + 0x98], 0
jne case.0x4bbdc7.3
lea esi, [ebx + 0x78]
push esi
push eax
call fcn.004a4f70
test eax, eax
je 0x4bc2d9
push esi
push 0
mov edi, 0x20
call fcn.004bb840
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.0x4bbdc7.3
cmp dword [ebx + 0xa8], 0
jne case.0x4bbdc7.3
lea esi, [ebx + 0xa0]
push esi
push eax
call fcn.004b5bd0
test eax, eax
je 0x4bc2d9
push esi
push 0
mov edi, 8
call fcn.004bb840
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.0x4bbdc7.3
cmp dword [edi], 0x10
jne case.0x4bbdc7.3
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 8]
push edx
push ecx
push eax
call fcn.004a50f0
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bbdc7.3
cmp dword [edi], 0x18
jne case.0x4bbdc7.3
lea ecx, [esp + 0x14]
push ecx
add edi, 8
push edi
push eax
call fcn.004b62e0
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbdc7.3
xor esi, esi
cmp dword [ebx + 0x98], esi
je case.0x4bbdc7.3
cmp dword [ebx + 0x9c], esi
jne case.0x4bbdc7.3
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
push 0xc
call fcn.004a47b0
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 0x4bab80
push edx
push ecx
lea edx, [ebx + 0x78]
push edx
push eax
call fcn.004a6420
push esi
push esi
xor edi, edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bbdc7.3
xor esi, esi
cmp dword [ebx + 0xa8], esi
je case.0x4bbdc7.3
cmp dword [ebx + 0xac], esi
jne case.0x4bbdc7.3
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
push 0xc
call fcn.004a47b0
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 0x4bac90
push eax
push edx
lea eax, [ebx + 0xa0]
push eax
push ecx
call fcn.004b5d00
push esi
push esi
xor edi, edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je 0x4bc21e
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x4bc21e
cmp dword [eax + 4], 0
je 0x4bc206
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 0x4bc1e5
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.004bb840
push esi
call fcn.004a4810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x103
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb8d0
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 0x4bc267
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x4bc267
cmp dword [eax + 4], 0
je 0x4bc206
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xac]
jmp 0x4bc1d8
mov ecx, dword [ebx + 0x34]
push ecx
push str._d:_invalid_state_for_refs_enum_mft_n
jmp 0x4bc227
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004badb0
test eax, eax
je 0x4bc2d1
push esi
call fcn.004036d0
mov edi, eax
mov eax, dword [ebx + 0x44]
add edi, 1
lea edx, [edi + 0x30]
cmp dword [eax], edx
jb case.0x4bbdc7.3
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.004bb030
lea edx, [esp + 0x10]
push edx
mov edi, 4
push 0
mov dword [esp + 0x18], eax
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004bb8d0
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.004badb0
test eax, eax
je 0x4bc2d1
push esi
call fcn.004036d0
mov ecx, dword [ebx + 0x44]
mov edi, eax
add edi, 1
lea eax, [edi + 0x38]
cmp dword [ecx], eax
jb case.0x4bbdc7.3
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.004bb0f0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov edi, 4
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
cmp dword [ebx + 0x64], eax
jbe 0x4bc36b
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x64], 0
jne 0x4bc363
mov dword [ecx + 0x64], 1
add eax, 1
cmp eax, dword [ebx + 0x64]
jb 0x4bc350
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 0x4bc39e
mov ecx, dword [ebx + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x6c], 0
jne 0x4bc396
mov dword [ecx + 0x6c], 1
add eax, 1
cmp eax, dword [ebx + 0x70]
jb 0x4bc383
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.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor ebp, ebp
cmp dword [ebx + 0x60], ebp
je 0x4bc3f5
xor esi, esi
cmp dword [ebx + 0x64], ebp
jbe 0x4bc3e3
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi*4]
call fcn.004bb900
add esi, 1
cmp esi, dword [ebx + 0x64]
jb 0x4bc3d0
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.004a4810
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
cmp dword [ebx + 0x6c], ebp
je 0x4bc435
xor edi, edi
cmp dword [ebx + 0x70], ebp
jbe 0x4bc423
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
call fcn.004bb230
mov eax, dword [esi + 0x40]
push eax
call fcn.004a4810
push esi
call fcn.004a4810
add edi, 1
cmp edi, dword [ebx + 0x70]
jb 0x4bc401
mov ecx, dword [ebx + 0x6c]
push ecx
call fcn.004a4810
mov dword [ebx + 0x6c], ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
push ebp
push ebp
xor edi, edi
call fcn.004bb840
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 0x4bc481
jmp 0x4bc460
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x44], edi
jbe 0x4bc479
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 0x4bc460
xor esi, esi
cmp dword [ebx + 0x70], esi
jbe 0x4bc4b1
jmp 0x4bc490
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], edi
jbe 0x4bc4a9
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 0x4bc490
push 0
push 0
xor edi, edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae 0x4bc5c5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc5c5
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x40], ebp
jne 0x4bc50d
mov eax, dword [eax + 0x38]
push 0
push closesocket
push eax
call fcn.004b1bb0
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 0x4bc5a4
push 0xfff8
call fcn.004a47b0
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 0x4bc664
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.004bb8d0
push esi
call fcn.004a4810
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.004bb8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push eax
push str.invalid_monitor_index__u_n
jmp 0x4bc227
cmp dword [edi], 0x40
jb case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae 0x4bc5c5
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bc5c5
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x48], ebp
jne 0x4bc611
mov eax, dword [eax + 0x40]
push 0
push closesocket
push eax
call fcn.004b1bb0
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 0x4bc5a4
push 0xfff8
call fcn.004a47b0
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.004af7a0
test eax, eax
je 0x4bc66e
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 0x4bc1f1
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.004bb8d0
push esi
call fcn.004a4810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x60]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbdc7.3
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 0x4bc706
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.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x40
jb case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bbdc7.3
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 0x4bc76a
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.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x18
jne case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbdc7.3
or ebp, 0xffffffff
cmp dword [esi + 0x40], ebp
jne 0x4bc7ba
mov edx, dword [esi + 0x38]
push 0
push closesocket
push edx
call fcn.004b1bb0
mov dword [esi + 0x40], eax
mov esi, dword [esi + 0x40]
cmp esi, ebp
je 0x4bc5a4
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.004a50f0
lea eax, [esp + 0x14]
push eax
mov edi, 0x28
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbdc7.3
call fcn.004bb340
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbdc7.3
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + edi*4]
test eax, eax
je case.0x4bbdc7.3
call fcn.004bb440
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bbdc7.3
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + edi*4]
test esi, esi
je case.0x4bbdc7.3
call fcn.004bb480
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x1c
jne case.0x4bbdc7.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bbdc7.3
or ebp, 0xffffffff
cmp dword [esi + 0x48], ebp
jne 0x4bc8dd
mov edx, dword [esi + 0x40]
push 0
push closesocket
push edx
call fcn.004b1bb0
mov dword [esi + 0x48], eax
mov esi, dword [esi + 0x48]
cmp esi, ebp
je 0x4bc5a4
lea eax, [esp + 0x14]
push eax
add edi, 0xc
push edi
push esi
call fcn.004b62e0
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x28
push 0
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbdc7.3
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
test esi, esi
je case.0x4bbdc7.3
call fcn.004bb3c0
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbdc7.3
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + edi*4]
test eax, eax
je case.0x4bbdc7.3
call fcn.004bb460
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bbdc7.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bbdc7.3
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bbdc7.3
call fcn.004bb4a0
push 0
xor edi, edi
push edi
call fcn.004bb840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret