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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x29
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10030f36
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov word [esp + 0x24], 2
movzx ebx, word [esp + 0x24]
mov eax, 4
cmp ebx, eax
jl 0x10030f71
movzx ebx, word [esp + 0x24]
dec ebx
push ebx
pop eax
mov word [esp + 0x28], ax
jmp 0x10030f7e
movzx ebx, word [esp + 0x24]
inc ebx
push ebx
pop eax
mov word [esp + 0x28], ax
movzx ebx, word [esp + 0x28]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10030f98
add esp, 4
jmp 0x10031c3a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10030fb0
movzx eax, word [esp + 0x2c]
push eax
pop eax
mov word [esp + 0x28], ax
jmp 0x10030fc7
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10030fc7
movzx ebx, word [esp + 0x2c]
inc ebx
push ebx
pop eax
mov word [esp + 0x28], ax
pop eax
mov edx, dword [esp]
mov ebx, dword [edx]
and ebx, ebx
jne 0x1003105a
xor eax, eax
movsx eax, al
jmp 0x10031c3a
mov word [esp + 0x34], 5
movzx ebx, word [esp + 0x34]
mov eax, 4
cmp ebx, eax
jl 0x1003107e
movzx ebx, word [esp + 0x34]
dec ebx
push ebx
pop eax
mov word [esp + 0x38], ax
jmp 0x1003108b
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, 0x11
cmp ebx, dword [esp]
jne 0x100310a5
add esp, 4
jmp 0x10031c3a
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100310bd
movzx eax, word [esp + 0x3c]
push eax
pop eax
mov word [esp + 0x38], ax
jmp 0x100310d4
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100310d4
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x38], ax
pop eax
mov edx, dword [esp]
push dword [edx]
call fcn.1003c56a
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jle 0x100310f9
mov ebx, dword [esp + 0xb8]
and ebx, ebx
je 0x100310f9
jmp 0x10031100
mov eax, 1
jmp 0x10031102
xor eax, eax
and eax, eax
je 0x10031110
xor eax, eax
movsx eax, al
jmp 0x10031c3a
mov word [esp + 0x3c], 8
movzx ebx, word [esp + 0x3c]
mov eax, 2
cmp ebx, eax
jl 0x10031134
movzx ebx, word [esp + 0x3c]
dec ebx
push ebx
pop eax
mov word [esp + 0x40], ax
jmp 0x10031141
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x40], ax
movzx ebx, word [esp + 0x40]
push ebx
mov ebx, 0xc
cmp ebx, dword [esp]
jne 0x1003115b
add esp, 4
jmp 0x10031c3a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10031173
movzx eax, word [esp + 0x44]
push eax
pop eax
mov word [esp + 0x40], ax
jmp 0x1003118a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1003118a
movzx ebx, word [esp + 0x44]
inc ebx
push ebx
pop eax
mov word [esp + 0x40], ax
pop eax
mov ebp, dword [esp + 0xb8]
mov dword [ebp], 0
mov dword [0x100422cc], 0
mov byte [0x10042364], 0
mov word [esp + 0x44], 8
movzx ebx, word [esp + 0x44]
mov eax, 4
cmp ebx, eax
jl 0x100311ce
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x100311db
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 0x100311f5
add esp, 4
jmp 0x10031c3a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x1003120d
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x10031224
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10031224
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
mov dword [0x100422b0], 0
lea edx, [esp + 0x4c]
push edx
push 0
push 0x18
push 0x8000
push 1
call fcn.1003c3c2
mov eax, dword [esp + 0x20]
inc eax
push 0x10042400
push 0
push 0x18
push eax
push 1
call fcn.1003c3c2
lea edx, str.causes
lea ecx, [esp + 0x54]
call fcn.10033008
push dword [0x10042400]
mov edx, dword [esp + 4]
push dword [edx]
call fcn.1003c686
mov word [esp + 0x58], 0xa
movzx ebx, word [esp + 0x58]
mov eax, 4
cmp ebx, eax
jl 0x100312b0
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x100312bd
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, 0x11
cmp ebx, dword [esp]
jne 0x100312d7
add esp, 4
jmp 0x10031c3a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100312ef
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x10031306
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10031306
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
push 1
call fcn.1002dab0
mov dword [esp + 0x14], eax
push 2
call fcn.1002dab0
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x1003149d
push dword [esp + 0x50]
call fcn.1003c56a
mov ebx, eax
mov ebp, dword [esp + 0xbc]
mov edi, dword [ebp]
add edi, 0xfffe
cmp ebx, edi
jge 0x10031368
mov ebp, dword [esp + 0xbc]
mov ebx, dword [ebp]
add ebx, 0xfffe
mov eax, ebx
inc eax
lea edx, [esp + 0x50]
push edx
push eax
call fcn.1003c698
movzx ebx, byte [0x10042364]
mov eax, 8
cmp ebx, eax
jl 0x10031398
movzx ebx, byte [0x10042364]
add ebx, 0xfffffff8
push ebx
pop eax
mov byte [0x10042364], al
mov ebx, dword [0x100422cc]
dec ebx
mov dword [0x100422cc], ebx
jmp 0x10031368
mov dword [0x100422b0], 0
mov byte [0x10042364], 0
mov ebx, dword [0x100422cc]
mov ebp, dword [0x10042400]
movzx ebx, byte [ebp + ebx]
mov edi, dword [0x100422cc]
inc edi
movzx edi, byte [ebp + edi]
shl edi, 8
add ebx, edi
mov dword [esp + 0x10], ebx
mov ebx, dword [0x100422cc]
add ebx, 2
mov dword [0x100422cc], ebx
mov ebx, dword [0x100422cc]
movzx ebx, byte [ebp + ebx]
mov edi, dword [0x100422cc]
inc edi
movzx edi, byte [ebp + edi]
shl edi, 8
add ebx, edi
mov dword [esp + 0xc], ebx
mov ebx, dword [0x100422cc]
add ebx, 2
mov dword [0x100422cc], ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
not edi
and edi, 0xffff
sub ebx, edi
and ebx, ebx
je 0x10031430
mov byte [esp + 0x20], 1
add esp, 4
jmp 0x10031796
mov dword [esp + 0x14], 1
jmp 0x1003143a
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jl 0x10031493
mov ebx, dword [0x100422cc]
mov ebp, dword [0x10042400]
movzx eax, byte [ebp + ebx]
push eax
mov ebp, dword [esp + 0xc0]
mov ebx, dword [ebp]
mov ebp, dword [esp + 0x54]
pop eax
mov byte [ebp + ebx], al
mov ebp, dword [esp + 0xbc]
mov ebx, dword [ebp]
inc ebx
push ebx
mov ebp, dword [esp + 0xc0]
pop eax
mov dword [ebp], eax
mov ebx, dword [0x100422cc]
inc ebx
mov dword [0x100422cc], ebx
inc dword [esp + 0x14]
jno 0x1003143a
mov byte [esp + 0x1c], 0
jmp 0x10031558
mov ebx, 1
cmp ebx, dword [esp]
jne 0x10031512
push 0x120
push dword [0x10042314]
push 0x100423e8
push 0x100423e0
push 0x10042390
call fcn.10004350
mov ebx, eax
and ebx, ebx
je 0x100314d9
mov byte [esp + 0x20], 1
add esp, 4
jmp 0x10031796
push 0x20
push dword [0x100422d4]
push 0x100423f8
push 0x100423f0
push 0x10042398
call fcn.10004350
mov ebx, eax
and ebx, ebx
je 0x1003150b
mov byte [esp + 0x20], 1
add esp, 4
jmp 0x10031796
mov byte [esp + 0x1c], 1
jmp 0x10031558
mov ebx, 2
cmp ebx, dword [esp]
jne 0x1003153c
call fcn.1002e423
mov ebx, eax
cmp ebx, 1
je 0x10031535
mov byte [esp + 0x20], 1
add esp, 4
jmp 0x10031796
mov byte [esp + 0x1c], 1
jmp 0x10031558
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10031558
mov byte [esp + 0x20], 1
add esp, 4
jmp 0x10031796
pop eax
movsx ebx, byte [esp + 0x18]
cmp ebx, 1
jne 0x10031702
push dword [esp + 0x4c]
call fcn.1003c56a
mov ebx, eax
mov ebp, dword [esp + 0xb8]
mov edi, dword [ebp]
add edi, 0x101
cmp ebx, edi
jge 0x100315a4
mov ebp, dword [esp + 0xb8]
mov ebx, dword [ebp]
add ebx, 0x10000
mov eax, ebx
inc eax
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.1003c698
push dword [0x10042314]
push 0x100423e8
push 0x100423e0
call fcn.1001b3cd
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
cmp ebx, 0x100
jge 0x100315fc
push dword [esp + 4]
mov ebp, dword [esp + 0xbc]
mov ebx, dword [ebp]
mov ebp, dword [esp + 0x50]
pop eax
mov byte [ebp + ebx], al
mov ebp, dword [esp + 0xb8]
mov ebx, dword [ebp]
inc ebx
push ebx
mov ebp, dword [esp + 0xbc]
pop eax
mov dword [ebp], eax
jmp 0x100316fd
mov ebx, dword [esp + 4]
cmp ebx, 0x100
jne 0x10031612
jmp 0x10031702
mov ebx, dword [esp + 4]
cmp ebx, 0x100
jle 0x100316fd
mov ebx, dword [esp + 4]
add ebx, 0xfffffeff
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
mov ebp, dword [0x10042370]
add ebx, ebx
movsx ebx, word [ebp + ebx]
mov edi, dword [esp + 4]
mov ebp, dword [0x10042380]
movsx eax, byte [ebp + edi]
push eax
call fcn.1002dab0
add ebx, eax
mov dword [esp + 0xc], ebx
push dword [0x100422d4]
push 0x100423f8
push 0x100423f0
call fcn.1001b3cd
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
mov ebp, dword [0x10042378]
add ebx, ebx
movzx ebx, word [ebp + ebx]
mov edi, dword [esp + 4]
mov ebp, dword [0x10042388]
movsx eax, byte [ebp + edi]
push eax
call fcn.1002dab0
add ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], 1
jmp 0x100316ab
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jl 0x100316fd
mov ebp, dword [esp + 0xb8]
mov ebx, dword [ebp]
sub ebx, dword [esp + 8]
mov ebp, dword [esp + 0x4c]
movzx eax, byte [ebp + ebx]
push eax
mov ebp, dword [esp + 0xbc]
mov ebx, dword [ebp]
mov ebp, dword [esp + 0x50]
pop eax
mov byte [ebp + ebx], al
mov ebp, dword [esp + 0xb8]
mov ebx, dword [ebp]
inc ebx
push ebx
mov ebp, dword [esp + 0xbc]
pop eax
mov dword [ebp], eax
inc dword [esp + 0x10]
jno 0x100316ab
jmp 0x10031567
mov word [esp + 0x60], 8
movzx ebx, word [esp + 0x60]
mov eax, 5
cmp ebx, eax
jl 0x10031726
movzx ebx, word [esp + 0x60]
dec ebx
push ebx
pop eax
mov word [esp + 0x64], ax
jmp 0x10031733
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
movzx ebx, word [esp + 0x64]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x1003174d
add esp, 4
jmp 0x10031c3a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10031765
movzx eax, word [esp + 0x68]
push eax
pop eax
mov word [esp + 0x64], ax
jmp 0x1003177c
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1003177c
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
pop eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x10031789
xor eax, eax
jmp 0x1003178e
mov eax, 1
and eax, eax
je 0x10031307
mov byte [0x10042364], 0
mov dword [0x100422b0], 0
mov dword [0x100422e8], 0
mov dword [0x100422cc], 0
mov dword [0x10042308], 0
push dword [0x100423e0]
call fcn.1003c56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100317e2
push dword [0x100423e0]
call fcn.1003c578
push dword [0x100423e8]
call fcn.1003c56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1003180e
lea edx, str.relax
lea ecx, [esp + 0x68]
call fcn.10033008
push dword [0x100423e8]
call fcn.1003c578
mov word [esp + 0x6c], 3
movzx ebx, word [esp + 0x6c]
mov eax, 4
cmp ebx, eax
jl 0x10031832
movzx ebx, word [esp + 0x6c]
dec ebx
push ebx
pop eax
mov word [esp + 0x70], ax
jmp 0x1003183f
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 0x10031859
add esp, 4
jmp 0x10031c3a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10031871
movzx eax, word [esp + 0x74]
push eax
pop eax
mov word [esp + 0x70], ax
jmp 0x10031888
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10031888
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
pop eax
push dword [0x100423f0]
call fcn.1003c56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10031925
mov word [esp + 0x74], 8
movzx ebx, word [esp + 0x74]
mov eax, 5
cmp ebx, eax
jl 0x100318c3
movzx ebx, word [esp + 0x74]
dec ebx
push ebx
pop eax
mov word [esp + 0x78], ax
jmp 0x100318d0
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, 0xf
cmp ebx, dword [esp]
jne 0x100318ea
add esp, 4
jmp 0x10031c3a
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10031902
movzx eax, word [esp + 0x7c]
push eax
pop eax
mov word [esp + 0x78], ax
jmp 0x10031919
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10031919
movzx ebx, word [esp + 0x7c]
inc ebx
push ebx
pop eax
mov word [esp + 0x78], ax
pop eax
push dword [0x100423f0]
call fcn.1003c578
push dword [0x100423f8]
call fcn.1003c56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10031942
push dword [0x100423f8]
call fcn.1003c578
mov word [esp + 0x7c], 8
movzx ebx, word [esp + 0x7c]
mov eax, 3
cmp ebx, eax
jl 0x10031969
movzx ebx, word [esp + 0x7c]
dec ebx
push ebx
pop eax
mov word [esp + 0x80], ax
jmp 0x10031979
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 0x10031996
add esp, 4
jmp 0x10031c3a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x100319b4
movzx eax, word [esp + 0x84]
push eax
pop eax
mov word [esp + 0x80], ax
jmp 0x100319d1
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100319d1
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
pop eax
push dword [0x10042400]
call fcn.1003c56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10031a8f
mov word [esp + 0x84], 0xa
movzx ebx, word [esp + 0x84]
mov eax, 2
cmp ebx, eax
jl 0x10031a18
movzx ebx, word [esp + 0x84]
dec ebx
push ebx
pop eax
mov word [esp + 0x88], ax
jmp 0x10031a2b
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x88], ax
movzx ebx, word [esp + 0x88]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x10031a48
add esp, 4
jmp 0x10031c3a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10031a66
movzx eax, word [esp + 0x8c]
push eax
pop eax
mov word [esp + 0x88], ax
jmp 0x10031a83
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10031a83
movzx ebx, word [esp + 0x8c]
inc ebx
push ebx
pop eax
mov word [esp + 0x88], ax
pop eax
push dword [0x10042400]
call fcn.1003c578
lea edx, str.houses
lea ecx, [esp + 0x8c]
call fcn.10033008
mov word [esp + 0x90], 4
movzx ebx, word [esp + 0x90]
mov eax, 3
cmp ebx, eax
jl 0x10031ad1
movzx ebx, word [esp + 0x90]
dec ebx
push ebx
pop eax
mov word [esp + 0x94], ax
jmp 0x10031ae4
movzx ebx, word [esp + 0x90]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
movzx ebx, word [esp + 0x94]
push ebx
mov ebx, 0xe
cmp ebx, dword [esp]
jne 0x10031b01
add esp, 4
jmp 0x10031c3a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10031b1f
movzx eax, word [esp + 0x98]
push eax
pop eax
mov word [esp + 0x94], ax
jmp 0x10031b3c
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10031b3c
movzx ebx, word [esp + 0x98]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
pop eax
movsx ebx, byte [esp + 0x1c]
and ebx, ebx
jne 0x10031c31
mov ebp, dword [esp + 0xb8]
mov ebx, dword [ebp]
dec ebx
mov eax, ebx
inc eax
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.1003c698
mov edx, dword [esp]
push dword [edx]
push dword [esp + 0x50]
call fcn.1003c686
lea edx, str.edges
lea ecx, [esp + 0x98]
call fcn.10033008
push dword [esp + 0x4c]
call fcn.1003c578
mov word [esp + 0x9c], 5
movzx ebx, word [esp + 0x9c]
mov eax, 2
cmp ebx, eax
jl 0x10031bbc
movzx ebx, word [esp + 0x9c]
dec ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
jmp 0x10031bcf
movzx ebx, word [esp + 0x9c]
inc ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
movzx ebx, word [esp + 0xa0]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x10031be9
add esp, 4
jmp 0x10031c3a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10031c07
movzx eax, word [esp + 0xa4]
push eax
pop eax
mov word [esp + 0xa0], ax
jmp 0x10031c24
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10031c24
movzx ebx, word [esp + 0xa4]
inc ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
pop eax
mov eax, 1
movsx eax, al
jmp 0x10031c3a
xor eax, eax
movsx eax, al
jmp 0x10031c3a
push dword [esp + 0x8c]
call fcn.1003ccf0
push dword [esp + 0x98]
call fcn.1003ccf0
push dword [esp + 0x54]
call fcn.1003ccf0
push dword [esp + 0x68]
call fcn.1003ccf0
push eax
push dword [esp + 0x50]
call fcn.1003c57d
pop eax
add esp, 0xa4
pop edi
pop ebx
pop ebp
ret 8