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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
cmp word [ebp + 0x10], 0
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
mov eax, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x6c], eax
movlpd qword [esp + 0x70], xmm0
je 0x4b3d66
test byte [eax + 0x3c], 0x80
je 0x4b3d66
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
mov dword [esp + 0x7c], eax
cmp eax, 0x3f
ja 0x4b3d5e
movzx ecx, ax
xor edx, edx
mov eax, ecx
bts edx, eax
xor esi, esi
cmp eax, 0x20
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x40], xmm0
mov byte [esp + 0x20], 1
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov eax, dword [esp + 0x54]
cmovae esi, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
add edx, 0xffffffff
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
adc esi, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], eax
jmp 0x4b3df0
mov eax, dword [esp + 0x5c]
cmp edx, eax
ja 0x4b44cb
jb 0x4b3e08
cmp esi, dword [esp + 0x78]
jae 0x4b44cf
movzx eax, word [ebp + 0x10]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x3c], eax
jg 0x4b44c7
cmp dword [esp + 0x3c], 0
mov edi, dword [esp + 0x14]
jle 0x4b3e47
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
or ecx, dword [edi + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x68]
or ecx, dword [edi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x3c], eax
jge 0x4b3e64
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x10]
jmp 0x4b3e67
mov eax, dword [ebp + 0x14]
test dword [eax + 0x24], 0x400
mov dword [esp + 0x38], eax
jne 0x4b44c1
mov edx, eax
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
shl ecx, 4
mov edi, dword [ecx + eax + 0x38]
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], eax
cmp dword [esp + 0x30], eax
jle 0x4b3fe0
xor esi, esi
mov dword [esp + 0x1c], esi
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
mov dword [esp + 0x50], ecx
and ecx, dword [esp + 0x10]
mov eax, edx
and eax, dword [esp + 0xc]
mov dword [esp + 0x24], edx
or ecx, eax
jne 0x4b3fc0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov esi, dword [esi + eax]
test esi, esi
je 0x4b3f04
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x4b3f04
test eax, 0x40000
je 0x4b3efd
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x4b3f00
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4b3ee2
cmp byte [esi], 0x9a
jne 0x4b3fc0
cmp dword [esi + 0x1c], edi
jne 0x4b3fc0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0
push 0x82
not eax
not ecx
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x24]
push eax
add ecx, 0x148
mov edx, edi
call fcn.004ad890
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4b3fbc
test byte [edi + 0x12], 2
je 0x4b3fa4
cmp word [esi + 0x20], 0
jl 0x4b3fa4
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.0047b200
test eax, eax
jne 0x4b3f7b
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.0047b200
test eax, eax
jne 0x4b3f95
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
push dword [eax]
push esi
call fcn.0044fb00
add esp, 8
test eax, eax
jne 0x4b3fbc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
or eax, dword [esp + 0x50]
or edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add dword [esp + 0x1c], 0x18
mov esi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x30]
jl 0x4b3ea5
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x4b42ae
test eax, 0x100
je 0x4b4004
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], edi
lea eax, [edi + 1]
jmp 0x4b4032
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x24], edi
test edi, edi
je 0x4b3d5e
test byte [edi + 0x38], 4
jne 0x4b3d5e
movzx eax, word [edi + 0x32]
cmp byte [edi + 0x36], 0
mov dword [esp + 0x50], eax
movzx eax, word [edi + 0x34]
setne byte [esp + 0x20]
xor cl, cl
movzx eax, ax
xor esi, esi
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x70], eax
test eax, eax
jle 0x4b42ae
movzx ecx, word [edx + 0x18]
cmp esi, ecx
jge 0x4b4086
cmp word [edx + 0x1a], 0
jne 0x4b4086
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + esi*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x4b4086
test al, al
jns 0x4b4296
mov byte [esp + 0x20], 0
jmp 0x4b4296
test edi, edi
je 0x4b40ac
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], edx
mov al, byte [esi + eax]
mov byte [esp + 0xb], al
mov eax, dword [edi + 0xc]
movsx eax, word [eax + 0x24]
cmp edx, eax
jne 0x4b40b8
jmp 0x4b40b1
mov byte [esp + 0xb], 0
or edx, 0xffffffff
mov dword [esp + 0x1c], edx
cmp byte [esp + 0x20], 0
je 0x4b40e5
test edx, edx
js 0x4b40e5
cmp esi, ecx
jl 0x4b40e5
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
xor esi, esi
cmp byte [eax + ecx*8 + 0x14], 0
movzx edx, dl
cmove edx, esi
mov dword [esp + 0x20], edx
xor esi, esi
mov byte [esp + 0xa], 1
xor edi, edi
mov edi, edi
cmp esi, dword [esp + 0x30]
jge 0x4b41c7
xor edx, edx
mov eax, esi
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x10]
and ecx, dword [esp + 0xc]
or edx, ecx
jne 0x4b41b8
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [edi + eax]
mov eax, edx
test eax, eax
je 0x4b4155
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x4b4155
test ecx, 0x40000
je 0x4b414e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4b4151
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b4131
mov ecx, dword [ebp + 0xc]
and ecx, 0x300
neg ecx
sbb cl, cl
and byte [esp + 0xa], cl
cmp byte [eax], 0x9a
jne 0x4b41b8
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 0x1c], ecx
jne 0x4b41b8
movsx eax, word [eax + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x4b41b8
test ecx, ecx
js 0x4b41f5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.0047b200
mov ecx, eax
test ecx, ecx
jne 0x4b419c
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
push dword [eax + edx*4]
push dword [ecx]
call fcn.0044fb00
add esp, 8
test eax, eax
je 0x4b41f5
inc esi
add edi, 0x18
cmp byte [esp + 0xa], 0
jne 0x4b40f0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4b41da
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x4b41df
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x40]
test cl, cl
je 0x4b42ae
mov byte [esp + 0x20], 1
jmp 0x4b42b9
mov eax, dword [esp + 0x14]
mov ecx, 0x100
test word [eax + 0x22], cx
jne 0x4b4259
cmp byte [esp + 0x1a], 0
mov eax, dword [esp + 0x4c]
lea ecx, [esi + esi*2]
mov eax, dword [eax + 4]
je 0x4b4225
mov dl, byte [esp + 0xb]
xor dl, byte [esp + 0x1b]
cmp dl, byte [eax + ecx*8 + 0xc]
jne 0x4b41c7
jmp 0x4b4259
mov dh, byte [eax + ecx*8 + 0xc]
xor dh, byte [esp + 0xb]
mov byte [esp + 0x1b], dh
je 0x4b4254
mov eax, dword [esp + 0x3c]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1a], 1
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x1c], 0
movzx edx, dl
mov eax, 1
cmovl edx, eax
xor eax, eax
bts eax, esi
xor ecx, ecx
cmp esi, 0x20
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
mov esi, dword [esp + 0x28]
cmovae ecx, eax
or dword [esp + 0x10], eax
or dword [esp + 0xc], ecx
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x70]
jge 0x4b41df
mov edi, dword [esp + 0x24]
jmp 0x4b4057
cmp byte [esp + 0x20], 0
je 0x4b44a5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
or ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x34]
or ecx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
test ecx, ecx
jle 0x4b44a9
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x4b42f0
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
mov dword [esp + 0x70], ecx
and ecx, dword [esp + 0x10]
mov eax, edx
and eax, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
or ecx, eax
jne 0x4b4485
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 4]
lea ecx, [edi + 0x44]
mov esi, dword [esi + eax]
mov dword [esp + 0x40], esi
test esi, esi
jne 0x4b435b
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x28], eax
jmp 0x4b4409
cmp byte [esi], 0x9a
jne 0x4b43af
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x4b437c
mov esi, dword [esi + 0x1c]
lea ecx, [edi + 0x48]
mov edi, edi
cmp dword [ecx], esi
je 0x4b4398
inc eax
add ecx, 4
cmp eax, edx
jl 0x4b4370
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
jmp 0x4b43f9
xor esi, esi
bts esi, eax
xor edi, edi
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x4b43f9
mov edx, dword [esi + 0x10]
call fcn.004ad040
mov ecx, dword [esp + 0x14]
mov edi, edx
mov edx, dword [esp + 0x40]
lea ecx, [ecx + 0x44]
mov edx, dword [edx + 0xc]
mov esi, eax
call fcn.004ad040
mov ecx, dword [esp + 0x14]
or esi, eax
mov eax, dword [esp + 0x40]
or edi, edx
test dword [eax + 4], 0x800
mov edx, dword [eax + 0x14]
lea ecx, [ecx + 0x44]
je 0x4b43f0
call fcn.004ad140
jmp 0x4b43f5
call fcn.004ad0d0
or esi, eax
or edi, edx
mov dword [esp + 0x28], esi
or esi, edi
mov dword [esp + 0x24], edi
jne 0x4b4457
mov esi, dword [esp + 0x40]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov edx, esi
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 1
mov dword [esp + 0x90], 0x47cb10
mov dword [esp + 0x94], 0x47cc00
call fcn.00478eb0
cmp dword [esp + 0xa4], 0
je 0x4b4485
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
not ecx
and ecx, dword [esp + 0x28]
not eax
and eax, edi
or ecx, eax
jne 0x4b4485
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
or eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
add dword [esp + 0x2c], 0x18
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x50], eax
cmp eax, ecx
jl 0x4b42f0
jmp 0x4b44a9
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x3c]
cmp byte [esp + 0x20], 0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
je 0x4b44c7
jmp 0x4b3df0
cmp byte [eax + 0x1d], 0
jne 0x4b44d5
mov eax, dword [esp + 0x5c]
cmp esi, dword [esp + 0x78]
jne 0x4b44df
cmp edx, eax
jne 0x4b44df
mov al, byte [esp + 0x7c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x20], 0
jne 0x4b454c
lea eax, [ecx - 1]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4b3d5e
mov edi, dword [esp + 0xc]
lea esp, [esp]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
mov eax, ecx
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x4b452b
cmp esi, edx
je 0x4b4542
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4b3d5e
mov esi, dword [esp + 0x10]
jmp 0x4b4500
mov al, byte [esp + 0x34]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
or al, 0xff
pop esi
mov esp, ebp
pop ebp
ret