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

Disassembly:
sub esp, 0x114
xor eax, eax
push esi
mov esi, dword [esp + 0x124]
mov esi, dword [esi + 0x10]
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x4ade8e
mov eax, dword [esi]
xor ecx, ecx
push ebx
push ebp
push edi
cmp dword [eax], ecx
mov edi, dword [esp + 0x128]
cmove eax, ecx
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x134]
nop
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x4ad35c
push 0x3c208
push ebp
push edi
call fcn.004ad0d0
add esp, 0xc
jmp case.0x4ada81.538
cmp eax, 4
jne case.0x4ada81.538
mov ebx, dword [esi + 0x18]
mov eax, ebx
cmp eax, 0x100
jg 0x4ada6c
je 0x4ad710
sub eax, 0x2d
cmp eax, 0x5f
ja case.0x4ada81.538
movzx eax, byte [eax + 0x4adeb4]
jmp dword [eax*4 + 0x4ade98]
imul ecx, ebx, 0x64
movzx eax, byte [ecx + 0x52384f]
test byte [esi + eax*4 + 0x30], 1
je case.0x4ada81.538
movzx eax, byte [ecx + 0x523850]
push dword [esi + eax*4 + 0x30]
push ebp
push edi
call fcn.004ad0d0
add esp, 0xc
jmp case.0x4ada81.538
push 8
push ebp
push edi
call fcn.004ad0d0
add esp, 0xc
jmp case.0x4ada81.538
movups xmm0, xmmword [esi + 0x58]
xor edx, edx
psrldq xmm0, 0xc
movd eax, xmm0
movups xmm0, xmmword [esi + 0x68]
psrldq xmm0, 0xc
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x24], 0
cmove edx, eax
movd eax, xmm0
mov dword [esp + 0x20], edx
xor ecx, ecx
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x1c], 0
cmove ecx, eax
mov eax, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x20]
mov cl, byte [ecx + 0x10]
shl eax, cl
imul ecx, ebx, 0x64
dec eax
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 0x52384d]
test byte [esi + eax*4 + 0x30], 4
jne 0x4ad700
movzx eax, byte [ecx + 0x52384c]
test byte [esi + eax*4 + 0x30], 4
jne 0x4ad700
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [edi + 4]
call fcn.00417620
add esp, 0xc
test al, 1
je 0x4ad481
push esi
call fcn.004096c0
add esp, 4
mov byte [edi + 0x18], 1
jmp case.0x4ada81.538
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 1
jne 0x4ad4cf
movups xmm0, xmmword [eax + 0x24]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push dword [ecx + 0x20]
call fcn.0045f6b0
add esp, 4
test al, al
je 0x4ad4cf
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [eax + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
je 0x4ad700
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 1
jne 0x4ad51d
movups xmm0, xmmword [eax + 0x24]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push dword [ecx + 0x20]
call fcn.0045f6b0
add esp, 4
test al, al
je 0x4ad51d
mov eax, dword [esp + 0x20]
movups xmm0, xmmword [eax + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
je 0x4ad700
push 0
push 4
lea eax, [esp + 0x20]
push eax
push ebp
push edi
call fcn.004aef80
mov ebx, dword [esp + 0x140]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x30]
push ecx
push esi
push ebx
push eax
push edi
call fcn.004af490
add esp, 0x2c
test al, al
je 0x4ad5e2
cmp byte [esp + 0x7c], 0
je 0x4ad588
mov ebx, dword [esp + 0x14]
push ebx
push dword [esp + 0x84]
push dword [esp + 0x28]
push dword [esp + 0x138]
call fcn.0041add0
mov esi, dword [esp + 0x28]
add esp, 0x10
mov byte [edi + 0x18], 1
jmp 0x4ad673
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
push dword [edi + 4]
call fcn.00417620
add esp, 0xc
test al, 1
jne case.0x4ada81.538
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
add eax, 0x48
mov dword [esp + 0x78], eax
movups xmm0, xmmword [esp + 0x6c]
push esi
push ebx
movups xmmword [esi + 0x68], xmm0
call fcn.0041dcb0
mov ebx, dword [esp + 0x1c]
add esp, 8
mov esi, dword [esp + 0x18]
mov byte [edi + 0x18], 1
jmp 0x4ad673
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 0x48
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xe0]
push 0
push eax
mov byte [esp + 0xdc], 0
mov dword [esp + 0xe0], esi
call fcn.004f0670
movups xmm0, xmmword [esp + 0xdc]
mov eax, dword [esp + 0x12c]
add esp, 0xc
mov ebx, dword [esp + 0x14]
movups xmmword [esp + 0x7c], xmm0
mov dword [esp + 0xcc], eax
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0x8c], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [esp + 0x9c], xmm0
movups xmm0, xmmword [esp + 0x100]
movups xmmword [esp + 0xac], xmm0
movups xmm0, xmmword [esp + 0x110]
movups xmmword [esp + 0xbc], xmm0
cmp dword [esi + 0x18], 0
je 0x4ad6ae
nop dword [eax]
mov eax, dword [esi + 0x18]
cmp eax, 5
je 0x4ad6c2
test eax, eax
jne 0x4ad690
xor esi, esi
jmp 0x4ad6a8
movups xmm0, xmmword [esi + 0x24]
xor esi, esi
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove esi, eax
cmp dword [esi + 0x18], 0
jne 0x4ad680
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4ad6c2
test dword [eax + 0x10], 0x10000000
jne case.0x4ada81.538
push 0
push ebx
lea eax, [esp + 0x28]
push eax
push ebp
push edi
call fcn.004aed70
add esp, 0x14
test eax, eax
jne 0x4ad6e7
lea eax, [esp + 0x20]
push eax
push ebp
push edi
call fcn.004ad250
add esp, 0xc
push ebx
push 0
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.004af610
add esp, 0x10
jmp case.0x4ada81.538
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 1
push ebx
jmp 0x4ade4b
imul eax, ebx, 0x64
movzx eax, byte [eax + 0x52383e]
test byte [esi + eax*4 + 0x30], 4
jne case.0x4ada81.538
movups xmm0, xmmword [esi + 0x58]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x2c], 0
cmove ecx, eax
mov dword [esp + 0x28], ecx
test dword [ecx + 0x1c], 0xfffffbf9
je case.0x4ada81.538
cmp dword [ecx + 0x18], 5
jne 0x4ad7bd
nop dword [eax]
cmp dword [ecx + 0x18], 0
je 0x4ad7bd
movups xmm0, xmmword [ecx + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x4ad7bd
test eax, eax
je 0x4ad7bd
push ecx
call fcn.00417690
add esp, 4
test al, al
je 0x4ad7b9
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp dword [eax + 0x18], ecx
je 0x4ad7ad
movups xmm0, xmmword [eax + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [ecx + 0x18], 5
je 0x4ad760
jmp 0x4ad7bd
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x18], 1
mov dword [esp + 0x14], 0
jne 0x4ad8e1
movups xmm0, xmmword [ecx + 0x24]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push dword [ecx + 0x20]
call fcn.0045f6b0
add esp, 4
test al, al
je 0x4ad8e1
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [ecx + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
jne 0x4ad8e1
xor ebx, ebx
cmp dword [ecx + 0x18], ebx
je 0x4ad840
movups xmm0, xmmword [ecx + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ebx, eax
mov dword [esp + 0x3c], ebx
movups xmm0, xmmword [ecx + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x29]
push eax
push dword [ecx + 0x34]
push dword [ecx + 0x30]
call fcn.00407d60
mov ecx, dword [ebx + 0x20]
add esp, 0xc
mov dword [esp + 0x14], eax
movzx ecx, byte [ecx + 0x10]
cmp eax, ecx
jb 0x4ad8e1
mov ebx, dword [esi + 4]
cmp dword [ebx + 4], 0
je 0x4ad889
test ebx, ebx
je 0x4ad889
mov ebp, 3
jmp 0x4ad88e
mov ebx, dword [esi + 8]
xor ebp, ebp
push esi
call fcn.004096c0
mov ecx, dword [esp + 0x130]
mov dword [ecx], ebp
mov dword [ecx + 4], ebx
movzx eax, byte [esi + 0x2d]
push eax
push 1
push dword [ecx + 0x10]
call fcn.0040b080
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4ad8cb
push ebx
push dword [esp + 0x130]
call fcn.0041dcf0
add esp, 8
add ebx, 0x18
push ebx
add esi, 0x1c
push esi
call fcn.00407fa0
add esp, 8
mov byte [edi + 0x18], 1
jmp case.0x4ada81.538
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push 4
lea eax, [esp + 0x30]
push eax
push ebp
push edi
call fcn.004aef80
push 0x54
mov ebp, eax
lea eax, [esp + 0x94]
push 0
push eax
call fcn.004f0670
mov ebx, dword [esp + 0x14c]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
push ebx
push ebp
push edi
call fcn.004af490
add esp, 0x38
test al, al
je 0x4ad9d9
cmp byte [esp + 0x7c], 0
je 0x4ad97f
cmp dword [esi + 8], 0
lea ecx, [esi + 0x1c]
je 0x4ad963
mov eax, dword [esp + 0x80]
push dword [eax]
push eax
push ecx
call fcn.00408010
add esp, 0xc
mov byte [edi + 0x18], 1
lea ebx, [esi + 0x30]
jmp 0x4ada03
push dword [esp + 0x80]
push ecx
call fcn.00407fa0
add esp, 8
mov byte [edi + 0x18], 1
lea ebx, [esi + 0x30]
jmp 0x4ada03
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
add eax, 0x48
mov dword [esp + 0x78], eax
movups xmm0, xmmword [esp + 0x6c]
push esi
push ebx
movups xmmword [esi + 0x58], xmm0
call fcn.0041dcb0
movzx ecx, byte [esi + 0x30]
lea ebx, [esi + 0x30]
add esp, 8
mov byte [esp + 0x7c], 1
xor eax, eax
test ecx, ecx
je 0x4ad9d3
add esi, 0x1c
nop dword [eax]
mov dword [esp + eax*4 + 0x80], esi
mov byte [esp + eax + 0xc0], al
inc eax
cmp eax, ecx
jb 0x4ad9c0
mov byte [edi + 0x18], 1
jmp 0x4ada03
movzx ecx, byte [esi + 0x30]
lea ebx, [esi + 0x30]
xor eax, eax
mov byte [esp + 0x7c], 1
test ecx, ecx
je 0x4ada03
add esi, 0x1c
nop
mov dword [esp + eax*4 + 0x80], esi
mov byte [esp + eax + 0xc0], al
inc eax
cmp eax, ecx
jb 0x4ad9f0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x134]
cmp eax, dword [esp + 0x3c]
je 0x4ada2b
push 0
push 1
lea eax, [esp + 0x44]
push eax
push esi
push edi
call fcn.004aef80
add esp, 0x14
mov ebp, eax
jmp 0x4ada32
cmp byte [esp + 0x13], 0
je 0x4ada36
test ebp, ebp
jne 0x4ada47
lea eax, [esp + 0x3c]
push eax
push esi
push edi
call fcn.004ad250
add esp, 0xc
mov ebp, eax
mov cl, byte [ebx]
mov eax, 1
shl eax, cl
dec eax
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.004af610
add esp, 0x10
jmp case.0x4ada81.538
sub eax, 0x219
cmp eax, 0x69
ja case.0x4ada81.538
movzx eax, byte [eax + 0x4adf30]
jmp dword [eax*4 + 0x4adf14]
push 0x20260
push ebp
push edi
call fcn.004ad0d0
add esp, 0xc
jmp case.0x4ada81.538
push 0x20220
push ebp
push edi
call fcn.004ad0d0
add esp, 0xc
jmp case.0x4ada81.538
movups xmm0, xmmword [esi + 0x58]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x34], 0
cmove ecx, eax
mov dword [esp + 0x30], ecx
cmp dword [ecx + 0x18], 5
jne 0x4adb3d
nop word [eax + eax]
cmp dword [ecx + 0x18], 0
je 0x4adb3d
movups xmm0, xmmword [ecx + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x4adb3d
test eax, eax
je 0x4adb3d
push ecx
call fcn.00417690
add esp, 4
test al, al
je 0x4adb39
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp dword [eax + 0x18], ecx
je 0x4adb2d
movups xmm0, xmmword [eax + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
mov dword [esp + 0x30], ecx
cmp dword [ecx + 0x18], 5
je 0x4adae0
jmp 0x4adb3d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x18], 1
mov dword [esp + 0x14], 0
jne 0x4adc05
movups xmm0, xmmword [ecx + 0x24]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push dword [ecx + 0x20]
call fcn.0045f6b0
add esp, 4
test al, al
je 0x4adc05
mov ecx, dword [esp + 0x30]
movups xmm0, xmmword [ecx + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
jne 0x4adc05
xor ebx, ebx
cmp dword [ecx + 0x18], ebx
je 0x4adbbc
movups xmm0, xmmword [ecx + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ebx, eax
mov dword [esp + 0x44], ebx
movups xmm0, xmmword [ecx + 0x34]
psrldq xmm0, 0xc
movd eax, xmm0
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x29]
push eax
push dword [ecx + 0x34]
push dword [ecx + 0x30]
call fcn.00407d60
mov ecx, dword [ebx + 0x20]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx + 0x10]
cmp edx, ecx
jb 0x4adc05
push esi
call fcn.004096c0
add esp, 4
mov byte [edi + 0x18], 1
jmp case.0x4ada81.538
imul ecx, dword [esi + 0x18], 0x64
movzx eax, byte [ecx + 0x52383e]
test byte [esi + eax*4 + 0x30], 4
je 0x4adc2d
movzx eax, byte [ecx + 0x52382e]
push 1
push dword [esi + eax*4 + 0x30]
lea eax, [esp + 0x38]
jmp 0x4ade4b
push 0
push 1
lea eax, [esp + 0x38]
push eax
push ebp
push edi
call fcn.004aef80
add esp, 0x14
test eax, eax
je 0x4adcbd
imul ecx, dword [esi + 0x18], 0x64
movzx ebx, byte [esi + 0x30]
mov dword [esp + 0x50], ebx
movzx ecx, byte [ecx + 0x52382e]
movzx edx, word [esi + ecx*4 + 0x30]
xor ecx, ecx
mov dword [esp + 0x4c], edx
test ebx, ebx
je 0x4adca4
lea edx, [eax + 4]
lea ebp, [eax + 0x44]
nop dword [eax]
mov ebx, dword [esp + 0x4c]
mov eax, 1
movzx edi, bx
mov ebx, dword [esp + 0x50]
shl eax, cl
test edi, eax
mov edi, dword [esp + 0x128]
je 0x4adc9c
mov eax, dword [edx]
cmp eax, dword [esi + 0x74]
jne 0x4adcb6
movzx eax, byte [ecx + ebp]
cmp eax, ecx
jne 0x4adcb6
inc ecx
add edx, 4
cmp ecx, ebx
jb 0x4adc70
push esi
call fcn.004096c0
add esp, 4
mov byte [edi + 0x18], 1
jmp case.0x4ada81.538
mov ebp, dword [esp + 0x134]
push 0x53
lea eax, [esp + 0xd5]
push 0
push eax
call fcn.004f0670
movzx ecx, byte [esi + 0x30]
add esp, 0xc
mov edx, dword [esi + 0x74]
xor eax, eax
mov byte [esp + 0xd0], 1
test ecx, ecx
je 0x4add03
nop word [eax + eax]
mov dword [esp + eax*4 + 0xd4], edx
mov byte [esp + eax + 0x114], al
inc eax
cmp eax, ecx
jb 0x4adcf0
imul eax, dword [esi + 0x18], 0x64
push 0
movzx eax, byte [eax + 0x52382e]
mov esi, dword [esi + eax*4 + 0x30]
lea eax, [esp + 0x48]
push esi
push eax
push ebp
push edi
call fcn.004aed70
add esp, 0x14
test eax, eax
jne 0x4add37
lea eax, [esp + 0x44]
push eax
push ebp
push edi
call fcn.004ad250
add esp, 0xc
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0xd8]
push ecx
push eax
call fcn.004af610
add esp, 0x10
jmp case.0x4ada81.538
push esi
call fcn.00408d10
xor ecx, ecx
push 1
movups xmm0, xmmword [eax]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x68], 0
cmove ecx, eax
mov eax, 1
mov dword [esp + 0x64], ecx
mov ecx, dword [ecx + 0x20]
mov cl, byte [ecx + 0x10]
shl ax, cl
dec ax
movzx eax, ax
push eax
lea eax, [esp + 0x68]
push eax
push ebp
push edi
call fcn.004aed70
add esp, 0x18
jmp case.0x4ada81.538
movups xmm0, xmmword [esi + 0x58]
xor ecx, ecx
push 1
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x6c], 0
cmove ecx, eax
mov eax, 1
mov dword [esp + 0x68], ecx
mov ecx, dword [ecx + 0x20]
mov cl, byte [ecx + 0x10]
shl eax, cl
dec eax
push eax
lea eax, [esp + 0x6c]
jmp 0x4ade4b
movups xmm0, xmmword [esi + 0x58]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x58], ecx
cmove ecx, eax
mov dword [esp + 0x54], ecx
cmp dword [ecx + 0x18], 0
je 0x4ade36
movups xmm0, xmmword [ecx + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x4ade36
test eax, eax
je 0x4ade36
movups xmm0, xmmword [ecx + 0x24]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jmp 0x4addf9
mov ecx, dword [ecx + 0x20]
mov eax, 1
push 1
mov cl, byte [ecx + 0x10]
shl eax, cl
dec eax
push eax
lea eax, [esp + 0x5c]
push eax
push ebp
push edi
call fcn.004aed70
add esp, 0x14
mov eax, dword [esp + 0x38]
mov esi, eax
test eax, eax
je 0x4ade76
mov eax, dword [eax]
test eax, eax
je 0x4ade76
xor ebp, ebp
cmp dword [eax], ebp
cmovne ebp, eax
mov dword [esp + 0x38], ebp
jmp 0x4ad337
mov ebp, dword [esp + 0x134]
xor eax, eax
mov dword [esp + 0x38], eax
test esi, esi
jne 0x4ad340
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x114
ret