Function at 0x100138a2
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 0x100138a9
mov edx, dword [esp + 0xcc]
lea ecx, [esp]
call fcn.10033000
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 4]
call fcn.10033000
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 8]
call fcn.10033000
mov edx, dword [esp + 0xd8]
lea ecx, [esp + 0xc]
call fcn.10033000
mov word [esp + 0x5c], 3
movzx ebx, word [esp + 0x5c]
mov eax, 3
cmp ebx, eax
jl 0x10013919
movzx ebx, word [esp + 0x5c]
dec ebx
push ebx
pop eax
mov word [esp + 0x60], ax
jmp 0x10013926
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, 0xc
cmp ebx, dword [esp]
jne 0x10013940
add esp, 4
jmp 0x1001412f
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10013958
movzx eax, word [esp + 0x64]
push eax
pop eax
mov word [esp + 0x60], ax
jmp 0x1001396f
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1001396f
movzx ebx, word [esp + 0x64]
inc ebx
push ebx
pop eax
mov word [esp + 0x60], ax
pop eax
push dword [esp + 4]
lea edx, [0x1003f028]
pop ecx
call fcn.100331d0
jne 0x10013996
push dword [esp + 8]
lea edx, [0x1003f028]
pop ecx
call fcn.100331d0
jne 0x10013996
jmp 0x1001399d
mov eax, 1
jmp 0x1001399f
xor eax, eax
and eax, eax
jne 0x100139b7
push dword [esp + 0xc]
lea edx, [0x1003f028]
pop ecx
call fcn.100331d0
jne 0x100139b7
jmp 0x100139be
mov eax, 1
jmp 0x100139c0
xor eax, eax
and eax, eax
jne 0x100139d7
push dword [esp]
lea edx, [0x1003f028]
pop ecx
call fcn.100331d0
jne 0x100139d7
jmp 0x100139de
mov eax, 1
jmp 0x100139e0
xor eax, eax
and eax, eax
je 0x10013a0c
lea edx, str.sadness
lea ecx, [esp + 0x64]
call fcn.10033008
xor eax, eax
movsx eax, al
jmp 0x1001412f
mov edx, dword [esp]
push dword [0x10046b70]
push edx
call fcn.1003cd20
mov edx, dword [esp + 8]
push edx
call fcn.1003cd20
lea eax, [esp + 0x34]
push eax
call fcn.1003cd80
lea edx, str.menu
lea ecx, [esp + 0x6c]
call fcn.10033008
push 0x19
push dword [esp + 0x34]
call fcn.10033910
mov dword [esp + 0x34], eax
lea edx, str.catalogs
lea ecx, [esp + 0x70]
call fcn.10033008
mov ebx, dword [esp + 0x34]
add ebx, 2
push ebx
call fcn.1003c7a0
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x38]
and ebx, ebx
jne 0x10013b01
mov word [esp + 0x74], 8
movzx ebx, word [esp + 0x74]
mov eax, 5
cmp ebx, eax
jl 0x10013aa0
movzx ebx, word [esp + 0x74]
dec ebx
push ebx
pop eax
mov word [esp + 0x78], ax
jmp 0x10013aad
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 0x10013ac7
add esp, 4
jmp 0x1001412f
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013adf
movzx eax, word [esp + 0x7c]
push eax
pop eax
mov word [esp + 0x78], ax
jmp 0x10013af6
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10013af6
movzx ebx, word [esp + 0x7c]
inc ebx
push ebx
pop eax
mov word [esp + 0x78], ax
pop eax
xor eax, eax
movsx eax, al
jmp 0x1001412f
mov word [esp + 0x7c], 0xa
movzx ebx, word [esp + 0x7c]
mov eax, 4
cmp ebx, eax
jl 0x10013b28
movzx ebx, word [esp + 0x7c]
dec ebx
push ebx
pop eax
mov word [esp + 0x80], ax
jmp 0x10013b38
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, 0xf
cmp ebx, dword [esp]
jne 0x10013b55
add esp, 4
jmp 0x1001412f
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10013b73
movzx eax, word [esp + 0x84]
push eax
pop eax
mov word [esp + 0x80], ax
jmp 0x10013b90
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10013b90
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
pop eax
push 0x19
push 0xffffffff
push dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.1003c7c0
lea edx, [0x1003f028]
lea ecx, [esp + 0x30]
call fcn.10033008
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
push dword [esp + 0x38]
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 0x3c]
mov dword [ebp + 0xc], 0x40
mov dword [ebp], 0x18
lea eax, [esp + 0x28]
push eax
pop eax
mov dword [ebp + 8], eax
lea edx, str.corps
lea ecx, [esp + 0x84]
call fcn.10033008
lea eax, [esp + 0x3c]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
call fcn.1001802b
mov ebx, eax
and ebx, ebx
jne 0x10013c2f
mov ebx, dword [esp + 0x14]
and ebx, ebx
jle 0x10013c2f
mov eax, 1
jmp 0x10013c31
xor eax, eax
and eax, eax
je 0x1001405f
push dword [esp + 0x38]
call fcn.1003c910
mov dword [esp + 0x38], 0
push 0x19
push dword [esp + 0xc]
call fcn.10033910
mov dword [esp + 0x1c], eax
mov word [esp + 0x88], 9
movzx ebx, word [esp + 0x88]
mov eax, 3
cmp ebx, eax
jl 0x10013c8c
movzx ebx, word [esp + 0x88]
dec ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
jmp 0x10013c9f
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, 0xc
cmp ebx, dword [esp]
jne 0x10013cbc
add esp, 4
jmp 0x1001412f
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013cda
movzx eax, word [esp + 0x90]
push eax
pop eax
mov word [esp + 0x8c], ax
jmp 0x10013cf7
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013cf7
movzx ebx, word [esp + 0x90]
inc ebx
push ebx
pop eax
mov word [esp + 0x8c], ax
pop eax
mov ebx, dword [esp + 0x1c]
add ebx, 2
push ebx
call fcn.1003c7a0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x10013fba
push 0x19
push 0xffffffff
push dword [esp + 0x10]
push dword [esp + 0x24]
call fcn.1003c7c0
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.10033910
mov ebx, eax
add ebx, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
add ebx, 2
push ebx
call fcn.1003c7a0
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x10013f03
mov word [esp + 0x90], 3
movzx ebx, word [esp + 0x90]
mov eax, 2
cmp ebx, eax
jl 0x10013db0
movzx ebx, word [esp + 0x90]
dec ebx
push ebx
pop eax
mov word [esp + 0x94], ax
jmp 0x10013dc3
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, 0xb
cmp ebx, dword [esp]
jne 0x10013de0
add esp, 4
jmp 0x1001412f
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10013dfe
movzx eax, word [esp + 0x98]
push eax
pop eax
mov word [esp + 0x94], ax
jmp 0x10013e1b
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013e1b
movzx ebx, word [esp + 0x98]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
pop eax
push 0x19
push 0xffffffff
push dword [esp + 0x14]
push dword [esp + 0x2c]
call fcn.1003c7c0
push dword [esp + 0x24]
push dword [esp + 0x24]
push 1
push 0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
call fcn.1000bcbe
mov ebx, eax
and ebx, ebx
jne 0x10013e5e
mov byte [esp + 0x10], 1
mov word [esp + 0x98], 5
movzx ebx, word [esp + 0x98]
mov eax, 1
cmp ebx, eax
jl 0x10013e8e
movzx ebx, word [esp + 0x98]
dec ebx
push ebx
pop eax
mov word [esp + 0x9c], ax
jmp 0x10013ea1
movzx ebx, word [esp + 0x98]
inc ebx
push ebx
pop eax
mov word [esp + 0x9c], ax
movzx ebx, word [esp + 0x9c]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10013ebe
add esp, 4
jmp 0x1001412f
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10013edc
movzx eax, word [esp + 0xa0]
push eax
pop eax
mov word [esp + 0x9c], ax
jmp 0x10013ef9
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013ef9
movzx ebx, word [esp + 0xa0]
inc ebx
push ebx
pop eax
mov word [esp + 0x9c], ax
pop eax
push dword [esp + 0x20]
call fcn.1003c910
mov word [esp + 0xa0], 2
movzx ebx, word [esp + 0xa0]
mov eax, 3
cmp ebx, eax
jl 0x10013f33
movzx ebx, word [esp + 0xa0]
dec ebx
push ebx
pop eax
mov word [esp + 0xa4], ax
jmp 0x10013f46
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, 0xd
cmp ebx, dword [esp]
jne 0x10013f63
add esp, 4
jmp 0x1001412f
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10013f81
movzx eax, word [esp + 0xa8]
push eax
pop eax
mov word [esp + 0xa4], ax
jmp 0x10013f9e
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10013f9e
movzx ebx, word [esp + 0xa8]
inc ebx
push ebx
pop eax
mov word [esp + 0xa4], ax
pop eax
push dword [esp + 0x18]
call fcn.1003c910
lea edx, str.denial
lea ecx, [esp + 0xa8]
call fcn.10033008
mov word [esp + 0xac], 4
movzx ebx, word [esp + 0xac]
mov eax, 1
cmp ebx, eax
jl 0x10013fea
movzx ebx, word [esp + 0xac]
dec ebx
push ebx
pop eax
mov word [esp + 0xb0], ax
jmp 0x10013ffd
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 0x1001401a
add esp, 4
jmp 0x1001412f
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10014038
movzx eax, word [esp + 0xb4]
push eax
pop eax
mov word [esp + 0xb0], ax
jmp 0x10014055
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10014055
movzx ebx, word [esp + 0xb4]
inc ebx
push ebx
pop eax
mov word [esp + 0xb0], ax
pop eax
push dword [esp + 0x14]
call fcn.10031c7e
mov word [esp + 0xb4], 4
movzx ebx, word [esp + 0xb4]
mov eax, 3
cmp ebx, eax
jl 0x1001408f
movzx ebx, word [esp + 0xb4]
dec ebx
push ebx
pop eax
mov word [esp + 0xb8], ax
jmp 0x100140a2
movzx ebx, word [esp + 0xb4]
inc ebx
push ebx
pop eax
mov word [esp + 0xb8], ax
movzx ebx, word [esp + 0xb8]
push ebx
mov ebx, 0xe
cmp ebx, dword [esp]
jne 0x100140bc
add esp, 4
jmp 0x1001412f
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100140da
movzx eax, word [esp + 0xbc]
push eax
pop eax
mov word [esp + 0xb8], ax
jmp 0x100140f7
mov ebx, 2
cmp ebx, dword [esp]
jne 0x100140f7
movzx ebx, word [esp + 0xbc]
inc ebx
push ebx
pop eax
mov word [esp + 0xb8], ax
pop eax
mov ebx, dword [esp + 0x38]
and ebx, ebx
jle 0x10014109
push dword [esp + 0x38]
call fcn.1003c910
mov dword [esp + 0x14], 0
movsx eax, byte [esp + 0x10]
movsx eax, al
jmp 0x1001412f
push dword [esp + 0xbc]
call fcn.1003ccf0
push dword [esp + 0x70]
call fcn.1003ccf0
push dword [esp]
call fcn.1003ccf0
push dword [esp + 0xa8]
call fcn.1003ccf0
push dword [esp + 0x30]
call fcn.1003ccf0
push dword [esp + 4]
call fcn.1003ccf0
push dword [esp + 0x6c]
call fcn.1003ccf0
push dword [esp + 0x64]
call fcn.1003ccf0
push dword [esp + 0xc]
call fcn.1003ccf0
push dword [esp + 0x84]
call fcn.1003ccf0
push dword [esp + 8]
call fcn.1003ccf0
push dword [esp + 0x68]
call fcn.1003ccf0
add esp, 0xc0
pop ebx
pop ebp
ret 0x10