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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
and dword [ebp - 0xc], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40e69f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x208]
movzx eax, byte [eax]
test eax, eax
je 0x40e5e3
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x40d44b
jmp 0x40e968
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x4550
je 0x40d46a
jmp 0x40e968
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x40d488
jmp 0x40e968
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x160], 0
jmp 0x40d4bc
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x160], eax
jge 0x40d552
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x194]
jb 0x40d54d
mov eax, dword [ebp - 0x34]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x3c]
push dword [eax + 8]
call fcn.0040b350
pop ecx
pop ecx
add eax, dword [ebp - 0x194]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1f8]
jae 0x40d54d
push 0x1e3a
push 0x241
lea eax, [ebp - 0x18]
push eax
push 0x3aa8
push 0x404c
lea eax, [ebp - 0x3c]
push eax
push 0x4873
push 0x63db
push 0
push 0x4f5b
push 0
call fcn.0040b3b3
add esp, 0x2c
jmp 0x40d552
jmp 0x40d4a6
cmp dword [ebp - 0x18], 0
jne 0x40d55d
jmp 0x40e968
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
xor ecx, ecx
call fcn.004017dd
push eax
call fcn.0048e875
pop ecx
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x83], 0x75
mov byte [ebp - 0x82], 0x10
mov byte [ebp - 0x81], 0x52
mov byte [ebp - 0x80], 0x12
mov byte [ebp - 0x7f], 0x36
mov byte [ebp - 0x7e], 7
mov byte [ebp - 0x7d], 0xe7
mov byte [ebp - 0x7c], 0x67
mov byte [ebp - 0x7b], 0x66
mov byte [ebp - 0x7a], 2
mov byte [ebp - 0x79], 0xf1
mov byte [ebp - 0x78], 0xf8
mov byte [ebp - 0x77], 0xba
mov byte [ebp - 0x76], 0x22
mov byte [ebp - 0x75], 0x1f
mov byte [ebp - 0x74], 0xa1
mov byte [ebp - 0x73], 0x33
mov byte [ebp - 0x72], 0x68
mov byte [ebp - 0x71], 5
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x6f], 3
mov byte [ebp - 0x6e], 6
mov byte [ebp - 0x6d], 2
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x6b], 9
mov byte [ebp - 0x6a], 7
mov byte [ebp - 0x69], 1
mov byte [ebp - 0x68], 5
mov byte [ebp - 0x67], 7
mov byte [ebp - 0x66], 3
mov byte [ebp - 0x65], 6
mov byte [ebp - 0x64], 7
mov byte [ebp - 0x63], 4
mov byte [ebp - 0x62], 9
mov byte [ebp - 0x61], 8
mov byte [ebp - 0x60], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
or eax, 0x44
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
and ecx, 0x44
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x1bc], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x54], 0
jmp 0x40d667
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x25
jae 0x40d765
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x40d6ae
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x40d65f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x83]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x86]
movsx ecx, byte [ebp + ecx - 0x1bc]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x1bc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x1bc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x1bc], al
push 0x1c86
push 0
push 0x4074
push 0x31de
push 0
push 0x305b
push 0x467c
lea eax, [ebp - 0x54]
push eax
push 0x779d
push 0x6b5c
call fcn.0040b7a5
add esp, 0x28
jmp 0x40d65f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1bc], 0
push 0xa
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.004104ef
xor edx, edx
mov ecx, eax
call fcn.004017a2
pop ecx
mov dword [ebp - 0x1e0], eax
lea ecx, [ebp - 0x2bc]
call fcn.00410577
and dword [ebp - 0x98], 0
jmp 0x40d7b8
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xb
jae 0x40d7d1
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x1bc], 0
jmp 0x40d7ab
mov byte [ebp - 0x150], 4
mov byte [ebp - 0x14f], 0xe5
mov byte [ebp - 0x14e], 1
mov byte [ebp - 0x14d], 2
mov byte [ebp - 0x14c], 8
mov byte [ebp - 0x14b], 6
mov byte [ebp - 0x14a], 6
mov byte [ebp - 0x149], 9
mov byte [ebp - 0x148], 2
mov byte [ebp - 0x147], 0xe
mov byte [ebp - 0x146], 0x4a
mov byte [ebp - 0x145], 0x5e
mov byte [ebp - 0x144], 0x81
mov byte [ebp - 0x143], 0x9b
mov byte [ebp - 0x142], 0x7d
mov byte [ebp - 0x141], 0xe1
mov byte [ebp - 0x140], 0xf3
mov byte [ebp - 0x13f], 0x12
mov byte [ebp - 0x13e], 0xce
mov byte [ebp - 0x13d], 0x5e
mov byte [ebp - 0x13c], 0xf6
mov byte [ebp - 0x13b], 0x50
mov byte [ebp - 0x13a], 0xb8
mov byte [ebp - 0x139], 0xcc
mov byte [ebp - 0x138], 0xdb
mov byte [ebp - 0x137], 0x5c
mov byte [ebp - 0x136], 0xea
mov byte [ebp - 0x135], 0x8d
mov byte [ebp - 0x134], 0x89
mov byte [ebp - 0x133], 0x41
mov byte [ebp - 0x132], 0x58
mov byte [ebp - 0x131], 0xd2
mov byte [ebp - 0x130], 0xf5
mov byte [ebp - 0x12f], 0x21
mov byte [ebp - 0x12e], 0x42
mov byte [ebp - 0x12d], 0x19
mov byte [ebp - 0x12c], 0x1f
mov byte [ebp - 0x12b], 0xe0
mov byte [ebp - 0x12a], 0xa
mov byte [ebp - 0x129], 0xcf
mov byte [ebp - 0x128], 0x63
mov byte [ebp - 0x127], 0x42
mov byte [ebp - 0x126], 0x3c
mov byte [ebp - 0x125], 0xa7
mov byte [ebp - 0x124], 0x4f
mov byte [ebp - 0x123], 0xe9
mov byte [ebp - 0x122], 0x36
mov byte [ebp - 0x121], 0xcc
mov byte [ebp - 0x120], 0x59
mov byte [ebp - 0x11f], 0x4b
mov byte [ebp - 0x11e], 0xd4
mov byte [ebp - 0x11d], 0x62
mov byte [ebp - 0x11c], 0x2d
mov byte [ebp - 0x11b], 0xe2
mov byte [ebp - 0x11a], 0x72
mov byte [ebp - 0x119], 0x13
mov byte [ebp - 0x118], 0xd2
mov byte [ebp - 0x117], 0xb9
mov byte [ebp - 0x116], 0xc5
mov byte [ebp - 0x115], 0x93
mov byte [ebp - 0x114], 0x76
mov byte [ebp - 0x113], 0x2c
mov byte [ebp - 0x112], 0xcd
mov byte [ebp - 0x111], 0x56
mov byte [ebp - 0x110], 0x21
mov byte [ebp - 0x10f], 0x56
mov byte [ebp - 0x10e], 0xee
mov byte [ebp - 0x10d], 0x5c
mov byte [ebp - 0x10c], 0x83
mov byte [ebp - 0x10b], 0x2a
mov byte [ebp - 0x10a], 0xe4
mov byte [ebp - 0x109], 0xe7
mov byte [ebp - 0x108], 0x4a
mov byte [ebp - 0x107], 0xa0
mov byte [ebp - 0x106], 0x9e
mov byte [ebp - 0x105], 0xe9
mov byte [ebp - 0x104], 0x88
mov byte [ebp - 0x103], 0x71
mov byte [ebp - 0x102], 0x4f
mov byte [ebp - 0x101], 0xfe
mov byte [ebp - 0x100], 0x32
mov byte [ebp - 0xff], 0x4d
mov byte [ebp - 0xfe], 0x1d
mov byte [ebp - 0xfd], 0xca
mov byte [ebp - 0xfc], 0xb1
mov byte [ebp - 0xfb], 7
mov byte [ebp - 0xfa], 1
mov byte [ebp - 0xf9], 5
mov byte [ebp - 0xf8], 7
mov byte [ebp - 0xf7], 0
mov byte [ebp - 0xf6], 0
mov byte [ebp - 0xf5], 9
mov byte [ebp - 0xf4], 1
mov byte [ebp - 0xf3], 3
mov byte [ebp - 0xf2], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x150]
or eax, 0xd1
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x150]
and ecx, 0xd1
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x150]
mov byte [ebp + ecx - 0x1c8], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0xa0], 0
jmp 0x40dac0
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5f
jae 0x40dbbb
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x150]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x40db0a
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x150]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x150]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x40dab8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x14f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0xa0]
movzx ecx, byte [ebp + ecx - 0x152]
movsx ecx, byte [ebp + ecx - 0x1c8]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x14f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x152]
movsx edx, byte [ebp + edx - 0x1c8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x150]
mov byte [ebp + ecx - 0x1c8], al
push 0x460c
push 0x4402
push 0x7955
lea eax, [ebp - 0xa0]
push eax
push 0x2ab8
push 1
push 0x52c
push 0x46e1
push 0
push 0x6266
push 0
push 0x433e
push 0x1d01
push 0x2121
push 0x3d03
call fcn.0040d0d5
add esp, 0x3c
jmp 0x40dab8
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1c8], 0
push 0xa
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.004104ef
xor edx, edx
mov ecx, eax
call fcn.004017a2
pop ecx
mov dword [ebp - 0x1dc], eax
lea ecx, [ebp - 0x2a4]
call fcn.00410577
and dword [ebp - 0x9c], 0
jmp 0x40dc0e
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xb
jae 0x40dc27
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x1c8], 0
jmp 0x40dc01
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
call fcn.0040956a
pop ecx
pop ecx
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1b0]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.0040956a
pop ecx
pop ecx
add eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x40dc98
lea eax, [ebp - 0x50]
push eax
push 0x1aea
push 0x6ee5
push 1
push 0x6df4
push 0x4834
lea eax, [ebp - 8]
push eax
push 0
call fcn.0040ce69
add esp, 0x20
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x44], 0
jmp 0x40dcba
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x40]
jge 0x40dd96
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x44], eax
jae 0x40dcf1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x1ac], eax
jmp 0x40dd26
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x7f6
push 0x3d2f
push 0
lea eax, [ebp - 0x1ac]
push eax
push 0x1d7a
push 0x12c0
push 0x5d44
push 0x2d74
call fcn.0040b7a5
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
push 0x3709
push 0xe80
push 0x3f43
push 0x16f0
push 0x791f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x1ac]
push eax
push 0
call fcn.0040b3b3
add esp, 0x2c
push 0x1770
push 0x50b2
lea eax, [ebp - 4]
push eax
push 0x64c3
push 1
push 0x3ceb
push 0
push 0x3041
push 0x4bf2
push 0x550a
call fcn.0040cd5c
add esp, 0x28
jmp 0x40dcb3
push 0
push 0x3fe1
lea eax, [ebp - 0x50]
push eax
push 0x2d3
push 0x7cf6
push 0x41d
push 0x5dc8
push 0x3d6b
lea eax, [ebp - 8]
push eax
push 1
call fcn.0040b6b7
add esp, 0x28
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
push 0x36d8
push 0x240e
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.0040d3c4
add esp, 0x20
push 1
lea eax, [ebp - 4]
push eax
push 0x5c0d
push 0x693e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
push 0xd2b
push 0x553f
push 0x1ce8
push 1
call fcn.0040b6b7
add esp, 0x28
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
and dword [ebp - 0x90], 0
jmp 0x40de50
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x40]
jge 0x40dead
lea eax, [ebp - 8]
push eax
push 0x53d0
lea eax, [ebp - 0x18]
push eax
push 0x7334
push 0x6701
push 0
push 0x74ac
lea eax, [ebp - 0x90]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0x5af1
lea eax, [ebp - 0x14]
push eax
push 0x23c4
push 0x4249
call fcn.0040d0d5
add esp, 0x3c
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40de43
push 0x1f7b
lea eax, [ebp - 4]
push eax
push 0x6e24
push 0x51c4
lea eax, [ebp - 8]
push eax
push 1
push 0x2c02
push 0x563e
push 0
push 0x3e24
push 1
push 0x5f66
push 0x28e1
lea eax, [ebp - 0x40]
push eax
push 0x3883
call fcn.0040d0d5
add esp, 0x3c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.004104ef
lea ecx, [ebp - 0x25c]
call fcn.0041059d
mov dword [ebp - 0x19c], eax
push dword [ebp - 0x19c]
mov eax, dword [ebp - 0x19c]
shr eax, 1
push eax
call fcn.0040956a
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 0xf0], 3
mov byte [ebp - 0xef], 0x8b
mov byte [ebp - 0xee], 1
mov byte [ebp - 0xed], 8
mov byte [ebp - 0xec], 2
mov byte [ebp - 0xeb], 8
mov byte [ebp - 0xea], 0
mov byte [ebp - 0xe9], 0x42
mov byte [ebp - 0xe8], 0x45
mov byte [ebp - 0xe7], 0xf4
mov byte [ebp - 0xe6], 0x12
mov byte [ebp - 0xe5], 0x4d
mov byte [ebp - 0xe4], 0x87
mov byte [ebp - 0xe3], 0x68
mov byte [ebp - 0xe2], 0xdb
mov byte [ebp - 0xe1], 0x39
mov byte [ebp - 0xe0], 0xd4
mov byte [ebp - 0xdf], 0x87
mov byte [ebp - 0xde], 0xb1
mov byte [ebp - 0xdd], 0xaa
mov byte [ebp - 0xdc], 0xe9
mov byte [ebp - 0xdb], 0xd0
mov byte [ebp - 0xda], 0xd
mov byte [ebp - 0xd9], 0xb2
mov byte [ebp - 0xd8], 0xd2
mov byte [ebp - 0xd7], 0x90
mov byte [ebp - 0xd6], 0xca
mov byte [ebp - 0xd5], 0x9a
mov byte [ebp - 0xd4], 0xe0
mov byte [ebp - 0xd3], 0x9d
mov byte [ebp - 0xd2], 0xe9
mov byte [ebp - 0xd1], 0xad
mov byte [ebp - 0xd0], 0x94
mov byte [ebp - 0xcf], 0x89
mov byte [ebp - 0xce], 0x30
mov byte [ebp - 0xcd], 0xdf
mov byte [ebp - 0xcc], 0xfd
mov byte [ebp - 0xcb], 0x1d
mov byte [ebp - 0xca], 0x94
mov byte [ebp - 0xc9], 0x23
mov byte [ebp - 0xc8], 0x8c
mov byte [ebp - 0xc7], 0
mov byte [ebp - 0xc6], 0x8c
mov byte [ebp - 0xc5], 0x84
mov byte [ebp - 0xc4], 7
mov byte [ebp - 0xc3], 0xcb
mov byte [ebp - 0xc2], 0x2f
mov byte [ebp - 0xc1], 0x5c
mov byte [ebp - 0xc0], 0x4b
mov byte [ebp - 0xbf], 0xf3
mov byte [ebp - 0xbe], 0xc3
mov byte [ebp - 0xbd], 0xae
mov byte [ebp - 0xbc], 0xfc
mov byte [ebp - 0xbb], 0xbe
mov byte [ebp - 0xba], 0x28
mov byte [ebp - 0xb9], 0x8d
mov byte [ebp - 0xb8], 0xb4
mov byte [ebp - 0xb7], 0x42
mov byte [ebp - 0xb6], 0x2e
mov byte [ebp - 0xb5], 5
mov byte [ebp - 0xb4], 0x7a
mov byte [ebp - 0xb3], 0x94
mov byte [ebp - 0xb2], 0xd7
mov byte [ebp - 0xb1], 0
mov byte [ebp - 0xb0], 0xfb
mov byte [ebp - 0xaf], 0x29
mov byte [ebp - 0xae], 0x97
mov byte [ebp - 0xad], 0x1a
mov byte [ebp - 0xac], 0xd6
mov byte [ebp - 0xab], 5
mov byte [ebp - 0xaa], 0x6c
mov byte [ebp - 0xa9], 0xcc
mov byte [ebp - 0xa8], 0xf1
mov byte [ebp - 0xa7], 0xd1
mov byte [ebp - 0xa6], 0x14
mov byte [ebp - 0xa5], 0x76
mov byte [ebp - 0xa4], 0xa1
mov byte [ebp - 0xa3], 0xeb
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf0]
or eax, 0xe7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf0]
and ecx, 0xe7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf0]
mov byte [ebp + ecx - 0x5c], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x94], 0
jmp 0x40e1ab
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4e
jae 0x40e258
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x40e1f5
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xf0]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xf0]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x40e1a3
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xef]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0xf2]
movsx ecx, byte [ebp + ecx - 0x5c]
or eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xef]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0xf2]
movsx edx, byte [ebp + edx - 0x5c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xf0]
mov byte [ebp + ecx - 0x5c], al
and dword [ebp - 0x94], 0
jmp 0x40e1a3
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x5c], 0
cmp dword [ebp - 0x48], 4
jle 0x40e2b0
or dword [ebp - 0xc], 1
or dword [ebp - 0xc], 2
or dword [ebp - 0xc], 4
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004104ef
push eax
mov eax, dword [ebp - 0x48]
sub eax, 4
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00409dce
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x304]
call fcn.004115dc
pop ecx
mov dword [ebp - 0x18c], eax
jmp 0x40e2cb
or dword [ebp - 0xc], 8
push dword [ebp - 0x48]
lea eax, [ebp - 0x2d4]
push eax
call fcn.00409dce
pop ecx
pop ecx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x218], eax
push dword [ebp - 0x218]
lea ecx, [ebp - 0x274]
call fcn.0041051e
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x40e2ff
and dword [ebp - 0xc], 0xfffffff7
lea ecx, [ebp - 0x2d4]
call fcn.00410577
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x40e316
and dword [ebp - 0xc], 0xfffffffb
lea ecx, [ebp - 0x304]
call fcn.00410577
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x40e32d
and dword [ebp - 0xc], 0xfffffffd
lea ecx, [ebp - 0x28c]
call fcn.00410577
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x40e344
and dword [ebp - 0xc], 0xfffffffe
lea ecx, [ebp - 0x2ec]
call fcn.00410577
and dword [ebp - 0x88], 0
jmp 0x40e35a
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 5
jae 0x40e370
mov eax, dword [ebp - 0x88]
mov byte [ebp + eax - 0x5c], 0
jmp 0x40e34d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x48]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x274]
call fcn.004105a1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
push 0x3a09
lea eax, [ebp - 4]
push eax
push 0x7bbd
push 1
call fcn.0040ccd7
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x40e422
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x40e3f6
mov dword [ebp - 0x170], 0xc
jmp 0x40e414
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x198], eax
jmp 0x40e429
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x178], eax
and dword [ebp - 0x8c], 0
jmp 0x40e44b
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax + 0x18]
jae 0x40e585
push dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0040956a
pop ecx
pop ecx
mov dword [ebp - 0x154], eax
push dword [ebp - 0x154]
lea eax, [ebp - 0x244]
push eax
call fcn.00409dce
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0x6992
push 0x2a04
push 0x577
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xa01
call fcn.0040d275
add esp, 0x2c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x6fe1
lea eax, [ebp - 0x14]
push eax
push 1
push 0x8eb
push 1
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5b9f
call fcn.0040cd5c
add esp, 0x28
push 0x56a5
push 0x38d2
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x154]
push eax
push 0x72b6
push 0x6ec6
push 1
call fcn.0040ce69
add esp, 0x20
push 0x55cd
push 0x69ef
push 0x7619
push 0x375
push 0x51bb
push 1
lea eax, [ebp - 0x18]
push eax
push 0x6a2b
push 1
push 0x76a4
push 1
lea eax, [ebp - 0x14]
push eax
push 0x27b5
push 0xf73
lea eax, [ebp - 4]
push eax
call fcn.0040d0d5
add esp, 0x3c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x244]
call fcn.00410577
jmp 0x40e43e
and dword [ebp - 0x4c], 0
jmp 0x40e592
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x4c], eax
jae 0x40e5b9
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
jmp 0x40e58b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x274]
call fcn.00410577
lea ecx, [ebp - 0x25c]
call fcn.00410577
jmp 0x40e69a
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x158], eax
and dword [ebp - 0x15c], 0
jmp 0x40e659
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x15c]
cmp ecx, dword [eax]
jge 0x40e69a
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x158]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx]
and dword [ecx + eax], 0
mov eax, dword [ebp - 0x158]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0x158]
mov dword [ecx], eax
jmp 0x40e64c
jmp 0x40e968
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x30], 0xec2e0cf5
mov dword [ebp - 0x188], 0xffff
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x40e6cd
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0x30], 0xffffffe4
jmp 0x40e6dd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1a
jge 0x40e94e
push 2
lea ecx, [ebp - 0x1d4]
call fcn.00410610
mov dword [ebp - 0x28], 0xd86e52d8
mov dword [ebp - 0x16c], 0xfffffffb
push 1
lea ecx, [ebp - 0x22c]
call fcn.00410610
mov dword [ebp - 0x2c], 0
jmp 0x40e722
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x40e73e
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1d4]
call fcn.004106b1
mov dword [eax], 0xfffffff9
jmp 0x40e71b
mov dword [ebp - 0x2c], 0
jmp 0x40e74e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x40e76a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x22c]
call fcn.004106b1
mov dword [eax], 0x236728ad
jmp 0x40e747
mov dword [ebp - 0x28], 1
jmp 0x40e77a
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x40e933
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1d4]
call fcn.004106b1
cmp dword [eax], 0
je 0x40e83b
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1d4]
call fcn.004106b1
mov ecx, dword [ebp - 0x30]
cmp dword [eax], ecx
jg 0x40e7bc
mov dword [ebp - 0x1a0], 1
jmp 0x40e7c3
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xfffffffa
ja 0x40e7de
mov eax, 0x5671
test eax, eax
jne 0x40e7de
and dword [ebp - 0x180], 0
jmp 0x40e7e8
mov dword [ebp - 0x180], 1
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1d4]
call fcn.004106b1
mov eax, dword [eax]
cmp eax, dword [ebp - 0x180]
jge 0x40e80c
mov dword [ebp - 0x164], 1
jmp 0x40e813
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
add eax, dword [ebp - 0x30]
cmp eax, 0x3b37
jle 0x40e83b
mov dword [ebp - 0x1a4], 1
jmp 0x40e842
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
dec eax
cmp eax, 0x6c71
jge 0x40e85c
mov dword [ebp - 0x190], 1
jmp 0x40e863
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x190], eax
jle 0x40e87a
mov dword [ebp - 0x168], 1
jmp 0x40e881
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x40e8ab
mov eax, 0xc0e07525
test eax, eax
je 0x40e8ab
mov dword [ebp - 0x174], 1
jmp 0x40e8b2
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x174], eax
jl 0x40e8c9
mov dword [ebp - 0x204], 1
jmp 0x40e8d0
and dword [ebp - 0x204], 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1d4]
call fcn.004106b1
mov eax, 0x7d0d
cmp eax, 0xffffffff
jg 0x40e8f4
mov dword [ebp - 0x17c], 1
jmp 0x40e8fb
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x17c], eax
jg 0x40e912
mov dword [ebp - 0x184], 1
jmp 0x40e919
and dword [ebp - 0x184], 0
push 0
lea ecx, [ebp - 0x22c]
call fcn.004106b1
mov ecx, dword [ebp - 0x184]
mov dword [eax], ecx
jmp 0x40e773
lea ecx, [ebp - 0x22c]
call fcn.004106ac
lea ecx, [ebp - 0x1d4]
call fcn.004106ac
jmp 0x40e6d6
push 0x4c78
push 0x6fd2
push dword [ebp - 0x1e8]
push 0
call fcn.0040b37f
add esp, 0x10
mov esp, ebp
pop ebp
ret