Function at 0x10008116
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
mov edx, 0x23
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1000811d
movsx ebx, byte [0x10041fd2]
and ebx, ebx
jne 0x10009062
mov dword [esp + 8], 9
mov dword [0x10041eec], 0
lea edx, str.edit
lea ecx, [esp + 0xc]
call fcn.10031008
push dword [esp + 8]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x10008192
mov dword [0x10041eec], 0
mov dword [0x10041fc0], 0
mov dword [0x10041fa4], 0
mov dword [0x10041fa0], 0
jmp 0x10008575
mov ebx, 1
cmp ebx, dword [esp]
jne 0x100081c9
mov dword [0x10041eec], 4
mov dword [0x10041fc0], 4
mov dword [0x10041fa4], 0
mov dword [0x10041fa0], 4
jmp 0x10008575
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008200
mov dword [0x10041eec], 4
mov dword [0x10041fc0], 5
mov dword [0x10041fa4], 0
mov dword [0x10041fa0], 8
jmp 0x10008575
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10008237
mov dword [0x10041eec], 4
mov dword [0x10041fc0], 6
mov dword [0x10041fa4], 0
mov dword [0x10041fa0], 0x20
jmp 0x10008575
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1000827d
mov dword [0x10041eec], 4
mov dword [0x10041fc0], 4
mov dword [0x10041fa4], 0x10
mov dword [0x10041fa0], 0x10
lea edx, str.figure
lea ecx, [esp + 0x14]
call fcn.10031008
jmp 0x10008575
mov ebx, 5
cmp ebx, dword [esp]
jne 0x100083ae
mov word [esp + 0x18], 8
movzx ebx, word [esp + 0x18]
mov eax, 3
cmp ebx, eax
jl 0x100082af
movzx ebx, word [esp + 0x18]
dec ebx
push ebx
pop eax
mov word [esp + 0x1c], ax
jmp 0x100082bc
movzx ebx, word [esp + 0x18]
inc ebx
push ebx
pop eax
mov word [esp + 0x1c], ax
movzx ebx, word [esp + 0x1c]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x100082d6
add esp, 8
jmp 0x1000910a
mov ebx, 7
cmp ebx, dword [esp]
jne 0x100082ee
movzx eax, word [esp + 0x20]
push eax
pop eax
mov word [esp + 0x1c], ax
jmp 0x10008305
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008305
movzx ebx, word [esp + 0x20]
inc ebx
push ebx
pop eax
mov word [esp + 0x1c], ax
pop eax
mov dword [0x10041eec], 8
mov dword [0x10041fc0], 0x10
mov dword [0x10041fa4], 0x20
mov dword [0x10041fa0], 0x20
mov word [esp + 0x20], 4
movzx ebx, word [esp + 0x20]
mov eax, 2
cmp ebx, eax
jl 0x10008352
movzx ebx, word [esp + 0x20]
dec ebx
push ebx
pop eax
mov word [esp + 0x24], ax
jmp 0x1000835f
movzx ebx, word [esp + 0x20]
inc ebx
push ebx
pop eax
mov word [esp + 0x24], ax
movzx ebx, word [esp + 0x24]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x10008379
add esp, 8
jmp 0x1000910a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10008391
movzx eax, word [esp + 0x28]
push eax
pop eax
mov word [esp + 0x24], ax
jmp 0x100083a8
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100083a8
movzx ebx, word [esp + 0x28]
inc ebx
push ebx
pop eax
mov word [esp + 0x24], ax
pop eax
jmp 0x10008575
mov ebx, 6
cmp ebx, dword [esp]
jne 0x100083e5
mov dword [0x10041eec], 8
mov dword [0x10041fc0], 0x10
mov dword [0x10041fa4], 0x80
mov dword [0x10041fa0], 0x80
jmp 0x10008575
mov ebx, 7
cmp ebx, dword [esp]
jne 0x1000849b
mov word [esp + 0x28], 7
movzx ebx, word [esp + 0x28]
mov eax, 5
cmp ebx, eax
jl 0x10008417
movzx ebx, word [esp + 0x28]
dec ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
jmp 0x10008424
movzx ebx, word [esp + 0x28]
inc ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
movzx ebx, word [esp + 0x2c]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x1000843e
add esp, 8
jmp 0x1000910a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008456
movzx eax, word [esp + 0x30]
push eax
pop eax
mov word [esp + 0x2c], ax
jmp 0x1000846d
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000846d
movzx ebx, word [esp + 0x30]
inc ebx
push ebx
pop eax
mov word [esp + 0x2c], ax
pop eax
mov dword [0x10041eec], 8
mov dword [0x10041fc0], 0x20
mov dword [0x10041fa4], 0x80
mov dword [0x10041fa0], 0x100
jmp 0x10008575
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100084d2
mov dword [0x10041eec], 0x20
mov dword [0x10041fc0], 0x80
mov dword [0x10041fa4], 0x102
mov dword [0x10041fa0], 0x400
jmp 0x10008575
mov word [esp + 0x30], 9
movzx ebx, word [esp + 0x30]
mov eax, 1
cmp ebx, eax
jl 0x100084f6
movzx ebx, word [esp + 0x30]
dec ebx
push ebx
pop eax
mov word [esp + 0x34], ax
jmp 0x10008503
movzx ebx, word [esp + 0x30]
inc ebx
push ebx
pop eax
mov word [esp + 0x34], ax
movzx ebx, word [esp + 0x34]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x1000851d
add esp, 8
jmp 0x1000910a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008535
movzx eax, word [esp + 0x38]
push eax
pop eax
mov word [esp + 0x34], ax
jmp 0x1000854c
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000854c
movzx ebx, word [esp + 0x38]
inc ebx
push ebx
pop eax
mov word [esp + 0x34], ax
pop eax
mov dword [0x10041eec], 0x20
mov dword [0x10041fc0], 0x102
mov dword [0x10041fa4], 0x102
mov dword [0x10041fa0], 0x1000
pop eax
push 0x10041fd8
push 0
push 0x18
push 0x13
push 1
call fcn.100373ce
push 0x10041fe0
push 0
push 3
push 0x1d
push 2
call fcn.100373ce
push 0x10041fe8
push 0
push 0x19
push 0x20
push 2
call fcn.100373ce
push 0x10041ff0
push 0
push 1
push 0x1d
push 1
call fcn.100373ce
push 0x10041ff8
push 0
push 1
push 0x20
push 1
call fcn.100373ce
push 0x10042000
push 0
push 5
push 0x120
push 4
call fcn.100373ce
push 0x10042008
push 0
push 5
push 0x20
push 4
call fcn.100373ce
push 0x10042010
push 0
push 5
push 0x11
push 4
call fcn.100373ce
mov word [esp + 0x34], 4
movzx ebx, word [esp + 0x34]
mov eax, 5
cmp ebx, eax
jl 0x1000868a
movzx ebx, word [esp + 0x34]
dec ebx
push ebx
pop eax
mov word [esp + 0x38], ax
jmp 0x10008697
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, 0xd
cmp ebx, dword [esp]
jne 0x100086b1
add esp, 4
jmp 0x1000910a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100086c9
movzx eax, word [esp + 0x3c]
push eax
pop eax
mov word [esp + 0x38], ax
jmp 0x100086e0
mov ebx, 4
cmp ebx, dword [esp]
jne 0x100086e0
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x38], ax
pop eax
push 0x10042018
push 0
push 0x19
push 0x11
push 2
call fcn.100373ce
push 0x10042020
push 0
push 0x18
push 1
push 1
call fcn.100373ce
lea edx, str.color
lea ecx, [esp + 0x3c]
call fcn.10031008
push 0x10042028
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042030
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042038
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042040
push 0
push 5
push 1
push 4
call fcn.100373ce
mov word [esp + 0x40], 1
movzx ebx, word [esp + 0x40]
mov eax, 1
cmp ebx, eax
jl 0x100087c8
movzx ebx, word [esp + 0x40]
dec ebx
push ebx
pop eax
mov word [esp + 0x44], ax
jmp 0x100087d5
movzx ebx, word [esp + 0x40]
inc ebx
push ebx
pop eax
mov word [esp + 0x44], ax
movzx ebx, word [esp + 0x44]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x100087ef
add esp, 4
jmp 0x1000910a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10008807
movzx eax, word [esp + 0x48]
push eax
pop eax
mov word [esp + 0x44], ax
jmp 0x1000881e
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1000881e
movzx ebx, word [esp + 0x48]
inc ebx
push ebx
pop eax
mov word [esp + 0x44], ax
pop eax
push 0x10042048
push 0
push 0x18
push 1
push 1
call fcn.100373ce
push 0x10042050
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042058
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042060
push 0
push 5
push 1
push 4
call fcn.100373ce
mov word [esp + 0x48], 2
movzx ebx, word [esp + 0x48]
mov eax, 5
cmp ebx, eax
jl 0x100088bb
movzx ebx, word [esp + 0x48]
dec ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
jmp 0x100088c8
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, 0xe
cmp ebx, dword [esp]
jne 0x100088e2
add esp, 4
jmp 0x1000910a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x100088fa
movzx eax, word [esp + 0x50]
push eax
pop eax
mov word [esp + 0x4c], ax
jmp 0x10008911
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10008911
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
pop eax
push 0x10042068
push 0
push 5
push 1
push 4
call fcn.100373ce
mov word [esp + 0x50], 2
movzx ebx, word [esp + 0x50]
mov eax, 3
cmp ebx, eax
jl 0x10008954
movzx ebx, word [esp + 0x50]
dec ebx
push ebx
pop eax
mov word [esp + 0x54], ax
jmp 0x10008961
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
movzx ebx, word [esp + 0x54]
push ebx
mov ebx, 0xd
cmp ebx, dword [esp]
jne 0x1000897b
add esp, 4
jmp 0x1000910a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10008993
movzx eax, word [esp + 0x58]
push eax
pop eax
mov word [esp + 0x54], ax
jmp 0x100089aa
mov ebx, 3
cmp ebx, dword [esp]
jne 0x100089aa
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
pop eax
push 0x10042070
push 0
push 0x18
push 1
push 1
call fcn.100373ce
mov word [esp + 0x58], 9
movzx ebx, word [esp + 0x58]
mov eax, 4
cmp ebx, eax
jl 0x100089ed
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x100089fa
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, 0xc
cmp ebx, dword [esp]
jne 0x10008a14
add esp, 4
jmp 0x1000910a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10008a2c
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x10008a43
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10008a43
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
mov ebp, dword [0x10041fd8]
mov byte [ebp], 0x10
mov byte [ebp + 1], 0x11
mov byte [ebp + 2], 0x12
mov byte [ebp + 3], 0
mov byte [ebp + 4], 8
mov byte [ebp + 5], 7
mov byte [ebp + 6], 9
mov byte [ebp + 7], 6
mov byte [ebp + 8], 0xa
mov byte [ebp + 9], 5
mov byte [ebp + 0xa], 0xb
mov byte [ebp + 0xb], 4
mov byte [ebp + 0xc], 0xc
mov byte [ebp + 0xd], 3
mov byte [ebp + 0xe], 0xd
mov byte [ebp + 0xf], 2
mov byte [ebp + 0x10], 0xe
mov byte [ebp + 0x11], 1
mov byte [ebp + 0x12], 0xf
mov word [esp + 0x60], 1
movzx ebx, word [esp + 0x60]
mov eax, 3
cmp ebx, eax
jl 0x10008aba
movzx ebx, word [esp + 0x60]
dec ebx
push ebx
pop eax
mov word [esp + 0x64], ax
jmp 0x10008ac7
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, 0x11
cmp ebx, dword [esp]
jne 0x10008ae1
add esp, 4
jmp 0x1000910a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008af9
movzx eax, word [esp + 0x68]
push eax
pop eax
mov word [esp + 0x64], ax
jmp 0x10008b10
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008b10
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
pop eax
mov ebp, dword [0x10041fe0]
mov word [ebp], 3
mov word [ebp + 2], 4
mov word [ebp + 4], 5
mov word [ebp + 6], 6
mov word [ebp + 8], 7
mov word [ebp + 0xa], 8
mov word [ebp + 0xc], 9
mov word [ebp + 0xe], 0xa
mov word [ebp + 0x10], 0xb
mov word [ebp + 0x12], 0xd
mov word [ebp + 0x14], 0xf
mov word [ebp + 0x16], 0x11
mov word [ebp + 0x18], 0x13
mov word [ebp + 0x1a], 0x17
mov word [ebp + 0x1c], 0x1b
mov word [ebp + 0x1e], 0x1f
mov word [ebp + 0x20], 0x23
mov word [ebp + 0x22], 0x2b
mov word [ebp + 0x24], 0x33
mov word [ebp + 0x26], 0x3b
mov word [ebp + 0x28], 0x43
mov word [ebp + 0x2a], 0x53
mov word [ebp + 0x2c], 0x63
mov word [ebp + 0x2e], 0x73
mov word [ebp + 0x30], 0x83
mov word [ebp + 0x32], 0xa3
mov word [ebp + 0x34], 0xc3
mov word [ebp + 0x36], 0xe3
mov word [ebp + 0x38], 0x102
mov ebp, dword [0x10041fe8]
mov word [ebp], 1
mov word [ebp + 2], 2
mov word [ebp + 4], 3
mov word [ebp + 6], 4
mov word [ebp + 8], 5
mov word [ebp + 0xa], 7
mov word [ebp + 0xc], 9
mov word [ebp + 0xe], 0xd
mov word [ebp + 0x10], 0x11
mov word [ebp + 0x12], 0x19
mov word [ebp + 0x14], 0x21
mov word [ebp + 0x16], 0x31
mov word [ebp + 0x18], 0x41
mov word [ebp + 0x1a], 0x61
mov word [ebp + 0x1c], 0x81
mov word [ebp + 0x1e], 0xc1
mov word [ebp + 0x20], 0x101
mov word [ebp + 0x22], 0x181
mov word [ebp + 0x24], 0x201
mov word [ebp + 0x26], 0x301
mov word [ebp + 0x28], 0x401
mov word [ebp + 0x2a], 0x601
mov word [ebp + 0x2c], 0x801
mov word [ebp + 0x2e], 0xc01
mov word [ebp + 0x30], 0x1001
mov word [ebp + 0x32], 0x1801
mov word [ebp + 0x34], 0x2001
mov word [ebp + 0x36], 0x3001
mov word [ebp + 0x38], 0x4001
mov word [ebp + 0x3a], 0x6001
mov word [ebp + 0x3c], 0x8001
mov word [ebp + 0x3e], 0xc001
mov word [esp + 0x68], 8
movzx ebx, word [esp + 0x68]
mov eax, 5
cmp ebx, eax
jl 0x10008caf
movzx ebx, word [esp + 0x68]
dec ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
jmp 0x10008cbc
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
movzx ebx, word [esp + 0x6c]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x10008cd6
add esp, 4
jmp 0x1000910a
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10008cee
movzx eax, word [esp + 0x70]
push eax
pop eax
mov word [esp + 0x6c], ax
jmp 0x10008d05
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10008d05
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
pop eax
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x10008d17
mov eax, 0x1c
cmp eax, dword [esp + 4]
jl 0x10008d8e
push dword [esp + 4]
mov ebx, 8
cmp ebx, dword [esp]
je 0x10008d58
mov ebx, 0xc
cmp ebx, dword [esp]
je 0x10008d58
mov ebx, 0x10
cmp ebx, dword [esp]
je 0x10008d58
mov ebx, 0x14
cmp ebx, dword [esp]
je 0x10008d58
mov ebx, 0x18
cmp ebx, dword [esp]
jne 0x10008d63
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
jmp 0x10008d75
mov ebx, 0x1c
cmp ebx, dword [esp]
jne 0x10008d75
mov dword [esp + 4], 0
pop eax
push dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [0x10041ff0]
pop eax
mov byte [ebp + ebx], al
inc dword [esp + 4]
jno 0x10008d17
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x10008d9f
mov eax, 0x1f
cmp eax, dword [esp + 4]
jl 0x10008e68
push dword [esp + 4]
mov ebx, 4
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 6
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 8
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0xa
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0xc
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0xe
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x10
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x12
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x14
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x16
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x18
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x1a
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x1c
cmp ebx, dword [esp]
je 0x10008e42
mov ebx, 0x1e
cmp ebx, dword [esp]
jne 0x10008e4b
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
pop eax
push dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [0x10041ff8]
pop eax
mov byte [ebp + ebx], al
inc dword [esp + 4]
jno 0x10008d9f
lea edx, str.consciousness
lea ecx, [esp + 0x70]
call fcn.10031008
mov dword [esp + 4], 0
jmp 0x10008e81
mov eax, 0x11f
cmp eax, dword [esp + 4]
jl 0x10008ef7
push dword [esp + 4]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x10008ea1
mov dword [esp + 4], 8
jmp 0x10008edb
mov ebx, 0x90
cmp ebx, dword [esp]
jne 0x10008eb5
mov dword [esp + 4], 9
jmp 0x10008edb
mov ebx, 0x100
cmp ebx, dword [esp]
jne 0x10008ec9
mov dword [esp + 4], 7
jmp 0x10008edb
mov ebx, 0x118
cmp ebx, dword [esp]
jne 0x10008edb
mov dword [esp + 4], 8
pop eax
push dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [0x10042000]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 4]
jno 0x10008e81
lea edx, str.actor
lea ecx, [esp + 0x74]
call fcn.10031008
mov dword [esp + 4], 0
jmp 0x10008f10
mov eax, 0x1f
cmp eax, dword [esp + 4]
jl 0x10008f36
mov ebx, dword [esp + 4]
mov ebp, dword [0x10042008]
shl ebx, 2
mov dword [ebp + ebx], 5
inc dword [esp + 4]
jno 0x10008f10
lea edx, str.joke
lea ecx, [esp + 0x78]
call fcn.10031008
mov word [esp + 0x7c], 4
movzx ebx, word [esp + 0x7c]
mov eax, 2
cmp ebx, eax
jl 0x10008f6c
movzx ebx, word [esp + 0x7c]
dec ebx
push ebx
pop eax
mov word [esp + 0x80], ax
jmp 0x10008f7c
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 0x10008f99
add esp, 4
jmp 0x1000910a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008fb7
movzx eax, word [esp + 0x84]
push eax
pop eax
mov word [esp + 0x80], ax
jmp 0x10008fd4
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10008fd4
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
pop eax
mov dword [esp + 4], 0
jmp 0x10008fdf
mov eax, 0x10
cmp eax, dword [esp + 4]
jl 0x1000905b
fild dword [esp + 4]
sub esp, 8
fstp qword [esp]
fld qword [0x10040020]
sub esp, 8
fstp qword [esp]
call fcn.10035ec0
fadd qword [0x10040028]
mov ebx, dword [esp + 4]
mov ebp, dword [0x10042010]
shl ebx, 2
fistp dword [esp - 4]
mov eax, dword [esp - 4]
mov dword [ebp + ebx], eax
fild dword [esp + 4]
sub esp, 8
fstp qword [esp]
fld qword [0x10040020]
sub esp, 8
fstp qword [esp]
call fcn.10035ec0
push eax
fistp dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [0x10042018]
add ebx, ebx
pop eax
mov word [ebp + ebx], ax
inc dword [esp + 4]
jno 0x10008fdf
mov byte [0x10041fd2], 1
mov eax, 1
movsx eax, al
jmp 0x1000910a
push dword [esp + 0x3c]
call fcn.10037d30
push dword [esp + 0xc]
call fcn.10037d30
push dword [esp + 0x10]
call fcn.10037d30
push dword [esp + 0x74]
call fcn.10037d30
push dword [esp + 0x70]
call fcn.10037d30
push dword [esp + 0x78]
call fcn.10037d30
add esp, 0x8c
pop ebx
pop ebp
ret