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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov eax, ecx
mov dword [esp + 0x40], edx
xor ecx, ecx
mov dword [esp + 0x44], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x4a8d4d
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
je 0x4a8d4d
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
mov dword [esp + 0x90], eax
cmp eax, 0x3f
ja 0x4a8d44
movzx ebx, ax
xor edx, edx
xor esi, esi
mov edi, dword [esp + 0x78]
mov eax, ebx
movlpd qword [esp + 0x50], xmm0
bts edx, eax
movlpd qword [esp + 0x40], xmm0
cmp eax, 0x20
mov byte [esp + 0x1c], 1
mov dword [esp + 0x34], ebx
cmovae esi, edx
mov dword [esp + 0x38], ecx
xor edx, esi
mov dword [esp + 0x18], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x1c]
adc esi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x8c], eax
mov eax, ecx
setne al
mov dword [esp + 0x10], esi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
nop word [eax + eax]
mov eax, dword [esp + 0x60]
cmp esi, eax
ja 0x4a94c3
jb 0x4a8e1b
cmp edi, dword [esp + 0x88]
jae 0x4a94ca
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x38], eax
jg 0x4a94bf
cmp dword [esp + 0x38], 0
jle 0x4a8e4a
mov ebx, dword [esp + 0x64]
or ebx, dword [ecx + 8]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x68]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jge 0x4a8e70
cmp word [esp + 0x8c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x24], ecx
jne 0x4a94ab
jmp 0x4a8e77
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x24], ecx
test dword [ecx + 0x24], 0x400
jne 0x4a94b9
xor eax, eax
mov word [ecx + 0x1e], ax
movzx eax, byte [ecx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x40], eax
test ebx, ebx
jle 0x4a8fea
mov ebx, dword [esp + 0x48]
add ebx, 4
mov dword [esp + 0x28], ebx
nop dword [eax]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x50], ecx
cmovae edx, ecx
and ecx, edi
mov eax, edx
mov dword [esp + 0x30], edx
and eax, esi
or ecx, eax
jne 0x4a8fce
mov esi, dword [ebx]
test esi, esi
je 0x4a8f11
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x4a8f11
test eax, 0x40000
je 0x4a8f0a
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 4]
jmp 0x4a8f0d
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4a8ef1
cmp byte [esi], 0x9e
jne 0x4a8fca
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x1c], edx
jne 0x4a8fca
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x64]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x70]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
add ecx, 0x50
call fcn.004a51b0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4a8fc6
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x4a8f86
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
jle 0x4a8f82
mov eax, dword [eax + 0x30]
cmp edi, dword [eax]
je 0x4a8f82
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8f76
cmp ecx, edx
jge 0x4a8fc6
test bl, 0x82
je 0x4a8fac
cmp word [esi + 0x20], 0
jl 0x4a8fac
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push dword [edi]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.00466dc0
add esp, 4
test eax, eax
je 0x4a8fc6
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
or edi, dword [esp + 0x50]
or esi, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
jmp 0x4a8fce
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add dword [esp + 0x28], 0x18
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x34]
jl 0x4a8ec0
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x24]
test eax, 0x1000
jne 0x4a9369
test eax, 0x100
je 0x4a901a
mov dword [esp + 0x5c], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x4a9048
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x4a8d44
test byte [ecx + 0x38], 4
jne 0x4a8d44
movzx eax, word [ecx + 0x32]
cmp byte [ecx + 0x36], 0
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
setne byte [esp + 0x1c]
xor cl, cl
movzx eax, ax
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x78], eax
test eax, eax
jle 0x4a9369
xor edx, edx
mov dword [esp + 0x30], edx
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x21], 1
cmp ecx, ebx
jge 0x4a90f2
movzx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4a90f2
mov edi, dword [esi + 0x30]
mov eax, dword [esp + 0x84]
mov esi, dword [edi + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4a90c2
mov eax, dword [esp + 0x1c]
test ecx, 0x100
mov esi, dword [esp + 0x24]
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x4a934a
test cl, 1
mov ecx, dword [esp + 0x2c]
je 0x4a90f2
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, ebx
jge 0x4a90f2
inc ecx
lea ecx, [edi + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4a90e8
inc edx
add ecx, 4
cmp edx, ebx
jl 0x4a90d8
jmp 0x4a90ee
xor al, al
mov byte [esp + 0x21], al
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4a911c
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov al, byte [ecx + eax]
mov byte [esp + 0x17], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x4a9128
jmp 0x4a9121
mov byte [esp + 0x17], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
cmp byte [esp + 0x1c], 0
je 0x4a9156
test edx, edx
js 0x4a9156
cmp ecx, ebx
jl 0x4a9156
mov eax, dword [esi + 0xc]
mov ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, ecx
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
cmove edx, esi
mov dword [esp + 0x1c], edx
mov bh, byte [esp + 0x21]
xor edi, edi
test bh, bh
je 0x4a9271
mov esi, dword [esp + 0x48]
add esi, 4
mov dword [esp + 0x3c], esi
nop
cmp edi, dword [esp + 0x34]
jge 0x4a9271
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x18]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x4a9261
mov ecx, dword [esi]
test ecx, ecx
je 0x4a91d0
nop word [eax + eax]
mov eax, dword [ecx + 4]
test eax, 0x1000
je 0x4a91d0
test eax, 0x40000
je 0x4a91c9
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
jmp 0x4a91cc
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4a91b0
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x28]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x4a91fe
cmp byte [ecx], 0x9e
jne 0x4a9261
mov eax, dword [esp + 0x6c]
cmp dword [ecx + 0x1c], eax
jne 0x4a9261
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x4a9261
jmp 0x4a9221
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
push dword [esp + 0x6c]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.0046e3e0
add esp, 4
test eax, eax
jne 0x4a9261
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
je 0x4a92a3
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00466c30
test eax, eax
jne 0x4a9242
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x5c]
mov bh, bl
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call fcn.00434620
test eax, eax
je 0x4a92a3
mov esi, dword [esp + 0x3c]
add esi, 0x18
inc edi
mov dword [esp + 0x3c], esi
test bh, bh
jne 0x4a9170
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4a9288
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp edi, eax
jge 0x4a928d
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x40]
test cl, cl
je 0x4a9369
mov byte [esp + 0x1c], 1
jmp 0x4a9374
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc eax
test byte [ebp + 0xc], 0x40
mov word [esi + 0x1e], ax
jne 0x4a9311
cmp byte [esp + 0x23], 0
lea eax, [edi + edi*2]
je 0x4a92d9
mov edx, dword [esp + 0x48]
mov cl, byte [esp + 0x17]
xor cl, byte [esp + 0x22]
cmp cl, byte [edx + eax*8 + 0x10]
sete al
test al, al
je 0x4a9275
jmp 0x4a9311
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + eax*8 + 0x10]
xor al, byte [esp + 0x17]
mov byte [esp + 0x22], al
je 0x4a930c
mov eax, dword [esp + 0x38]
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 + 0x23], 1
cmp dword [esp + 0x28], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x40], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add edx, 0x18
inc ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x78]
jl 0x4a9073
jmp 0x4a928d
cmp byte [esp + 0x1c], 0
je 0x4a9497
mov eax, dword [esp + 0x70]
or eax, dword [esi + 8]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
or eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x3c], eax
test ebx, ebx
jle 0x4a949b
mov ebx, dword [esp + 0x48]
add ebx, 4
mov dword [esp + 0x40], ebx
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x18]
mov eax, edi
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x4a9471
mov ebx, dword [ebx]
test ebx, ebx
je 0x4a93eb
mov ecx, dword [esp + 0x4c]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.004a4900
mov ecx, edx
jmp 0x4a93fc
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x30], ecx
jne 0x4a9449
mov byte [esp + 0xa8], 1
mov dword [esp + 0x98], fcn.00469230
mov dword [esp + 0x9c], 0x4691d0
mov dword [esp + 0xac], eax
test ebx, ebx
je 0x4a9449
mov edx, ebx
lea ecx, [esp + 0x94]
call fcn.00464310
cmp byte [esp + 0xa8], 0
je 0x4a9471
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4a9471
or dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
or esi, edi
mov dword [esp + 0x10], esi
jmp 0x4a9475
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x40], 0x18
inc eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x34]
jl 0x4a93a7
mov ebx, dword [esp + 0x34]
jmp 0x4a949f
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x38]
test dl, dl
jne 0x4a8e00
jmp 0x4a94bf
cmp byte [ecx + 0x1d], 0
jne 0x4a94d0
mov eax, dword [esp + 0x60]
cmp edi, dword [esp + 0x88]
jne 0x4a94de
cmp esi, eax
jne 0x4a94de
mov al, byte [esp + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x4a9536
dec ebx
test ebx, ebx
jle 0x4a8d44
mov edi, dword [esp + 0x10]
nop
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
mov eax, ecx
adc edx, 0xffffffff
and eax, dword [esp + 0x18]
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x4a951f
cmp esi, edx
je 0x4a952d
dec ebx
test ebx, ebx
jg 0x4a94f0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret