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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c0897
sub esp, 0x68
movzx edx, byte [esp + 0x7d]
test dl, dl
je 0x4c0813
mov eax, 4
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov dword [ebx], edx
mov ebp, dword [esp + 0x74]
mov dword [ebx + 4], ebp
mov dword [ebx + 8], 0
movzx edi, byte [esp + 0x7c]
xchg edi, eax
mov byte [ebx + 0xc], al
xchg edi, eax
mov edi, dword [esp + 0x78]
mov ecx, edx
lea edx, [edi + 0x15c]
mov esi, edx
sar edx, 0x1f
shr edx, 0x1d
lea edx, [edi + edx + 0x15c]
cmp edi, 0xfffffea4
jge 0x4c003c
mov byte [esp + 0x84], 0
add esp, 0x68
ret
sar edx, 3
cmp edx, 0x57
jge 0x4c0030
mov dword [esp + 0x38], edx
shl edx, 3
sub esi, edx
cmp esi, 0x13
jge 0x4c0618
lea edx, [esi - 0x13]
neg edx
cmp edx, 0x14
jae 0x4c088a
lea edi, [0x10822e0]
lea edx, [edi + edx*8]
mov edi, dword [edx + 4]
cmp edi, ebp
seta bl
cmp dword [edx], ecx
seta dl
cmp edi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and edx, ebp
or edx, ebx
test dl, dl
je 0x4c0618
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
cmp esi, 0x14
jae 0x4c087e
mov dword [esp + 0x64], ebx
lea edi, [0x10822e0]
lea edi, [edi + esi*8]
mov ecx, ebp
mov ebp, dword [edi]
mov esi, eax
mov eax, ebx
mul ebp
mov edi, dword [edi + 4]
mov ebx, dword [esp + 0x6c]
mov dword [ebx], eax
imul ebp, ecx
add edx, ebp
mov ebp, dword [esp + 0x64]
imul edi, ebp
add edx, edi
mov dword [ebx + 4], edx
test eax, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x4c0470
mov eax, dword [esp + 0x38]
cmp eax, 0x57
jae 0x4c0834
mov dword [esp + 0x40], esi
shl eax, 4
lea ecx, [0x1091840]
mov edx, dword [ecx + eax]
mov ebp, dword [ecx + eax + 4]
mov esi, dword [ecx + eax + 8]
movzx eax, byte [ecx + eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], al
call fcn.004bff50
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4c0469
lea edx, [eax + 1]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 4]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
mov eax, ebx
mov ebx, dword [ebx]
test ebx, ebx
mov ecx, edx
sete dl
and edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4c02d7
xor edx, edx
cmp edx, 0x20
sbb ebx, ebx
lea ebp, [ecx + 4]
mov ecx, edx
shl ebp, cl
and ebp, ebx
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 8]
add ebx, 0xffffffc1
mov esi, dword [eax + 8]
cmp ebx, esi
jl 0x4c02cb
sub ebx, esi
sub ebx, dword [edx]
lea edx, [ebx + 0x40]
mov dword [esp + 0x40], ebp
cmp edx, 0x20
sbb ebx, ebx
mov ecx, edx
mov esi, 1
shl esi, cl
and esi, ebx
mov ebx, esi
add esi, 0xffffffff
mov dword [esp + 0x64], esi
lea edi, [ecx - 1]
cmp edi, 0x20
sbb esi, esi
mov ecx, edi
mov eax, 1
shl eax, cl
and eax, esi
mov dword [esp + 0x3c], eax
sub eax, ebp
mov dword [esp + 0x60], eax
lea edi, [edx - 0x21]
mov dword [esp + 0x5c], edi
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0x58], edi
cmp edi, 0x20
sbb eax, eax
mov dword [esp + 0x54], eax
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x50], esi
add edx, 0xffffffe0
mov dword [esp + 0x4c], edx
neg edx
cmp edx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x4c]
cmp esi, 0x20
sbb eax, eax
mov ecx, esi
mov edi, 1
shl edi, cl
mov ecx, edx
mov esi, 1
shr esi, cl
and eax, edi
and esi, ebp
or eax, esi
add ebx, 0xffffffff
adc eax, 0xffffffff
mov ecx, dword [esp + 0x58]
mov edx, 1
shr edx, cl
mov ecx, dword [esp + 0x5c]
mov ebx, 1
shl ebx, cl
mov ebp, dword [esp + 0x54]
and ebp, edx
mov edx, dword [esp + 0x50]
and edx, ebx
or edx, ebp
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x40]
mov ebp, ebx
sar ebx, 0x1f
mov esi, dword [esp + 0x3c]
mov edi, esi
sub esi, ebp
sbb edx, ebx
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
and eax, dword [ebx + 4]
mov dword [esp + 0x34], eax
cmp eax, edx
setg dl
sete al
mov esi, dword [esp + 0x64]
and esi, dword [ebx]
mov ebx, dword [esp + 0x60]
cmp esi, ebx
seta bl
and eax, ebx
or eax, edx
test al, al
je 0x4c02b3
add edi, ebp
mov eax, dword [esp + 0x5c]
adc eax, ecx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
setl al
sete cl
cmp esi, edi
setb dl
and edx, ecx
or edx, eax
test dl, dl
jne 0x4c02bf
mov byte [esp + 0x84], 1
add esp, 0x68
ret
mov byte [esp + 0x84], 0
add esp, 0x68
ret
mov ebx, dword [edx]
lea edx, [ebx - 0x3f]
neg edx
jmp 0x4c0197
test ebx, ebx
setae dl
cmp ebp, 1
xchg edi, ebx
sete bl
xchg edi, ebx
mov esi, ebx
seta bl
nop
and edi, edx
or ebx, edi
test bl, bl
je 0x4c045c
mov edx, ebp
xor ebx, ebx
mov edi, 0x20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x64], edx
test ebx, ebx
seta dl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebp, 0x10000
setae bl
and ebx, edi
or ebx, edx
test bl, bl
je 0x4c044d
shr ebp, 0x10
mov edx, dword [esp + 0x1c]
mov ebx, edx
shl edx, 0x10
or edx, ebp
shr ebx, 0x10
mov ebp, dword [esp + 0x30]
add ebp, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebp
test ebx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp edx, 0x100
setae bl
and ebx, ebp
or ebx, edi
test bl, bl
je 0x4c043e
shr edx, 8
mov ebx, dword [esp + 0x1c]
mov ebp, ebx
shl ebx, 0x18
or ebx, edx
shr ebp, 8
mov edx, dword [esp + 0x30]
add edx, 8
test ebp, ebp
jne 0x4c0826
cmp ebx, 0x100
jae 0x4c081a
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], esi
lea ebp, [0x1083960]
movzx ebx, byte [ebp + ebx]
mov dword [esp + 0x44], ebx
lea ebp, [edx + ebx - 0x40]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb edi, edi
mov ecx, ebp
shl esi, cl
and esi, edi
mov dword [eax], esi
lea esi, [ecx - 0x20]
mov dword [esp + 0x5c], esi
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x58], ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x54], ebx
mov ecx, esi
mov ebx, dword [esp + 0x60]
mov esi, ebx
shr ebx, cl
mov dword [esp + 0x60], ebx
mov ecx, ebp
mov ebx, dword [esp + 0x64]
shl ebx, cl
mov ecx, dword [esp + 0x5c]
shl esi, cl
and ebx, edi
mov edi, dword [esp + 0x60]
mov ecx, ebp
mov ebp, dword [esp + 0x54]
and edi, ebp
or edi, ebx
mov ebx, dword [esp + 0x58]
and esi, ebx
or esi, edi
mov dword [eax + 4], esi
mov ebx, dword [eax + 8]
mov ebp, dword [esp + 0x44]
add ebp, edx
lea ebx, [ebx + ebp - 0x40]
mov dword [eax + 8], ebx
mov edx, ecx
mov ecx, dword [esp + 0x48]
jmp 0x4c016a
mov ebx, edx
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
jmp 0x4c038b
mov ebx, dword [esp + 0x1c]
mov edx, ebp
mov ebp, dword [esp + 0x30]
jmp 0x4c0346
mov edx, ebp
mov ebx, edx
mov ebp, esi
xor edi, edi
jmp 0x4c0301
mov edx, eax
jmp 0x4c0141
test eax, eax
xchg ebp, ebx
setae bl
xchg ebp, ebx
cmp edx, 1
xchg edi, ebx
seta bl
xchg edi, ebx
mov ecx, ebx
sete bl
nop
and ebx, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4c060b
mov ebx, edx
xor ebp, ebp
mov edi, 0x20
mov dword [esp + 0x14], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], edi
cmp edx, 0x10000
setae bl
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edi, ebx
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c05fc
shr edx, 0x10
mov ebx, dword [esp + 0x14]
mov ebp, ebx
shl ebx, 0x10
or ebx, edx
shr ebp, 0x10
mov edx, dword [esp + 0x28]
add edx, 0x10
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], edx
cmp ebx, 0x100
xchg edi, ebx
setae bl
xchg edi, ebx
test ebp, ebp
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, edi
or edx, ebp
test dl, dl
je 0x4c05ed
shr ebx, 8
mov edx, dword [esp + 0x14]
mov ebp, edx
shl edx, 0x18
or edx, ebx
shr ebp, 8
mov ebx, dword [esp + 0x28]
add ebx, 8
test ebp, ebp
jne 0x4c0870
cmp edx, 0x100
jae 0x4c0864
mov dword [esp + 0x60], eax
lea ebp, [0x1083960]
movzx edx, byte [edx + ebp]
mov dword [esp + 0x48], edx
lea edi, [ebx + edx - 0x40]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0x24], edi
cmp edi, 0x20
sbb ebp, ebp
mov dword [esp + 0x5c], ebp
mov ecx, edi
shl eax, cl
and eax, ebp
mov edx, dword [esp + 0x6c]
mov dword [edx], eax
mov eax, edx
lea edx, [ecx - 0x20]
mov dword [esp + 0x58], edx
neg edx
mov dword [esp + 0x54], edx
cmp edx, 0x20
sbb ebp, ebp
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x58]
cmp ebp, 0x20
sbb edi, edi
mov ecx, ebp
mov edx, dword [esp + 0x60]
mov ebp, edx
shl edx, cl
and edx, edi
mov ecx, dword [esp + 0x54]
shr ebp, cl
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x64]
shl edi, cl
mov ecx, edx
mov edx, dword [esp + 0x50]
and ebp, edx
mov edx, dword [esp + 0x5c]
and edi, edx
or edi, ebp
or ecx, edi
mov dword [eax + 4], ecx
mov edx, dword [eax + 8]
mov ebp, dword [esp + 0x48]
add ebp, ebx
lea edx, [edx + ebp - 0x40]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
cmp edx, 0x57
mov eax, edx
mov ebx, dword [esp + 0x6c]
jmp 0x4c00f7
mov edx, ebx
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
jmp 0x4c0530
mov ebp, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [esp + 0x28]
jmp 0x4c04eb
mov ebx, edx
mov ebp, ebx
mov edx, eax
xor edi, edi
jmp 0x4c04a0
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 4]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [edx]
test edi, edi
mov ecx, edx
sete dl
and edx, ebp
test dl, dl
je 0x4c068c
cmp esi, 8
jae 0x4c083e
mov dword [esp + 0x40], eax
shl esi, 4
lea eax, [0x1081720]
mov edx, dword [eax + esi]
mov ebx, dword [eax + esi + 4]
mov ebp, dword [eax + esi + 8]
movzx eax, byte [eax + esi + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], al
call fcn.004bff50
mov eax, dword [esp + 0x40]
lea esi, [eax + 4]
mov eax, dword [esp + 0x38]
cmp eax, 0x57
mov ebx, dword [esp + 0x6c]
jmp 0x4c00f7
mov dword [esp + 0x64], ebx
cmp ebx, 1
seta dl
test edi, edi
xchg ebp, ebx
setae bl
xchg ebp, ebx
cmp ebx, 1
sete bl
nop
and ebx, ebp
or edx, ebx
test dl, dl
je 0x4c0806
xor edx, edx
mov ebx, dword [esp + 0x64]
mov ebp, 0x20
mov dword [esp + 0x18], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x2c], ebp
cmp ebx, 0x10000
xchg edi, ebx
setae bl
xchg edi, ebx
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta dl
and ebp, edi
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c07f7
shr ebx, 0x10
mov edx, dword [esp + 0x18]
mov ebp, edx
shl edx, 0x10
or edx, ebx
shr ebp, 0x10
mov ebx, dword [esp + 0x2c]
add ebx, 0x10
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
cmp edx, 0x100
xchg edi, ebx
setae bl
xchg edi, ebx
test ebp, ebp
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c07e8
shr edx, 8
mov ebx, dword [esp + 0x18]
mov ebp, ebx
shl ebx, 0x18
or ebx, edx
shr ebp, 8
mov edx, dword [esp + 0x2c]
add edx, 8
test ebp, ebp
jne 0x4c0856
cmp ebx, 0x100
jae 0x4c084a
lea ebp, [0x1083960]
movzx ebx, byte [ebx + ebp]
lea edx, [edx + ebx - 0x40]
mov dword [esp + 0x48], edx
neg edx
mov dword [esp + 0x20], edx
cmp edx, 0x20
sbb edi, edi
mov dword [esp + 0x5c], edi
mov ecx, edx
mov ebp, dword [esp + 0x60]
shl ebp, cl
and ebp, edi
mov ebx, dword [esp + 0x6c]
mov dword [ebx], ebp
lea ebp, [ecx - 0x20]
mov dword [esp + 0x58], ebp
cmp ebp, 0x20
sbb ebx, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb edi, edi
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
shl edx, cl
and edx, ebx
mov ecx, ebp
mov ebx, dword [esp + 0x60]
shr ebx, cl
and ebx, edi
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x64]
shl ebp, cl
mov edi, dword [esp + 0x5c]
and ebp, edi
or ebp, ebx
or edx, ebp
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 8], edx
jmp 0x4c0637
mov ebx, edx
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
jmp 0x4c074f
mov ebp, dword [esp + 0x18]
mov edx, ebx
mov ebx, dword [esp + 0x2c]
jmp 0x4c0708
mov edx, dword [esp + 0x64]
mov ebx, edi
xor ebp, ebp
jmp 0x4c06bd
xor eax, eax
jmp 0x4bffeb
mov eax, ebx
mov ecx, 0x100
call fcn.00460bd0
mov esi, ebp
mov eax, ebx
mov ecx, 0x100
call fcn.00460cb0
mov ecx, 0x57
call fcn.00460bc0
mov eax, esi
mov ecx, 8
call fcn.00460bc0
mov eax, ebx
mov ecx, 0x100
call fcn.00460bd0
mov esi, ebp
mov eax, ebx
mov ecx, 0x100
call fcn.00460cb0
mov eax, edx
mov ecx, 0x100
call fcn.00460bd0
mov esi, ebp
mov eax, edx
mov ecx, 0x100
call fcn.00460cb0
mov eax, esi
mov ecx, 0x14
call fcn.00460bc0
mov eax, edx
mov ecx, 0x14
call fcn.00460bc0
nop
call fcn.0045f5f0
jmp fcn.004bffc0