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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 0x78]
push ebp
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x18]
push edi
lea edi, [ebx + 0x78]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x2c], ebp
test esi, esi
je 0x1012922b
push esi
push 0x110
push ebx
mov dword [esi], 0
call fcn.100dc980
add esp, 0xc
test eax, eax
jne 0x101292c8
push 0x110
push eax
push dword [esi]
call fcn.10220d70
mov esi, dword [esi]
add esp, 0xc
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x10], edi
mov dword [esi], eax
mov eax, dword [ebp + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xbc]
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esi + 0x108], eax
mov eax, dword [ebp + 0x148]
mov ecx, dword [ebp + 0x14c]
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10128d80
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x101291f0
lea eax, [ebx + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10128db8
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x101291f0
mov dword [esp + 0x58], 0
cmp dword [ebp + 0x24], 0
jbe 0x101291fd
xor eax, eax
nop dword [eax]
mov ebx, dword [esp + 0x18]
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, dword [ebx + 0x18]
mov ebp, dword [eax + ecx*8 + 0x18]
mov dword [esp + 0x28], ebp
mov eax, dword [ebp + 0x6c]
add dword [esi + 0x24], eax
mov eax, dword [ebp + 0x70]
add dword [esi + 0x28], eax
mov eax, dword [ebp + 0x74]
adc dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x78]
add dword [esi + 0x30], eax
mov eax, dword [ebp + 0x7c]
adc dword [esi + 0x34], eax
mov eax, dword [ebp + 0x80]
add dword [esi + 0x38], eax
mov eax, dword [ebp + 0x84]
adc dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x88]
add dword [esi + 0x40], eax
mov eax, dword [ebp + 0x8c]
adc dword [esi + 0x44], eax
mov eax, dword [ebp + 0x90]
add dword [esi + 0x48], eax
mov eax, dword [ebp + 0x94]
adc dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x98]
add dword [esi + 0x50], eax
mov eax, dword [ebp + 0x9c]
adc dword [esi + 0x54], eax
mov eax, dword [ebp + 0xa0]
add dword [esi + 0x58], eax
mov eax, dword [ebp + 0xa4]
adc dword [esi + 0x5c], eax
mov eax, dword [ebp + 0xa8]
add dword [esi + 0x60], eax
mov eax, dword [ebp + 0xac]
adc dword [esi + 0x64], eax
mov eax, dword [ebp + 0x68]
add dword [esi + 0x20], eax
mov eax, dword [esp + 0x58]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x10128e91
mov ecx, dword [ebp + 0x34]
jmp 0x10128e97
mov ecx, dword [ecx + 0x14]
add ecx, dword [ebp + 0x34]
xor edx, edx
xor edi, edi
cmp dword [ebp + 0x38], edx
jbe 0x10128eb0
add ecx, 0xc
mov eax, dword [ecx]
lea ecx, [ecx + 0x2c]
inc edx
add edi, eax
cmp edx, dword [ebp + 0x38]
jb 0x10128ea3
mov eax, dword [esi + 0x20]
sub eax, edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0xb8]
add dword [esi + 0x70], eax
mov eax, dword [ebp + 0xc0]
add dword [esi + 0x78], eax
mov eax, dword [ebp + 0xc4]
add dword [esi + 0x7c], eax
mov eax, dword [ebp + 0xc8]
add dword [esi + 0x80], eax
mov eax, dword [ebp + 0xcc]
adc dword [esi + 0x84], eax
mov eax, dword [esp + 0x58]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [ebx + 0x18]
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x10128f1f
mov edi, dword [ebp + 0x34]
jmp 0x10128f25
mov edi, dword [ecx + 0x14]
add edi, dword [ebp + 0x34]
mov eax, dword [esp + 0x60]
mov ebx, eax
and ebx, 1
mov dword [esp + 0x1c], 0
cmp dword [ebp + 0x38], 0
jbe 0x10129051
and eax, 3
add edi, 0x14
mov dword [esp + 0x24], eax
nop word [eax + eax]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [edi - 0x14]
push dword [esp + 0x60]
call fcn.101103f0
mov edx, dword [esp + 0x40]
add esp, 0x10
add dword [esi + 0x88], edx
mov eax, dword [esp + 0x34]
adc dword [esi + 0x8c], eax
mov eax, dword [esp + 0x38]
add dword [esi + 0x90], eax
mov ecx, dword [esp + 0x3c]
adc dword [esi + 0x94], ecx
cmp ecx, dword [esi + 0xa4]
jb 0x10128fbf
ja 0x10128fa3
cmp eax, dword [esi + 0xa0]
jbe 0x10128fbf
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xa4], ecx
mov dword [esi + 0x98], edx
mov dword [esi + 0x9c], eax
cmp dword [esp + 0x24], 1
jne 0x10128fd5
push dword [edi - 0x14]
push dword [esp + 0x58]
call fcn.1010fd00
add esp, 8
mov eax, dword [edi - 4]
add dword [esi + 0xf8], eax
adc dword [esi + 0xfc], 0
mov eax, dword [edi]
add dword [esi + 0xb8], eax
adc dword [esi + 0xbc], 0
mov eax, dword [edi + 4]
add dword [esi + 0xc0], eax
adc dword [esi + 0xc4], 0
mov eax, dword [edi + 8]
add dword [esi + 0xc8], eax
adc dword [esi + 0xcc], 0
test ebx, ebx
je 0x10129033
mov dword [edi - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esp + 0x1c]
add edi, 0x2c
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 0x38]
jb 0x10128f50
mov edi, dword [esp + 0x60]
and edi, 1
jmp 0x10129053
mov edi, ebx
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [ebp]
push dword [esp + 0x60]
call fcn.101103f0
mov eax, dword [esp + 0x50]
add esp, 0x10
add dword [esi + 0xa8], eax
mov eax, dword [esp + 0x44]
adc dword [esi + 0xac], eax
mov eax, dword [esp + 0x48]
add dword [esi + 0xb0], eax
mov eax, dword [esp + 0x4c]
adc dword [esi + 0xb4], eax
mov eax, dword [ebp + 0x118]
add dword [esi + 0xd0], eax
mov eax, dword [ebp + 0x11c]
adc dword [esi + 0xd4], eax
mov eax, dword [ebp + 0x120]
add dword [esi + 0xd8], eax
mov eax, dword [ebp + 0x124]
adc dword [esi + 0xdc], eax
mov ecx, dword [ebp + 0x12c]
mov eax, dword [ebp + 0x128]
cmp dword [esi + 0xe4], ecx
ja 0x101290ee
jb 0x101290e2
cmp dword [esi + 0xe0], eax
jae 0x101290ee
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
mov eax, dword [ebp + 0x130]
add dword [esi + 0xe8], eax
mov eax, dword [ebp + 0x134]
adc dword [esi + 0xec], eax
mov ecx, dword [ebp + 0x13c]
mov eax, dword [ebp + 0x138]
cmp dword [esi + 0xf4], ecx
ja 0x10129132
jb 0x10129124
cmp dword [esi + 0xf0], eax
jae 0x10129132
mov dword [esi + 0xf0], eax
mov ebx, edi
mov dword [esi + 0xf4], ecx
test ebx, ebx
je 0x101291d8
test byte [esp + 0x60], 2
mov ebx, dword [esp + 0x54]
jne 0x10129151
push dword [ebp]
push ebx
call fcn.1010fd00
add esp, 8
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10129171
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x101291f0
mov eax, dword [ebp + 0x4c]
mov ebx, dword [ebp + 0xb8]
mov edi, dword [ebp + 0x48]
push 0x110
mov dword [esp + 0x28], eax
lea eax, [ebp + 0x48]
mov ebp, dword [ebp + 0x68]
push 0
push eax
call fcn.10220d70
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x48], edi
mov dword [ecx + 0xb8], ebx
mov dword [ecx + 0x68], ebp
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x101291d1
push eax
push dword [esp + 0x58]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x101291f0
mov ebx, dword [esp + 0x60]
and ebx, 1
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [ebp + 0x24]
jb 0x10128dd0
jmp 0x10129204
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x60]
and ebx, 1
xor eax, eax
cmp dword [esp + 0x5c], eax
cmovne ebx, eax
push ebx
mov ebx, dword [esp + 0x58]
push eax
push esi
push 0x10127bf0
push ebp
push ebx
call fcn.1012a660
add esp, 0x18
test eax, eax
jne 0x101292c8
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x101292c6
push dword [esp + 0x60]
lea eax, [esp + 0x5c]
mov dword [esi], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x60], 0
push eax
push 0x10127bb0
push ebp
push ebx
mov dword [esp + 0x2c], 0
call fcn.1012a660
add esp, 0x18
test eax, eax
jne 0x101292c8
cmp dword [esp + 0x58], eax
je 0x101292c6
mov eax, dword [esp + 0x14]
add eax, 4
push esi
push eax
push ebx
mov dword [esp + 0x20], eax
call fcn.100dc980
add esp, 0xc
test eax, eax
jne 0x101292c8
mov eax, dword [esi]
push dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov dword [eax], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x28]
push eax
push 0x10127c70
push ebp
push ebx
call fcn.1012a660
add esp, 0x18
test eax, eax
jne 0x101292c8
mov eax, dword [esp + 0x20]
mov dword [eax + 4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret