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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ecx
cmp eax, 0x7fffffff
jae 0x1003904e
mov dword [esp + 0x84], eax
inc eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [edx + 8], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
and ebx, 0xfffff000
mov edx, ecx
shl eax, 5
add edx, 0xffffffa0
lea eax, [eax + eax*2]
nop dword [eax]
test eax, eax
je 0x10039003
add eax, 0xffffffa0
cmp ebx, dword [edx + 0x98]
mov ecx, edx
mov edx, edi
sbb edx, dword [ecx + 0x9c]
lea edx, [ecx + 0x60]
jb 0x100388d0
mov esi, dword [ecx + 0xa4]
cmp dword [ecx + 0xa0], ebx
sbb esi, edi
jb 0x100388d0
mov eax, edx
mov edx, dword [edx + 0x50]
mov dword [esp + 4], ebx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x2c], eax
add edx, 0xfffffff0
shl ecx, 3
lea ecx, [ecx + ecx*2]
nop dword [eax]
test ecx, ecx
je 0x10038982
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0x34], eax
and eax, 0xfffff000
mov dword [esp + 0x30], esi
xor esi, edi
mov edi, eax
xor edi, edx
or edi, esi
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x30]
setne bl
cmp edx, eax
mov edx, dword [esp + 0x10]
mov eax, edi
sbb eax, esi
mov eax, 0xff
cmovb ebx, eax
add edx, 0x18
add ecx, 0xffffffe8
cmp bl, 1
je 0x10038920
mov ecx, dword [esp + 0x34]
movzx eax, bl
cmp eax, 0xff
jne 0x10038ad2
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0xa0]
mov ecx, esi
call fcn.10061900
mov eax, dword [esp + 8]
dec dword [eax + 8]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push esi
push eax
call fcn.10059010
add esp, 0x14
xor esi, esi
lea edi, [0x42174b9]
lea edx, [0x42174ba]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop dword [eax + eax]
movzx ebx, byte [edi]
mov edi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x100389f5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1003901c
add bl, 0xa9
mov edx, ebx
mov ecx, esi
movzx ebx, dl
lea edx, [edi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, edi
je 0x10038a16
shld dword [esp + 0x10], esi, 4
inc eax
test edi, edi
mov esi, ebx
jne 0x100389d0
mov edx, dword [esp + 0x38]
cmp edx, 3
jne 0x10038a74
mov esi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov eax, dword [0x421b000]
xor ebx, 0x163
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], esi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], edi
push 4
push 8
push 0x421a968
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10038af9
lea ecx, [esp + 0x74]
call fcn.10003710
xor eax, eax
jmp 0x10038b02
test edx, edx
je 0x10038b5e
movsd xmm0, qword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp edx, 1
jne 0x10038baa
mov eax, dword [ebp + 8]
mov edx, ecx
not dl
and al, dl
mov edx, dword [esp + 4]
test al, 0x3f
jne 0x10039071
mov eax, dword [ebp + 0xc]
movzx ecx, cl
movlps qword [esp + 0x90], xmm0
mov dword [esp + 0x98], esi
or edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x10038b69
mov eax, ecx
mov ecx, dword [ebp + 8]
not al
and cl, al
test cl, 0x3f
je 0x10038b39
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, 3
jmp 0x10038db9
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
mov ecx, eax
shr ecx, 8
movlps qword [edx + 4], xmm0
mov dword [edx + 0xc], ebx
mov word [edx + 0x11], cx
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 0x13], cl
mov byte [edx + 0x10], al
lea eax, [esp + 0xa0]
mov dword [edx], 1
push eax
jmp 0x10038e10
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10038d72
cmp eax, 1
jne 0x10038d7b
mov eax, dword [edx + 4]
inc dword [eax]
mov dword [esp + 0x10], eax
jmp 0x10038da9
mov dword [esp + 0x90], 3
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
lea ecx, [esp + 0xa0]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 8], xmm2
mov dword [eax], 0
push ecx
jmp 0x10038e10
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], esi
cmp dword [edx + 8], 0
jne 0x1003908a
mov dword [edx + 8], 0xffffffff
mov edi, edx
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov edx, dword [edx + 0xc]
cmp esi, edi
cmovb edi, esi
add edx, 0xffffffa0
shl edi, 5
lea esi, [edi + edi*2]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x10039035
add esi, 0xffffffa0
mov edi, edx
cmp ebx, dword [edx + 0x98]
mov edx, dword [ebp + 0xc]
sbb edx, dword [edi + 0x9c]
lea edx, [edi + 0x60]
jb 0x10038bf0
mov ebx, dword [edi + 0xa4]
cmp dword [edi + 0xa0], eax
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
jb 0x10038bf0
mov eax, dword [ebp + 8]
mov ebx, ecx
not bl
mov bh, al
and bh, bl
test bh, 0x3f
jne 0x100390ad
movzx ecx, cl
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
or ecx, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
movlps qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
call fcn.100391e0
add esp, 4
xor ebx, ebx
lea edx, [0x42174b9]
lea edi, [0x42174ba]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10038cb5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1003901c
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx esi, ch
shl edi, 4
or esi, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10038cd6
shld dword [esp + 0x10], ebx, 4
inc eax
test edx, edx
mov ebx, esi
jne 0x10038c90
cmp dword [esp + 0x38], 0
je 0x10038d32
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, dword [0x421b000]
xor esi, 0x16d
mov dword [esp + 0x74], edi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], ebx
push 4
push 8
push 0x421a968
lea ecx, [esp + 0x64]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10038ddf
lea ecx, [esp + 0x74]
call fcn.10003710
xor eax, eax
jmp 0x10038de8
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 8]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x10038e2b
mov esi, dword [esp + 0x4c]
cmp eax, 1
je 0x10038e20
cmp eax, 3
je 0x10038e2b
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.10068cd0
mov ecx, esi
call fcn.1002e4e0
jmp 0x10038e27
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
jmp 0x10038da9
mov eax, dword [edx + 4]
cmp dword [eax + 8], 0
jne 0x100390c6
mov dword [eax + 8], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, eax
mov edx, dword [edx + 8]
mov dword [esp + 4], edx
call fcn.10068c40
inc dword [edi + 8]
inc dword [edi]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
dec edx
mov edi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax], 0
mov dword [ecx + 8], edx
jmp 0x10038e18
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
lea edx, [esp + 0xa0]
movlps qword [ecx + 4], xmm0
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], eax
mov dword [ecx], 1
mov ecx, dword [esp + 8]
inc dword [ecx + 8]
push edx
call fcn.100390f0
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.1002f200
mov edx, dword [esp + 8]
inc dword [edx + 8]
mov eax, 2
mov ecx, dword [esp + 0xbc]
add ecx, 0xfffffffe
cmp ecx, 4
cmovb eax, ecx
lea ecx, [eax - 1]
cmp ecx, 2
jb 0x10038e4f
test eax, eax
jne 0x10038e59
mov dword [esp + 0x58], 0
jmp 0x10038e90
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0xa4]
mov esi, edx
mov ecx, dword [esp + 0xa0]
or ebx, dword [edx + 0x18]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 0x1c]
or edx, edi
push dword [ebp + 0x10]
push edx
push ebx
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [eax + 0x18]
add esp, 0x14
xor ecx, ecx
lea edx, [0x42174b9]
lea edi, [0x42174ba]
mov eax, 0xfffffff9
xor esi, esi
nop word cs:[eax + eax]
nop
movzx ebx, byte [edx]
mov edx, edi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x10038ed5
or bl, 0x20
mov bh, bl
add bh, 0x9f
cmp bh, 6
jae 0x1003901c
add bl, 0xa9
mov bh, bl
mov edi, ecx
movzx ebx, bh
shl edi, 4
or ebx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10038ef4
shld esi, ecx, 4
inc eax
test edx, edx
mov ecx, ebx
jne 0x10038eb0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10038f64
mov ecx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
xor ebx, 0x171
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.100031f0
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x10038f67
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x78]
mov dword [edx + 0x10], ecx
movsd qword [edx + 8], xmm0
mov dword [edx + 4], eax
mov dword [edx], 1
lea edx, [esp + 0xa0]
jmp 0x10038e0f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
call fcn.100395b0
add esp, 4
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], edx
shl eax, 3
add esi, 0xffffffe8
lea eax, [eax + eax*2]
nop dword [eax + eax]
xor edx, edx
test eax, eax
je 0x10038fec
mov ebx, dword [esi + 0x18]
mov ecx, 0xfffff000
mov edi, dword [esi + 0x1c]
mov edx, esi
and ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov esi, ebx
xor esi, dword [esp + 4]
xor edi, ecx
xor ecx, ecx
or esi, edi
mov esi, dword [ebp + 0xc]
lea edi, [edx + 0x18]
mov edx, 0xff
setne cl
cmp dword [esp + 4], ebx
sbb esi, dword [esp + 0x10]
mov esi, edi
cmovb ecx, edx
add eax, 0xffffffe8
cmp cl, 1
je 0x10038f90
movzx eax, cl
mov edx, 0
cmp eax, 0xff
je 0x10038fec
mov edx, edi
lea ecx, [esp + 0x88]
call fcn.10003740
mov eax, dword [esp + 0x30]
dec dword [eax]
jmp 0x10038b69
mov ecx, 0x421ab8c
mov edx, 0x2b
push 0x4217550
call fcn.10006dd0
add esp, 4
ud2
mov ecx, 0x421a5f4
mov edx, 0xe
push 0x4212e44
call fcn.10006dd0
add esp, 4
ud2
mov ecx, 0x421ab8c
mov edx, 0x2b
push 0x4217560
call fcn.10006dd0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x421926c
mov edx, 0x18
push 0x42175f0
push 0x42176c0
push eax
call fcn.10007620
add esp, 0xc
ud2
mov ecx, 0x4217580
mov edx, 0x36
push 0x42175b8
call fcn.10006dd0
add esp, 4
ud2
mov ecx, 0x421aa9c
mov edx, 0x10
push 0x4217504
push 0x42176d0
lea eax, [esp + 0x40]
push eax
call fcn.10007620
add esp, 0xc
ud2
mov ecx, 0x4217580
mov edx, 0x36
push 0x42175c8
call fcn.10006dd0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x421aa9c
mov edx, 0x10
push 0x4219294
push 0x42194f4
push eax
call fcn.10007620
add esp, 0xc
ud2