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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov edi, dword [edx + 0xb0]
cmp edi, 0x7ffffffe
jbe 0x1004cfed
mov dword [esp + 0x18], ecx
mov ecx, 0x310e0a4
mov edx, 6
call fcn.1000d5d0
test eax, eax
mov esi, 1
mov ecx, 0x310e0aa
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xb0], eax
call fcn.1000d5d0
test eax, eax
lea edi, [0x310e069]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x310e06a]
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [edi]
mov edi, esi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x1004cfa5
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1004d8dd
add dl, 0xa9
mov dh, dl
mov esi, eax
movzx edx, dh
shl esi, 4
or edx, esi
lea esi, [edi + 1]
test ecx, ecx
cmove esi, edi
je 0x1004cfc4
shld ebx, eax, 4
inc ecx
test edi, edi
mov eax, edx
jne 0x1004cf80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x1c]
xor edx, 0xa8
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1004d800
lea ebx, [edi + 1]
lea esi, [edx + 0xb4]
lea eax, [edx + 0xb0]
mov dword [esp + 0xb0], edx
mov dword [edx + 0xb0], ebx
mov dword [esp + 0x64], esi
lea esi, [0x310e069]
lea ebx, [0x310e06a]
mov edx, 0xfffffff9
mov dword [esp + 0x1c], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x1004d04b
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x1004d8dd
lea ebx, [esi + 1]
test edx, edx
cmove ebx, esi
je 0x1004d05a
inc edx
test esi, esi
jne 0x1004d030
mov eax, dword [esp + 0xb0]
cmp byte [eax + 0xdd], 2
jne 0x1004d268
mov dword [eax + 0xb0], edi
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
je 0x1004d8f6
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
lea eax, [ecx - 1]
add eax, esi
mov ebx, edi
adc ebx, 0
jb 0x1004d8f6
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
sub eax, esi
sbb ebx, edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], edi
lea esi, [esp + 0x84]
mov edi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov word [esp + 0x9c], 0
mov dword [esp + 0x74], 0xff
mov dword [esp + 0x78], 0x400
test edi, edi
je 0x1004d27b
mov ecx, dword [esp + 0xc]
sub ecx, edi
jbe 0x1004d2ce
cmp eax, ecx
ja 0x1004d2ce
lea ecx, [esp + 0x34]
mov edx, 3
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], 0
call fcn.1001e280
mov ebx, dword [esp + 0x34]
cmp al, 8
jne 0x1004d50b
mov eax, dword [esp + 0x39]
movzx edx, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc3], ecx
je 0x1004d542
mov ecx, dword [esp + 0xc3]
mov eax, dword [esp + 0xc0]
lea edi, [esp + 0x108]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6d], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], dl
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
push eax
push dword [esp + 0x10]
push edi
call fcn.10031fc0
add esp, 0xc
cmp dword [esp + 0x34], 0
je 0x1004d808
movzx eax, byte [esp + 0x3c]
movzx ecx, word [esp + 0x3d]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, 4
mov dword [esp + 0xa0], eax
movzx eax, byte [esp + 0x3f]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov ecx, 0x18
mov dword [esp + 0x14], eax
push dword [esp + 0x70]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d54b
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esp + 0x70]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1004d54b
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x1004d7fa
mov byte [esp + 0x9c], 1
mov dword [esp + 0x14], eax
mov ecx, 4
xor edx, edx
xor edi, edi
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movzx eax, byte [esi + 0x18]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esi + 0x10]
mov byte [esp + 0x60], al
movsd qword [esp + 0x48], xmm0
mov esi, 0xff
xor eax, eax
movsd qword [esp + 0x58], xmm1
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x1004d5d3
jmp 0x1004d315
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
movq xmm2, qword [esi]
movsd xmm1, qword [esi + 8]
mov ecx, 4
mov esi, 0xff
xor edx, edx
mov byte [esp + 0x60], al
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movq qword [esp + 0x48], xmm2
xor eax, eax
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x1004d5d3
mov dword [esp + 0xa0], eax
movzx eax, al
shl ecx, 8
mov dword [esp + 0x2c], esi
xor ebx, ebx
lea edx, [0x310e069]
lea edi, [0x310e06a]
xor esi, esi
or ecx, eax
mov eax, 0xfffffff9
mov dword [esp + 0x10], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1004d375
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1004d8dd
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx ecx, ch
shl edi, 4
or ecx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x1004d394
shld esi, ebx, 4
inc eax
test edx, edx
mov ebx, ecx
jne 0x1004d350
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1004d3a6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1004d3c3
mov eax, dword [esp + 0xa0]
xor ecx, 0xb9
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x20], edx
xor edi, edi
lea edx, [0x310e069]
lea ebx, [0x310e06a]
mov eax, 0xfffffff9
mov dword [esp + 0xb0], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1004d415
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1004d8dd
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x1004d439
shld dword [esp + 0xb0], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x1004d3f0
xor esi, 0xba
xor ebx, ebx
cmp dword [esp + 0x20], 0
mov eax, 0x310d130
mov edi, 0x310d13a
mov ecx, 0x310d143
mov edx, 0xa
sete bl
cmove edi, eax
add ebx, 9
call fcn.1000d5d0
mov ecx, edi
mov edx, ebx
mov dword [esp + 0xb0], eax
call fcn.1000d5d0
movd xmm1, dword [esp + 0xb0]
movd xmm0, eax
pxor xmm2, xmm2
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, dword [0x3111000]
lea ecx, [esp + 0x74]
punpckldq xmm1, xmm0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
pcmpeqd xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm2, 0x1f
pandn xmm0, xmm1
por xmm2, xmm0
movdqa xmmword [esp + 0xb0], xmm2
push 4
push 8
push 0x310fe14
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x74], 0
je 0x1004d4e8
lea ecx, [esp + 0x48]
call fcn.10053410
xor eax, eax
jmp 0x1004d4f1
mov eax, dword [esp + 0x78]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0xb0]
movlps qword [ecx], xmm0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
jmp 0x1004d800
mov edx, 4
mov dword [esp + 0xa0], eax
mov ecx, 0x18
push dword [esp + 0x3c]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d549
mov ecx, dword [0x3111000]
push edx
push eax
push ebx
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1004d549
mov dword [esp + 0xa0], edx
xor esi, esi
mov edx, 1
mov ecx, 1
push dword [esp + 0x8c]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d582
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esp + 0x8c]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esp + 0x98]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d5b9
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esp + 0x98]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
mov dl, 2
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x1004d315
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x60]
movsd xmm0, qword [esp + 0x48]
mov word [esp + 0x25], cx
shr ecx, 0x10
mov dword [esp + 0x28], edx
lea edx, [0x310e06a]
mov byte [esp + 0x27], cl
lea ecx, [0x310e069]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esp + 0x58]
mov byte [esp + 0xe0], al
mov eax, 0xfffffff9
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xd8], xmm1
nop word cs:[eax + eax]
nop
movzx ebx, byte [ecx]
mov ecx, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1004d65e
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x1004d8dd
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1004d66d
inc eax
test ecx, ecx
jne 0x1004d640
movzx eax, byte [esp + 0xe0]
movsd xmm0, qword [esp + 0xd8]
movq xmm1, qword [esp + 0xc8]
movq xmm2, qword [esp + 0xd0]
mov ebx, dword [esp + 0x1c]
movsd xmm3, qword [esp + 0x20]
movq qword [esp + 0xe8], xmm1
movq qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm0
mov byte [esp + 0x100], al
cmp dword [ebx], 0
jne 0x1004d90f
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xc]
mov eax, 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
cmp byte [esi + 0xdd], 2
je 0x1004d764
mov edx, 1
movaps xmmword [esp + 0xa0], xmm3
mov ecx, 1
push dword [esi + 0xcc]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d725
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esi + 0xc4]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esi + 0xd8]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d75a
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esi + 0xd0]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [ebx]
movaps xmm3, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
movlps qword [esi + 0xb4], xmm3
mov dword [esi + 0xbc], edi
movzx edi, word [esp + 0x32]
lea edx, [eax + 1]
cmp edx, 0x7fffffff
mov dword [esi + 0xc0], ecx
movsd xmm0, qword [esp + 0xe8]
movq xmm1, qword [esp + 0xf0]
movsd qword [esi + 0xc4], xmm0
movq qword [esi + 0xcc], xmm1
movsd xmm0, qword [esp + 0xf8]
movsd qword [esi + 0xd4], xmm0
movzx ecx, byte [esp + 0x100]
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x28]
mov byte [esi + 0xdd], cl
mov word [esi + 0xde], di
mov dword [esi + 0xb0], edx
jae 0x1004d929
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
add eax, 2
mov dword [ebx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x9c], 1
mov edx, 4
mov ecx, 0x18
mov eax, dword [esp + 0x74]
movsd xmm0, qword [esi]
movzx ebx, byte [esp + 0x7b]
movsd xmm1, qword [esi + 8]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x78]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0x10]
shl ebx, 0x10
movsd qword [esp + 0x50], xmm1
mov dword [esp + 0xa0], eax
movzx eax, word [esp + 0x79]
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0x18]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x9d]
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x9e]
mov word [esp + 0x32], ax
push dword [esp + 0x70]
call fcn.1000bca0
add esp, 4
test eax, eax
je 0x1004d8b6
mov ecx, dword [0x3111000]
push edx
push eax
push dword [esp + 0x70]
push 0x310fe14
call dword [ecx + 0x10]
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
or ecx, ebx
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x1004d315
jmp 0x1004d5d3
mov ecx, 0x310ed88
mov edx, 0xe
push 0x31099dc
call fcn.10009910
add esp, 4
ud2
mov ecx, 0x310ff98
mov edx, 0x2b
push 0x310e0f0
call fcn.10009910
add esp, 4
ud2
lea eax, [esp + 0x74]
mov ecx, 0x310fee8
mov edx, 0x10
push 0x310e100
push 0x310e130
jmp 0x1004d941
lea eax, [esp + 0x74]
mov ecx, 0x310eadf
mov edx, 0x18
push 0x310e110
push 0x310e120
push eax
call fcn.1000a160
add esp, 0xc
ud2