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

Disassembly:
push ebp
push ebx
mov edx, 0x30
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10012ff2
mov edx, dword [esp + 0xcc]
lea ecx, [esp]
call fcn.10031000
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 4]
call fcn.10031000
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 8]
call fcn.10031000
mov edx, dword [esp + 0xd8]
lea ecx, [esp + 0xc]
call fcn.10031000
push dword [esp + 4]
lea edx, [0x1003e03e]
pop ecx
call fcn.100311d0
jne 0x10013064
push dword [esp + 8]
lea edx, [0x1003e03e]
pop ecx
call fcn.100311d0
jne 0x10013064
jmp 0x1001306b
mov eax, 1
jmp 0x1001306d
xor eax, eax
and eax, eax
jne 0x10013085
push dword [esp + 0xc]
lea edx, [0x1003e03e]
pop ecx
call fcn.100311d0
jne 0x10013085
jmp 0x1001308c
mov eax, 1
jmp 0x1001308e
xor eax, eax
and eax, eax
jne 0x100130a5
push dword [esp]
lea edx, [0x1003e03e]
pop ecx
call fcn.100311d0
jne 0x100130a5
jmp 0x100130ac
mov eax, 1
jmp 0x100130ae
xor eax, eax
and eax, eax
je 0x100130cb
xor eax, eax
movsx eax, al
jmp 0x10013798
mov edx, dword [esp]
push dword [0x10043918]
push edx
call fcn.10037d60
mov edx, dword [esp + 8]
push edx
call fcn.10037d60
lea eax, [esp + 0x34]
push eax
call fcn.10037dc0
lea edx, str.specifies
lea ecx, [esp + 0x60]
call fcn.10031008
push 0x19
push dword [esp + 0x34]
call fcn.100357c0
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x34]
add ebx, 2
push ebx
call fcn.100377e0
mov dword [esp + 0x38], eax
mov word [esp + 0x64], 0xa
movzx ebx, word [esp + 0x64]
mov eax, 3
cmp ebx, eax
jl 0x10013144
movzx ebx, word [esp + 0x64]
dec ebx
push ebx
pop eax
mov word [esp + 0x68], ax
jmp 0x10013151
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, 0xa
cmp ebx, dword [esp]
jne 0x1001316b
add esp, 4
jmp 0x10013798
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10013183
movzx eax, word [esp + 0x6c]
push eax
pop eax
mov word [esp + 0x68], ax
jmp 0x1001319a
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1001319a
movzx ebx, word [esp + 0x6c]
inc ebx
push ebx
pop eax
mov word [esp + 0x68], ax
pop eax
mov word [esp + 0x6c], 8
movzx ebx, word [esp + 0x6c]
mov eax, 1
cmp ebx, eax
jl 0x100131bf
movzx ebx, word [esp + 0x6c]
dec ebx
push ebx
pop eax
mov word [esp + 0x70], ax
jmp 0x100131cc
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, 0xd
cmp ebx, dword [esp]
jne 0x100131e6
add esp, 4
jmp 0x10013798
mov ebx, 7
cmp ebx, dword [esp]
jne 0x100131fe
movzx eax, word [esp + 0x74]
push eax
pop eax
mov word [esp + 0x70], ax
jmp 0x10013215
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013215
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
pop eax
mov ebx, dword [esp + 0x38]
and ebx, ebx
jne 0x10013228
xor eax, eax
movsx eax, al
jmp 0x10013798
lea edx, str.archives
lea ecx, [esp + 0x74]
call fcn.10031008
push 0x19
push 0xffffffff
push dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.10037800
lea edx, [0x1003e03e]
lea ecx, [esp + 0x30]
call fcn.10031008
lea edx, str.scales
lea ecx, [esp + 0x78]
call fcn.10031008
push dword [esp + 0x34]
lea ebp, [esp + 0x2c]
pop eax
mov word [ebp], ax
mov ebx, dword [esp + 0x34]
add ebx, 2
push ebx
pop eax
mov word [ebp + 2], ax
lea edx, str.wilderness
lea ecx, [esp + 0x7c]
call fcn.10031008
push dword [esp + 0x38]
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 0x3c]
mov dword [ebp + 0xc], 0x40
mov dword [ebp], 0x18
mov word [esp + 0x80], 9
movzx ebx, word [esp + 0x80]
mov eax, 3
cmp ebx, eax
jl 0x100132df
movzx ebx, word [esp + 0x80]
dec ebx
push ebx
pop eax
mov word [esp + 0x84], ax
jmp 0x100132f2
movzx ebx, word [esp + 0x80]
inc ebx
push ebx
pop eax
mov word [esp + 0x84], ax
movzx ebx, word [esp + 0x84]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x1001330f
add esp, 4
jmp 0x10013798
mov ebx, 6
cmp ebx, dword [esp]
jne 0x1001332d
movzx eax, word [esp + 0x88]
push eax
pop eax
mov word [esp + 0x84], ax
jmp 0x1001334a
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1001334a
movzx ebx, word [esp + 0x88]
inc ebx
push ebx
pop eax
mov word [esp + 0x84], ax
pop eax
lea eax, [esp + 0x28]
push eax
lea ebp, [esp + 0x40]
pop eax
mov dword [ebp + 8], eax
lea eax, [esp + 0x3c]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
call fcn.100171b9
mov ebx, eax
and ebx, ebx
jne 0x10013381
mov ebx, dword [esp + 0x14]
and ebx, ebx
jle 0x10013381
mov eax, 1
jmp 0x10013383
xor eax, eax
and eax, eax
je 0x1001363b
mov word [esp + 0x88], 6
movzx ebx, word [esp + 0x88]
mov eax, 5
cmp ebx, eax
jl 0x100133bb
movzx ebx, word [esp + 0x88]
dec ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
jmp 0x100133ce
movzx ebx, word [esp + 0x88]
inc ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
movzx ebx, word [esp + 0x8c]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x100133eb
add esp, 4
jmp 0x10013798
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013409
movzx eax, word [esp + 0x90]
push eax
pop eax
mov word [esp + 0x8c], ax
jmp 0x10013426
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10013426
movzx ebx, word [esp + 0x90]
inc ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
pop eax
push dword [esp + 0x38]
call fcn.10037950
mov dword [esp + 0x38], 0
push 0x19
push dword [esp + 0xc]
call fcn.100357c0
mov dword [esp + 0x1c], eax
lea edx, str.pieces
lea ecx, [esp + 0x90]
call fcn.10031008
mov ebx, dword [esp + 0x1c]
add ebx, 2
push ebx
call fcn.100377e0
mov dword [esp + 0x18], eax
lea edx, str.rocks
lea ecx, [esp + 0x94]
call fcn.10031008
cmp dword [esp + 0x18], 0
je 0x10013620
push 0x19
push 0xffffffff
push dword [esp + 0x10]
push dword [esp + 0x24]
call fcn.10037800
push dword [esp + 0x1c]
lea ebp, [esp + 0x58]
pop eax
mov word [ebp], ax
mov ebx, dword [esp + 0x1c]
add ebx, 2
push ebx
pop eax
mov word [ebp + 2], ax
push dword [esp + 0x18]
pop eax
mov dword [ebp + 4], eax
push 0x19
push dword [esp + 0x10]
call fcn.100357c0
mov ebx, eax
add ebx, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
add ebx, 2
push ebx
call fcn.100377e0
mov dword [esp + 0x20], eax
lea edx, str.physicians
lea ecx, [esp + 0x98]
call fcn.10031008
lea edx, str.whip
lea ecx, [esp + 0x9c]
call fcn.10031008
cmp dword [esp + 0x20], 0
je 0x10013617
push 0x19
push 0xffffffff
push dword [esp + 0x14]
push dword [esp + 0x2c]
call fcn.10037800
push dword [esp + 0x24]
push dword [esp + 0x24]
push 1
push 0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
call fcn.1000bec6
mov ebx, eax
and ebx, ebx
jne 0x100135fc
mov byte [esp + 0x10], 1
mov word [esp + 0xa0], 0xa
movzx ebx, word [esp + 0xa0]
mov eax, 2
cmp ebx, eax
jl 0x10013590
movzx ebx, word [esp + 0xa0]
dec ebx
push ebx
pop eax
mov word [esp + 0xa4], ax
jmp 0x100135a3
movzx ebx, word [esp + 0xa0]
inc ebx
push ebx
pop eax
mov word [esp + 0xa4], ax
movzx ebx, word [esp + 0xa4]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x100135c0
add esp, 4
jmp 0x10013798
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100135de
movzx eax, word [esp + 0xa8]
push eax
pop eax
mov word [esp + 0xa4], ax
jmp 0x100135fb
mov ebx, 5
cmp ebx, dword [esp]
jne 0x100135fb
movzx ebx, word [esp + 0xa8]
inc ebx
push ebx
pop eax
mov word [esp + 0xa4], ax
pop eax
lea edx, str.grants
lea ecx, [esp + 0xa8]
call fcn.10031008
push dword [esp + 0x20]
call fcn.10037950
push dword [esp + 0x18]
call fcn.10037950
lea edx, str.instructors
lea ecx, [esp + 0xac]
call fcn.10031008
push dword [esp + 0x14]
call fcn.1002f8b7
mov word [esp + 0xb0], 7
movzx ebx, word [esp + 0xb0]
mov eax, 2
cmp ebx, eax
jl 0x1001366b
movzx ebx, word [esp + 0xb0]
dec ebx
push ebx
pop eax
mov word [esp + 0xb4], ax
jmp 0x1001367e
movzx ebx, word [esp + 0xb0]
inc ebx
push ebx
pop eax
mov word [esp + 0xb4], ax
movzx ebx, word [esp + 0xb4]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x1001369b
add esp, 4
jmp 0x10013798
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100136b9
movzx eax, word [esp + 0xb8]
push eax
pop eax
mov word [esp + 0xb4], ax
jmp 0x100136d6
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100136d6
movzx ebx, word [esp + 0xb8]
inc ebx
push ebx
pop eax
mov word [esp + 0xb4], ax
pop eax
mov ebx, dword [esp + 0x38]
and ebx, ebx
jle 0x100136e8
push dword [esp + 0x38]
call fcn.10037950
mov dword [esp + 0x14], 0
movsx eax, byte [esp + 0x10]
movsx eax, al
jmp 0x10013798
push dword [esp + 0xac]
call fcn.10037d30
push dword [esp + 0xa8]
call fcn.10037d30
push dword [esp]
call fcn.10037d30
push dword [esp + 0x5c]
call fcn.10037d30
push dword [esp + 0x74]
call fcn.10037d30
push dword [esp + 0x9c]
call fcn.10037d30
push dword [esp + 0x78]
call fcn.10037d30
push dword [esp + 0x60]
call fcn.10037d30
push dword [esp + 0x30]
call fcn.10037d30
push dword [esp + 4]
call fcn.10037d30
push dword [esp + 0x98]
call fcn.10037d30
push dword [esp + 0xc]
call fcn.10037d30
push dword [esp + 0x90]
call fcn.10037d30
push dword [esp + 8]
call fcn.10037d30
push dword [esp + 0x94]
call fcn.10037d30
push dword [esp + 0x7c]
call fcn.10037d30
add esp, 0xc0
pop ebx
pop ebp
ret 0x10