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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x1020c6f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x103b1c91
push edi
mov dword [ebp - 0x70], esi
call fcn.1000602d
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.1000335a
mov eax, dword [esi]
lea ebx, [esi + 0x80]
mov dword [ebp - 0x7c], eax
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x88], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
cmp byte [eax + 8], 0
jne 0x10051e16
mov edi, dword [ebp - 0x80]
mov esi, 2
jmp 0x100522eb
mov edi, dword [esi + 8]
mov ecx, edi
mov eax, dword [esi + 0xc]
add ecx, 7
push 0
mov dword [ebp - 0x98], eax
adc eax, 0
push 8
push eax
push ecx
mov dword [ebp - 0x9c], edi
call fcn.10006541
mov esi, dword [ebp - 0x7c]
add eax, 7
push 0
adc edx, 0
and eax, 0xfffffff8
mov dword [ebp - 0xa8], eax
mov esi, dword [esi + 0x13]
mov ecx, esi
add ecx, eax
mov dword [ebp - 0x90], edx
mov eax, 0
adc eax, edx
sub ecx, 1
push esi
sbb eax, 0
push eax
push ecx
call fcn.10006541
mov esi, dword [ebp - 0xa8]
push esi
push dword [ebx]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x78], edx
call fcn.100038cd
add esp, 8
test eax, eax
jne 0x10051e9a
mov edi, dword [ebp - 0x80]
lea esi, [eax + 3]
jmp 0x100522eb
mov ecx, dword [ebp - 0x90]
mov dword [ebx], eax
mov eax, dword [ebp - 0x70]
add eax, 0x78
push eax
push dword [ebp - 0x98]
push edi
mov dword [eax], esi
mov dword [eax + 4], ecx
call fcn.1004e0e0
push 0
push dword [ebp - 0xa4]
push dword [ebp - 0x7c]
call fcn.10002856
mov edi, eax
add esp, 0x18
mov dword [ebp - 0xa0], edi
test edi, edi
jne 0x10051ee1
lea esi, [eax + 4]
jmp 0x100522eb
mov ecx, dword [ebp - 0x70]
lea edx, [edi + 0x10]
mov dword [ebp - 0x94], edx
cmp dword [ecx + 0x54], 0
je 0x1005214b
mov eax, dword [edx]
or ecx, 0xffffffff
mov edx, dword [edx + 4]
mov dword [ebp - 0x6c], eax
or eax, edx
mov dword [ebp - 0x74], 0
je 0x100520d9
mov ebx, dword [edi]
mov eax, ebx
add eax, dword [ebp - 0x6c]
mov esi, dword [edi + 4]
mov dword [ebp - 0x80], eax
mov eax, esi
adc eax, edx
cmp eax, dword [ebp - 0x78]
jl 0x1005205d
jg 0x10051f3c
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x80], eax
jbe 0x1005205d
mov eax, dword [ebp - 0x74]
cmp ecx, 0xffffffff
cmovne eax, ecx
mov ecx, eax
mov eax, dword [edi + 8]
and eax, dword [edi + 0xc]
mov dword [ebp - 0x80], ecx
cmp eax, 0xffffffff
je 0x1005205d
cmp dword [edi + 8], 0xfffffffe
mov eax, ecx
jne 0x10051f6b
cmp dword [edi + 0xc], 0xffffffff
je 0x1005205d
mov dword [ebp - 0xac], 0
mov ecx, eax
test edx, edx
jl 0x1005205d
jg 0x10051f8b
cmp dword [ebp - 0x6c], 0
jbe 0x1005205d
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
mov ecx, eax
mov dword [ebp - 0xb0], esi
add ecx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0xb8], ecx
mov ecx, edx
adc ecx, esi
mov dword [ebp - 0x6c], esi
cmp ecx, dword [ebp - 0x78]
jl 0x1005202a
jg 0x10051fd4
mov ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0xb8], ecx
jb 0x1005202a
add eax, dword [edi + 8]
mov dword [ebp - 0x84], ebx
adc edx, dword [edi + 0xc]
cmp edx, dword [ebp - 0x98]
jg 0x10052022
jl 0x10051ff2
cmp eax, dword [ebp - 0x9c]
jae 0x10052022
mov ecx, dword [ebp - 0x88]
mov esi, dword [ecx]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x6c], ecx
test esi, esi
je 0x10052030
mov ecx, eax
and eax, 7
shrd ecx, edx, 3
lea edx, [ecx + esi]
movzx ecx, byte [edx]
btr ecx, eax
mov byte [edx], cl
mov ebx, dword [edi]
mov esi, dword [edi + 4]
jmp 0x10052033
mov ebx, dword [ebp - 0x84]
jmp 0x10052033
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0xac], eax
cdq
cmp edx, dword [ecx + 4]
jl 0x10051fa2
jg 0x1005205a
cmp eax, dword [ecx]
jb 0x10051fa2
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0x74], eax
lea eax, [eax + eax*2]
lea edi, [edx + eax*8]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
lea eax, [edi + 0x10]
mov dword [ebp - 0x94], eax
mov eax, ebx
or eax, edx
mov dword [ebp - 0x6c], ebx
jne 0x10051f11
mov edi, dword [ebp - 0xa0]
cmp ecx, 0xffffffff
je 0x100520d3
mov ebx, dword [ebp - 0x8c]
lea eax, [ecx + ecx*2]
lea ecx, [edi + eax*8]
mov eax, ebx
sub eax, dword [ecx]
cdq
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
mov ecx, edx
mov esi, dword [ebp - 0xa4]
sub ecx, 1
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x78]
sbb eax, 0
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x7c]
push edx
push 0
mov dword [esi + 0x18], ecx
push dword [eax + 0x13]
call fcn.10002798
mov ecx, esi
mov esi, dword [ebp - 0xa8]
push edi
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x38], esi
push dword [eax + 0x1c]
push dword [ebp - 0x7c]
call fcn.100515a0
add esp, 0xc
test al, al
jne 0x10052273
mov esi, 6
jmp 0x100522eb
xorps xmm0, xmm0
movlpd qword [0x1020e2a8], xmm0
mov edi, dword [edx]
mov eax, edi
mov ebx, dword [edx + 4]
or eax, ebx
je 0x100521c7
mov eax, dword [edx - 4]
mov esi, dword [edx - 8]
mov dword [ebp - 0x74], eax
nop word [eax + eax]
mov edx, dword [ecx + 0x80]
add edi, 0xffffffff
adc ebx, 0xffffffff
test edx, edx
je 0x1005219b
mov ecx, esi
shrd ecx, eax, 3
add edx, ecx
mov eax, esi
and eax, 7
movzx ecx, byte [edx]
btr ecx, eax
mov eax, dword [ebp - 0x74]
mov byte [edx], cl
mov ecx, dword [ebp - 0x70]
add esi, 1
adc eax, 0
mov dword [ebp - 0x74], eax
mov eax, edi
or eax, ebx
mov eax, dword [ebp - 0x74]
jne 0x10052170
mov edx, dword [ebp - 0x94]
add edx, 0x18
mov dword [ebp - 0x94], edx
mov edi, dword [edx]
mov eax, edi
mov ebx, dword [edx + 4]
or eax, ebx
jne 0x10052161
push dword [ebp - 0xa0]
call fcn.10004435
mov eax, dword [ebp - 0x7c]
add esp, 4
mov edi, dword [eax + 0x52]
mov esi, dword [eax + 0x4e]
mov eax, dword [ebp - 0x98]
cmp edi, eax
jg 0x1005223a
mov ebx, dword [ebp - 0x9c]
jl 0x100521f4
cmp esi, ebx
jae 0x1005223a
mov ecx, dword [ebp - 0x70]
nop word [eax + eax]
mov edx, dword [ecx + 0x80]
test edx, edx
je 0x1005222a
mov ecx, esi
mov eax, edi
shrd ecx, eax, 3
add edx, ecx
mov eax, esi
and eax, 7
movzx ecx, byte [edx]
btr ecx, eax
mov eax, dword [ebp - 0x98]
mov byte [edx], cl
mov ecx, dword [ebp - 0x70]
add esi, 1
adc edi, 0
cmp edi, eax
jl 0x10052200
jg 0x1005223a
cmp esi, ebx
jb 0x10052200
push 0
push eax
push dword [ebp - 0x9c]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x78]
add eax, 0x78
push dword [ebp - 0x8c]
push eax
call fcn.1004dad0
mov ebx, dword [ebp - 0x88]
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x100520d9
lea esi, [eax + 5]
jmp 0x100522eb
lea eax, [ebp - 0xb0]
push eax
push dword [ebx]
push dword [ebp - 0x90]
push esi
push 0
push 0
push edi
push dword [ebp - 0x7c]
call fcn.10005529
mov ecx, dword [ebp - 0x90]
add esp, 0x20
cmp esi, eax
jne 0x100522cc
cmp ecx, edx
jne 0x100522cc
mov eax, dword [ebx]
test eax, eax
je 0x100522b0
push eax
call fcn.10004435
add esp, 4
push edi
call fcn.10004435
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003260
mov esp, ebp
pop ebp
ret
push ecx
push dword [ebp - 0xa8]
mov esi, 7
push edx
push eax
lea eax, [ebp - 0x68]
push str._llu____llu
push eax
call fcn.10006b22
add esp, 0x18
mov eax, dword [ebx]
test eax, eax
je 0x100522fa
push eax
call fcn.10004435
add esp, 4
test edi, edi
je 0x10052307
push edi
call fcn.10004435
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003260
mov esp, ebp
pop ebp
ret