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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
cmp dword [edx + 8], 0
jne 0x100483c8
mov dword [edx + 8], 0xffffffff
mov ebx, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
cmp edx, ecx
jbe 0x1004834b
mov eax, dword [ebx + 0xc]
lea edi, [ecx + ecx*2]
cmp dword [eax + edi*4], 2
jne 0x1004831e
lea eax, [eax + edi*4]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x70]
push 0x6aebef0
push dword [ebx + 0x40]
call fcn.10048460
add esp, 8
mov eax, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x50], ebx
mov dword [esp + 0xac], esi
test edi, edi
je 0x10047993
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
jmp 0x10048210
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x10], 0
jne 0x10048404
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x10], 0xffffffff
mov dword [esp + 0x60], eax
mov edx, dword [ebx + 0x1c]
shr ecx, 6
cmp ecx, edx
jae 0x10048369
mov edx, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, 1
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 0x54], edx
shld edi, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne edi, esi
cmovne esi, ecx
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [eax + edx*8]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
and ecx, edi
and eax, esi
or eax, ecx
je 0x10048427
mov esi, dword [esp + 0xc]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov eax, esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
shr eax, 0x14
mov dword [esp + 0x7c], eax
mov eax, esi
lea esi, [esp + 0x70]
shl eax, 0xc
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
add eax, 0x20
mov dword [esp + 0x64], eax
lea eax, [esp + 0x20]
push esi
push ecx
push eax
call edx
add esp, 0xc
lea edi, [0x6aeb49d]
lea ebx, [0x6aeb49e]
mov eax, 0xfffffff9
xor edx, edx
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, byte [edi]
mov edi, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10047aa5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x100483af
add cl, 0xa9
mov ch, cl
mov ebx, edx
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edi + 1]
test eax, eax
cmove ebx, edi
je 0x10047ac6
shld dword [esp + 8], edx, 4
inc eax
test edi, edi
mov edx, esi
jne 0x10047a80
cmp byte [esp + 0x20], 0
je 0x10047ada
movzx eax, byte [esp + 0x21]
xor esi, 0x7b
jmp 0x1004819f
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x28]
push 0x1000
push dword [esp + 0x68]
push dword [ecx + 0x24]
call dword [eax + 0x20]
add esp, 0xc
xor ebx, ebx
lea ecx, [0x6aeb49d]
lea edi, [0x6aeb49e]
mov eax, 0xfffffff9
mov byte [esp + 0xb0], dl
mov dword [esp + 8], 0
nop word cs:[eax + eax]
nop
movzx edx, byte [ecx]
mov ecx, edi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x10047b45
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x100483af
add dl, 0xa9
mov dh, dl
mov edi, ebx
movzx esi, dh
shl edi, 4
or esi, edi
lea edi, [ecx + 1]
test eax, eax
cmove edi, ecx
je 0x10047b66
shld dword [esp + 8], ebx, 4
inc eax
test ecx, ecx
mov ebx, esi
jne 0x10047b20
movzx eax, byte [esp + 0xb0]
cmp al, 0xc
jne 0x10048199
mov eax, dword [esp + 0x50]
movdqa xmm0, xmmword [0x6ae63c0]
lea edi, [esp + 0x69]
lea ecx, [esp + 0x68]
xor edx, edx
xor ebx, ebx
mov dword [esp + 8], 0
movd xmm1, dword [eax + 0x34]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], 0
pshufd xmm2, xmm1, 0x45
paddq xmm1, xmmword [0x6ae63b0]
mov dword [esp + 0x68], eax
mov eax, 0xfffffff9
psubq xmm0, xmm2
movsd xmm0, xmm1
movapd xmm1, xmmword [0x6ae63d0]
xorpd xmm1, xmm0
xorpd xmm0, xmmword [0x6ae63e0]
movupd xmmword [esp + 0xe0], xmm1
movss dword [esp + 0x14], xmm1
pshufd xmm1, xmm1, 0x55
movd dword [esp + 0x10], xmm1
movupd xmmword [esp + 0xf0], xmm0
pshufd xmm1, xmm0, 0xff
pshufd xmm0, xmm0, 0xee
movups xmm2, xmmword [esp + 0xe8]
movd dword [esp + 0x1c], xmm1
movd dword [esp + 0x18], xmm0
nop word [eax + eax]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, ebx
lea ebx, [esp + 0x49]
xor esi, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5b]
movups xmmword [esp + 0x28], xmm2
mov dword [ebx + 3], edx
mov edx, dword [esp + 0x58]
mov dword [ebx], edx
mov edx, dword [esp + 8]
movzx ebx, byte [ecx]
mov ecx, edx
shl cl, 3
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne esi, ebx
cmovne ebx, ecx
inc dl
or ebx, dword [esp + 0xb0]
or esi, eax
test dl, 7
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x48], dl
je 0x10047ca0
mov dword [esp + 8], edx
mov edx, ebx
mov ebx, esi
jmp 0x10047d54
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x70]
xor eax, esi
xor ecx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x20]
movsd xmm1, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x38]
movq xmm0, qword [esp + 0x48]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0x20]
movq qword [esp + 0x98], xmm0
movsd qword [esp + 0x80], xmm1
movq xmm1, qword [esp + 0x28]
movsd qword [esp + 0x70], xmm2
movq qword [esp + 0x78], xmm1
push 2
call fcn.1001bb80
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movups xmm2, xmmword [esp + 0x28]
xor edx, edx
xor ebx, ebx
xor eax, dword [esp + 0x40]
xor ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x48]
mov dword [esp + 8], eax
lea ecx, [esp + 0x49]
mov eax, dword [ecx]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x5b], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov ecx, edi
inc edi
test eax, eax
cmove edi, ecx
je 0x10047d7c
inc eax
test ecx, ecx
jne 0x10047c20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov esi, 0x1ff
xor edi, edi
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x18]
movups xmmword [esp + 0xe8], xmm2
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xfc], eax
mov eax, 8
jmp 0x10047e44
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x1c]
movups xmmword [esp + 0xe8], xmm2
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xd4]
mov dword [ecx + eax + 4], esi
mov esi, dword [esp + 0xd0]
mov dword [ecx + eax], esi
mov esi, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov edi, eax
add eax, 8
sub esi, 1
jb 0x1004822b
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + edi]
movdqu xmm0, xmmword [esp + 0xf0]
movaps xmmword [esp + 0xb0], xmm2
movups xmm2, xmmword [esp + 0xe0]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + edi + 4]
pshufd xmm1, xmm0, 0xee
mov ecx, edx
movaps xmmword [esp + 0x100], xmm2
movq qword [esp + 0x80], xmm0
lea edi, [esp + 0x20]
movd esi, xmm1
pshufd xmm1, xmm0, 0xff
xor ecx, esi
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov byte [esp + 0x48], al
movzx eax, al
movups xmmword [esp + 0x20], xmm2
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x40], edx
shl eax, 0x18
or eax, ebx
mov ebx, edx
mov edx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
movd ecx, xmm1
xor eax, ecx
mov dword [esp + 0x18], ecx
mov ecx, edi
mov dword [esp + 0x3c], eax
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd xmm3, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x90], xmm2
movsd xmm2, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x78], xmm2
push 2
call fcn.1001bb80
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, esi
xor dword [esp + 0x20], ecx
xor dword [esp + 0x24], eax
not byte [esp + 0x30]
mov ecx, edi
movsd xmm1, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x28]
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x38]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0x20]
movsd qword [esp + 0x70], xmm1
push 4
call fcn.1001bb80
movaps xmm2, xmmword [esp + 0xb4]
mov edx, ebx
add esp, 4
movdqu xmm0, xmmword [esp + 0x20]
movdqu xmm1, xmmword [esp + 0x30]
mov esi, 0xfffffff9
lea edi, [esp + 0x69]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0xee
pxor xmm0, xmm1
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
movdqa xmm0, xmmword [esp + 0x100]
xor eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x14]
movd dword [esp + 0x14], xmm0
pshufd xmm0, xmm0, 0x55
mov dword [esp + 0xd0], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
movd dword [esp + 0x10], xmm0
nop dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5b]
lea ebx, [esp + 0x49]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x28], xmm2
mov dword [ebx + 3], edx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 8]
mov dword [ebx], edx
movzx edx, byte [ecx]
mov ecx, eax
xor ebx, ebx
shl cl, 3
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne ebx, edx
cmovne edx, ecx
inc al
or ebx, dword [esp + 0xb0]
or edx, dword [esp + 0xc]
test al, 7
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov byte [esp + 0x48], al
je 0x100480b0
mov dword [esp + 0xc], ebx
jmp 0x10048166
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor eax, edx
xor ecx, ebx
lea edx, [esp + 0x70]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x20]
movsd xmm1, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x38]
movq xmm0, qword [esp + 0x48]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0x20]
movq qword [esp + 0x98], xmm0
movsd qword [esp + 0x80], xmm1
movq xmm1, qword [esp + 0x28]
movsd qword [esp + 0x70], xmm2
movq qword [esp + 0x78], xmm1
push 2
call fcn.1001bb80
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movups xmm2, xmmword [esp + 0x28]
xor edx, edx
mov dword [esp + 0xc], 0
xor eax, dword [esp + 0x40]
xor ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x48]
mov dword [esp + 8], eax
lea ecx, [esp + 0x49]
test esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x5b], ecx
mov ecx, edi
lea edi, [edi + 1]
mov dword [esp + 0x58], eax
cmove edi, ecx
je 0x10047dd0
inc esi
test ecx, ecx
jne 0x10048030
jmp 0x10047dd0
xor esi, 0x7c
movzx eax, al
mov ecx, dword [eax*4 + 0x6ae7b6c]
mov ebx, dword [eax*4 + 0x6ae7b9c]
mov edx, 7
mov dword [esp + 8], ecx
mov ecx, 0x6ae7b64
call fcn.1001cfa0
mov edx, dword [esp + 8]
mov ecx, ebx
mov edi, eax
test eax, eax
mov eax, 1
cmove edi, eax
call fcn.1001cfa0
mov ecx, dword [esp + 0x60]
mov ebx, eax
test eax, eax
mov eax, 1
cmove ebx, eax
xor edx, edx
inc dword [ecx + 0x10]
dec dword [ecx]
jne 0x10048210
cmp dword [ecx + 4], 0
jne 0x10048210
mov eax, dword [0x6aee000]
push 0x10
push 0x1030
push ecx
push 0x6aed260
call dword [eax + 0x10]
xor edx, edx
add esp, 0x10
mov eax, dword [esp + 0xac]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
jmp 0x10048340
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
mov dword [esp + 8], eax
jae 0x10048378
mov edx, dword [ebx + 0x18]
mov edi, dword [edx + ecx*8]
mov esi, dword [edx + ecx*8 + 4]
mov eax, esi
mov ebx, edi
and eax, dword [esp + 0xa0]
and ebx, dword [esp + 0xa4]
or ebx, eax
je 0x10048440
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
cmp ebx, eax
cmovb eax, ebx
cmp dword [esp + 0x54], eax
jae 0x1004838b
or edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x54]
or esi, dword [esp + 0xa0]
mov ebx, ecx
mov dword [edx + eax*8], edi
mov edi, dword [esp + 0x60]
mov dword [edx + eax*8 + 4], esi
dec dword [ecx + 0x2c]
inc dword [edi + 0x10]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp + 8]
cmp eax, edx
cmovb edx, eax
cmp edx, ecx
jbe 0x100483a0
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0xa8]
cmp dword [eax + edx*4], 1
lea esi, [eax + edx*4]
jne 0x100482f7
mov eax, dword [esi + 4]
dec dword [eax]
jne 0x100482f7
cmp dword [eax + 4], 0
jne 0x100482f7
mov ecx, dword [0x6aee000]
push 0x10
push 0x1030
push eax
push 0x6aed260
call dword [ecx + 0x10]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [esp + 0xc8]
mov dword [esi], 1
mov dword [esi + 4], edi
mov edi, dword [esp + 0xa8]
mov dword [esi + 8], eax
inc dword [ebx + 0x3c]
mov esi, dword [esp + 0xac]
mov edx, dword [ebx + 0x10]
cmp edx, ecx
jbe 0x1004835a
mov eax, dword [ebx + 0xc]
cmp dword [eax + edi*4], 1
jne 0x100483eb
lea eax, [eax + edi*4]
mov eax, dword [eax + 4]
inc dword [eax]
mov dword [esi + 4], eax
mov dword [esi], 0
inc dword [ebx + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6aeb590
call fcn.10018ae0
add esp, 4
ud2
push 0x6aeb5a0
call fcn.10018ae0
add esp, 4
ud2
push 0x6aeb4a8
call fcn.10018ae0
add esp, 4
ud2
mov edx, dword [esp + 8]
push 0x6aeb4a8
call fcn.10018ae0
add esp, 4
ud2
mov ecx, dword [esp + 0x54]
mov edx, eax
push 0x6aeb504
call fcn.10018ae0
add esp, 4
ud2
push 0x6aeb364
call fcn.10018ae0
add esp, 4
ud2
mov ecx, 0x6aebeb4
mov edx, 0xe
push 0x6ae7700
call fcn.100194a0
add esp, 4
ud2
lea eax, [esp + 0x70]
mov ecx, 0x6aed334
mov edx, 0x10
push 0x6aeb344
push 0x6aeb68c
push eax
call fcn.10019cf0
add esp, 0xc
ud2
mov ecx, 0x6aebeb4
mov edx, 0xe
push 0x6aeb3a4
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x6aed334
mov edx, 0x10
push 0x6aeb354
push 0x6aeb68c
lea eax, [esp + 0x78]
push eax
call fcn.10019cf0
add esp, 0xc
ud2
mov ecx, 0x6aeb514
mov edx, 0x2a
push 0x6aeb560
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x6aeb514
mov edx, 0x2a
push 0x6aeb540
call fcn.100194a0
add esp, 4
ud2