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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x20
push ebx
mov eax, edx
and eax, 0xfff00000
push esi
push edi
mov ebx, ecx
cmp eax, 0x20500000
jne 0x11533d2
test byte [ebp + 0x1c], 4
je 0x11533d2
mov eax, edx
and eax, 0xfffff
mov dword [ebp + 0xc], 0
jbe 0x11533c1
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
sub edi, esi
mov dword [ebp - 8], edi
jmp 0x11533a1
mov edi, dword [ebp - 8]
mov ecx, dword [esi]
cmp ecx, dword [edi + esi]
jne 0x11533c1
mov edi, dword [ebx + 8]
mov edi, dword [edi + 0x14]
mov ecx, dword [edi + ecx*4]
test byte [ecx], 1
je 0x11533c1
inc dword [ebp + 0xc]
add esi, 4
cmp dword [ebp + 0xc], eax
jb 0x115339e
cmp dword [ebp + 0xc], eax
jne 0x11533d2
and eax, 0xfffff
or eax, 0x10000000
mov edx, eax
cmp edx, 0x50000001
jne 0x1153402
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x20500001
push dword [ebp + 8]
mov ecx, ebx
call fcn.0115335d
test eax, eax
jl 0x1153bea
jmp 0x1153be8
cmp edx, 0x50000002
jne 0x1153482
mov eax, dword [ebx + 8]
test byte [eax + 0x6c], 0x20
jne 0x1153482
mov esi, dword [ebp + 0x1c]
or eax, 0xffffffff
and esi, 0x40
push esi
push dword [ebp + 0x18]
lea edi, [ebp - 0x10]
push dword [ebp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov edi, 0x20500001
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0115335d
test eax, eax
jl 0x1153bea
mov eax, dword [ebp + 0x18]
push esi
add eax, 4
push eax
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0115335d
test eax, eax
jl 0x1153bea
push dword [ebp + 0x1c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push 0x20400001
jmp 0x11533eb
mov ecx, dword [ebx + 8]
test byte [ecx + 0x6c], 0x80
je 0x115362d
mov eax, edx
and eax, 0xfff00000
mov dword [ebp - 0xc], eax
cmp eax, 0x20000000
je 0x11534b9
cmp eax, 0x20100000
je 0x11534b9
cmp eax, 0x20200000
je 0x11534b9
cmp eax, 0x20300000
jne 0x115362d
and edx, 0xfffff
mov edi, edx
push 0x105b1b8
mov esi, edi
shl esi, 2
xor ecx, ecx
push 4
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01129d82
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jne 0x11534f6
mov eax, 0x8007000e
jmp 0x1153bea
xor eax, eax
mov dword [ebp + eax*4 - 0x20], ecx
inc eax
add ecx, esi
cmp eax, 4
jb 0x11534f8
test edi, edi
jbe 0x115357a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
sub ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
sub esi, eax
sub ecx, eax
mov dword [ebp - 8], edi
mov edx, dword [ebp - 0xc]
cmp edx, 0x20000000
je 0x1153564
cmp edx, 0x20100000
je 0x1153557
cmp edx, 0x20200000
je 0x115354d
cmp edx, 0x20300000
jne 0x1153572
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov edx, dword [ebx + 0x24]
jmp 0x115356f
mov edx, dword [ebx + 0x24]
mov dword [eax], edx
mov edx, dword [ebx + 0x20]
jmp 0x115356f
mov edx, dword [ebp - 4]
mov edx, dword [edx + eax]
mov dword [eax], edx
mov edx, dword [esi + eax]
jmp 0x115356f
mov edx, dword [esi + eax]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + eax]
mov dword [ecx + eax], edx
add eax, 4
dec dword [ebp - 8]
jne 0x1153520
push edi
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.0115177e
mov esi, eax
test esi, esi
jl 0x115361d
push edi
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0115177e
mov esi, eax
test esi, esi
jl 0x115361d
mov eax, dword [ebp + 0x1c]
and eax, 0x40
push eax
push 0
push dword [ebp + 0x18]
mov esi, edi
push dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
and esi, 0xfffff
mov eax, esi
or eax, 0x10100000
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0115335d
test eax, eax
jl 0x115361b
push dword [ebp - 0xc]
mov eax, esi
push dword [ebp - 0x20]
or eax, 0x20400000
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0115335d
test eax, eax
jl 0x115361b
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
lea eax, [eax + edi*8]
push eax
push dword [ebp - 0x1c]
or esi, 0x30000000
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push dword [ebp + 8]
call fcn.0115335d
test eax, eax
jl 0x115361b
xor esi, esi
jmp 0x115361d
mov esi, eax
push dword [ebp + 0xc]
call fcn.010a960b
pop ecx
mov eax, esi
jmp 0x1153bea
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.0116df17
mov ecx, dword [ebx + 8]
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0xc]
jae 0x115364a
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + eax*4]
jmp 0x115364c
xor esi, esi
xor eax, eax
cmp esi, eax
je 0x11534ec
cmp dword [esi + 0xc], eax
jne 0x1153667
cmp dword [esi + 4], eax
jne 0x1153667
mov dword [esi], eax
jmp 0x1153be8
xor edi, edi
push edi
push edi
mov ecx, esi
call fcn.0116d8c7
push edi
push edi
mov ecx, esi
mov dword [ebp + 0xc], eax
call fcn.0116d0d6
mov edi, dword [esi + 4]
sub edi, eax
shl eax, 2
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [esi + 8]
call sub.msvcrt.dll_memcpy
mov eax, edi
shl eax, 2
push eax
mov eax, dword [esi + 8]
add eax, dword [ebp - 0xc]
push dword [ebp + 0x18]
push eax
call sub.msvcrt.dll_memcpy
and dword [ebp + 0x18], 0
add esp, 0x18
cmp dword [esi + 4], 0
jbe 0x1153753
mov edi, dword [ebp + 0x18]
mov eax, dword [esi + 8]
shl edi, 2
mov ecx, dword [edi + eax]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jae 0x11536d7
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + ecx*4]
jmp 0x11536d9
xor ecx, ecx
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x1153744
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 0x88]
jne 0x1153741
test byte [ecx], 0x80
je 0x1153741
mov eax, ecx
inc dword [eax + 0x5c]
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax + edi]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
fld qword [eax + 0x20]
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push dword [ecx + 0x78]
call fcn.0116deab
mov ecx, dword [esi + 8]
mov dword [edi + ecx], eax
mov eax, dword [esi + 8]
mov edi, dword [edi + eax]
cmp edi, 0xffffffff
je 0x11534ec
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + edi*4]
mov ecx, dword [ecx + 0x30]
mov dword [eax + 0x30], ecx
jmp 0x1153744
inc dword [ecx + 0x5c]
inc dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 4]
jb 0x11536bb
xor edi, edi
mov dword [ebp + 0x18], edi
cmp dword [ebp + 0xc], edi
jbe 0x115386f
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x14], 0
test eax, eax
je 0x1153791
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x1153791
mov ecx, dword [ebx + 8]
cmp eax, dword [ecx + 8]
jae 0x1153784
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x1153786
xor eax, eax
mov dword [ebp + 0x14], eax
test eax, eax
je 0x11539da
mov ecx, dword [ebx + 8]
fldz
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push dword [ecx + 0x88]
call fcn.0116deab
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x11534ec
mov ecx, dword [ebx + 8]
cmp eax, dword [ecx + 8]
jae 0x11537c6
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + eax*4]
jmp 0x11537c8
xor ecx, ecx
test ecx, ecx
je 0x11534ec
test dword [ebp + 0x1c], 0xe000000
mov edx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [ebp - 8]
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x10], edi
jne 0x11537f2
mov edx, dword [ebx + 0x64]
or edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [ecx], edx
mov edx, dword [ebx + 0x30]
mov dword [ecx + 0x14], edx
mov edx, dword [ebx + 0x34]
mov dword [ecx + 0x18], edx
mov edx, edi
mov edi, dword [esi + 0x10]
shl edx, 2
cmp dword [ebp + 0x10], 0
mov dword [edx + edi], eax
je 0x1153815
mov edi, dword [ebp + 0x10]
mov dword [edx + edi], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x115382e
mov edi, dword [eax + 0x30]
mov dword [ecx + 0x30], edi
mov edi, dword [eax + 0x60]
mov dword [ecx + 0x60], edi
mov eax, dword [eax + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [ecx + 0x30]
cmp eax, 0xffffffff
je 0x115385f
mov eax, dword [esi + 0x10]
mov edx, dword [edx + eax]
mov eax, dword [ecx + 0x30]
mov edi, dword [ebx + 0x18]
mov dword [edi + eax*4], edx
xor eax, eax
cmp dword [ecx + 0x60], eax
jne 0x115385f
push dword [ebp - 0xc]
push 0x1069770
push eax
push eax
push ebx
call fcn.0115326e
add esp, 0x14
mov edi, dword [ebp + 0x18]
inc edi
mov dword [ebp + 0x18], edi
cmp edi, dword [ebp + 0xc]
jb 0x1153761
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x115388b
mov eax, dword [esi + 0x10]
push 0
push dword [eax + edi*4]
mov ecx, ebx
call fcn.01151d35
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x1153876
test byte [ebx + 0x14], 4
jne 0x1153932
mov ecx, esi
call fcn.0116d338
test eax, eax
jne 0x1153932
xor edi, edi
cmp edi, dword [ebp + 0xc]
jae 0x11538d8
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + edi*4]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + eax*4]
test byte [ecx], 0x40
jne 0x11538d5
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.0115314a
test eax, eax
jl 0x11538d5
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x11538ab
cmp edi, dword [ebp + 0xc]
jne 0x1153932
mov eax, dword [ebp + 0xc]
and eax, 0xfffff
or eax, 0x10000000
mov dword [esi], eax
mov eax, dword [esi + 0xc]
xor edi, edi
mov dword [esi + 4], eax
cmp dword [ebp + 0xc], edi
jbe 0x1153932
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edi*4]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
fld qword [eax + 0x20]
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push dword [ecx + 0x78]
call fcn.0116deab
mov ecx, dword [esi + 8]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 8]
cmp dword [eax + edi*4], 0xffffffff
je 0x11534ec
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x11538f6
mov eax, dword [esi]
and eax, 0xfff00000
mov ecx, 0x20500000
cmp eax, ecx
ja 0x1153a88
je 0x1153b80
cmp eax, 0x10000000
je 0x1153a39
cmp eax, 0x10100000
je 0x11539f6
cmp eax, 0x20000000
je 0x1153b80
cmp eax, 0x20100000
je 0x1153b80
cmp eax, 0x20400000
jne 0x1153bdc
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
jbe 0x1153bdc
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
add edi, dword [ebp + 0x1c]
shl ecx, 2
mov edx, dword [edx + ecx]
mov edx, dword [eax + edx*4]
mov dword [ebp + 0x14], edx
mov edx, dword [esi + 8]
mov ecx, dword [ecx + edx]
mov edi, dword [edx + edi*4]
mov edi, dword [eax + edi*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi]
and ecx, dword [eax]
mov eax, dword [ebp + 0x14]
and ecx, 2
or dword [eax], ecx
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0xc]
jb 0x1153991
jmp 0x1153bdc
push 0x1069748
push 0
push 0
push ebx
call fcn.0115326e
add esp, 0x10
mov eax, 0x80004005
jmp 0x1153bea
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0xc], eax
jbe 0x1153bdc
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 8]
mov edx, eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
shl edx, 2
mov ecx, dword [ecx + edx]
mov ecx, dword [eax + ecx*4]
mov edx, dword [edi + edx]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
and eax, 2
or dword [ecx], eax
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 0xc]
jb 0x1153a04
jmp 0x1153bdc
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0xc], eax
jbe 0x1153bdc
mov edi, dword [esi + 8]
mov edx, eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x10]
shl edx, 2
mov eax, dword [eax + edx]
mov eax, dword [ecx + eax*4]
mov edx, dword [edx + edi]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0x34], edx
mov edx, dword [ecx]
or dword [eax], edx
fld qword [ecx + 0x20]
fstp qword [eax + 0x20]
fld qword [ecx + 0x28]
fstp qword [eax + 0x28]
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 0xc]
jb 0x1153a47
jmp 0x1153bdc
cmp eax, 0x20700000
je 0x1153b80
cmp eax, 0x20800000
je 0x1153b80
cmp eax, 0x30000000
je 0x1153b1b
cmp eax, 0x50000000
jne 0x1153bdc
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x18], eax
jbe 0x1153b04
mov eax, dword [esi + 8]
mov ecx, dword [ebx + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [ebp + 0x14], eax
lea edi, [eax + edx*4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi]
mov edx, dword [ecx + edx*4]
mov eax, dword [eax]
and eax, dword [edx]
test al, 2
je 0x1153b04
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
add dword [ebp + 0x14], 4
add edi, 4
cmp eax, dword [ebp + 0xc]
jb 0x1153add
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0xc]
jne 0x1153bdc
mov eax, dword [ebp + 0x18]
or dword [eax], 2
jmp 0x1153bdc
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0xc], edi
jbe 0x1153bdc
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [esi + 8]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
add edi, ecx
mov edi, dword [edx + edi*4]
mov edi, dword [eax + edi*4]
mov dword [ebp + 0x18], edi
mov edi, dword [ebp + 0x14]
lea ecx, [edi + ecx*2]
mov ecx, dword [edx + ecx*4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
and eax, dword [ecx]
test al, 1
je 0x1153b6b
mov eax, dword [ebp + 0x1c]
or dword [eax], 0x17
jmp 0x1153b75
test al, 2
je 0x1153b75
mov eax, dword [ebp + 0x1c]
or dword [eax], 2
inc edi
mov dword [ebp + 0x14], edi
cmp edi, dword [ebp + 0xc]
jb 0x1153b29
jmp 0x1153bdc
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
jbe 0x1153bdc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
add edi, dword [ebp + 0x1c]
shl edx, 2
mov ecx, dword [ecx + edx]
mov ecx, dword [eax + ecx*4]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, dword [edx + ecx]
mov edx, dword [eax + edx*4]
mov ecx, dword [ecx + edi*4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
and eax, dword [edx]
test al, 1
je 0x1153bc7
mov eax, dword [ebp + 0x14]
or dword [eax], 0x17
jmp 0x1153bd1
test al, 2
je 0x1153bd1
mov eax, dword [ebp + 0x14]
or dword [eax], 2
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0xc]
jb 0x1153b8a
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18