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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100577ae
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
mov esi, ecx
push edi
test dl, dl
je 0x100134fc
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x10012f58
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
push ecx
lea eax, [esp + 0x94]
mov dword [esp + 0xd0], ebx
push eax
push 0x1012
push 1
push 0x429b
mov edx, 0x57d2
lea ecx, [ebp + 0x1c]
call fcn.10012a8f
mov eax, dword [0x10444178]
add esp, 0x14
test al, 1
jne 0x10012ebb
or eax, 1
mov dword [0x10444178], eax
push 0x8f95
mov byte [esp + 0xd0], 1
call fcn.10030c33
mov byte [0x10444176], al
mov byte [esp + 0xd0], bl
mov eax, dword [0x10444178]
pop ecx
test al, 2
jne 0x10012ee6
or eax, 2
mov dword [0x10444178], eax
push 0x71fa
mov byte [esp + 0xd0], 2
call fcn.10030c33
pop ecx
mov byte [0x10442dd0], al
mov byte [esp + 0xcc], bl
push 0x7b5a
push 0x754d
lea eax, [esp + 0x98]
mov edx, 0x922
push eax
push 1
push 0x323c
lea eax, [ebp + 0x1c]
mov ecx, 0x1adb
push eax
push 1
push 1
push 0x7294
push 0x10444176
push 0x10442dd0
push 0x6bd8
call fcn.10012b94
mov ecx, dword [ebp + 0x24]
lea eax, [esp + 0xc0]
add esp, 0x30
cmp ecx, eax
je 0x10012f44
push 0xffffffffffffffff
push ebx
push eax
call fcn.10013651
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.10013778
jmp 0x1001353b
mov dword [esp + 0x10], 0x4e6d4f28
or edi, 0xffffffff
mov dword [esp + 0x18], 0xfd43ddca
mov dword [esp + 0x34], 0x64a11600
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0x13f5e3d1
mov dword [esp + 0x14], ebx
jmp 0x10012f98
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xb4], 1
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10012f85
cmp dword [esp + 0x10], 0xcf2e5664
je 0x10012ff3
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0x245f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setle dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0xb8]
inc eax
je 0x10012ff3
cmp dword [esp + 0x10], ebx
jne 0x10012ff7
mov eax, dword [esp + 0x50]
push ecx
push 0x19d4
lea eax, [esp + 0x3c]
mov dword [esp + 0x5c], 1
push eax
lea eax, [esp + 0x5c]
mov ecx, 0x595
push ebx
push eax
lea edx, [esp + 0x68]
call fcn.10012a8f
xor eax, eax
mov dword [esp + 0xa0], 7
add esp, 0x14
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
push 3
pop eax
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x5c], edi
push eax
call fcn.100063b9
mov byte [esp + 0xcc], 4
mov dword [esp + 0x14], ebx
jmp 0x10013075
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10013063
push 1
push ecx
push ecx
lea edx, [esp + 0x68]
call fcn.10011e5d
add esp, 0xc
mov byte [esp + 0xcc], 3
lea ecx, [esp + 0xa8]
call fcn.1000643c
push 1
lea eax, [esp + 0x7c]
mov dl, 1
push eax
push 0x1c6d
lea eax, [ebp + 0x20]
mov cl, dl
push 0x844
push eax
call fcn.10011d24
add esp, 0x14
mov dword [esp + 0x1c], 0x9841b3c6
mov dword [esp + 0x70], 0x83cc
mov edx, 0x6d08
mov dword [esp + 0x60], 3
xor cl, cl
push 1
push 0x1e14
push 1
push 0x7ee5
call fcn.10012448
add esp, 0x10
mov dword [esp + 0x1c], 0x14
jmp 0x1001314f
lea eax, [esp + 0x70]
mov dword [esp + 0x58], 0x6b9dd952
push eax
push 0x5645
push ecx
push ecx
push 0x4d68
push ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], 0xfffffff7
push eax
lea eax, [esp + 0x38]
mov cl, 1
push eax
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x84]
call fcn.10011deb
add esp, 0x24
cmp dword [esp + 0x1c], ebx
jne 0x10013156
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x1d
je 0x10013100
mov eax, dword [0x10444178]
test al, 4
jne 0x10013188
or eax, 4
mov dword [0x10444178], eax
push 0x48fc
mov byte [esp + 0xd0], 5
call fcn.10039396
pop ecx
mov word [0x10442dd8], ax
mov byte [esp + 0xcc], 3
mov dword [esp + 0x18], 0xadf890ba
xor ecx, ecx
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], 0xfffffffa
mov dword [esp + 0x18], 0x5eb5a40a
mov dword [esp + 0x68], 0x700c0d35
mov dword [esp + 0x2c], 0x4c38db0
mov dword [esp + 0x10], ebx
jmp 0x100131cd
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x24], 0x3773672d
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100131bd
mov dword [esp + 0x10], ebx
jmp 0x100131ea
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x38], 0x8f9c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100131da
mov dword [esp + 0x10], ebx
jmp 0x10013203
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x100131f7
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
setle dl
add edx, 0x9e56e623
xor ebx, ebx
imul ecx, edx
mov edx, dword [esp + 0x40]
cmp ecx, eax
mov eax, dword [esp + 0x3c]
setne bl
xor ecx, ecx
imul edx, ebx
cmp edx, eax
setge cl
cmp ecx, 0xd88101ae
mov ecx, dword [esp + 0x28]
sbb eax, eax
inc eax
imul ecx, eax
mov eax, dword [esp + 0x24]
sub eax, ecx
jne 0x1001325e
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, eax
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
add ecx, eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov eax, dword [esp + 0x40]
setle dl
xor ecx, ecx
cmp edx, eax
sete cl
xor eax, eax
cmp ecx, 0x7088
mov dword [esp + 0x74], ecx
sete al
xor ebx, ebx
neg eax
jne 0x100132c6
cmp dword [esp + 0x40], ebx
jne 0x100132c6
mov eax, ebx
jmp 0x100132c9
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
xor edx, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
setg dl
sub edx, 0x6e12cdfd
jne 0x100132f4
cmp dword [esp + 0x18], ebx
jne 0x100132f4
mov ecx, ebx
jmp 0x100132f7
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x28]
xor edx, edx
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
cmp eax, ecx
setle dl
cmp edx, 0x9dda
jle 0x10013322
cmp dword [esp + 0x2c], ebx
jne 0x10013322
mov eax, ebx
jmp 0x10013325
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x10444178]
test al, 8
jne 0x1001335b
or eax, 8
mov dword [0x10444178], eax
push 0x91dc
mov byte [esp + 0xd0], 6
call fcn.10039396
pop ecx
mov word [0x10442dd4], ax
mov byte [esp + 0xcc], 3
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x100134d8
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x6b5a
mov dword [esp + 0x2c], 0xfefa2e57
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ebx
jmp 0x10013394
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x44], 1
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10013384
lea eax, [esp + 0x23]
mov byte [esp + 0x23], bl
push eax
push 1
push 0x2d2a
push 1
push 0x4a06
mov edx, 0x5b3a
mov cl, 1
call fcn.10011f79
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x100133df
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
neg ecx
sbb ecx, ecx
neg ecx
add eax, ecx
xor ecx, ecx
imul eax, dword [esp + 0x44]
cmp eax, 0x721c
setne cl
sub ecx, 6
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x44]
je 0x1001343c
cmp dword [esp + 0x44], ebx
je 0x1001343c
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x44]
xor edx, edx
cmp ebx, eax
mov eax, dword [esp + 0x18]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x30]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x48]
setne dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x10]
setne bl
xor ecx, ecx
cmp ebx, eax
setge cl
mov dword [esp + 0x30], ecx
call fcn.10010e80
push 0x24
pop ecx
xor edx, edx
xor ebx, ebx
div ecx
push 0x558a
push 0x10442dd8
push 0x9d7
push 1
lea eax, [esp + 0x88]
mov dword [esp + 0x7c], edx
push eax
push 0x6d8
push ebx
push ebx
push 0x17d0
push 0x7c3a
push 0x3570
push 0x10442dd4
mov edx, 0x2061
lea ecx, [esp + 0x9c]
call fcn.10012b94
add esp, 0x30
dec esi
jne 0x10013366
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x78]
cmp ecx, eax
je 0x100134eb
push edi
push ebx
push eax
call fcn.10006f4e
push ebx
push 1
lea ecx, [esp + 0x80]
call fcn.10007153
jmp 0x1001353b
cmp byte [ebp + 8], 0
je 0x1001352c
mov esi, dword [ebp + 0x18]
mov dword [esi], 0
jmp 0x10013525
push esi
push 0x402e
push dword [ebp + 0x14]
mov ecx, 0x77ec
call fcn.10010e9d
add esp, 0xc
inc dword [esi]
cmp dword [esi], 4
jl 0x1001350d
jmp 0x1001353b
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, esi
call fcn.100137c0
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret