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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov eax, dword [esi + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x18]
mov ebp, dword [eax + 0x18]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
test eax, eax
je 0x10129ee8
mov dword [eax], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10129ef6
mov dword [eax], 0
mov ebx, dword [esp + 0x58]
mov eax, ebx
and eax, 0x2e
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10129f24
push eax
push esi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1012a2f7
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10129f4c
push eax
push esi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
mov edi, dword [ebp + 0x38]
lea eax, [esp + 0x14]
imul edi, dword [ebp + 0x24]
push eax
lea eax, [edi + edi*2]
shl eax, 2
push eax
push esi
call fcn.100dc800
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
test edx, edx
je 0x10129f7a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edx
cmp dword [ebp + 0x24], edx
jbe 0x1012a4e2
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x2c]
add ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov ebp, dword [ecx + 0x18]
mov dword [esp + 0x20], ebp
test byte [eax + 0x9c], 0x40
je 0x10129fb1
mov ebp, dword [ebp + 0x34]
jmp 0x10129fbb
mov eax, dword [esp + 0x20]
mov ebp, dword [ecx + 0x14]
add ebp, dword [eax + 0x34]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x38], eax
jbe 0x1012a13c
nop
cmp dword [ebp + 0xc], 0
je 0x1012a12b
mov eax, dword [ebp]
test eax, eax
je 0x10129ff7
push eax
push esi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1012a2f7
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
je 0x1012a0f0
lea esi, [ebp + 4]
add esi, eax
je 0x1012a0ec
lea ebx, [edx + edx*2]
shl ebx, 2
test byte [esi + 8], 2
je 0x1012a0d8
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x1012a035
mov eax, dword [esi + 0x1c]
jmp 0x1012a03b
mov eax, dword [ecx + 0x14]
add eax, dword [esi + 0x1c]
cmp dword [eax + 0x4c], 0
jne 0x1012a0d8
mov edx, dword [esp + 0x58]
test dl, 8
jne 0x1012a05a
test dword [eax + 0xa4], 0x200
jne 0x1012a0d8
test dl, 4
je 0x1012a068
cmp dword [eax + 0x90], 0xffffffff
je 0x1012a0d8
test dl, 0x20
je 0x1012a076
test byte [eax + 0xa4], 8
je 0x1012a0d8
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1012a083
cmp eax, dword [ecx + 0x18]
jne 0x1012a0d8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
mov dword [ebx + eax], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [ebx + eax + 8], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
mov dword [ebx + eax + 4], ecx
add ebx, 0xc
cmp edx, edi
jb 0x1012a0d8
lea eax, [esp + 0x14]
push eax
lea eax, [edi + edi*2]
shl eax, 3
push eax
push dword [esp + 0x54]
call fcn.100dc870
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
test edx, edx
jne 0x1012a523
add edi, edi
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x1012a0e8
add esi, eax
jne 0x1012a014
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov eax, dword [ebp]
test eax, eax
je 0x1012a109
push eax
push esi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
test bl, 0x10
je 0x1012a11f
mov eax, dword [esp + 0x24]
test byte [eax + 0x15c], 2
jne 0x1012a1b4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
add ebp, 0x2c
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x38]
jb 0x10129fd0
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x38]
add ecx, 0x30
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp eax, dword [ebp + 0x24]
jb 0x10129f93
test edx, edx
je 0x1012a4e2
cmp edx, 1
jbe 0x1012a182
push 0x101295d0
push 0xc
push edx
push dword [esp + 0x20]
call fcn.10230810
mov edx, dword [esp + 0x28]
add esp, 0x10
test bl, bl
jns 0x1012a193
cmp edx, dword [esp + 0x54]
cmova edx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
cmp dword [esi + 0x74], 0
je 0x1012a1dd
push 0
push esi
call fcn.10124510
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1012a527
jmp 0x1012a1e1
add dword [eax + 0x148], 1
mov edi, dword [esp + 0x10]
adc dword [eax + 0x14c], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1012a527
mov dword [eax], 1
jmp 0x1012a527
mov edi, dword [esp + 0x10]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1012a4dc
nop dword [eax]
cmp ebp, eax
jb 0x1012a212
xor ebp, ebp
push ebp
push 1
push esi
call fcn.1015c310
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ebx, [ebp*2]
add ebx, ebp
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x38], esi
test esi, esi
je 0x1012a4a1
mov edi, dword [esi]
test edi, edi
je 0x1012a249
push edi
push dword [esp + 0x50]
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1012a2f7
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1012a47e
add esi, 4
add esi, eax
je 0x1012a282
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx*4 + 8]
cmp dword [esi + 0x18], edx
jne 0x1012a272
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx + ebx*4 + 4]
je 0x1012a282
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x1012a47e
add esi, eax
jne 0x1012a264
test esi, esi
je 0x1012a47e
movzx eax, word [esi + 8]
test al, 2
je 0x1012a47e
test al, 0x10
je 0x1012a2db
test edi, edi
je 0x1012a2af
push edi
push dword [esp + 0x50]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
cmp dword [esp + 0x40], 0
mov esi, dword [esp + 0x4c]
jne 0x1012a4a5
dec dword [esp + 0x1c]
lea ecx, [ebp*2]
mov eax, dword [esp + 0x14]
add ecx, ebp
mov dword [eax + ecx*4], 0
jmp 0x1012a4a5
lea ebx, [esi + 4]
lock inc dword [ebx]
test edi, edi
je 0x1012a304
push edi
mov edi, dword [esp + 0x50]
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x1012a308
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x38
ret
mov edi, dword [esp + 0x4c]
mov eax, dword [esi]
test eax, eax
je 0x1012a31c
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1012a2f7
cmp dword [esi + 0x2c], 0xffffffff
je 0x1012a346
lock dec dword [ebx]
mov eax, dword [esi]
test eax, eax
je 0x1012a4a1
mov esi, dword [esp + 0x4c]
push eax
push esi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
jmp 0x1012a4a5
mov eax, dword [esp + 0x14]
lea ecx, [ebp*2]
dec dword [esp + 0x1c]
add ecx, ebp
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1012a3a5
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0x1c], eax
je 0x1012a3a5
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
cmp ebx, ecx
jl 0x1012a39e
xor eax, eax
push 1
push edi
mov dword [esp + 0x30], eax
call fcn.10129600
add esp, 8
test eax, eax
je 0x1012a39e
mov ecx, dword [esp + 0x10]
test ecx, ecx
cmove ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
test byte [esi + 8], 2
je 0x1012a418
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebx + 0x18]
mov eax, dword [edi]
test byte [eax + 0x9c], 0x40
je 0x1012a3c2
mov edi, dword [esi + 0x1c]
jmp 0x1012a3c8
mov edi, dword [edi + 0x14]
add edi, dword [esi + 0x1c]
push 1
push esi
push edi
push dword [esp + 0x44]
push ebx
call fcn.101753a0
add esp, 0x14
test eax, eax
jne 0x1012a3ec
mov ebx, dword [esp + 0x20]
inc ebx
inc dword [esp + 0x30]
mov dword [esp + 0x20], ebx
jmp 0x1012a41c
mov ecx, dword [esp + 0x10]
test ecx, ecx
push dword [esi + 0x18]
cmove ecx, eax
push edi
push ebx
mov dword [esp + 0x1c], ecx
call fcn.100eefa0
add esp, 8
push eax
push str._s:_unable_to_flush_page:__lu
push dword [esp + 0x58]
call fcn.100d0920
add esp, 0x10
mov ebx, dword [esp + 0x20]
lock dec dword [esi + 4]
mov eax, dword [esi]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x1012a43c
push eax
push esi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
test al, 0x10
je 0x1012a451
test byte [ecx + 0x15c], 2
jne 0x1012a4b6
test al, 0x40
jne 0x1012a4a1
test byte [ecx + 0x15c], 1
jne 0x1012a4a1
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1012a4a1
cmp ebx, eax
jl 0x1012a4a1
push dword [ecx + 0x20]
xor eax, eax
push eax
push esi
mov dword [esp + 0x2c], eax
call fcn.1015c310
add esp, 0xc
jmp 0x1012a4a5
mov esi, dword [esp + 0x4c]
test edi, edi
je 0x1012a2be
push edi
push esi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1012a2f7
jmp 0x1012a2be
mov esi, dword [esp + 0x4c]
inc ebp
cmp dword [esp + 0x1c], 0
jbe 0x1012a4d8
mov eax, dword [esp + 0x18]
jmp 0x1012a200
add dword [ecx + 0x148], 1
mov eax, dword [esp + 0x60]
adc dword [ecx + 0x14c], 0
mov edi, dword [esp + 0x10]
test eax, eax
je 0x1012a527
mov dword [eax], 1
jmp 0x1012a527
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x1012a50d
jmp 0x1012a4e6
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x40], 0
je 0x1012a50d
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x1012a500
push esi
call fcn.10129cb0
add esp, 4
jmp 0x1012a50b
push dword [eax]
push esi
call fcn.1014aac0
add esp, 8
mov edi, eax
push 0
push esi
call fcn.10129600
add esp, 8
test eax, eax
je 0x1012a527
test edi, edi
cmove edi, eax
jmp 0x1012a527
mov edi, dword [esp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x50]
call fcn.100dc7e0
mov ecx, dword [esp + 0x64]
add esp, 8
test ecx, ecx
je 0x1012a545
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret