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

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x74]
push ebp
push edi
mov dword [esp + 0x10], 0
cmp byte [eax + 0x2b9], 0
mov ebp, dword [eax + 0x68]
mov edi, dword [eax + 0x2bc]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
je 0x1012a849
test edi, edi
je 0x1012a849
push esi
mov esi, dword [esp + 0x84]
cmp esi, dword [edi + 0x44]
jae 0x1012a840
mov eax, dword [edi + 0x48]
lea ecx, [eax + esi*4]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x1012a840
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 8
push edx
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 0
jne 0x1012a80f
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 8
push dword [esp + 0x28]
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jne 0x1012a80f
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 1
push dword [esp + 0x28]
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x10], 0
jne 0x1012a80f
mov ecx, dword [edi + 0x48]
push dword [ecx + esi*4]
push ebp
call fcn.10116110
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1012a80f
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + esi*4 + 4]
sub ecx, dword [eax + esi*4]
push ecx
push ebp
call fcn.10115710
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1012a80f
mov esi, dword [ebp + 0x20]
lea eax, [esp + 0x10]
sub esi, dword [ebp]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x34], eax
cmp dword [esp + 0x10], 0
jne 0x1012a1bb
lea eax, [esp + 0x10]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x38], eax
cmp dword [esp + 0x10], 0
jne 0x1012a1bb
lea eax, [esp + 0x10]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.10117b00
add esp, 0x18
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x10], 0
jne 0x1012a1bb
push ebp
call fcn.10115940
push ebp
movzx edi, ax
call fcn.10115940
mov ecx, dword [esp + 0x24]
add esp, 8
movzx edx, ax
mov eax, edi
and eax, 0xfff
mov dword [esp + 0x6c], eax
lea eax, [edx + eax*4]
cmp eax, dword [ecx + 0x4c]
jbe 0x1012a1d0
mov dword [esp + 0x10], 8
xor eax, eax
mov ebx, dword [esp + 0x14]
push eax
push ebx
call fcn.101179a0
add esp, 8
jmp 0x1012a7e8
add edx, esi
mov dword [esp + 0x28], edx
test edi, 0x8000
je 0x1012a231
mov edx, dword [ebp + 0x24]
mov eax, edx
mov ecx, dword [ebp]
sub eax, ecx
mov esi, dword [ebp + 0x20]
mov edi, dword [esp + 0x28]
sub esi, ecx
cmp edi, eax
jae 0x1012a1f8
lea edx, [ecx + edi]
lea eax, [esp + 0x54]
mov dword [ebp + 0x20], edx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0x4c]
push ebp
call fcn.1012c380
mov edx, dword [ebp + 0x24]
add esp, 0xc
mov edi, dword [ebp]
mov ecx, edx
mov dword [esp + 0x50], eax
sub ecx, edi
mov eax, dword [ebp + 0x20]
sub eax, edi
mov dword [esp + 0x28], eax
cmp esi, ecx
jae 0x1012a22e
lea edx, [edi + esi]
mov dword [ebp + 0x20], edx
xor edx, edx
test ebx, ebx
je 0x1012a258
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [edi + edx*8], ecx
mov dword [edi + edx*8 + 4], eax
inc edx
cmp edx, ebx
jb 0x1012a242
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
jbe 0x1012a7d7
nop dword [eax + eax]
push ebp
call fcn.10115940
movzx eax, ax
push ebp
mov dword [esp + 0x84], eax
call fcn.10115940
mov ebx, dword [esp + 0x24]
add esp, 8
movzx edi, ax
mov dword [esp + 0x30], edi
test edi, 0x8000
je 0x1012a2c5
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x1012a2f8
mov edi, dword [esp + 0x34]
push ebp
call fcn.10115940
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [ebx]
cmp esi, eax
jb 0x1012a2a8
mov edi, dword [esp + 0x30]
jmp 0x1012a2f8
mov edx, edi
and edx, 0xfff
cmp edx, dword [ebx + 0x3c]
jae 0x1012a7cf
mov ecx, dword [ebx]
imul edx, ecx
lea eax, [ecx*4]
push eax
mov eax, dword [ebx + 0x40]
lea eax, [eax + edx*4]
push eax
push dword [esp + 0x3c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx]
add esp, 0xc
test edi, 0x4000
je 0x1012a34e
xor esi, esi
test eax, eax
je 0x1012a32b
mov edi, dword [esp + 0x38]
nop word [eax + eax]
push ebp
call fcn.10115940
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [ebx]
cmp esi, eax
jb 0x1012a310
mov edi, dword [esp + 0x30]
xor esi, esi
test eax, eax
je 0x1012a34e
mov edi, dword [esp + 0x3c]
push ebp
call fcn.10115940
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [ebx]
jb 0x1012a335
mov edi, dword [esp + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
push ebx
call fcn.1012ad60
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
je 0x1012a7b2
mov edx, dword [ebp]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
sub eax, edx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, ecx
sub eax, edx
cmp esi, eax
jae 0x1012a38e
lea ecx, [edx + esi]
mov dword [ebp + 0x20], ecx
test edi, 0x2000
je 0x1012a3ba
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0x4c]
push ebp
call fcn.1012c380
mov ebx, dword [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x48], eax
mov ebp, eax
mov dword [esp + 0x60], eax
jmp 0x1012a3ca
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x1c]
test ebx, ebx
mov edi, dword [esp + 0x64]
mov esi, ebx
cmove esi, dword [esp + 0x90]
push esi
push dword [eax + 0x4c]
mov dword [esp + 0x64], ebx
push edi
call fcn.1012c260
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
push esi
push dword [eax + 0x4c]
push edi
call fcn.1012c260
add esp, 0x18
mov edi, eax
mov dword [esp + 0x24], edi
test ebp, ebp
je 0x1012a763
test edi, edi
je 0x1012a763
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x1012a763
xor esi, esi
cmp ebp, 0xffffffff
jne 0x1012a55c
mov ebx, dword [esp + 0x90]
test ebx, ebx
je 0x1012a763
mov eax, edx
lea ebp, [ebx - 4]
sub eax, edi
mov dword [esp + 0x5c], eax
nop dword [eax + eax]
movsx eax, word [eax + edi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x40], eax
movsx eax, word [edi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x44], eax
cmp esi, ebp
jae 0x1012a4c7
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x40]
add dword [ecx], eax
mov eax, dword [edx + 4]
jmp 0x1012a53d
mov ecx, dword [esp + 0x84]
jne 0x1012a4ee
test byte [ecx + 0x2c0], 4
jne 0x1012a4ee
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x40]
add dword [ecx], eax
jmp 0x1012a547
lea eax, [ebx - 3]
cmp esi, eax
jne 0x1012a513
test byte [ecx + 0x2c0], 2
jne 0x1012a513
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x40]
add dword [ecx], eax
jmp 0x1012a547
lea eax, [ebx - 2]
cmp esi, eax
jne 0x1012a523
test byte [ecx + 0x2c0], 0x20
je 0x1012a533
lea eax, [ebx - 1]
cmp esi, eax
jne 0x1012a547
test byte [ecx + 0x2c0], 0x10
jne 0x1012a547
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x44]
add dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
inc esi
add edi, 2
cmp esi, ebx
jb 0x1012a450
jmp 0x1012a75f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x1012a5b1
mov edi, dword [esp + 0x20]
mov ebp, ecx
mov edx, dword [esp + 0x18]
sub edi, edx
mov ebx, dword [esp + 0x2c]
nop word [eax + eax]
mov byte [esi + ebx], 0
lea edx, [edx + 8]
mov eax, dword [edi + edx - 8]
inc esi
mov ecx, dword [edi + edx - 4]
mov dword [edx - 8], eax
mov dword [edx - 4], ecx
cmp esi, ebp
jb 0x1012a580
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x1012a670
mov eax, edi
sub ebp, edx
sub eax, edx
mov esi, edx
mov dword [esp + 0x5c], eax
nop word [eax + eax]
movzx edi, word [esi + ebp]
cmp edi, ecx
jae 0x1012a664
mov eax, dword [esp + 0x2c]
mov byte [edi + eax], 1
movsx eax, word [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + edi*8]
add eax, dword [esp + 0x70]
mov dword [ecx + edi*8], eax
mov eax, dword [esp + 0x5c]
movsx eax, word [eax + esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
add dword [ecx + edi*8 + 4], eax
mov ecx, dword [esp + 0x90]
add esi, 2
sub ebx, 1
jne 0x1012a5d0
push dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x24]
push esi
push dword [esp + 0x98]
call fcn.1012e450
mov ebx, dword [esp + 0xa0]
add esp, 0x10
xor ecx, ecx
test ebx, ebx
je 0x1012a75f
mov eax, dword [esp + 0x20]
lea edi, [ebx - 4]
mov ebp, esi
sub ebp, eax
nop dword [eax + eax]
mov edx, dword [esi + ecx*8]
lea eax, [eax + ecx*8]
mov esi, dword [eax + ebp + 4]
sub edx, dword [eax]
sub esi, dword [eax + 4]
cmp ecx, edi
jae 0x1012a6d2
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
add dword [eax + ecx*8], edx
jmp 0x1012a740
jne 0x1012a6f3
mov eax, dword [esp + 0x84]
test byte [eax + 0x2c0], 4
jne 0x1012a6f3
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
add dword [eax + ecx*8], edx
jmp 0x1012a74e
lea eax, [ebx - 3]
cmp ecx, eax
jne 0x1012a719
mov eax, dword [esp + 0x84]
test byte [eax + 0x2c0], 2
jne 0x1012a719
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
add dword [eax + ecx*8], edx
jmp 0x1012a74e
mov edx, dword [esp + 0x84]
lea eax, [ebx - 2]
cmp ecx, eax
jne 0x1012a730
test byte [edx + 0x2c0], 0x20
je 0x1012a740
lea eax, [ebx - 1]
cmp ecx, eax
jne 0x1012a74e
test byte [edx + 0x2c0], 0x10
jne 0x1012a74e
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
add dword [eax + ecx*8 + 4], esi
mov esi, dword [esp + 0x18]
inc ecx
mov eax, dword [esp + 0x20]
cmp ecx, ebx
jb 0x1012a6b0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1012a782
push eax
push ebx
call fcn.101179a0
add esp, 8
mov dword [esp + 0x48], 0
push dword [esp + 0x4c]
push ebx
call fcn.101179a0
push edi
push ebx
call fcn.101179a0
mov ebp, dword [esp + 0x74]
add esp, 0x10
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0x24]
mov eax, ecx
mov edx, dword [ebp]
sub eax, edx
cmp esi, eax
jae 0x1012a7af
lea ecx, [edx + esi]
mov dword [ebp + 0x20], ecx
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
inc ebx
add dword [esp + 0x28], eax
mov dword [esp + 0x68], ebx
cmp ebx, dword [esp + 0x6c]
jb 0x1012a270
jmp 0x1012a7d7
mov dword [esp + 0x10], 8
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jne 0x1012a1bd
mov ebx, dword [esp + 0x14]
push dword [esp + 0x34]
push ebx
call fcn.101179a0
push dword [esp + 0x40]
push ebx
call fcn.101179a0
push dword [esp + 0x4c]
push ebx
call fcn.101179a0
push ebp
call fcn.101157e0
add esp, 0x1c
push dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
push ebp
call fcn.101179a0
push dword [esp + 0x20]
push ebp
call fcn.101179a0
push dword [esp + 0x3c]
push ebp
call fcn.101179a0
mov eax, dword [esp + 0x28]
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x70
ret
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0x70
ret
pop edi
mov eax, 6
pop ebp
add esp, 0x70
ret