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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b278c
sub esp, 0x60
mov edx, dword [esp + 0x64]
test edx, edx
sete bl
mov ebp, dword [esp + 0x68]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b228e
movzx eax, byte [esp + 0x70]
test al, al
je 0x4b2277
mov eax, 0x80000000
jmp 0x4b2279
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
mov ebx, dword [esp + 0x6c]
lea edi, [ebx + 0x15c]
cmp edi, 0x2b7
ja 0x4b2758
cmp ebp, 1
mov eax, edi
xchg edi, ebx
sete bl
xchg edi, ebx
mov ecx, ebx
seta bl
nop
and edi, 1
or ebx, edi
test bl, bl
je 0x4b22ca
mov ebx, ebp
xor esi, esi
mov edi, 0x20
jmp 0x4b22d2
mov ebx, ebp
mov esi, ebx
mov ebp, edx
xor edi, edi
mov dword [esp + 0x40], edi
test esi, esi
seta dl
sete bl
cmp ebp, 0x10000
xchg edi, ebx
setae bl
xchg edi, ebx
and edi, ebx
or edx, edi
test dl, dl
je 0x4b2309
shr ebp, 0x10
mov edx, esi
shl esi, 0x10
or ebp, esi
shr edx, 0x10
mov ebx, dword [esp + 0x40]
lea edi, [ebx + 0x10]
jmp 0x4b230f
mov edx, esi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], edx
test edx, edx
seta bl
mov esi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebp, 0x100
setae dl
and edx, edi
or edx, ebx
test dl, dl
je 0x4b2348
shr ebp, 8
mov edx, dword [esp + 0x38]
mov ebx, edx
shl edx, 0x18
or ebp, edx
shr ebx, 8
lea edi, [esi + 8]
jmp 0x4b234e
mov edi, esi
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x4b277d
cmp ebp, 0x100
jae 0x4b2771
mov dword [esp + 0x5c], eax
lea edx, [0x7082a9]
movzx edx, byte [edx + ebp]
lea edx, [edx + edi - 0x40]
neg edx
mov dword [esp + 0x24], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x58], ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x54], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x50], esi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb eax, eax
imul esi, ecx, 0x3526a
sar esi, 0x10
add esi, 0x43f
mov ecx, esi
sar esi, 0x1f
sar edx, 0x1f
mov edi, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x3c], ecx
sbb esi, edx
mov dword [esp + 0x4c], esi
mov ecx, edi
mov esi, dword [esp + 0x68]
shl esi, cl
and esi, ebx
mov ecx, ebp
mov edx, dword [esp + 0x64]
mov ebp, edx
shr edx, cl
and edx, eax
or edx, esi
mov ecx, dword [esp + 0x54]
mov eax, ebp
shl ebp, cl
mov esi, dword [esp + 0x50]
and ebp, esi
or edx, ebp
mov dword [esp + 0x54], edx
mov ebp, dword [esp + 0x5c]
shl ebp, 4
mov dword [esp + 0x5c], ebp
lea esi, [0x9483a0]
mov ebx, dword [esi + ebp + 8]
mov ebp, dword [esi + ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, edi
shl eax, cl
mov edi, dword [esp + 0x58]
and eax, edi
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call fcn.0048ade0
mov eax, dword [esp + 0x10]
mov edx, eax
and eax, 0x1ff
cmp eax, 0x1ff
sete al
mov ebx, dword [esp + 0x14]
and eax, 1
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test al, al
je 0x4b259a
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x58]
mov edi, eax
add eax, ebp
mov ecx, edx
mov edx, dword [esp + 0x54]
adc edx, esi
mov ebx, dword [esp + 0x54]
cmp ebx, edx
seta dl
sete bl
cmp eax, edi
setb al
and eax, ebx
or eax, edx
test al, al
jne 0x4b2492
mov ebx, dword [esp + 0x34]
mov edi, ecx
mov eax, ebp
mov ecx, esi
jmp 0x4b25a0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x5c]
lea ecx, [0x9483a0]
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.0048ade0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add eax, edx
mov ebx, dword [esp + 0x2c]
adc ecx, ebx
cmp ebx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, edx
setb dl
and edx, ebp
or ebx, edx
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test bl, bl
je 0x4b250c
mov esi, dword [esp + 0x50]
add esi, 1
mov ebx, dword [esp + 0x34]
adc ebx, 0
jmp 0x4b2514
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
mov edi, esi
and esi, 0x1ff
cmp esi, 0x1ff
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x4b25a0
mov dword [esp + 0x44], eax
cmp ecx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
cmp eax, 0xffffffff
sete al
and eax, esi
test al, al
je 0x4b2594
mov eax, dword [esp + 0x58]
add edx, eax
mov esi, dword [esp + 0x54]
adc ebp, esi
cmp esi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, eax
setb al
and eax, esi
or eax, ebp
test al, al
jne 0x4b257b
mov eax, dword [esp + 0x44]
jmp 0x4b25a0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x44]
jmp 0x4b25a0
mov edi, edx
mov eax, ebp
mov ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
shr ebx, 0x1f
mov ebp, ebx
add ebx, 9
mov esi, 0
adc esi, 0
cmp esi, 1
sbb esi, esi
xor esi, 0xffffffff
or esi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x58], ebx
lea edx, [esi - 0x20]
mov dword [esp + 0x54], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x50], ebx
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x48], ebx
xor ebp, 1
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x4c]
sbb ebp, 0
mov dword [esp + 0x4c], ebp
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
test eax, eax
sete al
mov byte [esp + 0x23], al
mov ecx, esi
shr edi, cl
mov ebx, dword [esp + 0x58]
and edi, ebx
mov ecx, edx
mov eax, dword [esp + 0x34]
mov edx, eax
shl eax, cl
mov ecx, ebp
mov ebp, dword [esp + 0x48]
and eax, ebp
or eax, edi
mov ebp, ecx
mov ecx, dword [esp + 0x54]
mov edi, edx
shr edx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x50]
and edx, ebp
or eax, edx
mov edx, ecx
mov ecx, esi
shr edi, cl
and edi, ebx
movzx ebx, byte [esp + 0x23]
and edx, ebx
test dl, dl
je 0x4b2698
mov ecx, dword [esp + 0x30]
test ecx, 0x1ff
sete cl
and ecx, 1
test cl, cl
je 0x4b2694
mov ecx, eax
and eax, 3
cmp eax, 1
sete al
and eax, 1
test al, al
je 0x4b269a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov ecx, eax
jmp 0x4b269a
mov ecx, eax
mov eax, ecx
and ecx, 1
add ecx, eax
adc edi, 0
mov eax, edi
shr edi, 0x16
test edi, edi
seta dl
mov ebx, ecx
shr ecx, 1
mov ebp, eax
shl eax, 0x1f
or eax, ecx
mov ecx, ebp
shr ebp, 1
and edx, 1
test dl, dl
je 0x4b26e1
mov edx, dword [esp + 0x3c]
add edx, 1
mov ebp, dword [esp + 0x4c]
adc ebp, 0
shr ebx, 2
mov eax, ecx
shl eax, 0x1e
or eax, ebx
shr ecx, 2
jmp 0x4b26eb
mov edx, dword [esp + 0x3c]
mov ecx, ebp
mov ebp, dword [esp + 0x4c]
mov ebx, edx
add edx, 0xffffffff
adc ebp, 0xffffffff
test ebp, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, 0x7fe
setae dl
and edx, esi
or edx, ebp
test dl, dl
jne 0x4b273f
shl ebx, 0x14
and ecx, 0xfffff
or ebx, ecx
movzx ecx, byte [esp + 0x70]
test cl, cl
je 0x4b272e
or ebx, 0x80000000
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov eax, ebp
mov ecx, 0x100
call fcn.00465e10
mov esi, ebx
mov eax, ebp
mov ecx, 0x100
call fcn.00465ef0
nop
call fcn.004649b0
jmp fcn.004b2230