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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4b480e
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
movzx ecx, byte [eax]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 0xc]
test cl, cl
je 0x4b4466
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4b4435
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4b4435
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b6210
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b4423
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4b4466
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004b3440
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov edi, dword [eax + 4]
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x4b46aa
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0xa0]
cmp edx, eax
je 0x4b44d9
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4b468b
mov edi, dword [edx + 0xc]
test edi, edi
je 0x4b4683
mov esi, dword [eax + 4]
mov ebp, dword [edx + 4]
lea ecx, [esi + ecx*4 - 4]
lea ebp, [ebp + edi*4 - 4]
cmp ebp, ecx
jne 0x4b4673
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x7c]
cmp edx, ecx
je 0x4b468d
mov dword [esp + 0x70], ebx
mov edi, dword [edx + 8]
mov esi, dword [edx + 4]
test edi, edi
jg 0x4b4534
xor ecx, ecx
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x7c]
jmp 0x4b4602
mov dword [esp + 0x5c], edi
mov dword [esp + 0x74], esi
cmp edi, 1
jne 0x4b45a8
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
mov edx, 1
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], eax
mov ebx, 1
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x70]
jmp 0x4b4602
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 8], eax
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x48]
cmp ebp, edi
jg 0x4b460c
mov edi, ebp
mov ebx, dword [esp + 0x68]
cmp ebx, esi
je 0x4b4641
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.00467650
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x80], ebx
movzx edx, byte [edx]
mov byte [esp + 0x7c], dl
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
jmp 0x4b468d
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov ecx, edx
jmp 0x4b468d
mov edi, dword [esp + 0x6c]
mov ecx, edx
jmp 0x4b468d
mov ecx, edx
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x4c]
mov edx, edi
mov edi, dword [esp + 0x6c]
jmp 0x4b46ba
xor edx, edx
xor edx, edx
mov dword [esp + 0x64], edx
xor edx, edx
mov dword [esp + 0x78], edx
xor edx, edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x2c], ebx
movzx ebp, byte [esp + 0xb0]
xchg ebp, eax
mov byte [esp + 0x30], al
xchg ebp, eax
call fcn.004ba990
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
je 0x4b4754
call fcn.00466d20
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov dword [ebx + 4], edx
test eax, eax
je 0x4b4781
mov eax, dword [esp + 0xa4]
movzx eax, byte [eax]
test al, al
je 0x4b4781
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4b4781
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
test eax, 1
setne al
jmp 0x4b4783
xor eax, eax
mov byte [ebx], al
test al, al
je 0x4b4800
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b4800
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
call fcn.004b7530
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x817f20]
test eax, eax
je 0x4b47fa
call fcn.00466d20
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov dword [esp + 0xb4], ebx
add esp, 0x9c
ret
call fcn.00465910
jmp fcn.004b4370