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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082b94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
cmp dword [ebp + 0x10], 0
jbe 0x1004e5bf
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004e5bf
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1004dd79
pop ecx
pop ecx
jmp 0x1004f289
cmp dword [ebp + 0x10], 0
jne 0x1004ecab
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1004270b
mov dword [ebp - 0x60], eax
cmp dword [0x10674b30], 0
jne 0x1004ec7f
mov dword [ebp - 0x148], 0x47ee
lea eax, [ebp - 0x148]
push eax
call fcn.1004d46e
pop ecx
mov dword [ebp - 0x104], eax
mov byte [ebp - 0xac], 3
mov byte [ebp - 0xab], 0x83
mov byte [ebp - 0xaa], 7
mov byte [ebp - 0xa9], 0x3f
mov byte [ebp - 0xa8], 9
mov byte [ebp - 0xa7], 7
mov byte [ebp - 0xa6], 4
mov byte [ebp - 0xa5], 0xb
mov byte [ebp - 0xa4], 0x1b
mov byte [ebp - 0xa3], 0xf5
mov byte [ebp - 0xa2], 0x2e
mov byte [ebp - 0xa1], 0x19
mov byte [ebp - 0xa0], 0xd9
mov byte [ebp - 0x9f], 0x34
mov byte [ebp - 0x9e], 0x26
mov byte [ebp - 0x9d], 0xfe
mov byte [ebp - 0x9c], 0
mov byte [ebp - 0x9b], 0x51
mov byte [ebp - 0x9a], 0x37
mov byte [ebp - 0x99], 0xc3
mov byte [ebp - 0x98], 0x4c
mov byte [ebp - 0x97], 0xa7
mov byte [ebp - 0x96], 0xf1
mov byte [ebp - 0x95], 3
mov byte [ebp - 0x94], 0xab
mov byte [ebp - 0x93], 0xd8
mov byte [ebp - 0x92], 0x73
mov byte [ebp - 0x91], 0x35
mov byte [ebp - 0x90], 0xa1
mov byte [ebp - 0x8f], 0x63
mov byte [ebp - 0x8e], 0x63
mov byte [ebp - 0x8d], 0x27
mov byte [ebp - 0x8c], 0x9b
mov byte [ebp - 0x8b], 0xb5
mov byte [ebp - 0x8a], 0x1a
mov byte [ebp - 0x89], 0x38
mov byte [ebp - 0x88], 5
mov byte [ebp - 0x87], 0x17
mov byte [ebp - 0x86], 0xb
mov byte [ebp - 0x85], 0xa
mov byte [ebp - 0x84], 2
mov byte [ebp - 0x83], 0xc
mov byte [ebp - 0x82], 1
mov byte [ebp - 0x81], 0x11
mov byte [ebp - 0x80], 0xc
mov byte [ebp - 0x7f], 0x32
mov byte [ebp - 0x7e], 8
mov byte [ebp - 0x7d], 0x38
mov byte [ebp - 0x7c], 0
mov byte [ebp - 0x7b], 0x28
mov byte [ebp - 0x7a], 6
mov byte [ebp - 0x79], 0x34
mov byte [ebp - 0x78], 0xa
mov byte [ebp - 0x77], 0x36
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xac]
or eax, 0xd5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
and ecx, 0xd5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x11c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1004e7b0
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x36
jae 0x1004e87f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xac]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1004e7f7
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xac]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xac]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1004e7a8
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xab]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0xae]
movsx ecx, byte [ebp + ecx - 0x11c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xab]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xae]
movsx edx, byte [ebp + edx - 0x11c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xab]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xae]
movsx edx, byte [ebp + edx - 0x11c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x11c], al
and dword [ebp - 0x3c], 0
jmp 0x1004e7a8
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.10026b98
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x134]
call fcn.1004270b
mov dword [0x10674b30], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10026c20
and dword [ebp - 0x6c], 0
jmp 0x1004e8e7
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xe
jae 0x1004e8fa
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x11c], 0
jmp 0x1004e8e0
mov byte [ebp - 0xf4], 0
mov byte [ebp - 0xf3], 0x33
mov byte [ebp - 0xf2], 0x29
mov byte [ebp - 0xf1], 0xae
mov byte [ebp - 0xf0], 0x10
mov byte [ebp - 0xef], 0x1c
mov byte [ebp - 0xee], 0x12
mov byte [ebp - 0xed], 0x2a
mov byte [ebp - 0xec], 0x5c
mov byte [ebp - 0xeb], 0xd3
mov byte [ebp - 0xea], 0x80
mov byte [ebp - 0xe9], 0xe4
mov byte [ebp - 0xe8], 0x67
mov byte [ebp - 0xe7], 0x36
mov byte [ebp - 0xe6], 0x40
mov byte [ebp - 0xe5], 0x22
mov byte [ebp - 0xe4], 0x1f
mov byte [ebp - 0xe3], 0x84
mov byte [ebp - 0xe2], 0x25
mov byte [ebp - 0xe1], 0xe1
mov byte [ebp - 0xe0], 0xdd
mov byte [ebp - 0xdf], 0x69
mov byte [ebp - 0xde], 0xd1
mov byte [ebp - 0xdd], 0xa8
mov byte [ebp - 0xdc], 0x9b
mov byte [ebp - 0xdb], 0x26
mov byte [ebp - 0xda], 0xb0
mov byte [ebp - 0xd9], 0xd7
mov byte [ebp - 0xd8], 0x75
mov byte [ebp - 0xd7], 0xe0
mov byte [ebp - 0xd6], 0xa8
mov byte [ebp - 0xd5], 1
mov byte [ebp - 0xd4], 0x49
mov byte [ebp - 0xd3], 0x90
mov byte [ebp - 0xd2], 0xdd
mov byte [ebp - 0xd1], 0x4a
mov byte [ebp - 0xd0], 0xd
mov byte [ebp - 0xcf], 0xca
mov byte [ebp - 0xce], 0x5e
mov byte [ebp - 0xcd], 0x59
mov byte [ebp - 0xcc], 0xae
mov byte [ebp - 0xcb], 0x7e
mov byte [ebp - 0xca], 0xd
mov byte [ebp - 0xc9], 0xd4
mov byte [ebp - 0xc8], 0xd
mov byte [ebp - 0xc7], 0x14
mov byte [ebp - 0xc6], 2
mov byte [ebp - 0xc5], 0x32
mov byte [ebp - 0xc4], 9
mov byte [ebp - 0xc3], 6
mov byte [ebp - 0xc2], 3
mov byte [ebp - 0xc1], 2
mov byte [ebp - 0xc0], 7
mov byte [ebp - 0xbf], 0x13
mov byte [ebp - 0xbe], 0xa
mov byte [ebp - 0xbd], 0x17
mov byte [ebp - 0xbc], 5
mov byte [ebp - 0xbb], 0
mov byte [ebp - 0xba], 6
mov byte [ebp - 0xb9], 0x35
mov byte [ebp - 0xb8], 0xc
mov byte [ebp - 0xb7], 0x23
mov byte [ebp - 0xb6], 1
mov byte [ebp - 0xb5], 1
mov byte [ebp - 0xb4], 4
mov byte [ebp - 0xb3], 6
mov byte [ebp - 0xb2], 8
mov byte [ebp - 0xb1], 0x1b
mov byte [ebp - 0xb0], 0xb
mov byte [ebp - 0xaf], 0x1c
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf4]
or eax, 0x70
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf4]
and ecx, 0x70
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 - 0x44], 0
jmp 0x1004eb32
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x46
jae 0x1004ec01
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 0x1004eb79
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf4]
inc eax
mov dword [ebp - 0x44], 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 0x1004eb2a
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
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 - 0x44]
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 - 0x44]
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 - 0x44], 0
jmp 0x1004eb2a
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.10026b98
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x140]
call fcn.1004270b
mov dword [0x10674c44], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10026c20
and dword [ebp - 0x74], 0
jmp 0x1004ec6c
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xf
jae 0x1004ec7f
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x12c], 0
jmp 0x1004ec65
mov eax, dword [0x10674b30]
cmp eax, dword [ebp - 0x60]
je 0x1004ec93
mov eax, dword [0x10674c44]
cmp eax, dword [ebp - 0x60]
jne 0x1004ecab
mov ecx, dword [ebp + 0xc]
call fcn.10026c3b
push eax
push dword [ebp + 8]
call fcn.1004dd79
pop ecx
pop ecx
jmp 0x1004f289
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x1004f287
mov eax, dword [ebp - 0x68]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004f287
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
jne 0x1004f287
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jbe 0x1004f287
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax + 0x78], 0
je 0x1004f287
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1004ed4c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004ed47
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1004eee2
mov eax, dword [0x10674ca4]
and eax, 1
jne 0x1004ed83
mov eax, dword [0x10674ca4]
or eax, 1
mov dword [0x10674ca4], eax
mov dword [ebp - 4], 2
mov ecx, 0x10674ca8
call fcn.1004189c
push 0x10083a05
call fcn.1006a386
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10674b2d]
test eax, eax
je 0x1004ede9
mov ecx, 0x10674ca8
call fcn.1004f5ed
movzx eax, al
test eax, eax
jne 0x1004ede9
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, 0x10674ca8
call fcn.10041874
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x10674ca8
call fcn.1002719c
push eax
lea ecx, [ebp - 0x108]
call fcn.10041889
movzx eax, al
test eax, eax
je 0x1004ede9
lea ecx, [ebp - 0x108]
call fcn.1004f5f6
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1004eee2
mov ecx, 0x10674ca8
call fcn.100089f6
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10674ca8
call fcn.1004f63a
and dword [ebp - 0x2c], 0
jmp 0x1004ee1b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x1004eee2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x2c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x1004eedd
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.10026b98
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1b4]
call fcn.1004270b
mov dword [ebp - 0x10c], eax
movzx eax, byte [0x10674b2d]
test eax, eax
je 0x1004ee9a
mov ecx, 0x10674ca8
call fcn.1004f5ed
movzx eax, al
test eax, eax
jne 0x1004eeb7
lea eax, [ebp - 0x10c]
push eax
mov ecx, 0x10674ca8
call fcn.1004f5fc
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x10674b2d], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1004eece
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x60]
jne 0x1004eece
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.10026c20
jmp 0x1004ee14
cmp dword [ebp + 0x10], 0
jne 0x1004ef02
cmp dword [ebp - 0x34], 0xffffffff
je 0x1004ef02
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x1004f287
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
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 - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1004f282
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1004f282
mov eax, dword [0x10674ca4]
and eax, 2
jne 0x1004ef8c
mov eax, dword [0x10674ca4]
or eax, 2
mov dword [0x10674ca4], eax
mov dword [ebp - 4], 4
push 0x2eee
call fcn.1003ebe6
pop ecx
mov byte [0x10674cc8], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 0xe6
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x58], 0x11
mov byte [ebp - 0x57], 0x5b
mov byte [ebp - 0x56], 0x88
mov byte [ebp - 0x55], 0x72
mov byte [ebp - 0x54], 0x3e
mov byte [ebp - 0x53], 0x58
mov byte [ebp - 0x52], 0xfd
mov byte [ebp - 0x51], 0x40
mov byte [ebp - 0x50], 0x76
mov byte [ebp - 0x4f], 0x56
mov byte [ebp - 0x4e], 4
mov byte [ebp - 0x4d], 0x53
mov byte [ebp - 0x4c], 0x5b
mov byte [ebp - 0x4b], 0xa1
mov byte [ebp - 0x4a], 0x23
mov byte [ebp - 0x49], 0x8a
mov byte [ebp - 0x48], 0x29
mov byte [ebp - 0x47], 0xcb
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x5c]
or eax, 0x8a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x5c]
and ecx, 0x8a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x5c]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x70], 0
jmp 0x1004f033
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x18
jae 0x1004f0b8
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x5c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1004f06d
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x5c]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x5c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004f02b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x5b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x70]
movzx ecx, byte [ebp + ecx - 0x5e]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x5b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0x5e]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x5c]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x70], 0
jmp 0x1004f02b
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x10674ca4]
and eax, 4
jne 0x1004f0fe
mov eax, dword [0x10674ca4]
or eax, 4
mov dword [0x10674ca4], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10674c48
call fcn.10026b98
push 0x100839f6
call fcn.1006a386
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x64], 0
jmp 0x1004f10b
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 4
jae 0x1004f11b
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x38], 0
jmp 0x1004f104
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10674cc8]
cmp eax, ecx
je 0x1004f13b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1004f121
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x16c]
call fcn.1004f8b1
mov dword [ebp - 4], 6
push 0x10674c48
lea ecx, [ebp - 0x16c]
call fcn.10026c2a
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10041c36
push dword [eax]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10041c22
push dword [eax]
lea ecx, [ebp - 0x19c]
call fcn.1004f8da
mov byte [ebp - 4], 7
lea eax, [ebp - 0x19c]
push eax
call fcn.100454b0
pop ecx
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x1004f231
push dword [ebp - 0x28]
lea ecx, [ebp - 0x184]
call fcn.10026b98
mov byte [ebp - 4], 8
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x184]
call fcn.10044375
movzx eax, al
test eax, eax
je 0x1004f204
push 0
push dword [ebp - 0x144]
push 0
push dword [ebp - 0xf8]
call fcn.1004e57f
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1004f220
push 1
push 0
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0xf8]
call fcn.1004e57f
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x184]
call fcn.10026c20
jmp 0x1004f264
cmp dword [ebp + 0x10], 0
jne 0x1004f247
mov ecx, dword [ebp + 0xc]
call fcn.10026c3b
mov dword [ebp - 0x100], eax
jmp 0x1004f251
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
push dword [ebp + 8]
call fcn.1004dd79
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.10041665
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10026c20
mov eax, dword [ebp - 0x20]
jmp 0x1004f289
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret