Function at 0x100247ce
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100827a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
cmp dword [ebp + 0x10], 0
jbe 0x1002480e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002480e
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002410a
pop ecx
pop ecx
jmp 0x100254da
cmp dword [ebp + 0x10], 0
jne 0x10024f39
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1001998e
mov dword [ebp - 0x60], eax
cmp dword [0x117d05c8], 0
jne 0x10024f0d
mov dword [ebp - 0x148], 0x2c94
lea eax, [ebp - 0x148]
push eax
call fcn.10023d39
pop ecx
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0xa3], 0xf1
mov byte [ebp - 0xa2], 0x21
mov byte [ebp - 0xa1], 0x6d
mov byte [ebp - 0xa0], 0x66
mov byte [ebp - 0x9f], 0x63
mov byte [ebp - 0x9e], 0xae
mov byte [ebp - 0x9d], 0xca
mov byte [ebp - 0x9c], 0xea
mov byte [ebp - 0x9b], 0x25
mov byte [ebp - 0x9a], 2
mov byte [ebp - 0x99], 0xfe
mov byte [ebp - 0x98], 0xed
mov byte [ebp - 0x97], 0xcb
mov byte [ebp - 0x96], 0xd5
mov byte [ebp - 0x95], 0x24
mov byte [ebp - 0x94], 0x38
mov byte [ebp - 0x93], 0xf5
mov byte [ebp - 0x92], 0x2d
mov byte [ebp - 0x91], 0x52
mov byte [ebp - 0x90], 0x58
mov byte [ebp - 0x8f], 0x24
mov byte [ebp - 0x8e], 0xb1
mov byte [ebp - 0x8d], 0x56
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0xc4
mov byte [ebp - 0x8a], 0x5a
mov byte [ebp - 0x89], 0x4a
mov byte [ebp - 0x88], 0x30
mov byte [ebp - 0x87], 0xb4
mov byte [ebp - 0x86], 0x33
mov byte [ebp - 0x85], 0xc3
mov byte [ebp - 0x84], 0x22
mov byte [ebp - 0x83], 0xf
mov byte [ebp - 0x82], 0xd6
mov byte [ebp - 0x81], 0xd
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 0x33
mov byte [ebp - 0x7e], 6
mov byte [ebp - 0x7d], 7
mov byte [ebp - 0x7c], 0xb
mov byte [ebp - 0x7b], 0xb
mov byte [ebp - 0x7a], 0xc
mov byte [ebp - 0x79], 0x2f
mov byte [ebp - 0x78], 0xa
mov byte [ebp - 0x77], 0x12
mov byte [ebp - 0x76], 5
mov byte [ebp - 0x75], 0x37
mov byte [ebp - 0x74], 1
mov byte [ebp - 0x73], 0x17
mov byte [ebp - 0x72], 4
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x70], 8
mov byte [ebp - 0x6f], 0xa
mov byte [ebp - 0x6e], 7
mov byte [ebp - 0x6d], 6
mov byte [ebp - 0x6c], 3
mov byte [ebp - 0x6b], 0x3f
mov byte [ebp - 0x6a], 9
mov byte [ebp - 0x69], 0x38
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa4]
or eax, 0xb6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
and ecx, 0xb6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x11c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x48], 0
jmp 0x100249ff
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3c
jae 0x10024ace
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10024a46
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa4]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100249f7
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa3]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xa6]
movsx ecx, byte [ebp + ecx - 0x11c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x11c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x11c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x11c], al
and dword [ebp - 0x48], 0
jmp 0x100249f7
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.1002586a
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x134]
call fcn.1001998e
mov dword [0x117d05c8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10017a9f
and dword [ebp - 0x64], 0
jmp 0x10024b36
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xe
jae 0x10024b49
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x11c], 0
jmp 0x10024b2f
mov byte [ebp - 0xf4], 8
mov byte [ebp - 0xf3], 0x71
mov byte [ebp - 0xf2], 0xa
mov byte [ebp - 0xf1], 0xa
mov byte [ebp - 0xf0], 4
mov byte [ebp - 0xef], 0x11
mov byte [ebp - 0xee], 6
mov byte [ebp - 0xed], 0x24
mov byte [ebp - 0xec], 1
mov byte [ebp - 0xeb], 0x22
mov byte [ebp - 0xea], 7
mov byte [ebp - 0xe9], 0
mov byte [ebp - 0xe8], 0
mov byte [ebp - 0xe7], 0x31
mov byte [ebp - 0xe6], 0xd
mov byte [ebp - 0xe5], 0x14
mov byte [ebp - 0xe4], 5
mov byte [ebp - 0xe3], 0x32
mov byte [ebp - 0xe2], 0x32
mov byte [ebp - 0xe1], 0x86
mov byte [ebp - 0xe0], 0x11
mov byte [ebp - 0xdf], 0xfb
mov byte [ebp - 0xde], 0x62
mov byte [ebp - 0xdd], 0x2e
mov byte [ebp - 0xdc], 0x33
mov byte [ebp - 0xdb], 0x77
mov byte [ebp - 0xda], 0xc4
mov byte [ebp - 0xd9], 0x12
mov byte [ebp - 0xd8], 0xbc
mov byte [ebp - 0xd7], 0x42
mov byte [ebp - 0xd6], 0x30
mov byte [ebp - 0xd5], 0x6d
mov byte [ebp - 0xd4], 0xc5
mov byte [ebp - 0xd3], 0x62
mov byte [ebp - 0xd2], 0xde
mov byte [ebp - 0xd1], 0xee
mov byte [ebp - 0xd0], 0x77
mov byte [ebp - 0xcf], 0x9c
mov byte [ebp - 0xce], 0x10
mov byte [ebp - 0xcd], 0xe6
mov byte [ebp - 0xcc], pe_nt_image_headers32
mov byte [ebp - 0xcb], 0x7f
mov byte [ebp - 0xca], 1
mov byte [ebp - 0xc9], 0xa7
mov byte [ebp - 0xc8], 0x5c
mov byte [ebp - 0xc7], 0x8e
mov byte [ebp - 0xc6], 0x6f
mov byte [ebp - 0xc5], 0xd6
mov byte [ebp - 0xc4], 0xdf
mov byte [ebp - 0xc3], 0x28
mov byte [ebp - 0xc2], 0x83
mov byte [ebp - 0xc1], 0x80
mov byte [ebp - 0xc0], 0xa4
mov byte [ebp - 0xbf], 0x55
mov byte [ebp - 0xbe], 0xe3
mov byte [ebp - 0xbd], 0x1d
mov byte [ebp - 0xbc], 0x25
mov byte [ebp - 0xbb], 0x99
mov byte [ebp - 0xba], 0x65
mov byte [ebp - 0xb9], 0x60
mov byte [ebp - 0xb8], 0xf6
mov byte [ebp - 0xb7], 0x72
mov byte [ebp - 0xb6], 0x89
mov byte [ebp - 0xb5], 0xa
mov byte [ebp - 0xb4], 0xcd
mov byte [ebp - 0xb3], 0xa3
mov byte [ebp - 0xb2], 0x3a
mov byte [ebp - 0xb1], 0x80
mov byte [ebp - 0xb0], 0xce
mov byte [ebp - 0xaf], 0xb
mov byte [ebp - 0xae], 0x16
mov byte [ebp - 0xad], 2
mov byte [ebp - 0xac], 0x16
mov byte [ebp - 0xab], 9
mov byte [ebp - 0xaa], 6
mov byte [ebp - 0xa9], 0xc
mov byte [ebp - 0xa8], 0x10
mov byte [ebp - 0xa7], 3
mov byte [ebp - 0xa6], 0x12
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf4]
or eax, 0x1e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf4]
and ecx, 0x1e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf4]
mov byte [ebp + ecx - 0x12c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x4c], 0
jmp 0x10024dc0
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4f
jae 0x10024e8f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10024e07
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf4]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10024db8
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0xf6]
movsx ecx, byte [ebp + ecx - 0x12c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0xf6]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0xf6]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf4]
mov byte [ebp + ecx - 0x12c], al
and dword [ebp - 0x4c], 0
jmp 0x10024db8
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.1002586a
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x140]
call fcn.1001998e
mov dword [0x117d0680], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10017a9f
and dword [ebp - 0x68], 0
jmp 0x10024efa
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xf
jae 0x10024f0d
mov eax, dword [ebp - 0x68]
mov byte [ebp + eax - 0x12c], 0
jmp 0x10024ef3
mov eax, dword [0x117d05c8]
cmp eax, dword [ebp - 0x60]
je 0x10024f21
mov eax, dword [0x117d0680]
cmp eax, dword [ebp - 0x60]
jne 0x10024f39
mov ecx, dword [ebp + 0xc]
call fcn.10017afb
push eax
push dword [ebp + 8]
call fcn.1002410a
pop ecx
pop ecx
jmp 0x100254da
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x100254d8
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100254d8
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
jne 0x100254d8
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x74], 0
jbe 0x100254d8
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + eax + 0x78], 0
je 0x100254d8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x40]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10024fda
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10024fd5
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10025170
mov eax, dword [0x117d06c8]
and eax, 1
jne 0x10025011
mov eax, dword [0x117d06c8]
or eax, 1
mov dword [0x117d06c8], eax
mov dword [ebp - 4], 2
mov ecx, 0x117d06cc
call fcn.10017cd7
push 0x100846fb
call fcn.1006aa26
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x117d05c5]
test eax, eax
je 0x10025077
mov ecx, 0x117d06cc
call fcn.100258e8
movzx eax, al
test eax, eax
jne 0x10025077
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x117d06cc
call fcn.10017caf
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x117d06cc
call fcn.10017ca1
push eax
lea ecx, [ebp - 0x104]
call fcn.10017cc4
movzx eax, al
test eax, eax
je 0x10025077
lea ecx, [ebp - 0x104]
call fcn.100258f1
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10025170
mov ecx, 0x117d06cc
call fcn.10008f37
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x117d06cc
call fcn.10025935
and dword [ebp - 0x44], 0
jmp 0x100250a9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax + 0x18]
jae 0x10025170
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x1002516b
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.1002586a
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1b4]
call fcn.1001998e
mov dword [ebp - 0x108], eax
movzx eax, byte [0x117d05c5]
test eax, eax
je 0x10025128
mov ecx, 0x117d06cc
call fcn.100258e8
movzx eax, al
test eax, eax
jne 0x10025145
lea eax, [ebp - 0x108]
push eax
mov ecx, 0x117d06cc
call fcn.100258f7
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov byte [0x117d05c5], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1002515c
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x60]
jne 0x1002515c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.10017a9f
jmp 0x100250a2
cmp dword [ebp + 0x10], 0
jne 0x10025190
cmp dword [ebp - 0x38], 0xffffffff
je 0x10025190
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x100254d8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100254d3
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100254d3
mov eax, dword [0x117d06c8]
and eax, 2
jne 0x1002521a
mov eax, dword [0x117d06c8]
or eax, 2
mov dword [0x117d06c8], eax
mov dword [ebp - 4], 4
push 0x36d8
call fcn.10014624
pop ecx
mov byte [0x117d070c], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x30], 2
mov byte [ebp - 0x2f], 0x47
mov byte [ebp - 0x2e], 1
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 8
mov byte [ebp - 0x2a], 3
mov byte [ebp - 0x29], 0x9d
mov byte [ebp - 0x28], 0x6a
mov byte [ebp - 0x27], 0x53
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x30]
or eax, 0x2b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x30]
and ecx, 0x2b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x30]
mov byte [ebp + ecx - 0x3c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x54], 0
jmp 0x10025284
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xa
jae 0x10025309
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x30]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x100252be
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x30]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x30]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1002527c
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x2f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x32]
movsx ecx, byte [ebp + ecx - 0x3c]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x2f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x32]
movsx edx, byte [ebp + edx - 0x3c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x30]
mov byte [ebp + ecx - 0x3c], al
and dword [ebp - 0x54], 0
jmp 0x1002527c
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x3c], 0
mov eax, dword [0x117d06c8]
and eax, 4
jne 0x1002534f
mov eax, dword [0x117d06c8]
or eax, 4
mov dword [0x117d06c8], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x117d06ac
call fcn.1002586a
push 0x100846ec
call fcn.1006aa26
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x58], 0
jmp 0x1002535c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jae 0x1002536c
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x3c], 0
jmp 0x10025355
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movsx eax, byte [eax]
movsx ecx, byte [0x117d070c]
cmp eax, ecx
je 0x1002538c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x10025372
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x16c]
call fcn.10025cdf
mov dword [ebp - 4], 6
push 0x117d06ac
lea ecx, [ebp - 0x16c]
call fcn.10025899
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10018284
push dword [eax]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10018270
push dword [eax]
lea ecx, [ebp - 0x19c]
call fcn.10025d08
mov byte [ebp - 4], 7
lea eax, [ebp - 0x19c]
push eax
call fcn.1001bb77
pop ecx
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x10025482
push dword [ebp - 0x34]
lea ecx, [ebp - 0x184]
call fcn.1002586a
mov byte [ebp - 4], 8
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x184]
call fcn.1001b288
movzx eax, al
test eax, eax
je 0x10025455
push 0
push dword [ebp - 0x144]
push 0
push dword [ebp - 0xf8]
call fcn.100247ce
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10025471
push 1
push 0
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0xf8]
call fcn.100247ce
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x184]
call fcn.10017a9f
jmp 0x100254b5
cmp dword [ebp + 0x10], 0
jne 0x10025498
mov ecx, dword [ebp + 0xc]
call fcn.10017afb
mov dword [ebp - 0x100], eax
jmp 0x100254a2
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
push dword [ebp + 8]
call fcn.1002410a
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.10017977
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10017a9f
mov eax, dword [ebp - 0x20]
jmp 0x100254da
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret