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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x10050df0
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
mov eax, dword [edx + 0xac]
mov edi, dword [edx + 0x98]
mov ebx, dword [edx + 0xa4]
mov ecx, dword [edx + 0x94]
mov dword [esi + 0x38], eax
mov eax, dword [edx + 0xb0]
test edi, edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0xa0]
mov dword [esi + 0x60], eax
je 0x1005053c
imul eax, edi, 0xd0
mov dword [esi + 0x18], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x5c], eax
add eax, ecx
mov dword [esi + 0x64], eax
xor eax, eax
cmp eax, 5
je 0x100504ad
inc eax
mov ebx, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x58], eax
jmp 0x10050382
mov ebx, dword [esi + 0x14]
add ebx, 0xd0
cmp ebx, dword [esi + 0x64]
je 0x1005049d
mov ecx, dword [esi + 0x38]
mov edi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x7c]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x68], ecx
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], eax
mov edx, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
cmp edx, ecx
ja 0x10050bd0
cmp ecx, dword [esi + 0x24]
ja 0x10050bb8
cmp edx, ecx
mov dword [esi + 0x14], ebx
je 0x10050370
mov ebx, dword [esi + 0x60]
shl edx, 3
shl ecx, 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x20], 0
lea edx, [edx + edx*2]
lea ecx, [ecx + ecx*2]
sub ecx, edx
add ebx, edx
xor edx, edx
jmp 0x10050412
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add ebx, 0x18
add edi, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
adc eax, 0
inc edx
add ecx, 0xffffffe8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], eax
je 0x10050370
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], edx
mov ecx, dword [ecx + 0xc8]
add ecx, edx
mov edx, dword [esi + 0x6c]
cmp ecx, edx
jae 0x10050b4b
mov edx, dword [esi + 0x68]
mov dword [edx + ecx*8], edi
mov dword [edx + ecx*8 + 4], eax
cmp byte [ebx + 0xc], 0
mov edi, dword [ebx + 8]
jne 0x100503f0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xd8], 0xffffffff
push dword [esi + 0x20]
push dword [esi + 0x3c]
lea edx, [esi + 0x68]
push edx
push ebx
push eax
call dword [ecx + 0x10]
add esp, 0x14
mov ecx, dword [ebx + 8]
test al, al
je 0x1005048d
mov edx, dword [esi + 0xc]
sub edi, ecx
jb 0x10050519
jbe 0x10050483
add dword [esi + 0x3c], edi
mov al, 1
mov dword [esi + 0x1c], eax
adc dword [esi + 0x20], 0
mov edi, ecx
mov ecx, dword [esi + 0x10]
jmp 0x100503f6
cmp edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
je 0x100503f6
jmp 0x10050519
test byte [esi + 0x1c], 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x58]
jne 0x1005034b
mov ebx, dword [esi + 0x60]
mov edi, ecx
jmp 0x100504d3
add edi, 0xd0
add dword [esi + 0x5c], 0xffffff30
je 0x10050b07
mov ecx, dword [edi + 0xcc]
lea eax, [ecx - 1]
cmp eax, dword [esi + 0x24]
jae 0x100504c0
cmp eax, dword [esi + 0x34]
mov dword [esi + 0xd8], 0xffffffff
jae 0x10050baa
mov edx, dword [esi + 0x38]
lea eax, [eax + eax*2]
mov edx, dword [edx + ecx*8 - 8]
add edx, dword [ebx + eax*8 + 8]
mov eax, dword [esi + 0x38]
mov eax, dword [eax + ecx*8 - 4]
adc eax, 0
push eax
push edx
push edi
call fcn.10056e50
add esp, 0xc
jmp 0x100504c0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80000000
mov dword [eax + 8], 0x10128f74
mov dword [eax + 0xc], 0xe
mov dword [eax], 1
jmp 0x10050af2
imul eax, edi, 0xd0
add eax, ecx
mov dword [esi + 0x64], eax
mov eax, 8
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x88]
mov dword [esi + 0x30], 0
mov dword [esi + 0x10], eax
cmp ecx, dword [esi + 0x64]
je 0x10050b61
mov edi, dword [ecx + 0xcc]
mov eax, 4
mov dword [esi + 8], ecx
sub edi, dword [ecx + 0xc8]
test byte [esi + 0x10], 4
jne 0x10050590
xor ecx, ecx
jmp 0x100505c5
test edi, edi
je 0x100505c1
cmp edi, 0x1fffffff
ja 0x10050c37
movzx eax, byte [0x10180e99]
lea ebx, [edi*4]
push 4
push ebx
call fcn.100218a0
add esp, 8
test eax, eax
je 0x10050c2e
mov ecx, edi
mov edx, eax
test byte [esi + 0x10], 8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov eax, 1
mov dword [esi + 0x18], edx
mov dword [esi + 0x48], 0
jne 0x100505f0
mov ecx, dword [esi + 8]
xor edi, edi
jmp 0x1005062d
mov ecx, dword [esi + 8]
test edi, edi
je 0x10050627
cmp edi, 0xfffffff
ja 0x10050c5c
movzx eax, byte [0x10180e99]
lea ebx, [edi*8]
push 1
push ebx
call fcn.100218a0
add esp, 8
test eax, eax
je 0x10050c4f
mov ecx, dword [esi + 8]
mov dword [esi + 0xa4], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov edi, ecx
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x34]
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov ecx, dword [edi + 0xc8]
mov eax, dword [edi + 0xcc]
cmp ecx, eax
ja 0x10050be6
cmp eax, dword [esi + 0x24]
ja 0x10050c09
mov edx, dword [esi + 8]
mov ebx, dword [esi + 0x60]
lea eax, [eax + eax*2]
lea ecx, [ecx + ecx*2]
add edx, 0xd0
lea edi, [ebx + ecx*8]
lea eax, [ebx + eax*8]
mov dword [esi + 0xc4], edx
mov dword [esi + 0x3c], eax
jmp 0x100506cd
mov eax, dword [esi + 0x44]
mov dword [eax + edx*4], edi
mov edi, dword [esi + 0xc]
inc edx
mov dword [esi + 0x48], edx
add edi, 0x18
add dword [esi + 0xb0], ecx
adc dword [esi + 0xb4], 0
cmp edi, dword [esi + 0x3c]
je 0x10050814
mov eax, dword [esi + 0xb8]
test byte [esi + 0x10], 8
mov dword [esi + 0xc], edi
mov eax, dword [eax + 0x10]
mov dword [esi + 0xd8], 2
mov dword [esi + 0x14], eax
jne 0x10050730
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea edx, [esi + 0xa8]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
push edx
push edi
push eax
lea eax, [esi + 0x68]
push eax
call dword [ecx + 0x14]
add esp, 0x10
cmp byte [esi + 0x68], 0
jne 0x10050a3a
movzx edx, byte [esi + 0x71]
jmp 0x100507a8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea edx, [esi + 0xa8]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
push edx
push edi
push eax
lea eax, [esi + 0x68]
push eax
call dword [ecx + 0x14]
add esp, 0x10
cmp byte [esi + 0x68], 0
jne 0x10050a6a
mov ecx, dword [esi + 0x54]
mov edi, dword [esi + 0x69]
mov ebx, dword [esi + 0x6d]
movzx edx, byte [esi + 0x71]
cmp ecx, dword [esi + 0x4c]
jne 0x1005079a
lea eax, [esi + 0x4c]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
push eax
mov byte [esi + 0x20], dl
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], ebx
call fcn.10062e50
mov ebx, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
mov ecx, dword [esi + 0x1c]
movzx edx, byte [esi + 0x20]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], ebx
inc ecx
mov dword [esi + 0x54], ecx
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esi + 0x14]
cmp ecx, dword [edi + 8]
jne 0x10050a13
test byte [esi + 0x10], 4
je 0x100506bd
mov edi, 0xffffffff
test dl, 1
je 0x100507dd
mov edi, dword [esi + 0xb0]
sub edi, dword [eax + 0x78]
mov edx, dword [esi + 0x48]
cmp edx, dword [esi + 0x40]
jne 0x100506b0
lea eax, [esi + 0x40]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
push eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edx
call fcn.1001c2c0
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
add esp, 4
jmp 0x100506b0
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
push dword [esi + 8]
lea eax, [esi + 0x68]
push eax
call fcn.10057030
add esp, 8
cmp dword [esi + 0x68], 0x80000001
jne 0x10050b7f
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x7c]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x70]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax + 8]
movsd qword [ecx], xmm0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0
mov edx, dword [eax + 0xb8]
mov dword [eax + 0xb8], 0x80000000
mov edi, dword [eax + 0xbc]
mov ebx, dword [eax + 0xc0]
mov eax, dword [esi + 0x48]
movsd xmm0, qword [esi + 0x40]
cmp edx, 0x80000000
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x54]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [esi + 0x4c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x14]
movsd qword [ecx + 0x24], xmm0
mov ecx, 8
cmove edi, ecx
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x68], eax
mov eax, 0
cmove edx, eax
cmove ebx, eax
mov dword [esi + 0x7c], edx
mov edx, dword [esi + 0x30]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ebx
cmp edx, dword [esi + 0x28]
jne 0x1005090c
lea eax, [esi + 0x28]
mov dword [esi + 0xd8], 3
push eax
mov dword [esi + 0xc], edx
call fcn.10062f90
mov edx, dword [esi + 0xc]
add esp, 4
mov eax, dword [esi + 0x2c]
movsd xmm0, qword [esi + 0x98]
imul ecx, edx, 0x38
inc edx
movsd qword [eax + ecx + 0x30], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [eax + ecx + 0x28], xmm0
movsd xmm0, qword [esi + 0x88]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esi + 0x80]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esi + 0x78]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, dword [esi + 8]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x18]
mov ebx, dword [ecx + 0xa8]
mov edi, dword [ecx + 0xa4]
mov dword [ecx + 0xa8], 0
test ebx, ebx
jne 0x100509c6
mov ebx, dword [ecx + 0xb4]
mov edi, dword [ecx + 0xb0]
mov dword [ecx + 0xb4], 0
test ebx, ebx
jne 0x100509f6
mov ecx, dword [esi + 0xc4]
cmp ecx, dword [esi + 0x64]
jne 0x1005056b
jmp 0x10050b61
add edi, 4
dec ebx
je 0x1005098e
mov eax, dword [edi]
dec dword [eax]
jne 0x100509c0
dec dword [eax + 4]
jne 0x100509c0
push 8
push 0x28
push eax
call fcn.100218b0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 8]
add esp, 0xc
jmp 0x100509c0
add edi, 4
dec ebx
je 0x100509a8
mov eax, dword [edi]
dec dword [eax]
jne 0x100509f0
dec dword [eax + 4]
jne 0x100509f0
push 8
push 0x28
push eax
call fcn.100218b0
mov edx, dword [esi + 0x18]
add esp, 0xc
jmp 0x100509f0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80000000
mov dword [eax + 8], 0x10128f74
mov dword [eax + 0xc], 0xe
mov dword [eax], 1
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x10050a98
jmp 0x10050aa9
movzx eax, word [esi + 0x70]
mov ecx, dword [esi + 0x72]
mov edx, dword [ebp + 8]
movzx ebx, word [esi + 0x76]
mov edi, dword [esi + 0x6c]
mov dword [edx + 0xa], ecx
mov word [edx + 0xe], bx
mov dword [edx + 4], edi
mov word [edx + 8], ax
mov eax, edx
mov dword [eax], 1
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x10050a98
jmp 0x10050aa9
movzx eax, word [esi + 0x70]
mov ecx, dword [esi + 0x6c]
movzx edx, word [esi + 0x76]
mov edi, dword [ebp + 8]
mov ebx, dword [esi + 0x72]
mov word [edi + 0xe], dx
mov dword [edi + 0xa], ebx
mov word [edi + 8], ax
mov dword [edi + 4], ecx
mov eax, edi
mov dword [eax], 1
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x10050aa9
shl eax, 3
push 1
push eax
push dword [esi + 0x50]
call fcn.100218b0
add esp, 0xc
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10050ac1
shl eax, 2
push 4
push eax
push dword [esi + 0x44]
call fcn.100218b0
add esp, 0xc
lea eax, [esi + 0x28]
mov dword [esi + 0xd8], 4
push eax
call fcn.1004b720
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10050aef
imul eax, eax, 0x38
push 8
push eax
push dword [esi + 0x2c]
call fcn.100218b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xd0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x18]
xor eax, eax
imul edi, ecx, 0x38
cmp ecx, 0x2492492
ja 0x10050c82
test edi, edi
js 0x10050c82
movzx eax, byte [0x10180e99]
push 8
push edi
call fcn.100218a0
add esp, 8
test eax, eax
je 0x10050c7d
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [esi + 0x18]
jmp 0x1005054c
mov dword [esi + 0xd8], 0xffffffff
push 0x101290bc
push edx
push ecx
call fcn.10113f90
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp + 8]
movsd xmm0, qword [esi + 0x28]
mov dword [eax + 0xc], ecx
movsd qword [eax + 4], xmm0
mov dword [eax], 0
jmp 0x10050af2
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x68]
mov dword [ecx + 0xc], eax
mov eax, ecx
movsd qword [ecx + 4], xmm0
mov dword [eax], 1
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x10050a98
jmp 0x10050aa9
push 0x1012909c
push dword [esi + 0x34]
push eax
call fcn.10113f90
mov dword [esi + 0xd8], 0xffffffff
push 0x101290ac
push dword [esi + 0x24]
push ecx
call fcn.101141f0
mov dword [esi + 0xd8], 0xffffffff
push 0x101290ac
push ecx
push edx
call fcn.10114210
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
push 0x1012908c
push eax
push ecx
call fcn.10114210
add esp, 0xc
jmp 0x10050c7b
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
push 0x1012908c
push dword [esi + 0x24]
push eax
call fcn.101141f0
add esp, 0xc
jmp 0x10050c7b
mov edx, ebx
mov eax, 4
jmp 0x10050c39
xor eax, eax
mov dword [esi + 0xd8], 0
push edx
push eax
call fcn.10113ca0
add esp, 8
jmp 0x10050c7b
mov eax, 1
mov dword [esi + 0xa4], ebx
jmp 0x10050c5e
xor eax, eax
mov byte [esi + 7], 1
mov dword [esi + 0xd8], 1
push dword [esi + 0xa4]
push eax
call fcn.10113ca0
add esp, 8
ud2
mov eax, 8
mov dword [esi + 0xd8], 0xffffffff
push edi
push eax
call fcn.10113ca0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0xdc]
mov ebp, dword [esi + 0xc8]
lea ecx, [esi + 0x68]
call fcn.1004db80
mov byte [esi + 5], 1
mov byte [esi + 6], 0
add esp, 0x14
pop ebp
ret