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

Disassembly:
push ebp
push ebx
mov edx, 0x1b
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1000213b
mov eax, dword [esp + 0x78]
mov dword [0x10046b70], eax
mov word [esp + 0x2c], 0xa
movzx ebx, word [esp + 0x2c]
mov eax, 3
cmp ebx, eax
jl 0x10002175
movzx ebx, word [esp + 0x2c]
dec ebx
push ebx
pop eax
mov word [esp + 0x30], ax
jmp 0x10002182
movzx ebx, word [esp + 0x2c]
inc ebx
push ebx
pop eax
mov word [esp + 0x30], ax
movzx ebx, word [esp + 0x30]
push ebx
mov ebx, 0xe
cmp ebx, dword [esp]
jne 0x100021a5
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 5
cmp ebx, dword [esp]
jne 0x100021bd
movzx eax, word [esp + 0x34]
push eax
pop eax
mov word [esp + 0x30], ax
jmp 0x100021d4
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100021d4
movzx ebx, word [esp + 0x34]
inc ebx
push ebx
pop eax
mov word [esp + 0x30], ax
pop eax
lea eax, [esp]
push eax
push 8
push 0xffffffff
call fcn.10006a24
mov ebx, eax
and ebx, ebx
jne 0x100021fc
mov ebx, dword [esp]
and ebx, ebx
jle 0x100021fc
mov eax, 1
jmp 0x100021fe
xor eax, eax
and eax, eax
je 0x1000266e
mov word [esp + 0x34], 1
movzx ebx, word [esp + 0x34]
mov eax, 4
cmp ebx, eax
jl 0x1000222a
movzx ebx, word [esp + 0x34]
dec ebx
push ebx
pop eax
mov word [esp + 0x38], ax
jmp 0x10002237
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, 0xb
cmp ebx, dword [esp]
jne 0x1000225a
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10002272
movzx eax, word [esp + 0x3c]
push eax
pop eax
mov word [esp + 0x38], ax
jmp 0x10002289
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10002289
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x38], ax
pop eax
mov dword [esp + 0x20], 0xa28
push dword [esp + 0x20]
call fcn.1003c7a0
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x100025d6
lea eax, [esp + 8]
push eax
push dword [esp + 0x24]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.1000cccd
mov ebx, eax
and ebx, ebx
jne 0x100022da
mov ebx, dword [esp + 8]
and ebx, ebx
jle 0x100022da
mov eax, 1
jmp 0x100022dc
xor eax, eax
and eax, eax
je 0x100025b6
push dword [esp + 4]
call fcn.1003c910
mov dword [esp + 4], 0
mov ebx, dword [esp + 8]
add ebx, 2
push ebx
call fcn.1003c7a0
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x10002532
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc]
push dword [esp + 0x14]
push 1
push dword [esp + 0x10]
call fcn.1000cccd
mov ebx, eax
and ebx, ebx
jne 0x10002341
mov ebx, dword [esp + 0x10]
and ebx, ebx
jle 0x10002341
mov eax, 1
jmp 0x10002343
xor eax, eax
and eax, eax
je 0x1000249d
push dword [esp + 0x20]
call fcn.1003c7a0
mov dword [esp + 0x24], eax
lea edx, [0x100406b6]
lea ecx, [esp + 0x3c]
call fcn.10033008
cmp dword [esp + 0x24], 0
je 0x10002419
push dword [esp + 0x24]
lea ebp, [esp + 0x1c]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x20]
pop eax
mov word [ebp], ax
push dword [esp + 0x20]
pop eax
mov word [ebp + 2], ax
xor eax, eax
push eax
mov ebp, dword [esp + 0x10]
push dword [ebp]
lea eax, [esp + 0x20]
push eax
call fcn.100110d5
mov ebx, eax
and ebx, ebx
jne 0x100023bd
lea ebp, [esp + 0x18]
movsx ebx, word [ebp]
and ebx, ebx
jle 0x100023bd
mov eax, 1
jmp 0x100023bf
xor eax, eax
and eax, eax
je 0x100023ff
lea edx, str.muffin
lea ecx, [esp + 0x40]
call fcn.10033008
push dword [0x10046b70]
push dword [0x10046b70]
push 0x19
lea ebp, [esp + 0x24]
movsx eax, word [ebp]
push eax
push dword [esp + 0x34]
call fcn.1003c930
lea eax, [esp + 0x18]
push eax
call fcn.1003cd80
push dword [esp + 0xc]
call fcn.1003c910
mov dword [esp + 0xc], 0
push dword [esp + 0x24]
call fcn.1003c910
mov word [esp + 0x44], 9
movzx ebx, word [esp + 0x44]
mov eax, 1
cmp ebx, eax
jl 0x1000243d
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x1000244a
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, 0xf
cmp ebx, dword [esp]
jne 0x1000246d
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10002485
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x1000249c
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000249c
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jle 0x100024ae
push dword [esp + 0xc]
call fcn.1003c910
mov word [esp + 0x4c], 1
movzx ebx, word [esp + 0x4c]
mov eax, 5
cmp ebx, eax
jl 0x100024d2
movzx ebx, word [esp + 0x4c]
dec ebx
push ebx
pop eax
mov word [esp + 0x50], ax
jmp 0x100024df
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
movzx ebx, word [esp + 0x50]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x10002502
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000251a
movzx eax, word [esp + 0x54]
push eax
pop eax
mov word [esp + 0x50], ax
jmp 0x10002531
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10002531
movzx ebx, word [esp + 0x54]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
pop eax
mov word [esp + 0x54], 1
movzx ebx, word [esp + 0x54]
mov eax, 2
cmp ebx, eax
jl 0x10002556
movzx ebx, word [esp + 0x54]
dec ebx
push ebx
pop eax
mov word [esp + 0x58], ax
jmp 0x10002563
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, 0x10
cmp ebx, dword [esp]
jne 0x10002586
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1000259e
movzx eax, word [esp + 0x5c]
push eax
pop eax
mov word [esp + 0x58], ax
jmp 0x100025b5
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100025b5
movzx ebx, word [esp + 0x5c]
inc ebx
push ebx
pop eax
mov word [esp + 0x58], ax
pop eax
lea edx, str.divide
lea ecx, [esp + 0x5c]
call fcn.10033008
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x100025d6
push dword [esp + 4]
call fcn.1003c910
mov word [esp + 0x60], 5
movzx ebx, word [esp + 0x60]
mov eax, 4
cmp ebx, eax
jl 0x100025fa
movzx ebx, word [esp + 0x60]
dec ebx
push ebx
pop eax
mov word [esp + 0x64], ax
jmp 0x10002607
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, 0xb
cmp ebx, dword [esp]
jne 0x10002627
mov eax, dword [esp + 0x7c]
mov dword [0x10046b70], eax
add esp, 4
jmp 0x10002687
mov ebx, 7
cmp ebx, dword [esp]
jne 0x1000263f
movzx eax, word [esp + 0x68]
push eax
pop eax
mov word [esp + 0x64], ax
jmp 0x10002656
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10002656
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
pop eax
push dword [esp]
call fcn.10031c7e
lea edx, str.total
lea ecx, [esp + 0x68]
call fcn.10033008
mov edx, dword [esp + 0x14]
push dword [0x10046b70]
push edx
call fcn.1003cd20
pop eax
add eax, dword [0x10041b0c]
jmp 0x10002697
mov eax, dword [0x10046b70]
add eax, dword [0x10041b0c]
mov word [eax], 0
push dword [esp + 0x5c]
call fcn.1003ccf0
push dword [esp + 0x40]
call fcn.1003ccf0
push dword [esp + 0x68]
call fcn.1003ccf0
push dword [esp + 0x3c]
call fcn.1003ccf0
push dword [esp + 0x14]
call fcn.1003ccf0
add esp, 0x6c
pop ebx
pop ebp
ret