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

Disassembly:
push ebp
push ebx
mov edx, 0x22
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10010a6f
mov eax, dword [esp + 0x98]
mov dword [0x1003fa08], eax
mov edx, dword [esp + 0x94]
lea ecx, [esp]
call fcn.10032000
mov word [esp + 4], 3
movzx ebx, word [esp + 4]
mov eax, 1
cmp ebx, eax
jl 0x10010abb
movzx ebx, word [esp + 4]
dec ebx
push ebx
pop eax
mov word [esp + 8], ax
jmp 0x10010ac8
movzx ebx, word [esp + 4]
inc ebx
push ebx
pop eax
mov word [esp + 8], ax
movzx ebx, word [esp + 8]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x10010aee
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10010b06
movzx eax, word [esp + 0xc]
push eax
pop eax
mov word [esp + 8], ax
jmp 0x10010b1d
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10010b1d
movzx ebx, word [esp + 0xc]
inc ebx
push ebx
pop eax
mov word [esp + 8], ax
pop eax
mov word [esp + 0x30], 0xa
movzx ebx, word [esp + 0x30]
mov eax, 1
cmp ebx, eax
jl 0x10010b42
movzx ebx, word [esp + 0x30]
dec ebx
push ebx
pop eax
mov word [esp + 0x34], ax
jmp 0x10010b4f
movzx ebx, word [esp + 0x30]
inc ebx
push ebx
pop eax
mov word [esp + 0x34], ax
movzx ebx, word [esp + 0x34]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x10010b75
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10010b8d
movzx eax, word [esp + 0x38]
push eax
pop eax
mov word [esp + 0x34], ax
jmp 0x10010ba4
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10010ba4
movzx ebx, word [esp + 0x38]
inc ebx
push ebx
pop eax
mov word [esp + 0x34], ax
pop eax
push dword [esp]
lea edx, [0x1003c03e]
pop ecx
call fcn.100321d0
je 0x10010bbb
jmp 0x10011120
push 0x19
push dword [esp + 4]
call fcn.100328a0
mov dword [esp + 0x2c], eax
lea edx, str.example
lea ecx, [esp + 0x38]
call fcn.10032008
mov ebx, dword [esp + 0x2c]
add ebx, 2
push ebx
call fcn.100392a0
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x28]
and ebx, ebx
jne 0x10010c18
lea edx, str.awake
lea ecx, [esp + 0x3c]
call fcn.10032008
jmp 0x10011120
mov word [esp + 0x44], 0xa
movzx ebx, word [esp + 0x44]
mov eax, 4
cmp ebx, eax
jl 0x10010c3c
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x10010c49
movzx ebx, word [esp + 0x44]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
movzx ebx, word [esp + 0x48]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x10010c6f
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010c87
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x10010c9e
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10010c9e
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
push 0x19
push 0xffffffff
push dword [esp + 8]
push dword [esp + 0x34]
call fcn.100392c0
push dword [esp + 0x2c]
lea ebp, [esp + 0x10]
pop eax
mov word [ebp + 2], ax
push dword [esp + 0x2c]
pop eax
mov word [ebp], ax
push dword [esp + 0x28]
pop eax
mov dword [ebp + 4], eax
mov word [esp + 0x4c], 1
movzx ebx, word [esp + 0x4c]
mov eax, 1
cmp ebx, eax
jl 0x10010cf8
movzx ebx, word [esp + 0x4c]
dec ebx
push ebx
pop eax
mov word [esp + 0x50], ax
jmp 0x10010d05
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
movzx ebx, word [esp + 0x50]
push ebx
mov ebx, 0xc
cmp ebx, dword [esp]
jne 0x10010d2b
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10010d43
movzx eax, word [esp + 0x54]
push eax
pop eax
mov word [esp + 0x50], ax
jmp 0x10010d5a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10010d5a
movzx ebx, word [esp + 0x54]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
pop eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x1040
mov word [esp + 0x54], 5
movzx ebx, word [esp + 0x54]
mov eax, 5
cmp ebx, eax
jl 0x10010d8f
movzx ebx, word [esp + 0x54]
dec ebx
push ebx
pop eax
mov word [esp + 0x58], ax
jmp 0x10010d9c
movzx ebx, word [esp + 0x54]
inc ebx
push ebx
pop eax
mov word [esp + 0x58], ax
movzx ebx, word [esp + 0x58]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x10010dc2
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010dda
movzx eax, word [esp + 0x5c]
push eax
pop eax
mov word [esp + 0x58], ax
jmp 0x10010df1
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10010df1
movzx ebx, word [esp + 0x5c]
inc ebx
push ebx
pop eax
mov word [esp + 0x58], ax
pop eax
push dword [esp + 0x24]
call fcn.100392a0
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
and ebx, ebx
jne 0x10010ea0
push dword [esp + 0x28]
call fcn.10039410
jmp 0x10011120
mov word [esp + 0x64], 8
movzx ebx, word [esp + 0x64]
mov eax, 2
cmp ebx, eax
jl 0x10010ec4
movzx ebx, word [esp + 0x64]
dec ebx
push ebx
pop eax
mov word [esp + 0x68], ax
jmp 0x10010ed1
movzx ebx, word [esp + 0x64]
inc ebx
push ebx
pop eax
mov word [esp + 0x68], ax
movzx ebx, word [esp + 0x68]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x10010ef7
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010f0f
movzx eax, word [esp + 0x6c]
push eax
pop eax
mov word [esp + 0x68], ax
jmp 0x10010f26
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10010f26
movzx ebx, word [esp + 0x6c]
inc ebx
push ebx
pop eax
mov word [esp + 0x68], ax
pop eax
mov word [esp + 0x6c], 5
movzx ebx, word [esp + 0x6c]
mov eax, 5
cmp ebx, eax
jl 0x10010f4b
movzx ebx, word [esp + 0x6c]
dec ebx
push ebx
pop eax
mov word [esp + 0x70], ax
jmp 0x10010f58
movzx ebx, word [esp + 0x6c]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
movzx ebx, word [esp + 0x70]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10010f7e
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10010f96
movzx eax, word [esp + 0x74]
push eax
pop eax
mov word [esp + 0x70], ax
jmp 0x10010fad
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10010fad
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
pop eax
push dword [esp + 0x1c]
lea ebp, [esp + 0x18]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x24]
pop eax
mov word [ebp], ax
push dword [esp + 0x24]
pop eax
mov word [ebp + 2], ax
lea edx, str.happens
lea ecx, [esp + 0x74]
call fcn.10032008
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push 0
call fcn.1000881a
mov ebx, eax
and ebx, ebx
jne 0x10011008
lea ebp, [esp + 0x14]
movsx ebx, word [ebp]
and ebx, ebx
jle 0x10011008
mov eax, 1
jmp 0x1001100a
xor eax, eax
and eax, eax
je 0x1001103b
push dword [0x1003fa08]
push dword [0x1003fa08]
push 0x19
lea ebp, [esp + 0x20]
movsx eax, word [ebp]
push eax
push dword [esp + 0x2c]
call fcn.10039430
lea eax, [esp + 0x24]
push eax
call fcn.10039880
lea edx, str.moses
lea ecx, [esp + 0x78]
call fcn.10032008
mov word [esp + 0x7c], 8
movzx ebx, word [esp + 0x7c]
mov eax, 1
cmp ebx, eax
jl 0x10011071
movzx ebx, word [esp + 0x7c]
dec ebx
push ebx
pop eax
mov word [esp + 0x80], ax
jmp 0x10011081
movzx ebx, word [esp + 0x7c]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
movzx ebx, word [esp + 0x80]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x100110a7
mov eax, dword [esp + 0x9c]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10011120
mov ebx, 9
cmp ebx, dword [esp]
jne 0x100110c5
movzx eax, word [esp + 0x84]
push eax
pop eax
mov word [esp + 0x80], ax
jmp 0x100110e2
mov ebx, 3
cmp ebx, dword [esp]
jne 0x100110e2
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
pop eax
push dword [esp + 0x1c]
call fcn.10039410
push dword [esp + 0x28]
call fcn.10039410
lea edx, [0x1003cc44]
lea ecx, [esp + 0x84]
call fcn.10032008
mov edx, dword [esp + 0x20]
push dword [0x1003fa08]
push edx
call fcn.10039820
pop eax
add eax, dword [0x1003ecfc]
jmp 0x10011130
mov eax, dword [0x1003fa08]
add eax, dword [0x1003ecfc]
mov word [eax], 0
push dword [esp + 0x78]
call fcn.100397f0
push dword [esp + 0x40]
call fcn.100397f0
push dword [esp + 0x20]
call fcn.100397f0
push dword [esp + 0x38]
call fcn.100397f0
push dword [esp + 0x3c]
call fcn.100397f0
push dword [esp]
call fcn.100397f0
push dword [esp + 0x84]
call fcn.100397f0
push dword [esp + 0x74]
call fcn.100397f0
add esp, 0x88
pop ebx
pop ebp
ret 4