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

Disassembly:
push 0xffffffffffffffff
push 0x4441d2
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x8a0]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x8a8], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x8b0], 1
call fcn.00413340
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x412840
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4128a3
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x412853
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 6
jne 0x4128a3
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ebp
mov word [ebx + 4], bp
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x412885
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.00414960
mov edx, dword [esp + 0x28]
push edx
call fcn.00430a06
add esp, 0xc
lea ebx, [esp + 0x34]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00413810
mov eax, dword [esp + 0x30]
jmp 0x412b0f
mov eax, 7
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
lea esi, [esp + 0x48c]
call fcn.00414de0
mov byte [esp + 0x8a8], 4
mov esi, dword [esp + 0x38]
cmp esi, ebp
mov ecx, dword [esp + 0x3c]
jne 0x4128e8
mov dword [esp + 0x18], ebp
jmp 0x412901
mov edx, ecx
sub edx, esi
mov eax, 0x7e8472a9
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + 0x18], ebp
jbe 0x4129cd
mov dword [esp + 0x2c], ebp
jmp 0x41291b
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, ebp
je 0x412936
sub ecx, esi
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41293f
call fcn.004311d2
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x7c]
lea ecx, [eax + esi]
push edx
call fcn.00412b40
mov eax, 5
mov byte [esp + 0x8a8], al
cmp dword [esp + 0x34c], eax
je 0x41297a
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x110]
lea ecx, [esp + 0x68]
call fcn.004025a0
jmp 0x4129a7
cmp dword [esp + 0x52c], ebp
je 0x412993
mov eax, dword [esp + 0x354]
cmp eax, dword [esp + 0x764]
jbe 0x4129a7
lea eax, [esp + 0x7c]
lea ebx, [esp + 0x48c]
call fcn.00412c70
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x7c]
mov byte [esp + 0x8a8], 4
call fcn.00414f70
add dword [esp + 0x2c], 0x40c
add edi, 1
cmp edi, dword [esp + 0x18]
jb 0x412913
cmp dword [esp + 0x52c], ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push ebp
lea eax, [esp + 0x68]
je 0x4129e8
lea eax, [esp + 0x520]
call fcn.004025a0
cmp dword [esp + 0x58], ebp
jne 0x412a43
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
je 0x412a43
mov eax, dword [esp + 0x24]
mov edx, eax
sub edx, ecx
sar edx, 6
je 0x412a43
xor esi, esi
xor edi, edi
lea esp, [esp]
cmp ecx, ebp
je 0x412a43
sub eax, ecx
sar eax, 6
cmp esi, eax
jae 0x412a43
push 0xffffffffffffffff
lea eax, [edi + ecx + 0x1c]
push ebp
lea ecx, [esp + 0x4c]
call fcn.004025a0
cmp dword [esp + 0x58], ebp
jne 0x412a43
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esi, 1
add edi, 0x40
jmp 0x412a10
push 0xffffffffffffffff
mov edi, 7
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
push ebp
lea eax, [esp + 0x4c]
mov ecx, ebx
mov word [ebx + 4], bp
call fcn.004025a0
lea esi, [esp + 0x48c]
call fcn.00414f70
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x412a84
mov eax, dword [esp + 0x64]
push eax
call fcn.00430a06
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
jb 0x412aa4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
je 0x412ad5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.00414960
mov edx, dword [esp + 0x28]
push edx
call fcn.00430a06
add esp, 0xc
mov esi, dword [esp + 0x38]
cmp esi, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
je 0x412b0d
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x412b04
call fcn.00414f70
add esi, 0x40c
cmp esi, edi
jne 0x412af1
mov esi, dword [esp + 0x38]
push esi
call fcn.00430a06
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x8a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.00431099
add esp, 0x898
ret