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

Disassembly:
push 0xffffffffffffffff
push 0x138b5da
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov edi, dword [esp + 0x88]
mov esi, dword [edi + 0x3c]
mov ebp, dword [edi + 0x40]
sub ebp, esi
mov eax, 0xb21642c9
imul ebp
add edx, ebp
sar edx, 7
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x129a56c
xor ebp, ebp
jmp 0x129a4e0
mov edx, dword [esi + ebp + 0xa4]
shr edx, 0xd
test dl, 1
je 0x129a540
mov eax, dword [esi + ebp + 0xb0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
lea edi, [esp + 0x68]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
call fcn.012f8930
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x3c]
mov edx, dword [eax + ebp + 0xb4]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ebx
call fcn.012f8930
mov edi, dword [esp + 0x88]
mov esi, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add ebp, 0xb8
xor ecx, ecx
cmp ebx, eax
jb 0x129a4e0
mov edx, dword [edi + 0x30]
mov ebx, 2
lea eax, [esp + 0x4c]
lea edi, [esp + 0x68]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
call fcn.012f8930
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
cmp ebp, esi
je 0x129a5a0
mov edi, ebp
call fcn.0129ebc0
mov edi, dword [esp + 0x88]
mov eax, dword [edi + 0xf4]
shr eax, 0xd
test al, 1
je 0x129a5c0
mov cl, byte [edi + 0xf0]
mov byte [esp + 0x17], cl
jmp 0x129a5da
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x129a5d5
call fcn.012680f0
mov byte [esp + 0x17], al
jmp 0x129a5da
mov byte [esp + 0x17], 0
xor eax, eax
push 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
call fcn.01328a50
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x129a8b8
mov dword [esp + 0x5c], eax
mov dword [eax], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x10], 1
mov eax, dword [esp + 0x5c]
mov byte [eax + 0x11], 1
sub esi, ebp
mov eax, 0x2aaaaaab
imul esi
mov byte [esp + 0x80], bl
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
je 0x129a834
add ebp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0x129a682
mov edi, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov cl, byte [esp + 0x17]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x54], cl
call fcn.0129e1c0
mov edi, dword [esp + 0x88]
mov eax, dword [ebp - 4]
sub eax, 0
mov edx, dword [ebp - 8]
mov dword [esp + 0x18], edx
je 0x129a792
dec eax
jne 0x129a81c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov eax, ebp
call fcn.0129e740
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x60]
call fcn.012842e0
cmp dword [esp + 0x60], 0
jne 0x129a6f3
mov ecx, dword [edi + 0xf4]
shr ecx, 0xd
test cl, 1
je 0x129a6e8
mov dl, byte [edi + 0xf0]
mov byte [esp + 0x17], dl
jmp 0x129a81c
mov eax, dword [edi + 0xf8]
jmp 0x129a776
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0x11], 0
je 0x129a702
mov ecx, dword [ecx + 8]
jmp 0x129a747
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0x129a722
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
jne 0x129a747
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
je 0x129a715
jmp 0x129a747
mov eax, dword [ecx + 4]
cmp byte [eax + 0x11], 0
jne 0x129a73f
jmp 0x129a730
cmp ecx, dword [eax]
jne 0x129a73f
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x129a730
cmp byte [ecx + 0x11], 0
jne 0x129a747
mov ecx, eax
mov eax, dword [ecx + 0xc]
imul eax, eax, 0xb8
add eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0xa4]
shr ecx, 0xd
test cl, 1
je 0x129a770
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0x129a81c
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x129a788
call fcn.012680f0
mov byte [esp + 0x17], al
jmp 0x129a81c
mov byte [esp + 0x17], 0
jmp 0x129a81c
mov eax, dword [ebp]
imul eax, eax, 0xb8
add eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0xa4]
shr ecx, 0xd
test cl, 1
je 0x129a7b8
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0x129a7d2
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x129a7cd
call fcn.012680f0
mov byte [esp + 0x17], al
jmp 0x129a7d2
mov byte [esp + 0x17], 0
push 0x14
call fcn.01328a50
add esp, 4
test eax, eax
je 0x129a897
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
mov word [eax + 0x10], 0
test ecx, ecx
je 0x129a80a
mov edx, dword [ebp]
mov dword [ecx], edx
push eax
lea esi, [esp + 0x44]
lea ebx, [esp + 0x5c]
call fcn.0129eaf0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, ebx
jb 0x129a646
mov ebp, dword [esp + 0x68]
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
push ecx
push eax
lea esi, [esp + 0x90]
lea eax, [esp + 0x60]
call fcn.012842e0
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x5c]
push eax
call fcn.01328a36
add esp, 4
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0x129a881
push ebp
call fcn.01328a36
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 3
call fcn.011e4df0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 1
call fcn.011e4df0
int3