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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x20
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10008a71
mov edx, dword [esp + 0x90]
lea ecx, [esp]
call fcn.10032000
mov word [esp + 0x20], 2
movzx ebx, word [esp + 0x20]
mov eax, 2
cmp ebx, eax
jl 0x10008ab1
movzx ebx, word [esp + 0x20]
dec ebx
push ebx
pop eax
mov word [esp + 0x24], ax
jmp 0x10008abe
movzx ebx, word [esp + 0x20]
inc ebx
push ebx
pop eax
mov word [esp + 0x24], ax
movzx ebx, word [esp + 0x24]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x10008ad8
add esp, 4
jmp 0x10009075
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10008af0
movzx eax, word [esp + 0x28]
push eax
pop eax
mov word [esp + 0x24], ax
jmp 0x10008b07
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10008b07
movzx ebx, word [esp + 0x28]
inc ebx
push ebx
pop eax
mov word [esp + 0x24], ax
pop eax
push dword [esp]
lea edx, [0x1003c03e]
pop ecx
call fcn.100321d0
je 0x10008b9f
mov word [esp + 0x28], 1
movzx ebx, word [esp + 0x28]
mov eax, 2
cmp ebx, eax
jl 0x10008b41
movzx ebx, word [esp + 0x28]
dec ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
jmp 0x10008b4e
movzx ebx, word [esp + 0x28]
inc ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
movzx ebx, word [esp + 0x2c]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x10008b68
add esp, 4
jmp 0x10009075
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10008b80
movzx eax, word [esp + 0x30]
push eax
pop eax
mov word [esp + 0x2c], ax
jmp 0x10008b97
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008b97
movzx ebx, word [esp + 0x30]
inc ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
pop eax
xor eax, eax
jmp 0x10009075
lea edx, str.poverty
lea ecx, [esp + 0x30]
call fcn.10032008
mov word [esp + 0x34], 3
movzx ebx, word [esp + 0x34]
mov eax, 5
cmp ebx, eax
jl 0x10008bd2
movzx ebx, word [esp + 0x34]
dec ebx
push ebx
pop eax
mov word [esp + 0x38], ax
jmp 0x10008bdf
movzx ebx, word [esp + 0x34]
inc ebx
push ebx
pop eax
mov word [esp + 0x38], ax
movzx ebx, word [esp + 0x38]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x10008bf9
add esp, 4
jmp 0x10009075
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008c11
movzx eax, word [esp + 0x3c]
push eax
pop eax
mov word [esp + 0x38], ax
jmp 0x10008c28
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008c28
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x38], ax
pop eax
lea edx, [esp + 0x3c]
push edx
push 0
push 5
push 0x100
push 4
call fcn.10038ec5
mov dword [esp + 0x1c], 0xedb88330
mov ebx, dword [esp + 0x1c]
add ebx, 0xfffffff0
mov dword [esp + 0x1c], ebx
mov word [esp + 0x44], 7
movzx ebx, word [esp + 0x44]
mov eax, 2
cmp ebx, eax
jl 0x10008c7e
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x10008c8b
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, 0xb
cmp ebx, dword [esp]
jne 0x10008ca5
add esp, 4
jmp 0x10009075
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10008cbd
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x10008cd4
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008cd4
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
lea edx, str.walls
lea ecx, [esp + 0x4c]
call fcn.10032008
mov dword [esp + 0x10], 0
jmp 0x10008cee
mov eax, 0xff
cmp eax, dword [esp + 0x10]
jl 0x10008ded
push dword [esp + 0x10]
pop eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
jmp 0x10008d10
mov eax, 8
cmp eax, dword [esp + 0x14]
jl 0x10008d54
mov ebx, dword [esp + 0x18]
and ebx, 1
and ebx, ebx
je 0x10008d3e
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
sar edi, 1
and edi, 0x7fffffff
xor ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x10008d4e
mov ebx, dword [esp + 0x18]
sar ebx, 1
and ebx, 0x7fffffff
mov dword [esp + 0x18], ebx
inc dword [esp + 0x14]
jno 0x10008d10
mov word [esp + 0x50], 3
movzx ebx, word [esp + 0x50]
mov eax, 4
cmp ebx, eax
jl 0x10008d78
movzx ebx, word [esp + 0x50]
dec ebx
push ebx
pop eax
mov word [esp + 0x54], ax
jmp 0x10008d85
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
movzx ebx, word [esp + 0x54]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x10008d9f
add esp, 4
jmp 0x10009075
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10008db7
movzx eax, word [esp + 0x58]
push eax
pop eax
mov word [esp + 0x54], ax
jmp 0x10008dce
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10008dce
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
pop eax
push dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 0x10]
jno 0x10008cee
push dword [esp]
call fcn.10032630
mov dword [esp + 0xc], eax
mov word [esp + 0x58], 7
movzx ebx, word [esp + 0x58]
mov eax, 3
cmp ebx, eax
jl 0x10008e1d
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x10008e2a
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
movzx ebx, word [esp + 0x5c]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x10008e44
add esp, 4
jmp 0x10009075
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10008e5c
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x10008e73
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10008e73
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
mov ebx, dword [esp + 0xc]
add ebx, 2
push ebx
call fcn.100392a0
mov dword [esp + 4], eax
lea edx, [0x1003dad8]
lea ecx, [esp + 0x60]
call fcn.10032008
mov ebx, dword [esp + 4]
and ebx, ebx
jne 0x10008ea3
xor eax, eax
jmp 0x10009075
mov word [esp + 0x64], 6
movzx ebx, word [esp + 0x64]
mov eax, 3
cmp ebx, eax
jl 0x10008ec7
movzx ebx, word [esp + 0x64]
dec ebx
push ebx
pop eax
mov word [esp + 0x68], ax
jmp 0x10008ed4
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, 0xe
cmp ebx, dword [esp]
jne 0x10008eee
add esp, 4
jmp 0x10009075
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10008f06
movzx eax, word [esp + 0x6c]
push eax
pop eax
mov word [esp + 0x68], ax
jmp 0x10008f1d
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008f1d
movzx ebx, word [esp + 0x6c]
inc ebx
push ebx
pop eax
mov word [esp + 0x68], ax
pop eax
push 0x18
push 0xffffffff
push dword [esp + 8]
push dword [esp + 0x10]
call fcn.100392c0
lea edx, [esp + 0x3c]
push edx
push dword [esp + 0x10]
push dword [esp + 0xc]
push 0xffffffff
call fcn.10014ad3
mov ebx, eax
not ebx
mov dword [esp + 8], ebx
push dword [esp + 4]
call fcn.10039410
mov word [esp + 0x6c], 3
movzx ebx, word [esp + 0x6c]
mov eax, 2
cmp ebx, eax
jl 0x10008f81
movzx ebx, word [esp + 0x6c]
dec ebx
push ebx
pop eax
mov word [esp + 0x70], ax
jmp 0x10008f8e
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, 0x11
cmp ebx, dword [esp]
jne 0x10008fa8
add esp, 4
jmp 0x10009075
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10008fc0
movzx eax, word [esp + 0x74]
push eax
pop eax
mov word [esp + 0x70], ax
jmp 0x10008fd7
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10008fd7
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
pop eax
mov ebx, dword [esp + 8]
xor ebx, 0xd8a7
mov dword [esp + 8], ebx
mov word [esp + 0x74], 0xa
movzx ebx, word [esp + 0x74]
mov eax, 2
cmp ebx, eax
jl 0x1000900a
movzx ebx, word [esp + 0x74]
dec ebx
push ebx
pop eax
mov word [esp + 0x78], ax
jmp 0x10009017
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x78], ax
movzx ebx, word [esp + 0x78]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x1000902e
add esp, 4
jmp 0x10009075
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10009046
movzx eax, word [esp + 0x7c]
push eax
pop eax
mov word [esp + 0x78], ax
jmp 0x1000905d
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000905d
movzx ebx, word [esp + 0x7c]
inc ebx
push ebx
pop eax
mov word [esp + 0x78], ax
pop eax
mov eax, dword [esp + 8]
jmp 0x10009075
push dword [esp + 0x4c]
call fcn.100397f0
push dword [esp + 0x60]
call fcn.100397f0
push dword [esp]
call fcn.100397f0
push dword [esp + 0x7c]
call fcn.100397f0
push dword [esp + 0x30]
call fcn.100397f0
push eax
push dword [esp + 0x40]
call fcn.10039080
pop eax
add esp, 0x80
pop edi
pop ebx
pop ebp
ret 4