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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x10], eax
push esi
mov eax, dword [ebx + 0x28]
mov esi, edx
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
push edi
test eax, eax
jne 0x4ba744
cmp dword [ebx + 0x74], eax
jne 0x4ba735
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4ba735
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.004a1b00
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x4ba787
test dword [esi + 4], 0x800
je 0x4ba787
mov eax, dword [esi + 0x14]
xor edx, edx
mov esi, dword [eax]
mov edi, dword [esi]
test edi, edi
jle 0x4ba778
add esi, 4
mov ecx, dword [esi]
call fcn.004ba330
test eax, eax
jne 0x4ba774
inc edx
add esi, 0x18
cmp edx, edi
jl 0x4ba761
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp edx, edi
cmove ecx, eax
mov dword [esp + 0x40], ecx
cmp dword [ebx + 0x24], 0
jne 0x4bad5d
mov ecx, esi
call fcn.004ba510
test eax, eax
je 0x4bad5d
mov ecx, dword [eax]
mov eax, dword [eax + 0x20]
mov esi, dword [ebx]
mov dword [esp + 0x44], ecx
mov edi, dword [ecx]
mov ecx, 0xfff0bdc0
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x4ba7d8
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], edx
je 0x4ba7d8
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4ba7d0
movsx eax, cx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x74]
test eax, eax
mov ecx, dword [esp + 0x3c]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4ba815
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4ba815
mov ecx, edx
call fcn.004cbd20
mov ecx, dword [esp + 0x3c]
push dword [ebx]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push 0
push dword [ebx + 0x1c]
call fcn.004c52d0
add esp, 0xc
cmp edi, 1
jne 0x4ba8b7
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x4ba8b7
mov ecx, dword [esp + 0x20]
lea edx, [edi + 0x10]
call fcn.004a1eb0
mov edi, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0x61
push ebx
push dword [esp + 0x44]
call fcn.004d4580
add esp, 0xc
mov dword [esp + 0x18], 1
push dword [ebx]
push 0x70e1d0
push 0
push edi
call fcn.004a2330
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x4ba890
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4ba8a5
mov eax, 0x71d19c
mov dword [eax + 8], edx
jmp 0x4bae1d
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4bae1d
mov dword [esp + 0x38], 0
mov eax, 1
mov dword [esp + 0x28], eax
test edi, edi
jle 0x4ba9ad
xor edi, edi
test eax, eax
je 0x4bad59
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xab
jne 0x4ba8ec
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4ba8f9
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, edx
jmp 0x4ba904
cmp al, 0x86
jne 0x4ba91e
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, dword [edx]
cmp esi, 1
jle 0x4ba91e
cmp bl, 0x86
je 0x4ba91a
cmp byte [ecx + 0x26], 0x86
je 0x4ba91a
mov ecx, dword [eax + edi + 4]
jmp 0x4ba91e
mov ecx, dword [edx + edi + 4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi + 4]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x4ba93d
mov eax, dword [esp + 0x24]
add edx, edx
mov eax, dword [eax + 4]
mov bl, byte [eax + edx*8 + 0xd]
jmp 0x4ba93f
mov bl, 0x44
call fcn.004b7900
cmp al, 0x40
jle 0x4ba963
cmp bl, 0x40
jle 0x4ba95e
cmp al, 0x43
jge 0x4ba95a
cmp bl, 0x43
jge 0x4ba95a
mov al, 0x41
jmp 0x4ba968
mov al, 0x43
jmp 0x4ba968
movsx eax, al
jmp 0x4ba966
movsx eax, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4ba983
sub eax, 1
je 0x4ba983
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x28], eax
jmp 0x4ba987
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add edi, 0x18
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x1c]
jl 0x4ba8d2
test eax, eax
je 0x4bad59
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x4bad59
xor esi, esi
nop
test esi, esi
jne 0x4bae21
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edi
jl 0x4bad42
cmp dword [ebx + 0x24], esi
jne 0x4bad42
cmp eax, 0x3f
jae 0x4bad42
test byte [ebp + 8], 4
je 0x4baa08
movzx eax, word [ebx + 0x32]
cmp eax, edi
jg 0x4bad42
cmp ecx, edi
jle 0x4baa08
cmp byte [ebx + 0x36], 0
je 0x4bad42
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edi, edi
jle 0x4babeb
mov eax, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xab
jne 0x4baa49
mov al, byte [edx + 0x26]
cmp al, 0xac
jne 0x4baa56
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x4baa61
cmp al, 0x86
jne 0x4baa7b
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 1
jle 0x4baa7b
cmp bl, 0x86
je 0x4baa77
cmp byte [edx + 0x26], 0x86
je 0x4baa77
mov edx, dword [edi + eax + 4]
jmp 0x4baa7b
mov edx, dword [edi + ecx + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edi + 4]
je 0x4baa92
mov ecx, dword [esp + 0x10]
jmp 0x4baabc
test esi, esi
je 0x4baaa5
test dword [esi + 4], 0x100
je 0x4baaa5
mov ecx, dword [esp + 0x10]
jmp 0x4baaba
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.004b7a90
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4baac5
mov ecx, ebx
mov edx, esi
call fcn.004b7a90
mov dword [esp + 0x28], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
mov ebx, dword [esi + 4]
cmp word [ebx], cx
jne 0x4bab1f
test eax, eax
je 0x4bab2d
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
mov esi, dword [eax + edi*4]
sub esi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x4bab02
test eax, eax
je 0x4bab2d
inc edx
jmp 0x4baaf0
movzx ecx, byte [ecx + 0x6cd730]
movzx eax, byte [eax + 0x6cd730]
sub eax, ecx
jne 0x4bab17
inc edx
jmp 0x4baaf0
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x1c]
jl 0x4baad6
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
je 0x4bab8b
xor edx, edx
mov eax, edi
bts edx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov ecx, edx
cmovae esi, edx
and ecx, dword [esp + 0x24]
mov eax, esi
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4bab8b
or dword [esp + 0x24], edx
or dword [esp + 0x30], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
test eax, eax
je 0x4bab73
mov dword [eax + ecx*4], edi
mov edi, dword [esp + 0x48]
inc ecx
add edi, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], edi
cmp ecx, ebx
jl 0x4baa37
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
xor ecx, ecx
xor edx, edx
mov eax, edi
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x24], ecx
jne 0x4bad3e
cmp esi, edx
jne 0x4bad3e
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4babf9
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
mov esi, eax
jmp 0x4bac2c
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x4bab97
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebx]
push 0x70e1b0
push 0
push dword [esp + 0x1c]
call fcn.004a2330
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x4bac66
push dword [esp + 0x3c]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x61
call fcn.004a1e00
add esp, 0xc
jmp 0x4bac95
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov edx, ebx
mov ecx, eax
mov edi, dword [eax + 8]
call fcn.004cc6c0
mov edx, eax
test edx, edx
je 0x4bacd5
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4bacc3
push edx
mov edx, 0xfffffff7
call fcn.004a2b10
add esp, 4
jmp 0x4bacd5
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
movzx eax, byte [eax]
add eax, 3
mov dword [esp + 0x18], eax
test edx, edx
je 0x4bad11
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
cmp edi, 1
jne 0x4bad11
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.004ba580
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
test esi, esi
jns 0x4bad1f
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4bad2e
mov eax, 0x71d19c
jmp 0x4bad3b
mov eax, dword [esp + 0x20]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x4ba9c0
test esi, esi
jne 0x4bae21
mov ebx, dword [esp + 0x10]
test byte [ebp + 8], 1
mov ecx, dword [esp + 0x14]
je 0x4badc3
test dword [ecx + 4], 0x800
jne 0x4badc3
mov esi, dword [ecx + 0xc]
mov edx, ecx
mov dword [ecx + 0xc], 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], fcn.004b9f80
mov dword [esp + 0x68], 0x4b9e50
mov dword [esp + 0x78], 0
call fcn.004b5100
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
je 0x4badb8
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x4badc3
mov esi, 5
mov dword [esp + 0x18], esi
jmp 0x4bae25
mov edi, dword [ebx + 0x84]
xor esi, esi
test byte [ebp + 8], 4
mov eax, 2
mov dword [esp + 0x18], eax
je 0x4bade2
mov dword [ebx + 0x84], esi
jmp 0x4badf2
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4badf2
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x2c]
mov edx, ecx
mov ecx, ebx
call fcn.004bb090
add esp, 4
test esi, esi
je 0x4bae17
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push esi
call fcn.004ba580
add esp, 4
mov dword [ebx + 0x84], edi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x4baecd
cmp esi, 3
je 0x4baecd
cmp esi, 4
je 0x4baecd
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xab
jne 0x4bae4f
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4bae5a
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x4bae6c
cmp al, 0x86
jne 0x4bae67
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x4bae6c
mov edx, 1
xor ecx, ecx
test edx, edx
jle 0x4baecd
cmp edx, 8
jb 0x4baec1
movaps xmm1, xmmword [0x6e2800]
mov eax, edx
and eax, 0x80000007
jns 0x4bae8c
dec eax
or eax, 0xfffffff8
inc eax
mov esi, edx
sub esi, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4 + 0x10], xmm0
add ecx, 8
cmp ecx, esi
jl 0x4bae90
mov esi, dword [esp + 0x18]
cmp ecx, edx
jge 0x4baecd
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, edx
jl 0x4baec5
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
pop edi
mov dword [ecx], eax
mov eax, esi
mov ecx, dword [esp + 0x78]
pop esi
pop ebx
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret