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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x2a
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1002ca61
mov word [esp], 1
movzx ebx, word [esp]
mov eax, 1
cmp ebx, eax
jl 0x1002ca8f
movzx ebx, word [esp]
dec ebx
push ebx
pop eax
mov word [esp + 4], ax
jmp 0x1002ca9b
movzx ebx, word [esp]
inc ebx
push ebx
pop eax
mov word [esp + 4], ax
movzx ebx, word [esp + 4]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x1002cab5
add esp, 4
jmp 0x1002d3cf
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cacd
movzx eax, word [esp + 8]
push eax
pop eax
mov word [esp + 4], ax
jmp 0x1002cae4
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cae4
movzx ebx, word [esp + 8]
inc ebx
push ebx
pop eax
mov word [esp + 4], ax
pop eax
mov word [esp + 0x24], 0xa
movzx ebx, word [esp + 0x24]
mov eax, 4
cmp ebx, eax
jl 0x1002cb09
movzx ebx, word [esp + 0x24]
dec ebx
push ebx
pop eax
mov word [esp + 0x28], ax
jmp 0x1002cb16
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, 0x11
cmp ebx, dword [esp]
jne 0x1002cb30
add esp, 4
jmp 0x1002d3cf
mov ebx, 9
cmp ebx, dword [esp]
jne 0x1002cb48
movzx eax, word [esp + 0x2c]
push eax
pop eax
mov word [esp + 0x28], ax
jmp 0x1002cb5f
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cb5f
movzx ebx, word [esp + 0x2c]
inc ebx
push ebx
pop eax
mov word [esp + 0x28], ax
pop eax
lea edx, [esp + 0x2c]
push edx
push 0
push 5
push 0x13
push 4
call fcn.1003a3c2
lea edx, [esp + 0x34]
push edx
push 0
push 5
push 1
push 4
call fcn.1003a3c2
lea edx, [esp + 0x3c]
push edx
push 0
push 5
push 1
push 4
call fcn.1003a3c2
lea edx, str.simple
lea ecx, [esp + 0x44]
call fcn.10031008
push 5
call fcn.1002be33
mov ebx, eax
add ebx, 0x101
mov dword [esp + 0x14], ebx
mov word [esp + 0x48], 7
movzx ebx, word [esp + 0x48]
mov eax, 3
cmp ebx, eax
jl 0x1002cc03
movzx ebx, word [esp + 0x48]
dec ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
jmp 0x1002cc10
movzx ebx, word [esp + 0x48]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
movzx ebx, word [esp + 0x4c]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x1002cc2a
add esp, 4
jmp 0x1002d3cf
mov ebx, 7
cmp ebx, dword [esp]
jne 0x1002cc42
movzx eax, word [esp + 0x50]
push eax
pop eax
mov word [esp + 0x4c], ax
jmp 0x1002cc59
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1002cc59
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
pop eax
push 5
call fcn.1002be33
mov ebx, eax
inc ebx
mov dword [esp + 0x18], ebx
push 4
call fcn.1002be33
mov ebx, eax
add ebx, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], 0
jmp 0x1002cc88
mov ebx, dword [esp + 0x1c]
dec ebx
cmp ebx, dword [esp + 0xc]
jl 0x1002ccbf
push 3
call fcn.1002be33
push eax
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x10040574]
movzx ebx, byte [ebp + ebx]
mov ebp, dword [esp + 0x30]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 0xc]
jno 0x1002cc88
push 0x13
push dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x3c]
push edx
call fcn.10003f81
mov ebx, eax
and ebx, ebx
je 0x1002cec3
push dword [esp + 0x2c]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002cd8d
lea edx, str.ship
lea ecx, [esp + 0x50]
call fcn.10031008
push dword [esp + 0x2c]
call fcn.1003a578
mov word [esp + 0x54], 0xa
movzx ebx, word [esp + 0x54]
mov eax, 3
cmp ebx, eax
jl 0x1002cd36
movzx ebx, word [esp + 0x54]
dec ebx
push ebx
pop eax
mov word [esp + 0x58], ax
jmp 0x1002cd43
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, 0x12
cmp ebx, dword [esp]
jne 0x1002cd5d
add esp, 4
jmp 0x1002d3cf
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cd75
movzx eax, word [esp + 0x5c]
push eax
pop eax
mov word [esp + 0x58], ax
jmp 0x1002cd8c
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1002cd8c
movzx ebx, word [esp + 0x5c]
inc ebx
push ebx
pop eax
mov word [esp + 0x58], ax
pop eax
push dword [esp + 0x34]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002ce25
mov word [esp + 0x5c], 7
movzx ebx, word [esp + 0x5c]
mov eax, 3
cmp ebx, eax
jl 0x1002cdc5
movzx ebx, word [esp + 0x5c]
dec ebx
push ebx
pop eax
mov word [esp + 0x60], ax
jmp 0x1002cdd2
movzx ebx, word [esp + 0x5c]
inc ebx
push ebx
pop eax
mov word [esp + 0x60], ax
movzx ebx, word [esp + 0x60]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x1002cdec
add esp, 4
jmp 0x1002d3cf
mov ebx, 9
cmp ebx, dword [esp]
jne 0x1002ce04
movzx eax, word [esp + 0x64]
push eax
pop eax
mov word [esp + 0x60], ax
jmp 0x1002ce1b
mov ebx, 2
cmp ebx, dword [esp]
jne 0x1002ce1b
movzx ebx, word [esp + 0x64]
inc ebx
push ebx
pop eax
mov word [esp + 0x60], ax
pop eax
push dword [esp + 0x34]
call fcn.1003a578
push dword [esp + 0x3c]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002ce3e
push dword [esp + 0x3c]
call fcn.1003a578
mov word [esp + 0x64], 5
movzx ebx, word [esp + 0x64]
mov eax, 2
cmp ebx, eax
jl 0x1002ce62
movzx ebx, word [esp + 0x64]
dec ebx
push ebx
pop eax
mov word [esp + 0x68], ax
jmp 0x1002ce6f
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, 0xb
cmp ebx, dword [esp]
jne 0x1002ce89
add esp, 4
jmp 0x1002d3cf
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cea1
movzx eax, word [esp + 0x6c]
push eax
pop eax
mov word [esp + 0x68], ax
jmp 0x1002ceb8
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002ceb8
movzx ebx, word [esp + 0x6c]
inc ebx
push ebx
pop eax
mov word [esp + 0x68], ax
pop eax
xor eax, eax
movsx eax, al
jmp 0x1002d3cf
mov word [esp + 0x6c], 9
movzx ebx, word [esp + 0x6c]
mov eax, 2
cmp ebx, eax
jl 0x1002cee7
movzx ebx, word [esp + 0x6c]
dec ebx
push ebx
pop eax
mov word [esp + 0x70], ax
jmp 0x1002cef4
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, 0xb
cmp ebx, dword [esp]
jne 0x1002cf0e
add esp, 4
jmp 0x1002d3cf
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cf26
movzx eax, word [esp + 0x74]
push eax
pop eax
mov word [esp + 0x70], ax
jmp 0x1002cf3d
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1002cf3d
movzx ebx, word [esp + 0x74]
inc ebx
push ebx
pop eax
mov word [esp + 0x70], ax
pop eax
push dword [esp + 0x2c]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002cf57
push dword [esp + 0x2c]
call fcn.1003a578
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x18]
dec ebx
mov eax, ebx
inc eax
lea edx, [esp + 0x74]
push edx
push 0
push 5
push eax
push 4
call fcn.1003a3c2
mov dword [esp + 0xc], 0
lea edx, str.swear
lea ecx, [esp + 0x7c]
call fcn.10031008
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
add edi, dword [esp + 0x18]
cmp ebx, edi
jge 0x1002d0a9
push dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x3c]
push edx
call fcn.10019abf
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
cmp ebx, 0x10
jge 0x1002cfea
push dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x78]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
jmp 0x1002d0a4
push dword [esp + 8]
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x1002d026
mov ebx, dword [esp + 0x10]
dec ebx
mov ebp, dword [esp + 0x78]
shl ebx, 2
push dword [ebp + ebx]
pop eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x10]
push 2
call fcn.1002be33
add ebx, eax
add ebx, 3
mov dword [esp + 0x14], ebx
jmp 0x1002d07a
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x1002d051
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x10]
push 3
call fcn.1002be33
add ebx, eax
add ebx, 3
mov dword [esp + 0x14], ebx
jmp 0x1002d07a
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x1002d07a
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x10]
push 7
call fcn.1002be33
add ebx, eax
add ebx, 0xb
mov dword [esp + 0x14], ebx
pop eax
mov ebx, dword [esp + 0xc]
cmp ebx, dword [esp + 0x10]
jge 0x1002d0a4
push dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x78]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
jmp 0x1002d07b
jmp 0x1002cf94
push dword [esp + 0x34]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002d0d4
push dword [esp + 0x34]
call fcn.1003a578
lea edx, str.eggs
lea ecx, [esp + 0x80]
call fcn.10031008
push dword [esp + 0x3c]
call fcn.1003a56a
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002d19f
lea edx, str.elections
lea ecx, [esp + 0x84]
call fcn.10031008
push dword [esp + 0x3c]
call fcn.1003a578
mov word [esp + 0x88], 2
movzx ebx, word [esp + 0x88]
mov eax, 1
cmp ebx, eax
jl 0x1002d133
movzx ebx, word [esp + 0x88]
dec ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
jmp 0x1002d146
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, 0xf
cmp ebx, dword [esp]
jne 0x1002d163
add esp, 4
jmp 0x1002d3cf
mov ebx, 6
cmp ebx, dword [esp]
jne 0x1002d181
movzx eax, word [esp + 0x90]
push eax
pop eax
mov word [esp + 0x8c], ax
jmp 0x1002d19e
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1002d19e
movzx ebx, word [esp + 0x90]
inc ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
pop eax
push dword [esp + 0x14]
push dword [0x10040520]
push 0x100405f4
push 0x100405ec
lea edx, [esp + 0x84]
push edx
call fcn.10003f81
mov ebx, eax
and ebx, ebx
je 0x1002d1d0
xor eax, eax
movsx eax, al
jmp 0x1002d3cf
lea edx, str.network
lea ecx, [esp + 0x90]
call fcn.10031008
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jne 0x1002d200
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
shl ebx, 2
mov ebx, dword [ebp + ebx]
and ebx, ebx
jne 0x1002d200
jmp 0x1002d207
mov eax, 1
jmp 0x1002d209
xor eax, eax
and eax, eax
je 0x1002d318
mov dword [esp + 0xc], 0
jmp 0x1002d21b
mov ebx, dword [esp + 0x18]
dec ebx
cmp ebx, dword [esp + 0xc]
jl 0x1002d24b
mov ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
shl ebx, 2
push dword [ebp + ebx]
mov ebx, dword [esp + 0x10]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 0xc]
jno 0x1002d21b
push dword [esp + 0x18]
push dword [0x100404e0]
push 0x10040604
push 0x100405fc
lea edx, [esp + 0x84]
push edx
call fcn.10003f81
mov ebx, eax
and ebx, ebx
je 0x1002d27c
xor eax, eax
movsx eax, al
jmp 0x1002d3cf
mov word [esp + 0x94], 4
movzx ebx, word [esp + 0x94]
mov eax, 5
cmp ebx, eax
jl 0x1002d2ac
movzx ebx, word [esp + 0x94]
dec ebx
push ebx
pop eax
mov word [esp + 0x98], ax
jmp 0x1002d2bf
movzx ebx, word [esp + 0x94]
inc ebx
push ebx
pop eax
mov word [esp + 0x98], ax
movzx ebx, word [esp + 0x98]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x1002d2dc
add esp, 4
jmp 0x1002d3cf
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1002d2fa
movzx eax, word [esp + 0x9c]
push eax
pop eax
mov word [esp + 0x98], ax
jmp 0x1002d317
mov ebx, 2
cmp ebx, dword [esp]
jne 0x1002d317
movzx ebx, word [esp + 0x9c]
inc ebx
push ebx
pop eax
mov word [esp + 0x98], ax
pop eax
mov word [esp + 0x9c], 3
movzx ebx, word [esp + 0x9c]
mov eax, 4
cmp ebx, eax
jl 0x1002d348
movzx ebx, word [esp + 0x9c]
dec ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
jmp 0x1002d35b
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 0x1002d375
add esp, 4
jmp 0x1002d3cf
mov ebx, 7
cmp ebx, dword [esp]
jne 0x1002d393
movzx eax, word [esp + 0xa4]
push eax
pop eax
mov word [esp + 0xa0], ax
jmp 0x1002d3b0
mov ebx, 2
cmp ebx, dword [esp]
jne 0x1002d3b0
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 0x1002d3cf
push dword [esp + 0xa4]
call fcn.1003acf0
push dword [esp + 0x90]
call fcn.1003acf0
push dword [esp + 0x80]
call fcn.1003acf0
push dword [esp + 0x44]
call fcn.1003acf0
push dword [esp + 0x50]
call fcn.1003acf0
push dword [esp + 0x84]
call fcn.1003acf0
push dword [esp + 0x7c]
call fcn.1003acf0
push eax
push dword [esp + 0x30]
call fcn.1003a57d
push dword [esp + 0x38]
call fcn.1003a57d
push dword [esp + 0x40]
call fcn.1003a57d
push dword [esp + 0x78]
call fcn.1003a57d
pop eax
add esp, 0xa8
pop edi
pop ebx
pop ebp
ret