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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f1fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
cmp dword [ebp + 0x10], 0
jbe 0x1004c678
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004c678
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1004c00a
pop ecx
pop ecx
jmp 0x1004d40f
cmp dword [ebp + 0x10], 0
jne 0x1004cd4e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10041c4a
mov dword [ebp - 0x9c], eax
cmp dword [0x1118110c], 0
jne 0x1004cd1c
mov dword [ebp - 0x15c], 0xaa4
lea eax, [ebp - 0x15c]
push eax
call fcn.1004bedc
pop ecx
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x6c], 0xa
mov byte [ebp - 0x6b], 0xd7
mov byte [ebp - 0x6a], 6
mov byte [ebp - 0x69], 0x36
mov byte [ebp - 0x68], 3
mov byte [ebp - 0x67], 0x25
mov byte [ebp - 0x66], 4
mov byte [ebp - 0x65], 0x33
mov byte [ebp - 0x64], 0xc
mov byte [ebp - 0x63], 0x32
mov byte [ebp - 0x62], 0xb
mov byte [ebp - 0x61], 0x2f
mov byte [ebp - 0x60], 7
mov byte [ebp - 0x5f], 0x11
mov byte [ebp - 0x5e], 5
mov byte [ebp - 0x5d], 0x1b
mov byte [ebp - 0x5c], 2
mov byte [ebp - 0x5b], 6
mov byte [ebp - 0x5a], 9
mov byte [ebp - 0x59], 0x1a
mov byte [ebp - 0x58], 8
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 9
mov byte [ebp - 0x55], 0x90
mov byte [ebp - 0x54], 0xa4
mov byte [ebp - 0x53], 0x3e
mov byte [ebp - 0x52], 0xab
mov byte [ebp - 0x51], 0xc4
mov byte [ebp - 0x50], 0xe7
mov byte [ebp - 0x4f], 0xb5
mov byte [ebp - 0x4e], 0x50
mov byte [ebp - 0x4d], 0x43
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0xa
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 0x22
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x6c]
or eax, 0x92
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
and ecx, 0x92
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x130], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1004c797
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x24
jae 0x1004c848
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x6c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1004c7d5
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x6c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x6c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1004c78f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x6b]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x6e]
movsx ecx, byte [ebp + ecx - 0x130]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x130]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x130]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x130], al
and dword [ebp - 0x3c], 0
jmp 0x1004c78f
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.10041417
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x148], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x148]
call fcn.10041c4a
mov dword [0x1118110c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.100177e0
and dword [ebp - 0xa0], 0
jmp 0x1004c8b9
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xe
jae 0x1004c8d2
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x130], 0
jmp 0x1004c8ac
mov byte [ebp - 0x108], 2
mov byte [ebp - 0x107], 0x4f
mov byte [ebp - 0x106], 0
mov byte [ebp - 0x105], 0x26
mov byte [ebp - 0x104], 0xb
mov byte [ebp - 0x103], 0x30
mov byte [ebp - 0x102], 0x43
mov byte [ebp - 0x101], 0xb7
mov byte [ebp - 0x100], 0xed
mov byte [ebp - 0xff], 0x52
mov byte [ebp - 0xfe], 0x73
mov byte [ebp - 0xfd], 0xbc
mov byte [ebp - 0xfc], 0xd2
mov byte [ebp - 0xfb], 4
mov byte [ebp - 0xfa], 0x78
mov byte [ebp - 0xf9], 0x16
mov byte [ebp - 0xf8], 0xc1
mov byte [ebp - 0xf7], 0x1e
mov byte [ebp - 0xf6], 0xfc
mov byte [ebp - 0xf5], 0x89
mov byte [ebp - 0xf4], 4
mov byte [ebp - 0xf3], 0x29
mov byte [ebp - 0xf2], 0xe2
mov byte [ebp - 0xf1], 0xae
mov byte [ebp - 0xf0], 0x5c
mov byte [ebp - 0xef], 0xb
mov byte [ebp - 0xee], 0xd1
mov byte [ebp - 0xed], 0x43
mov byte [ebp - 0xec], 0x92
mov byte [ebp - 0xeb], 0x8c
mov byte [ebp - 0xea], 0x27
mov byte [ebp - 0xe9], 0x47
mov byte [ebp - 0xe8], 0xc7
mov byte [ebp - 0xe7], 0xdb
mov byte [ebp - 0xe6], 9
mov byte [ebp - 0xe5], 0x74
mov byte [ebp - 0xe4], pe_nt_image_headers32
mov byte [ebp - 0xe3], 0xbb
mov byte [ebp - 0xe2], 0x69
mov byte [ebp - 0xe1], 0x19
mov byte [ebp - 0xe0], 0xb
mov byte [ebp - 0xdf], 0xe4
mov byte [ebp - 0xde], 0x5e
mov byte [ebp - 0xdd], 0x4f
mov byte [ebp - 0xdc], 0x5d
mov byte [ebp - 0xdb], 0xf1
mov byte [ebp - 0xda], 0xf
mov byte [ebp - 0xd9], 0x18
mov byte [ebp - 0xd8], 0xcc
mov byte [ebp - 0xd7], 0xb9
mov byte [ebp - 0xd6], 0x1b
mov byte [ebp - 0xd5], 0x67
mov byte [ebp - 0xd4], 0xc2
mov byte [ebp - 0xd3], 0x74
mov byte [ebp - 0xd2], 0x3d
mov byte [ebp - 0xd1], 0x11
mov byte [ebp - 0xd0], 0xf3
mov byte [ebp - 0xcf], 0xac
mov byte [ebp - 0xce], 0x96
mov byte [ebp - 0xcd], 0xb6
mov byte [ebp - 0xcc], 0xad
mov byte [ebp - 0xcb], 0xb2
mov byte [ebp - 0xca], 0xdb
mov byte [ebp - 0xc9], 0x18
mov byte [ebp - 0xc8], 0x69
mov byte [ebp - 0xc7], 0xa4
mov byte [ebp - 0xc6], 0x48
mov byte [ebp - 0xc5], 0x70
mov byte [ebp - 0xc4], 0x4e
mov byte [ebp - 0xc3], 0x47
mov byte [ebp - 0xc2], 0xab
mov byte [ebp - 0xc1], 0x40
mov byte [ebp - 0xc0], 0x60
mov byte [ebp - 0xbf], 0x38
mov byte [ebp - 0xbe], 7
mov byte [ebp - 0xbd], 1
mov byte [ebp - 0xbc], 6
mov byte [ebp - 0xbb], 0x22
mov byte [ebp - 0xba], 0xd
mov byte [ebp - 0xb9], 7
mov byte [ebp - 0xb8], 1
mov byte [ebp - 0xb7], 0x25
mov byte [ebp - 0xb6], 3
mov byte [ebp - 0xb5], 0x13
mov byte [ebp - 0xb4], 9
mov byte [ebp - 0xb3], 2
mov byte [ebp - 0xb2], 4
mov byte [ebp - 0xb1], 0x17
mov byte [ebp - 0xb0], 5
mov byte [ebp - 0xaf], 0x11
mov byte [ebp - 0xae], 0xa
mov byte [ebp - 0xad], 0
mov byte [ebp - 0xac], 8
mov byte [ebp - 0xab], 0xa
mov byte [ebp - 0xaa], 0xc
mov byte [ebp - 0xa9], 0x1c
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x108]
or eax, 0x2a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
and ecx, 0x2a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x140], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x1004cbc0
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x60
jae 0x1004cc8f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x108]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004cc07
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x108]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1004cbb8
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x107]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x10a]
movsx ecx, byte [ebp + ecx - 0x140]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x140]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x140]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x140], al
and dword [ebp - 0x48], 0
jmp 0x1004cbb8
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x140], 0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10041417
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x154]
call fcn.10041c4a
mov dword [0x11181224], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.100177e0
and dword [ebp - 0xa4], 0
jmp 0x1004cd03
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xf
jae 0x1004cd1c
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x140], 0
jmp 0x1004ccf6
mov eax, dword [0x1118110c]
cmp eax, dword [ebp - 0x9c]
je 0x1004cd36
mov eax, dword [0x11181224]
cmp eax, dword [ebp - 0x9c]
jne 0x1004cd4e
mov ecx, dword [ebp + 0xc]
call fcn.10008eba
push eax
push dword [ebp + 8]
call fcn.1004c00a
pop ecx
pop ecx
jmp 0x1004d40f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x1004d40d
mov eax, dword [ebp - 0x98]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004d40d
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1004d40d
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1004d40d
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1004d40d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
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 0x1004cdfe
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004cdf9
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1004cf9a
mov eax, dword [0x11181288]
and eax, 1
jne 0x1004ce35
mov eax, dword [0x11181288]
or eax, 1
mov dword [0x11181288], eax
mov dword [ebp - 4], 2
mov ecx, 0x1118128c
call fcn.1001799a
push 0x100800e5
call fcn.100667f6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1118110a]
test eax, eax
je 0x1004ce9e
mov ecx, 0x1118128c
call fcn.1004d95a
movzx eax, al
test eax, eax
jne 0x1004ce9e
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x1118128c
call fcn.10017972
lea eax, [ebp - 0x168]
push eax
mov ecx, 0x1118128c
call fcn.10017964
push eax
lea ecx, [ebp - 0x11c]
call fcn.10017987
movzx eax, al
test eax, eax
je 0x1004ce9e
lea ecx, [ebp - 0x11c]
call fcn.1004d963
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1004cf9a
mov ecx, 0x1118128c
call fcn.10008bf9
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1118128c
call fcn.1004d9a7
and dword [ebp - 0x30], 0
jmp 0x1004ced0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x1004cf9a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1004cf95
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.10041417
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c8]
call fcn.10041c4a
mov dword [ebp - 0x120], eax
movzx eax, byte [0x1118110a]
test eax, eax
je 0x1004cf4f
mov ecx, 0x1118128c
call fcn.1004d95a
movzx eax, al
test eax, eax
jne 0x1004cf6c
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x1118128c
call fcn.1004d969
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x1118110a], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1004cf86
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x9c]
jne 0x1004cf86
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.100177e0
jmp 0x1004cec9
cmp dword [ebp + 0x10], 0
jne 0x1004cfba
cmp dword [ebp - 0x34], 0xffffffff
je 0x1004cfba
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
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 0x1004d40d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1004d408
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1004d408
mov eax, dword [0x11181288]
and eax, 2
jne 0x1004d044
mov eax, dword [0x11181288]
or eax, 2
mov dword [0x11181288], eax
mov dword [ebp - 4], 4
push 0xb3e
call fcn.100138f3
pop ecx
mov byte [0x111812ac], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x94], 1
mov byte [ebp - 0x93], 0xeb
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 0
mov byte [ebp - 0x90], 0x20
mov byte [ebp - 0x8f], 0x10
mov byte [ebp - 0x8e], 0x65
mov byte [ebp - 0x8d], 0xfb
mov byte [ebp - 0x8c], 0xfe
mov byte [ebp - 0x8b], 0xc4
mov byte [ebp - 0x8a], 0x64
mov byte [ebp - 0x89], 0xc1
mov byte [ebp - 0x88], 0x86
mov byte [ebp - 0x87], 0xc5
mov byte [ebp - 0x86], 0x39
mov byte [ebp - 0x85], 0xf4
mov byte [ebp - 0x84], 0x38
mov byte [ebp - 0x83], 0xa3
mov byte [ebp - 0x82], 0xbf
mov byte [ebp - 0x81], 0x88
mov byte [ebp - 0x80], 0xf1
mov byte [ebp - 0x7f], 0x5e
mov byte [ebp - 0x7e], 0xfe
mov byte [ebp - 0x7d], 0x9e
mov byte [ebp - 0x7c], 0xe1
mov byte [ebp - 0x7b], 0x7c
mov byte [ebp - 0x7a], 0x5d
mov byte [ebp - 0x79], 0x4b
mov byte [ebp - 0x78], 0x37
mov byte [ebp - 0x77], 0xd8
mov byte [ebp - 0x76], 0xd5
mov byte [ebp - 0x75], 0x38
mov byte [ebp - 0x74], 0xe1
mov byte [ebp - 0x73], 0x31
mov byte [ebp - 0x72], 0xdc
mov byte [ebp - 0x71], 0xcc
mov byte [ebp - 0x70], 0x93
mov byte [ebp - 0x6f], 0
mov byte [ebp - 0x6e], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0x87
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0x87
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x1004d16c
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x27
jae 0x1004d22f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1004d1b3
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004d164
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x1004d164
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x11181288]
and eax, 4
jne 0x1004d275
mov eax, dword [0x11181288]
or eax, 4
mov dword [0x11181288], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1118124c
call fcn.10041417
push 0x100800d6
call fcn.100667f6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xa8], 0
jmp 0x1004d28b
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 4
jae 0x1004d2a1
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x2c], 0
jmp 0x1004d27e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x111812ac]
cmp eax, ecx
je 0x1004d2c1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1004d2a7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x180]
call fcn.1004dc20
mov dword [ebp - 4], 6
push 0x1118124c
lea ecx, [ebp - 0x180]
call fcn.10041446
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x180]
call fcn.10017d9d
push dword [eax]
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x180]
call fcn.10017d89
push dword [eax]
lea ecx, [ebp - 0x1b0]
call fcn.1004dc49
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b0]
push eax
call fcn.10043b18
pop ecx
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x1004d3b7
push dword [ebp - 0x28]
lea ecx, [ebp - 0x198]
call fcn.10041417
mov byte [ebp - 4], 8
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x198]
call fcn.10041cf2
movzx eax, al
test eax, eax
je 0x1004d38a
push 0
push dword [ebp - 0x158]
push 0
push dword [ebp - 0x10c]
call fcn.1004c638
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1004d3a6
push 1
push 0
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x10c]
call fcn.1004c638
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x198]
call fcn.100177e0
jmp 0x1004d3ea
cmp dword [ebp + 0x10], 0
jne 0x1004d3cd
mov ecx, dword [ebp + 0xc]
call fcn.10008eba
mov dword [ebp - 0x114], eax
jmp 0x1004d3d7
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x114], eax
push dword [ebp - 0x114]
push dword [ebp + 8]
call fcn.1004c00a
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b0]
call fcn.100176b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.100177e0
mov eax, dword [ebp - 0x20]
jmp 0x1004d40f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret