Function at 0x4bae20
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.0048f0a0
mov edi, dword [ebx + 0x44]
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, 0x52
ja case.0x4bae57.3
movzx eax, byte [eax + 0x4bbadc]
jmp dword [eax*4 + 0x4bba50]
lea ecx, [esp + 0x10]
push ecx
push 0
mov edi, 4
mov dword [esp + 0x18], 8
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
or ebp, 0xffffffff
cmp dword [ebx + 0x5c], ebp
jne case.0x4bae57.3
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004b9f90
test eax, eax
je 0x4bb361
push 0
push closesocket
push esi
call fcn.004aa8a0
cmp eax, ebp
mov dword [ebx + 0x5c], eax
je 0x4bb369
push 0
push 0
xor edi, edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bae57.3
mov edi, ebx
call fcn.004ba490
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004abe30
test eax, eax
je 0x4bb369
lea eax, [esp + 0x14]
push eax
push 0
mov edi, 0x38
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004abe30
test eax, eax
je 0x4bb369
lea edx, [esp + 0x14]
push edx
mov edi, 0x38
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b1b90
jmp 0x4baf3d
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004b1c50
jmp 0x4baf3d
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bae57.3
cmp dword [edi], 0x30
jb case.0x4bae57.3
push 0xfff8
add edi, 8
call fcn.004a3fd0
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 0x4bb621
mov edi, dword [esp + 0x10]
push esi
push 0
call fcn.004ba8d0
push esi
call fcn.004a4030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bae57.3
cmp dword [edi], 0x38
jb case.0x4bae57.3
push 0xfff8
add edi, 8
call fcn.004a3fd0
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.004af020
jmp 0x4bafd1
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
cmp dword [ebx + 0x98], 0
jne case.0x4bae57.3
lea esi, [ebx + 0x78]
push esi
push eax
call fcn.004a4770
test eax, eax
je 0x4bb369
push esi
push 0
mov edi, 0x20
call fcn.004ba8d0
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.0x4bae57.3
cmp dword [ebx + 0xa8], 0
jne case.0x4bae57.3
lea esi, [ebx + 0xa0]
push esi
push eax
call fcn.004b5040
test eax, eax
je 0x4bb369
push esi
push 0
mov edi, 8
call fcn.004ba8d0
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.0x4bae57.3
cmp dword [edi], 0x10
jne case.0x4bae57.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.004a48f0
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je case.0x4bae57.3
cmp dword [edi], 0x18
jne case.0x4bae57.3
lea ecx, [esp + 0x14]
push ecx
add edi, 8
push edi
push eax
call fcn.004b5750
lea edx, [esp + 0x14]
push edx
mov edi, 0x28
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bae57.3
xor esi, esi
cmp dword [ebx + 0x98], esi
je case.0x4bae57.3
cmp dword [ebx + 0x9c], esi
jne case.0x4bae57.3
cmp dword [edi], 0xc
jne case.0x4bae57.3
push 0xc
call fcn.004a3fd0
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 0x4b9d60
push edx
push ecx
lea edx, [ebx + 0x78]
push edx
push eax
call fcn.004a5c20
push esi
push esi
xor edi, edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je case.0x4bae57.3
xor esi, esi
cmp dword [ebx + 0xa8], esi
je case.0x4bae57.3
cmp dword [ebx + 0xac], esi
jne case.0x4bae57.3
cmp dword [edi], 0xc
jne case.0x4bae57.3
push 0xc
call fcn.004a3fd0
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 0x4b9e70
push eax
push edx
lea eax, [ebx + 0xa0]
push eax
push ecx
call fcn.004b5170
push esi
push esi
xor edi, edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [ebx + 0x5c], 0xffffffff
je 0x4bb2ae
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x4bb2ae
cmp dword [eax + 4], 0
je 0x4bb296
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 0x4bb275
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.004ba8d0
push esi
call fcn.004a4030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x103
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004ba960
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.0048f0a0
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 0x4bb2f7
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x4bb2f7
cmp dword [eax + 4], 0
je 0x4bb296
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xac]
jmp 0x4bb268
mov ecx, dword [ebx + 0x34]
push ecx
push str._d:_invalid_state_for_refs_enum_mft_n
jmp 0x4bb2b7
mov eax, dword [edi]
lea esi, [edi + 8]
sub eax, 8
call fcn.004b9f90
test eax, eax
je 0x4bb361
push esi
call fcn.00403740
mov edi, eax
mov eax, dword [ebx + 0x44]
add edi, 1
lea edx, [edi + 0x30]
cmp dword [eax], edx
jb case.0x4bae57.3
mov ecx, dword [ebx + 0x34]
push esi
push ecx
push str._d:_add_ntfs_monitor__s_n
call fcn.0048f0a0
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004ba210
lea edx, [esp + 0x10]
push edx
mov edi, 4
push 0
mov dword [esp + 0x18], eax
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004ba960
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.004b9f90
test eax, eax
je 0x4bb361
push esi
call fcn.00403740
mov ecx, dword [ebx + 0x44]
mov edi, eax
add edi, 1
lea eax, [edi + 0x38]
cmp dword [ecx], eax
jb case.0x4bae57.3
mov edx, dword [ebx + 0x34]
push esi
push edx
push str._d:_add_refs_monitor__s_n
call fcn.0048f0a0
add esp, 0xc
add edi, esi
push edi
push esi
push ebx
call fcn.004ba2d0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov edi, 4
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
cmp dword [ebx + 0x64], eax
jbe 0x4bb3fb
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x64], 0
jne 0x4bb3f3
mov dword [ecx + 0x64], 1
add eax, 1
cmp eax, dword [ebx + 0x64]
jb 0x4bb3e0
mov edx, dword [ebx + 0x64]
push edx
push str._d_ntfs_monitors_started_n
call fcn.0048f0a0
xor eax, eax
add esp, 8
cmp dword [ebx + 0x70], eax
jbe 0x4bb42e
mov ecx, dword [ebx + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x6c], 0
jne 0x4bb426
mov dword [ecx + 0x6c], 1
add eax, 1
cmp eax, dword [ebx + 0x70]
jb 0x4bb413
mov edx, dword [ebx + 0x70]
push edx
push str._d_refs_monitors_started_n
call fcn.0048f0a0
add esp, 8
push 0
push 0
xor edi, edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor ebp, ebp
cmp dword [ebx + 0x60], ebp
je 0x4bb485
xor esi, esi
cmp dword [ebx + 0x64], ebp
jbe 0x4bb473
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi*4]
call fcn.004ba990
add esi, 1
cmp esi, dword [ebx + 0x64]
jb 0x4bb460
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.004a4030
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
cmp dword [ebx + 0x6c], ebp
je 0x4bb4c5
xor edi, edi
cmp dword [ebx + 0x70], ebp
jbe 0x4bb4b3
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
call fcn.004ba410
mov eax, dword [esi + 0x40]
push eax
call fcn.004a4030
push esi
call fcn.004a4030
add edi, 1
cmp edi, dword [ebx + 0x70]
jb 0x4bb491
mov ecx, dword [ebx + 0x6c]
push ecx
call fcn.004a4030
mov dword [ebx + 0x6c], ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
push ebp
push ebp
xor edi, edi
call fcn.004ba8d0
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 0x4bb511
jmp 0x4bb4f0
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x44], edi
jbe 0x4bb509
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 0x4bb4f0
xor esi, esi
cmp dword [ebx + 0x70], esi
jbe 0x4bb541
jmp 0x4bb520
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], edi
jbe 0x4bb539
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 0x4bb520
push 0
push 0
xor edi, edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae 0x4bb655
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bb655
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x40], ebp
jne 0x4bb59d
mov eax, dword [eax + 0x38]
push 0
push closesocket
push eax
call fcn.004aa8a0
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 0x4bb634
push 0xfff8
call fcn.004a3fd0
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 0x4bb6f4
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.0048f0a0
add esp, 8
call fcn.004ba960
push esi
call fcn.004a4030
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.0048f0a0
add esp, 8
call fcn.004ba960
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push eax
push str.invalid_monitor_index__u_n
jmp 0x4bb2b7
cmp dword [edi], 0x40
jb case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae 0x4bb655
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x4bb655
mov eax, edx
or ebp, 0xffffffff
cmp dword [eax + 0x48], ebp
jne 0x4bb6a1
mov eax, dword [eax + 0x40]
push 0
push closesocket
push eax
call fcn.004aa8a0
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 0x4bb634
push 0xfff8
call fcn.004a3fd0
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.004af020
test eax, eax
je 0x4bb6fe
mov edx, dword [esp + 0x10]
push edx
push str.SERVICE_SERVER_COMMAND_REFS_MONITOR_READ_USN_JOURNAL_DATA_read_ok__d_n
call fcn.0048f0a0
add esp, 8
mov edi, dword [esp + 0x10]
push esi
jmp 0x4bb281
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.0048f0a0
add esp, 8
call fcn.004ba960
push esi
call fcn.004a4030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x38
jb case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x60]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bae57.3
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
push edx
push eax
push str.RESUME_NTFS__d__d_n
call fcn.0048f0a0
add esp, 0xc
cmp dword [ebp + 0x64], 3
jne 0x4bb796
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.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x40
jb case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je case.0x4bae57.3
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
push edx
push eax
push str.RESUME_REFS__d__d_n
call fcn.0048f0a0
add esp, 0xc
cmp dword [ebp + 0x6c], 3
jne 0x4bb7fa
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.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x18
jne case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x64]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bae57.3
or ebp, 0xffffffff
cmp dword [esi + 0x40], ebp
jne 0x4bb84a
mov edx, dword [esi + 0x38]
push 0
push closesocket
push edx
call fcn.004aa8a0
mov dword [esi + 0x40], eax
mov esi, dword [esi + 0x40]
cmp esi, ebp
je 0x4bb634
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.004a48f0
lea eax, [esp + 0x14]
push eax
mov edi, 0x28
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bae57.3
call fcn.004ba520
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bae57.3
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + edi*4]
test eax, eax
je case.0x4bae57.3
call fcn.004ba620
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x64]
jae case.0x4bae57.3
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + edi*4]
test esi, esi
je case.0x4bae57.3
call fcn.004ba660
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0x1c
jne case.0x4bae57.3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x70]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + eax*4]
test esi, esi
je case.0x4bae57.3
or ebp, 0xffffffff
cmp dword [esi + 0x48], ebp
jne 0x4bb96d
mov edx, dword [esi + 0x40]
push 0
push closesocket
push edx
call fcn.004aa8a0
mov dword [esi + 0x48], eax
mov esi, dword [esi + 0x48]
cmp esi, ebp
je 0x4bb634
lea eax, [esp + 0x14]
push eax
add edi, 0xc
push edi
push esi
call fcn.004b5750
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x28
push 0
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bae57.3
mov edx, dword [ebx + 0x6c]
mov esi, dword [edx + edi*4]
test esi, esi
je case.0x4bae57.3
call fcn.004ba5a0
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bae57.3
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + edi*4]
test eax, eax
je case.0x4bae57.3
call fcn.004ba640
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp dword [edi], 0xc
jne case.0x4bae57.3
mov edi, dword [edi + 8]
cmp edi, dword [ebx + 0x70]
jae case.0x4bae57.3
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ecx + edi*4]
test esi, esi
je case.0x4bae57.3
call fcn.004ba680
push 0
xor edi, edi
push edi
call fcn.004ba8d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret