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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ba77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
cmp dword [ebp + 0x10], 0
jbe 0x10046c0a
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10046c0a
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10046680
pop ecx
pop ecx
jmp 0x10047b71
cmp dword [ebp + 0x10], 0
jne 0x100473d6
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100442f9
mov dword [ebp - 0x74], eax
cmp dword [0x108d8100], 0
jne 0x100473aa
mov dword [ebp - 0x168], 0x2e0d
lea eax, [ebp - 0x168]
push eax
call fcn.10046543
pop ecx
mov dword [ebp - 0x140], eax
mov byte [ebp - 0x128], 7
mov byte [ebp - 0x127], 0x1f
mov byte [ebp - 0x126], 1
mov byte [ebp - 0x125], 0xc
mov byte [ebp - 0x124], 4
mov byte [ebp - 0x123], 0
mov byte [ebp - 0x122], 2
mov byte [ebp - 0x121], 0x11
mov byte [ebp - 0x120], 6
mov byte [ebp - 0x11f], 7
mov byte [ebp - 0x11e], 0xb
mov byte [ebp - 0x11d], 0xb
mov byte [ebp - 0x11c], 8
mov byte [ebp - 0x11b], 0x17
mov byte [ebp - 0x11a], 0xc
mov byte [ebp - 0x119], 0x38
mov byte [ebp - 0x118], 0x5a
mov byte [ebp - 0x117], 0xa8
mov byte [ebp - 0x116], 0x25
mov byte [ebp - 0x115], 0x5a
mov byte [ebp - 0x114], 0x4c
mov byte [ebp - 0x113], 0xe5
mov byte [ebp - 0x112], 0x2a
mov byte [ebp - 0x111], 0xb5
mov byte [ebp - 0x110], 0x97
mov byte [ebp - 0x10f], 0xb
mov byte [ebp - 0x10e], 0x3f
mov byte [ebp - 0x10d], 0x23
mov byte [ebp - 0x10c], 0x2e
mov byte [ebp - 0x10b], 0x7c
mov byte [ebp - 0x10a], 0x49
mov byte [ebp - 0x109], 0xf2
mov byte [ebp - 0x108], 0xdb
mov byte [ebp - 0x107], 0x6c
mov byte [ebp - 0x106], 0x33
mov byte [ebp - 0x105], 0x23
mov byte [ebp - 0x104], 0x30
mov byte [ebp - 0x103], 0xbd
mov byte [ebp - 0x102], 0xd4
mov byte [ebp - 0x101], 0xed
mov byte [ebp - 0x100], 0x71
mov byte [ebp - 0xff], 0x88
mov byte [ebp - 0xfe], 0xf2
mov byte [ebp - 0xfd], 0x22
mov byte [ebp - 0xfc], 0x19
mov byte [ebp - 0xfb], 0xe7
mov byte [ebp - 0xfa], 0xde
mov byte [ebp - 0xf9], 0x15
mov byte [ebp - 0xf8], 0x19
mov byte [ebp - 0xf7], 0xfc
mov byte [ebp - 0xf6], 0x8e
mov byte [ebp - 0xf5], 0xa0
mov byte [ebp - 0xf4], 0x5f
mov byte [ebp - 0xf3], 0x39
mov byte [ebp - 0xf2], 0x43
mov byte [ebp - 0xf1], 0x8b
mov byte [ebp - 0xf0], 0xc3
mov byte [ebp - 0xef], 0xdf
mov byte [ebp - 0xee], 0xe
mov byte [ebp - 0xed], 0xc2
mov byte [ebp - 0xec], 0xd7
mov byte [ebp - 0xeb], 0xe6
mov byte [ebp - 0xea], 0x49
mov byte [ebp - 0xe9], 0xc1
mov byte [ebp - 0xe8], 0x4f
mov byte [ebp - 0xe7], 0x11
mov byte [ebp - 0xe6], 0xdc
mov byte [ebp - 0xe5], 0x95
mov byte [ebp - 0xe4], 0x72
mov byte [ebp - 0xe3], 0xe3
mov byte [ebp - 0xe2], 0xd7
mov byte [ebp - 0xe1], 0x5c
mov byte [ebp - 0xe0], 0x4b
mov byte [ebp - 0xdf], 0xed
mov byte [ebp - 0xde], 0xc3
mov byte [ebp - 0xdd], 0x9c
mov byte [ebp - 0xdc], 0x8a
mov byte [ebp - 0xdb], 0xed
mov byte [ebp - 0xda], 0xb4
mov byte [ebp - 0xd9], 0xeb
mov byte [ebp - 0xd8], 0x4e
mov byte [ebp - 0xd7], 0x4b
mov byte [ebp - 0xd6], 0x74
mov byte [ebp - 0xd5], 0x31
mov byte [ebp - 0xd4], 0xc5
mov byte [ebp - 0xd3], 0xfa
mov byte [ebp - 0xd2], 0x5b
mov byte [ebp - 0xd1], 0x79
mov byte [ebp - 0xd0], 0x5f
mov byte [ebp - 0xcf], 0xc2
mov byte [ebp - 0xce], 0xa4
mov byte [ebp - 0xcd], 0x37
mov byte [ebp - 0xcc], 0xfe
mov byte [ebp - 0xcb], pe_nt_image_headers32
mov byte [ebp - 0xca], 0x5b
mov byte [ebp - 0xc9], 0xd9
mov byte [ebp - 0xc8], 0x66
mov byte [ebp - 0xc7], 0xce
mov byte [ebp - 0xc6], 0xb1
mov byte [ebp - 0xc5], 0x19
mov byte [ebp - 0xc4], 0xc8
mov byte [ebp - 0xc3], 2
mov byte [ebp - 0xc2], 0x4d
mov byte [ebp - 0xc1], 0xd9
mov byte [ebp - 0xc0], 0x3c
mov byte [ebp - 0xbf], 0xb7
mov byte [ebp - 0xbe], 0x67
mov byte [ebp - 0xbd], 0xa
mov byte [ebp - 0xbc], 0x12
mov byte [ebp - 0xbb], 0
mov byte [ebp - 0xba], 2
mov byte [ebp - 0xb9], 3
mov byte [ebp - 0xb8], 0x11
mov byte [ebp - 0xb7], 9
mov byte [ebp - 0xb6], 0x38
mov byte [ebp - 0xb5], 5
mov byte [ebp - 0xb4], 0x1c
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x128]
or eax, 0x76
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
and ecx, 0x76
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x180], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x7c], 0
jmp 0x10046fcd
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x75
jae 0x10047077
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x128]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10047014
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10046fc5
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x127]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x7c]
movzx ecx, byte [ebp + ecx - 0x12a]
movsx ecx, byte [ebp + ecx - 0x180]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x7c]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x180]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x180], al
and dword [ebp - 0x7c], 0
jmp 0x10046fc5
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x180], 0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x24c]
call fcn.1003e3c2
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x188]
call fcn.100442f9
mov dword [0x108d8100], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1003e44a
and dword [ebp - 0x5c], 0
jmp 0x100470df
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xe
jae 0x100470f2
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x180], 0
jmp 0x100470d8
mov byte [ebp - 0xb0], 8
mov byte [ebp - 0xaf], 0x18
mov byte [ebp - 0xae], 0xa
mov byte [ebp - 0xad], 0xa
mov byte [ebp - 0xac], 0
mov byte [ebp - 0xab], 0x26
mov byte [ebp - 0xaa], 0xb
mov byte [ebp - 0xa9], 0x30
mov byte [ebp - 0xa8], 2
mov byte [ebp - 0xa7], 0x16
mov byte [ebp - 0xa6], 5
mov byte [ebp - 0xa5], 0
mov byte [ebp - 0xa4], 9
mov byte [ebp - 0xa3], 6
mov byte [ebp - 0xa2], 3
mov byte [ebp - 0xa1], 2
mov byte [ebp - 0xa0], 7
mov byte [ebp - 0x9f], 0x13
mov byte [ebp - 0x9e], 0x11
mov byte [ebp - 0x9d], 2
mov byte [ebp - 0x9c], 0xa1
mov byte [ebp - 0x9b], 0x82
mov byte [ebp - 0x9a], 0xe9
mov byte [ebp - 0x99], 0x84
mov byte [ebp - 0x98], 0x2c
mov byte [ebp - 0x97], 0xd0
mov byte [ebp - 0x96], 0x48
mov byte [ebp - 0x95], 0x3f
mov byte [ebp - 0x94], 0xe1
mov byte [ebp - 0x93], 0x59
mov byte [ebp - 0x92], 0xb7
mov byte [ebp - 0x91], 0xe1
mov byte [ebp - 0x90], 0xc
mov byte [ebp - 0x8f], 0x6c
mov byte [ebp - 0x8e], 0x65
mov byte [ebp - 0x8d], 0xc2
mov byte [ebp - 0x8c], 4
mov byte [ebp - 0x8b], 6
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 0xc
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 6
mov byte [ebp - 0x85], 0x23
mov byte [ebp - 0x84], 0xd
mov byte [ebp - 0x83], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb0]
or eax, 0x77
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb0]
and ecx, 0x77
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb0]
mov byte [ebp + ecx - 0x19c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x64], 0
jmp 0x10047282
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2e
jae 0x1004732c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x100472c9
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xb0]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xb0]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004727a
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xaf]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x64]
movzx ecx, byte [ebp + ecx - 0xb2]
movsx ecx, byte [ebp + ecx - 0x19c]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xaf]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xb2]
movsx edx, byte [ebp + edx - 0x19c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xb0]
mov byte [ebp + ecx - 0x19c], al
and dword [ebp - 0x64], 0
jmp 0x1004727a
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x19c], 0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x234]
call fcn.1003e3c2
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x15c]
call fcn.100442f9
mov dword [0x108d81f4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1003e44a
and dword [ebp - 0x78], 0
jmp 0x10047397
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xf
jae 0x100473aa
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x19c], 0
jmp 0x10047390
mov eax, dword [0x108d8100]
cmp eax, dword [ebp - 0x74]
je 0x100473be
mov eax, dword [0x108d81f4]
cmp eax, dword [ebp - 0x74]
jne 0x100473d6
mov ecx, dword [ebp + 0xc]
call fcn.1000d0a9
push eax
push dword [ebp + 8]
call fcn.10046680
pop ecx
pop ecx
jmp 0x10047b71
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x10047b6f
mov eax, dword [ebp - 0x80]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10047b6f
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0x4550
jne 0x10047b6f
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x74], 0
jbe 0x10047b6f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + eax + 0x78], 0
je 0x10047b6f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x20], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10047477
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10047472
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10047690
mov eax, dword [0x108d8240]
and eax, 1
jne 0x100474ae
mov eax, dword [0x108d8240]
or eax, 1
mov dword [0x108d8240], eax
mov dword [ebp - 4], 2
mov ecx, 0x108d8244
call fcn.10043398
push 0x1006be3a
call fcn.10050b3c
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x108d80fe]
test eax, eax
je 0x10047597
mov ecx, 0x108d8244
call fcn.1004820d
movzx eax, al
test eax, eax
jne 0x10047597
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x108d8244
call fcn.10043370
lea eax, [ebp - 0x1b8]
push eax
mov ecx, 0x108d8244
call fcn.1000d44a
push eax
lea ecx, [ebp - 0x150]
call fcn.10043385
movzx eax, al
test eax, eax
je 0x10047597
mov dword [ebp - 0x18c], 0x1bea
cmp dword [ebp - 0x18c], 0xc8b
jge 0x10047586
mov dword [ebp - 0x1ac], 2
lea eax, [ebp - 0x70]
push eax
push 0x1000b248
call fcn.100527da
pop ecx
pop ecx
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x70], 0
jle 0x10047574
mov eax, dword [ebp - 0x70]
and eax, 0x80000001
jns 0x1004755b
dec eax
or eax, 0xfffffffe
inc eax
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x70], eax
jmp 0x10047546
push dword [ebp - 0x12c]
push 0x1000b250
call fcn.10052b7f
pop ecx
pop ecx
lea ecx, [ebp - 0x150]
call fcn.10048216
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10047690
mov ecx, 0x108d8244
call fcn.1004825a
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x108d8244
call fcn.1004825e
and dword [ebp - 0x34], 0
jmp 0x100475c9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x18]
jae 0x10047690
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x1004768b
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x204]
call fcn.1003e3c2
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x204]
call fcn.100442f9
mov dword [ebp - 0x13c], eax
movzx eax, byte [0x108d80fe]
test eax, eax
je 0x10047648
mov ecx, 0x108d8244
call fcn.1004820d
movzx eax, al
test eax, eax
jne 0x10047665
lea eax, [ebp - 0x13c]
push eax
mov ecx, 0x108d8244
call fcn.1004821c
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov byte [0x108d80fe], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004767c
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x74]
jne 0x1004767c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.1003e44a
jmp 0x100475c2
cmp dword [ebp + 0x10], 0
jne 0x100476b0
cmp dword [ebp - 0x38], 0xffffffff
je 0x100476b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
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 0x10047b6f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jbe 0x10047b6a
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x24], edx
jae 0x10047b6a
mov eax, dword [0x108d8240]
and eax, 2
jne 0x1004773a
mov eax, dword [0x108d8240]
or eax, 2
mov dword [0x108d8240], eax
mov dword [ebp - 4], 4
push 0x26f9
call fcn.100429cd
pop ecx
mov byte [0x108d8200], al
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x154], 0x1414
cmp dword [ebp - 0x154], 0x47a
jge 0x1004785c
lea eax, [ebp - 0x134]
push eax
push 0x1000b220
call fcn.100527da
pop ecx
pop ecx
push dword [ebp - 0x134]
lea ecx, [ebp - 0x1a8]
call fcn.1000d3e3
mov dword [ebp - 4], 5
and dword [ebp - 0x6c], 0
jmp 0x1004778c
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x134]
jge 0x100477ca
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x1000b23c
call fcn.100527da
add esp, 0xc
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1a8]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x16c]
mov dword [eax], ecx
jmp 0x10047785
lea eax, [ebp - 0x170]
push eax
push 0x1000b220
call fcn.100527da
pop ecx
pop ecx
and dword [ebp - 0x130], 0
and dword [ebp - 0x68], 0
jmp 0x100477f1
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x134]
jge 0x1004783b
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1a8]
call fcn.1000d4c0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x170]
jl 0x10047820
mov dword [ebp - 0x148], 1
jmp 0x10047827
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x130], eax
jmp 0x100477ea
push dword [ebp - 0x130]
push 0x1000b248
call fcn.10052b7f
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.1000d445
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x4f], 0x8f
mov byte [ebp - 0x4e], 0xf
mov byte [ebp - 0x4d], 0x97
mov byte [ebp - 0x4c], 0x9e
mov byte [ebp - 0x4b], 0x16
mov byte [ebp - 0x4a], 0x44
mov byte [ebp - 0x49], 0xfe
mov byte [ebp - 0x48], 0xb6
mov byte [ebp - 0x47], 0x6d
mov byte [ebp - 0x46], 0xb2
mov byte [ebp - 0x45], 0x6a
mov byte [ebp - 0x44], 0xa0
mov byte [ebp - 0x43], 0x56
mov byte [ebp - 0x42], 0x96
mov byte [ebp - 0x41], 0x27
mov byte [ebp - 0x40], 0xdd
mov byte [ebp - 0x3f], 0x39
mov byte [ebp - 0x3e], 2
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x50]
or eax, 0xeb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x50]
and ecx, 0xeb
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x50]
mov byte [ebp + ecx - 0x28], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x58], 0
jmp 0x100478fb
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x16
jae 0x100479a0
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x50]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10047939
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x50]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100478f3
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x4f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x52]
movsx ecx, byte [ebp + ecx - 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x4f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x52]
movsx edx, byte [ebp + edx - 0x28]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x4f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x52]
movsx edx, byte [ebp + edx - 0x28]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x50]
mov byte [ebp + ecx - 0x28], al
and dword [ebp - 0x58], 0
jmp 0x100478f3
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x28], 0
mov eax, dword [0x108d8240]
and eax, 4
jne 0x100479e6
mov eax, dword [0x108d8240]
or eax, 4
mov dword [0x108d8240], eax
mov dword [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x108d8208
call fcn.1003e3c2
push 0x1006be2b
call fcn.10050b3c
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x60], 0
jmp 0x100479f3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jae 0x10047a03
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x28], 0
jmp 0x100479ec
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x108d8200]
cmp eax, ecx
je 0x10047a23
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x10047a09
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1d4]
call fcn.1004853e
mov dword [ebp - 4], 7
push 0x108d8208
lea ecx, [ebp - 0x1d4]
call fcn.1003e454
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1002f6c4
push dword [eax]
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1002f6b0
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.10048567
mov byte [ebp - 4], 8
lea eax, [ebp - 0x21c]
push eax
call fcn.10045a56
pop ecx
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10047b19
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1ec]
call fcn.1003e3c2
mov byte [ebp - 4], 9
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x1ec]
call fcn.10045694
movzx eax, al
test eax, eax
je 0x10047aec
push 0
push dword [ebp - 0x158]
push 0
push dword [ebp - 0x138]
call fcn.10046bca
add esp, 0x10
mov dword [ebp - 0x24], eax
jmp 0x10047b08
push 1
push 0
lea eax, [ebp - 0x1ec]
push eax
push dword [ebp - 0x138]
call fcn.10046bca
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ec]
call fcn.1003e44a
jmp 0x10047b4c
cmp dword [ebp + 0x10], 0
jne 0x10047b2f
mov ecx, dword [ebp + 0xc]
call fcn.1000d0a9
mov dword [ebp - 0x14c], eax
jmp 0x10047b39
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x14c], eax
push dword [ebp - 0x14c]
push dword [ebp + 8]
call fcn.10046680
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x21c]
call fcn.10043172
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.1003e44a
mov eax, dword [ebp - 0x24]
jmp 0x10047b71
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret