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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x94], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x4acf64
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x4ad835
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x4ad835
movzx esi, ax
xor edx, edx
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov eax, esi
movlpd qword [esp + 0x58], xmm0
bts edx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x18], 1
mov dword [esp + 0x24], esi
cmovae ebx, edx
mov dword [esp + 0x10], edi
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x80], edx
adc ebx, 0xffffffff
and eax, 0x803
neg eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x78]
sbb eax, eax
mov dword [esp + 0x14], ebx
neg eax
add eax, 0x182
xor edx, edx
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov dword [esp + 0x74], eax
nop word [eax + eax]
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x4ad7a4
jb 0x4ad02b
cmp ebx, dword [esp + 0x80]
jae 0x4ad7ab
movzx eax, word [ebp + 0x10]
cmp edx, eax
jg 0x4ad7a0
test edx, edx
jle 0x4ad051
mov esi, dword [esp + 0x74]
or esi, dword [ecx + 8]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x64]
or esi, dword [ecx + 0xc]
mov dword [esp + 0x64], esi
cmp edx, eax
jge 0x4ad07b
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
test eax, 0x800
je 0x4ad089
mov ecx, esi
mov esi, dword [esp + 0x24]
jmp 0x4ad778
mov esi, dword [esp + 0x98]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x4ad78a
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x4ad0a9
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*8 + 0x34]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], eax
jbe 0x4ad225
mov ebx, dword [esp + 0x3c]
add ebx, 8
mov dword [esp + 0x28], ebx
nop word [eax + 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, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x4ad202
mov ecx, dword [ebx]
call fcn.00463e80
mov esi, eax
test esi, esi
je 0x4ad202
mov al, byte [esi]
cmp al, 0xa7
je 0x4ad12e
cmp al, 0xa9
jne 0x4ad202
cmp dword [esi + 0x1c], edi
jne 0x4ad202
mov eax, dword [esp + 0x84]
mov edx, edi
mov ecx, dword [esp + 0x74]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x6c]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x58
call fcn.004a86c0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4ad1fe
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x4ad1a2
mov eax, dword [esp + 0x20]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x4ad19e
mov eax, dword [eax + 0x38]
nop dword [eax]
cmp edi, dword [eax]
je 0x4ad19e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4ad190
jmp 0x4ad1fe
cmp ecx, edx
jge 0x4ad1fe
test bl, 0x82
je 0x4ad1e6
cmp word [esi + 0x20], 0
jl 0x4ad1e6
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00463eb0
mov ebx, eax
test ebx, ebx
jne 0x4ad1cc
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.00464080
test eax, eax
je 0x4ad1fe
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.0042fba0
test eax, eax
jne 0x4ad1fe
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 0x14
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
jl 0x4ad0e0
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x4ad5f2
test edx, 0x100
je 0x4ad254
mov edx, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
jmp 0x4ad291
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4ad835
test byte [ecx + 0x38], 4
jne 0x4ad835
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x4ad28b
test edx, 0x8000
jne 0x4ad28b
mov dl, 1
jmp 0x4ad28d
xor dl, dl
mov dword [esp + 0x18], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], eax
test eax, eax
je 0x4ad5f2
mov dword [esp + 0x4c], ecx
nop word [eax + eax]
movzx edi, word [esi + 0x18]
mov bh, 1
mov byte [esp + 0xf], bh
cmp ecx, edi
jge 0x4ad336
movzx eax, word [esi + 0x32]
cmp ecx, eax
jl 0x4ad336
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x84]
mov esi, dword [ebx + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4ad30a
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x18], edx
jmp 0x4ad5d1
test cl, 1
mov ecx, dword [esp + 0x30]
je 0x4ad332
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, edi
jge 0x4ad332
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4ad363
inc edx
add ecx, 4
cmp edx, edi
jl 0x4ad320
mov ecx, dword [esp + 0x30]
mov bh, byte [esp + 0xf]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4ad36b
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov bl, byte [ecx + eax]
mov eax, dword [esi + 0xc]
and bl, 1
mov byte [esp + 0xf], bl
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x4ad377
jmp 0x4ad370
mov ecx, dword [esp + 0x30]
xor bh, bh
jmp 0x4ad336
mov byte [esp + 0xf], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x18]
test al, al
je 0x4ad3ae
test edx, edx
js 0x4ad39f
cmp ecx, edi
jl 0x4ad39f
mov eax, dword [esi + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 4]
and al, 0xf
neg al
sbb al, al
and al, byte [esp + 0x18]
xor ecx, ecx
movzx eax, al
cmp edx, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x18], eax
xor edi, edi
test bh, bh
je 0x4ad4d5
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x70], esi
cmp edi, dword [esp + 0x24]
jge 0x4ad4d5
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 + 0x14]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x4ad4c5
mov ecx, dword [esi]
test ecx, ecx
je 0x4ad4c5
nop
mov eax, dword [ecx + 4]
test eax, 0x82000
je 0x4ad425
test eax, 0x80000
je 0x4ad419
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
jmp 0x4ad41c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4ad400
jmp 0x4ad4c5
test ecx, ecx
je 0x4ad4c5
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 0x4ad462
mov al, byte [ecx]
cmp al, 0xa7
je 0x4ad44d
cmp al, 0xa9
jne 0x4ad4c5
mov eax, dword [esp + 0x38]
mov bh, bl
cmp dword [ecx + 0x1c], eax
jne 0x4ad4c5
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x4ad4c5
jmp 0x4ad485
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x38]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
call fcn.0046c010
add esp, 4
test eax, eax
jne 0x4ad4c5
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
je 0x4ad502
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00463eb0
test eax, eax
jne 0x4ad4a6
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov bh, bl
mov esi, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.0042fba0
test eax, eax
je 0x4ad506
mov esi, dword [esp + 0x70]
add esi, 0x14
inc edi
mov dword [esp + 0x70], esi
test bh, bh
jne 0x4ad3c3
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4ad4e8
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x4ad4ed
mov byte [esp + 0x18], 0
cmp byte [esp + 0x2c], 0
je 0x4ad5f2
mov byte [esp + 0x18], 1
jmp 0x4ad5fd
mov esi, dword [esp + 0x30]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x20]
je 0x4ad519
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x4ad577
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x1f], 0
je 0x4ad541
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x4ad4d5
jmp 0x4ad577
mov dl, al
xor dl, byte [esp + 0xf]
mov byte [esp + 0x1e], dl
je 0x4ad572
mov eax, dword [esp + 0x44]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x9c]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 2
je 0x4ad598
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x4ad4d5
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x28], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x2c]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x14], eax
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
add dword [esp + 0x4c], 0x14
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x78]
jge 0x4ad4ed
mov esi, dword [esp + 0x20]
jmp 0x4ad2c0
cmp byte [esp + 0x18], 0
je 0x4ad764
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
or eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x50], eax
test esi, esi
je 0x4ad770
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x2c], esi
xor edi, edi
xor edx, edx
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov ecx, edi
cmovae edx, edi
and ecx, ebx
mov eax, edx
mov dword [esp + 0x78], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x4ad73a
mov ecx, dword [esp + 0x40]
mov esi, dword [esi]
add ecx, 0x1f8
test esi, esi
je 0x4ad6a2
cmp byte [esi], 0xa7
jne 0x4ad68c
test byte [esi + 4], 0x20
jne 0x4ad68c
mov edx, dword [esi + 0x1c]
call fcn.004a8230
mov ebx, eax
mov ecx, edx
jmp 0x4ad6b3
test dword [esi + 4], 0x810000
jne 0x4ad6a2
mov edx, esi
call fcn.004a7d70
mov ebx, eax
mov ecx, edx
jmp 0x4ad6b3
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x34], ecx
or eax, ecx
jne 0x4ad708
mov dword [esp + 0xa4], fcn.004665a0
mov eax, 1
mov word [esp + 0xb4], ax
mov dword [esp + 0xa8], 0x466470
mov dword [esp + 0xb8], 0
test esi, esi
je 0x4ad708
mov edx, esi
lea ecx, [esp + 0xa0]
call fcn.00460e30
cmp word [esp + 0xb4], 0
je 0x4ad736
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
not eax
and ecx, ebx
and eax, dword [esp + 0x34]
or ecx, eax
mov ebx, dword [esp + 0x14]
jne 0x4ad73a
or ebx, edi
mov edi, dword [esp + 0x10]
or edi, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
jmp 0x4ad73e
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
add dword [esp + 0x2c], 0x14
inc eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x24]
jl 0x4ad638
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x4ad774
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
inc edx
cmp byte [esp + 0x18], 0
mov dword [esp + 0x44], edx
jne 0x4ad010
jmp 0x4ad7a0
cmp byte [esi + 0x20], 0
je 0x4ad79c
and eax, 0x280
cmp eax, 0x80
jne 0x4ad7b1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
cmp ebx, dword [esp + 0x80]
jne 0x4ad7cd
cmp edi, eax
jne 0x4ad7cd
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x18], 0
jne 0x4ad863
lea ebx, [esi - 1]
test ebx, ebx
jle 0x4ad835
nop
cmp ebx, 0x40
jge 0x4ad804
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
adc edx, 0xffffffff
jmp 0x4ad81e
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x14]
and esi, edi
cmp eax, ecx
jne 0x4ad830
cmp esi, edx
je 0x4ad84c
dec ebx
test ebx, ebx
jg 0x4ad7e0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
or al, 0xff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret