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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd4bb
mov eax, dword fs:[0]
push eax
sub esp, 0x270
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 2
cmp dword [edi + 4], eax
jne 0x4b0b7a
mov eax, 0xf
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], eax
push 0x619850
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CUDTException.0
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x5c], cl
mov dword [esp + 0x88], ecx
mov byte [esp + 0x78], cl
mov dword [esp + 0x38], ecx
call fcn.004fa80b
mov cl, byte [edi + 0x60]
test cl, cl
jne 0x4b0f07
mov dl, byte [edi + 0x5e]
test dl, dl
jne 0x4b0f07
mov cl, byte [edi + 0x5d]
test cl, cl
jne 0x4b0c0f
xor ecx, ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov eax, 0xf
push 0x619850
lea edx, [esp + 0xf0]
push edx
mov dword [esp + 0xf4], vtable.CUDTException.0
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ecx
mov byte [esp + 0x108], cl
mov dword [esp + 0x138], eax
mov dword [esp + 0x134], ecx
mov byte [esp + 0x124], cl
mov dword [esp + 0x154], eax
mov dword [esp + 0x150], ecx
mov byte [esp + 0x140], cl
mov dword [esp + 0x100], ecx
call fcn.004fa80b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x4b0e4e
lea eax, [edi + 0x11c]
lea esi, [esp + 0x18]
call fcn.004b7e20
mov dword [esp + 0x288], ebx
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0x20]
cmp edx, dword [ecx + 0x24]
jg 0x4b0e2d
cmp byte [edi + 0x18], bl
jne 0x4b0cc4
mov eax, 0xf
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x214], eax
push 0x619850
lea eax, [esp + 0x1b8]
push eax
mov dword [esp + method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [esp + 0x1c0], 6
mov dword [esp + 0x1c4], 1
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
mov dword [esp + 0x1c8], ebx
call fcn.004fa80b
mov eax, dword [edi + 0x3c]
cmp eax, ebx
jge 0x4b0d05
mov cl, byte [edi + 0x60]
test cl, cl
jne 0x4b0d13
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dl, byte [edi + 0x5d]
test dl, dl
je 0x4b0d13
mov al, byte [edi + 0x5e]
test al, al
jne 0x4b0d13
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0x20]
cmp edx, dword [ecx + 0x24]
jg 0x4b0d13
mov eax, dword [edi + 0x108]
push 0xffffffffffffffff
push eax
call esi
mov cl, byte [edi + 0x60]
test cl, cl
je 0x4b0cd8
jmp 0x4b0d13
mov edx, dword [edi + 0x108]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [edi + 0x60]
test al, al
jne 0x4b0daf
mov cl, byte [edi + 0x5e]
test cl, cl
jne 0x4b0daf
mov dl, byte [edi + 0x5d]
test dl, dl
jne 0x4b0e2d
mov eax, 2
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, 0xf
mov dword [esp + 0xb0], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xe8], eax
push 0x619850
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x90], vtable.CUDTException.0
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
mov dword [esp + 0x9c], ebx
call fcn.004fa80b
mov eax, 0xf
push 0x619850
lea ecx, [esp + 0x154]
push ecx
mov dword [esp + method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [esp + 0x15c], 2
mov dword [esp + 0x160], 1
mov dword [esp + 0x180], eax
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
mov dword [esp + 0x19c], eax
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
mov dword [esp + 0x164], ebx
call fcn.004fa80b
mov edx, dword [edi + 0x7c]
mov ecx, dword [edx + 0x24]
mov eax, dword [edi + 0x20]
cmp eax, ecx
jg 0x4b0e68
cmp dword [esp + 0x1c], 0xffffffff
je 0x4b0e4e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
sub eax, ecx
imul eax, dword [edi + 0x10]
mov esi, eax
mov eax, dword [edx]
cmp esi, eax
mov dword [esp + 0x14], esi
jle 0x4b0e83
mov esi, eax
mov dword [esp + 0x14], esi
cmp ecx, ebx
jne 0x4b0e98
call fcn.004b7d90
mov dword [edi + 0x1a8], eax
mov dword [edi + 0x1ac], edx
lea eax, [esp + 0x12]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x1e], bl
mov ebx, dword [edi + 0x7c]
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004b6480
mov edx, dword [edi + 0x208]
lea ecx, [esp + 0x13]
mov eax, edi
mov edi, dword [edx + 4]
push ecx
mov byte [esp + 0x17], 0
call fcn.004b3c40
cmp dword [esp + 0x1c], 0xffffffff
je 0x4b0eed
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
mov dword [esp + 0x21c], eax
mov eax, 0xf
push 0x619850
lea edx, [esp + 0x21c]
push edx
mov dword [esp + method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [esp + 0x228], 1
mov dword [esp + 0x248], eax
mov dword [esp + 0x244], ecx
mov byte [esp + 0x234], cl
mov dword [esp + 0x264], eax
mov dword [esp + 0x260], ecx
mov byte [esp + 0x250], cl
mov dword [esp + 0x280], eax
mov dword [esp + 0x27c], ecx
mov byte [esp + 0x26c], cl
mov dword [esp + 0x22c], ecx
call fcn.004fa80b
int3