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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d7f68
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x1013d900]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x1013d900]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, edx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x84]
push ecx
push eax
mov dword [esp + 0x1a0], ebx
call fcn.10012990
test al, al
jne 0x10012374
call fcn.10015da0
lea eax, [esp + 0xbc]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call fcn.10025a60
mov byte [esp + 0x198], 1
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x100123ae
lea eax, [esp + 0x88]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xc0]
call fcn.10025bf0
cmp dword [esp + 0x40], ebx
je 0x100123f9
lea edi, [esp + 0xbc]
mov byte [esp + 0x198], bl
call fcn.10025b10
cmp dword [esp + 0x9c], 0x10
jb 0x100123f2
mov eax, dword [esp + 0x88]
push eax
call fcn.10032562
add esp, 4
xor al, al
jmp 0x10012817
mov eax, dword [esi + 0xa8]
lea ebx, [esi + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
cmp dword [ebx + 0xc], eax
jbe 0x10012417
call fcn.100596cf
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [esp + 0x40], ecx
cmp esi, dword [ebx + 0x10]
jbe 0x1001242a
call fcn.100596cf
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx]
push edx
push ecx
push esi
mov esi, dword [esp + 0x28]
push eax
lea ebx, [esp + 0x50]
call fcn.100073c0
cmp dword [edi + 0x18], 0x10
jb 0x10012450
mov edi, dword [edi + 4]
jmp 0x10012453
add edi, 4
push edi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xc4]
push eax
call fcn.1002c960
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov byte [esp + 0x198], 2
cmp dword [edi + 0x58], ebx
jne 0x1001268a
push ebx
push 0x10129b58
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.100058b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 3
add edi, 0xe8
push ecx
mov byte [esp + 0x1c], 0x2f
call fcn.1000ecb0
mov esi, eax
lea ebx, [esi + 1]
cmp ebx, dword [edi + 0x14]
jbe 0x100124d4
call fcn.100596cf
cmp dword [edi + 0x18], 0x10
jb 0x100124df
mov eax, dword [edi + 4]
jmp 0x100124e2
lea eax, [edi + 4]
cmp byte [eax + ebx], 0x40
jne 0x10012535
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xfc]
sub eax, esi
sub eax, 2
lea ecx, [esi + 2]
push eax
lea esi, [esp + 0x68]
mov edx, edi
call fcn.10006eb0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x1a4], 4
call fcn.10005490
mov byte [esp + 0x198], 3
cmp dword [esp + 0x7c], 0x10
jb 0x10012585
mov eax, dword [esp + 0x68]
push eax
jmp 0x1001257d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xfc]
sub eax, esi
dec eax
push eax
mov ecx, ebx
lea esi, [esp + 0x68]
mov edx, edi
call fcn.10006eb0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x1a4], 5
call fcn.10005490
mov byte [esp + 0x198], 3
cmp dword [esp + 0x7c], 0x10
jb 0x10012585
mov edx, dword [esp + 0x68]
push edx
call fcn.10032562
add esp, 4
mov esi, dword [esp + 0x58]
mov byte [esp + 0x68], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xf
mov edi, esi
cmp esi, dword [esp + 0x5c]
je 0x10012649
mov eax, dword [edi + 4]
test eax, eax
je 0x100125ba
mov eax, dword [eax + 8]
mov ecx, eax
test eax, eax
jne 0x100125bf
mov ecx, 0x10129b58
mov eax, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100125e0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.100058b0
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x19c], 6
call fcn.10007010
mov byte [esp + 0x198], 3
cmp dword [esp + 0x3c], 0x10
jb 0x10012626
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10032562
add esp, 4
xor eax, eax
add edi, 8
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
cmp edi, dword [esp + 0x5c]
jne 0x100125aa
mov esi, dword [esp + 0x58]
cmp dword [esp + 0xb8], 0x10
jb 0x10012667
mov edx, dword [esp + 0xa4]
push edx
call fcn.10032562
mov esi, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jmp 0x100127ad
mov esi, dword [esp + 0x58]
mov eax, esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x5c]
je 0x100127ad
jmp 0x100126a6
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [edi + 0x5c], 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jb 0x100126be
mov ecx, dword [edi + 0x48]
jmp 0x100126c1
lea ecx, [edi + 0x48]
neg eax
sbb eax, eax
test eax, fcn.10008a80
je 0x100126d6
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
jmp 0x100126da
lea eax, [esp + 0x40]
mov edx, dword [eax]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edx
call fcn.10025920
mov eax, dword [eax]
cmp eax, ebx
je 0x10012720
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x10012720
mov edi, edi
mov eax, dword [ecx]
and eax, 7
inc eax
cmp eax, 3
je 0x10012710
cmp eax, 4
jne 0x10012719
cmp dword [ecx + 8], ebx
jne 0x1001283d
mov ecx, dword [ecx + 0x18]
cmp ecx, ebx
jne 0x10012700
mov ecx, 0x10129b58
mov esi, 0xf
mov eax, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x28], 0
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10012740
sub eax, ebx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.100058b0
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x19c], 7
call fcn.10007010
mov byte [esp + 0x198], 2
cmp dword [esp + 0x3c], 0x10
jb 0x10012786
mov edx, dword [esp + 0x28]
push edx
call fcn.10032562
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x5c]
jne 0x100126a0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x50]
setne bl
mov byte [esp + 0x198], 1
cmp esi, ecx
je 0x100127e7
push esi
call dword [0x1014b668]
add esp, 4
lea edi, [esp + 0xbc]
mov byte [esp + 0x198], 0
call fcn.10025b10
cmp dword [esp + 0x9c], 0x10
jb 0x10012815
mov edx, dword [esp + 0x88]
push edx
call fcn.10032562
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.10056c06
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx + 8]
jmp 0x10012725