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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
inc edi
push dword [ebx + 0x84]
mov dword [esp + 0x34], edi
push 0x100212b4
call fcn.10227e44
mov edx, dword [ebx]
neg eax
pop ecx
pop ecx
sbb esi, esi
mov ecx, ebx
neg esi
call dword [edx + 0x258]
test eax, eax
je 0x10130890
mov ecx, dword [ebx + 0x84]
call fcn.1012207d
test eax, eax
je 0x10130892
xor edi, edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x258]
neg eax
push 2
sbb eax, eax
pop ecx
and eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x101308bc
xor eax, eax
test esi, esi
setne al
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x258]
test eax, eax
jne 0x101308ce
test esi, esi
je 0x101308d1
xor eax, eax
inc eax
mov ecx, dword [ebx + 0x80]
lea esi, [ebx + 0x74]
sub ecx, dword [ebx + 0x78]
lea edi, [esp + 0x40]
or dword [esp + 0x14], 0xffffffff
sub ecx, eax
sub ecx, dword [esp + 0x10]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
call dword [eax + 0x258]
test eax, eax
je 0x10130947
mov eax, dword [ebx + 0x114]
test eax, eax
jle 0x10130947
lea esi, [eax - 1]
push esi
lea ecx, [ebx + 0x10c]
mov dword [esp + 0x18], esi
call fcn.10091046
push dword [ebp + 8]
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
jmp 0x1013094b
mov eax, dword [esp + 0x48]
and dword [esp + 0x28], 0
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
cmp dword [ebx + 0x114], edi
jle 0x10130b21
lea eax, [ebx + 0x10c]
push edi
mov ecx, eax
call fcn.10091046
mov esi, dword [eax]
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x84]
mov dword [esi + 0xe4], 1
test ecx, ecx
je 0x101309a1
mov eax, dword [ecx]
push ebx
call dword [eax + 0x348]
test eax, eax
jne 0x101309a1
and dword [esi + 0xe4], eax
lea eax, [ebx + 0x74]
push eax
call dword [0x102aba94]
test eax, eax
je 0x101309e0
mov ecx, dword [esp + 0xc]
lea edi, [esi + 0x74]
push dword [ebp + 8]
xor eax, eax
lea esi, [esp + 0x54]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x12c]
jmp 0x10130b06
mov eax, dword [ebx + 0x114]
xor ecx, ecx
push dword [ebx + 0x88]
dec eax
cmp edi, eax
mov eax, dword [esi]
sete cl
mov dword [esp + 0x30], ecx
mov ecx, esi
call dword [eax + 0x16c]
push dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp edi, edx
jne 0x10130a21
dec ecx
cmp edi, edx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
je 0x10130a31
add edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
add eax, edi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x68], eax
lea eax, [edx + ecx]
mov dword [esp + 0x6c], eax
lea eax, [esi + 0x74]
mov dword [esp + 0x60], edi
lea esi, [esp + 0x60]
mov edi, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
je 0x10130a7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x10130a7d
xor eax, eax
inc eax
jmp 0x10130a7f
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x7c], ecx
jg 0x10130a8c
test eax, eax
je 0x10130ac4
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x1c], eax
je 0x10130ac4
and dword [esp + 0x70], 0
lea esi, [esp + 0x70]
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
mov edi, dword [esp + 0x34]
and dword [esp + 0x7c], 0
mov dword [esp + 0x28], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
jmp 0x10130ad0
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x12c]
cmp dword [esp + 0x30], 0
je 0x10130af0
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
inc eax
jmp 0x10130afb
mov eax, dword [esp + 0x2c]
neg eax
sbb eax, eax
add eax, 4
and dword [esp + 0x30], 0
mov dword [esi + 0x98], eax
mov edi, dword [esp + 0x1c]
lea eax, [ebx + 0x10c]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, dword [ebx + 0x114]
jl 0x1013096c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4