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

Disassembly:
push ebp
push ebx
mov edx, 0x2f
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10001686
mov eax, dword [esp + 0xd4]
mov dword [0x1003fa08], eax
mov edx, dword [esp + 0xc8]
lea ecx, [esp]
call fcn.10032000
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 4]
call fcn.10032000
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 8]
call fcn.10032000
push dword [esp + 4]
lea edx, [0x1003c03e]
pop ecx
call fcn.100321d0
jne 0x100016f4
push dword [esp + 8]
lea edx, [0x1003c03e]
pop ecx
call fcn.100321d0
jne 0x100016f4
jmp 0x100016fb
mov eax, 1
jmp 0x100016fd
xor eax, eax
and eax, eax
jne 0x10001714
push dword [esp]
lea edx, [0x1003c03e]
pop ecx
call fcn.100321d0
jne 0x10001714
jmp 0x1000171b
mov eax, 1
jmp 0x1000171d
xor eax, eax
and eax, eax
je 0x100017b1
jmp 0x10001e93
lea edx, str.goods
lea ecx, [esp + 0x68]
call fcn.10032008
mov edx, dword [esp]
push dword [0x1003fa08]
push edx
call fcn.10039820
mov edx, dword [esp + 8]
push edx
call fcn.10039820
lea eax, [esp + 0x2c]
push eax
call fcn.10039880
push dword [esp + 0x28]
call fcn.10032630
mov ebx, eax
add ebx, ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
add ebx, 2
push ebx
call fcn.100392a0
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x30]
and ebx, ebx
jne 0x10001821
lea edx, str.later
lea ecx, [esp + 0x6c]
call fcn.10032008
jmp 0x10001e93
push 0x19
push 0xffffffff
push dword [esp + 0x30]
push dword [esp + 0x3c]
call fcn.100392c0
lea edx, [0x1003c03e]
lea ecx, [esp + 0x28]
call fcn.10032008
push dword [esp + 0x2c]
lea ebp, [esp + 0x24]
pop eax
mov word [ebp], ax
mov ebx, dword [esp + 0x2c]
add ebx, 2
push ebx
pop eax
mov word [ebp + 2], ax
push dword [esp + 0x30]
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 0x34]
mov dword [ebp + 0xc], 0x40
mov dword [ebp], 0x18
lea eax, [esp + 0x20]
push eax
pop eax
mov dword [ebp + 8], eax
lea edx, str.faqs
lea ecx, [esp + 0x70]
call fcn.10032008
lea eax, [esp + 0x34]
push eax
push 1
lea eax, [esp + 0x18]
push eax
call fcn.1001722e
mov ebx, eax
and ebx, ebx
jne 0x100018bc
mov ebx, dword [esp + 0x10]
and ebx, ebx
jle 0x100018bc
mov eax, 1
jmp 0x100018be
xor eax, eax
and eax, eax
je 0x10001e61
push dword [esp + 0x30]
call fcn.10039410
mov dword [esp + 0x30], 0
lea edx, str.assault
lea ecx, [esp + 0x74]
call fcn.10032008
lea edx, str.energy
lea ecx, [esp + 0x78]
call fcn.10032008
push dword [esp + 8]
call fcn.10032630
mov ebx, eax
add ebx, ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x18]
add ebx, 2
push ebx
call fcn.100392a0
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x10001e46
lea edx, str.styles
lea ecx, [esp + 0x7c]
call fcn.10032008
push 0x19
push 0xffffffff
push dword [esp + 0x10]
push dword [esp + 0x20]
call fcn.100392c0
push dword [esp + 0x18]
lea ebp, [esp + 0x50]
pop eax
mov word [ebp], ax
mov ebx, dword [esp + 0x18]
add ebx, 2
push ebx
pop eax
mov word [ebp + 2], ax
push dword [esp + 0x14]
pop eax
mov dword [ebp + 4], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 2
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x24]
call fcn.1000ddc8
mov dword [esp + 0x54], eax
mov word [esp + 0x80], 6
movzx ebx, word [esp + 0x80]
mov eax, 1
cmp ebx, eax
jl 0x100019c0
movzx ebx, word [esp + 0x80]
dec ebx
push ebx
pop eax
mov word [esp + 0x84], ax
jmp 0x100019d3
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, 0xb
cmp ebx, dword [esp]
jne 0x100019fc
mov eax, dword [esp + 0xd8]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10001e93
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10001a1a
movzx eax, word [esp + 0x88]
push eax
pop eax
mov word [esp + 0x84], ax
jmp 0x10001a37
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10001a37
movzx ebx, word [esp + 0x88]
inc ebx
push ebx
pop eax
mov word [esp + 0x84], ax
pop eax
mov ebx, dword [esp + 0x54]
cmp ebx, 0xc0000023
je 0x10001a52
mov ebx, dword [esp + 0x54]
cmp ebx, 0x80000005
je 0x10001a52
jmp 0x10001a59
mov eax, 1
jmp 0x10001a5b
xor eax, eax
and eax, eax
je 0x10001e2b
lea edx, str.designers
lea ecx, [esp + 0x88]
call fcn.10032008
mov ebx, dword [esp + 0x1c]
add ebx, 2
push ebx
call fcn.100392a0
mov dword [esp + 0x58], eax
lea edx, str.roast
lea ecx, [esp + 0x8c]
call fcn.10032008
cmp dword [esp + 0x58], 0
je 0x10001e2b
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x60]
push 2
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x24]
call fcn.1000ddc8
mov ebx, eax
and ebx, ebx
jne 0x10001ad8
mov ebx, dword [esp + 0x5c]
and ebx, ebx
jle 0x10001ad8
mov eax, 1
jmp 0x10001ada
xor eax, eax
and eax, eax
je 0x10001c1e
mov word [esp + 0x90], 6
movzx ebx, word [esp + 0x90]
mov eax, 4
cmp ebx, eax
jl 0x10001b12
movzx ebx, word [esp + 0x90]
dec ebx
push ebx
pop eax
mov word [esp + 0x94], ax
jmp 0x10001b25
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, 0x11
cmp ebx, dword [esp]
jne 0x10001b4e
mov eax, dword [esp + 0xd8]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10001e93
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10001b6c
movzx eax, word [esp + 0x98]
push eax
pop eax
mov word [esp + 0x94], ax
jmp 0x10001b89
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10001b89
movzx ebx, word [esp + 0x98]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
pop eax
mov ebp, dword [esp + 0x58]
mov ebx, dword [ebp + 4]
cmp ebx, 1
jne 0x10001bc3
push dword [0x1003fa08]
push dword [0x1003fa08]
push 0x19
push 0xffffffff
mov ebx, dword [esp + 0x68]
add ebx, 0xc
push ebx
call fcn.10039430
lea eax, [esp + 0x10]
push eax
call fcn.10039880
lea edx, str.similar
lea ecx, [esp + 0x98]
call fcn.10032008
mov ebp, dword [esp + 0x58]
mov ebx, dword [ebp + 4]
cmp ebx, 4
jne 0x10001c0d
push dword [0x1003fa08]
push dword [0x1003fa08]
mov ebx, dword [esp + 0x60]
add ebx, 0xc
push ebx
pop eax
call fcn.10032190
cdq
push edx
push eax
call fcn.10032660
lea eax, [esp + 0x10]
push eax
call fcn.10039880
push dword [esp + 0x58]
call fcn.10039410
mov dword [esp + 0x58], 0
mov word [esp + 0x9c], 0xa
movzx ebx, word [esp + 0x9c]
mov eax, 1
cmp ebx, eax
jl 0x10001c4e
movzx ebx, word [esp + 0x9c]
dec ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
jmp 0x10001c61
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, 0xc
cmp ebx, dword [esp]
jne 0x10001c8a
mov eax, dword [esp + 0xd8]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10001e93
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10001ca8
movzx eax, word [esp + 0xa4]
push eax
pop eax
mov word [esp + 0xa0], ax
jmp 0x10001cc5
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10001cc5
movzx ebx, word [esp + 0xa4]
inc ebx
push ebx
pop eax
mov word [esp + 0xa0], ax
pop eax
mov ebx, dword [esp + 0x58]
and ebx, ebx
jle 0x10001d83
mov word [esp + 0xa4], 7
movzx ebx, word [esp + 0xa4]
mov eax, 1
cmp ebx, eax
jl 0x10001d02
movzx ebx, word [esp + 0xa4]
dec ebx
push ebx
pop eax
mov word [esp + 0xa8], ax
jmp 0x10001d15
movzx ebx, word [esp + 0xa4]
inc ebx
push ebx
pop eax
mov word [esp + 0xa8], ax
movzx ebx, word [esp + 0xa8]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x10001d3e
mov eax, dword [esp + 0xd8]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10001e93
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10001d5c
movzx eax, word [esp + 0xac]
push eax
pop eax
mov word [esp + 0xa8], ax
jmp 0x10001d79
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10001d79
movzx ebx, word [esp + 0xac]
inc ebx
push ebx
pop eax
mov word [esp + 0xa8], ax
pop eax
push dword [esp + 0x58]
call fcn.10039410
mov word [esp + 0xac], 5
movzx ebx, word [esp + 0xac]
mov eax, 3
cmp ebx, eax
jl 0x10001db3
movzx ebx, word [esp + 0xac]
dec ebx
push ebx
pop eax
mov word [esp + 0xb0], ax
jmp 0x10001dc6
movzx ebx, word [esp + 0xac]
inc ebx
push ebx
pop eax
mov word [esp + 0xb0], ax
movzx ebx, word [esp + 0xb0]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10001def
mov eax, dword [esp + 0xd8]
mov dword [0x1003fa08], eax
add esp, 4
jmp 0x10001e93
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10001e0d
movzx eax, word [esp + 0xb4]
push eax
pop eax
mov word [esp + 0xb0], ax
jmp 0x10001e2a
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10001e2a
movzx ebx, word [esp + 0xb4]
inc ebx
push ebx
pop eax
mov word [esp + 0xb0], ax
pop eax
push dword [esp + 0x14]
call fcn.10039410
lea edx, str.wrong
lea ecx, [esp + 0xb4]
call fcn.10032008
lea edx, str.failures
lea ecx, [esp + 0xb8]
call fcn.10032008
push dword [esp + 0x10]
call fcn.10030c10
mov ebx, dword [esp + 0x30]
and ebx, ebx
jle 0x10001e72
push dword [esp + 0x30]
call fcn.10039410
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0xc]
push dword [0x1003fa08]
push edx
call fcn.10039820
pop eax
add eax, dword [0x1003ecfc]
jmp 0x10001ea3
mov eax, dword [0x1003fa08]
add eax, dword [0x1003ecfc]
mov word [eax], 0
push dword [esp + 0x78]
call fcn.100397f0
push dword [esp]
call fcn.100397f0
push dword [esp + 0x7c]
call fcn.100397f0
push dword [esp + 0xb8]
call fcn.100397f0
push dword [esp + 0x68]
call fcn.100397f0
push dword [esp + 0xb4]
call fcn.100397f0
push dword [esp + 0x98]
call fcn.100397f0
push dword [esp + 0x28]
call fcn.100397f0
push dword [esp + 0x74]
call fcn.100397f0
push dword [esp + 4]
call fcn.100397f0
push dword [esp + 0x8c]
call fcn.100397f0
push dword [esp + 0x70]
call fcn.100397f0
push dword [esp + 8]
call fcn.100397f0
push dword [esp + 0x88]
call fcn.100397f0
push dword [esp + 0xc]
call fcn.100397f0
push dword [esp + 0x6c]
call fcn.100397f0
add esp, 0xbc
pop ebx
pop ebp
ret 0xc