Function at 0x40d7c5
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0x76c
mov eax, 0x41a7fc
call fcn.0041974f
xor ebx, ebx
lea ecx, [ebp - 0x778]
mov dword [ebp - 0x5fc], ebx
call fcn.0040380e
lea ecx, [ebp - 0x67c]
call fcn.004065b8
movaps xmm0, xmmword [0x402320]
xor ecx, ecx
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x390], 0x6c707f5e
mov word [ebp - 0x38c], 0x78
movsx eax, byte [ebp - 0x3a0]
and eax, 0x8000000f
jns 0x40d828
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x39f], al
inc ecx
cmp ecx, 0x14
jb 0x40d815
mov edi, dword [ebp - 0x67c]
lea eax, [ebp - 0x624]
mov edx, dword [ebp - 0x670]
mov ecx, edi
push eax
lea eax, [ebp - 0x39f]
mov byte [ebp - 0x38b], bl
push eax
push SysReAllocString
call fcn.004064a5
call eax
test eax, eax
jne 0x40e83d
xor edx, edx
mov dword [ebp - 0x644], 0x104
mov al, 0x2d
mov dword [ebp - 0x348], 0x7281602d
mov dword [ebp - 0x344], 0x6e5d7a6e
mov ecx, edx
mov word [ebp - 0x340], 0x7581
mov byte [ebp - 0x33e], dl
movsx eax, al
and eax, 0x8000000f
jns 0x40d8ad
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x347], al
inc ecx
cmp ecx, 9
jae 0x40d8c2
mov al, byte [ebp - 0x348]
jmp 0x40d89e
lea eax, [ebp - 0x644]
mov byte [ebp - 0x33e], dl
push eax
lea eax, [ebp - 0x328]
mov ecx, edi
push eax
push edx
push edx
mov edx, dword [ebp - 0x678]
lea eax, [ebp - 0x347]
push eax
push dword [ebp - 0x624]
call fcn.004064a5
call eax
mov edx, dword [ebp - 0x66c]
mov ecx, edi
push dword [ebp - 0x624]
test eax, eax
je 0x40d912
call fcn.004064a5
call eax
jmp 0x40e83d
call fcn.004064a5
call eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x484]
call fcn.004035da
xor edx, edx
mov al, 0x73
mov dword [ebp - 4], edx
mov ecx, edx
mov dword [ebp - 0x33c], 0x72665f73
mov dword [ebp - 0x338], 0x6a6c6971
mov byte [ebp - 0x334], dl
movsx eax, al
and eax, 0x8000000f
jns 0x40d95d
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x33b], al
inc ecx
cmp ecx, 7
jae 0x40d972
mov al, byte [ebp - 0x33c]
jmp 0x40d94e
lea ecx, [ebp - 0x33b]
mov byte [ebp - 0x334], dl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d981
sub ecx, edx
lea eax, [ebp - 0x33b]
push ecx
push eax
lea ecx, [ebp - 0x484]
call fcn.00404849
movaps xmm0, xmmword [0x402400]
xor ecx, ecx
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x358], 0x585f557f
mov dword [ebp - 0x354], 0x436f4149
mov dword [ebp - 0x350], 0x4b454a42
mov byte [ebp - 0x34c], 0
mov al, byte [ebp - 0x368]
xor byte [ebp + ecx - 0x367], al
inc ecx
cmp ecx, 0x1b
jb 0x40d9d2
lea eax, [ebp - 0x367]
mov byte [ebp - 0x34c], 0
push eax
lea ecx, [ebp - 0x49c]
call fcn.004035da
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 1
call fcn.00413aae
test al, al
je 0x40e827
mov cl, 0x50
mov dword [ebp - 0x330], 0x24030c50
mov dword [ebp - 0x32c], 0x3d3135
xor eax, eax
xor byte [ebp + eax - 0x32f], cl
inc eax
cmp eax, 6
jae 0x40da42
mov cl, byte [ebp - 0x330]
jmp 0x40da2d
lea eax, [ebp - 0x32f]
mov byte [ebp - 0x329], 0
push eax
lea edx, [ebp - 0x49c]
lea ecx, [ebp - 0x40c]
call fcn.00409d3e
pop ecx
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 2
call fcn.00413aae
test al, al
jne 0x40da9f
cmp dword [ebp - 0x3f8], 0xf
lea eax, [ebp - 0x40c]
mov edx, dword [ebp - 0x708]
cmova eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x778]
push 0
push eax
call fcn.004064a5
call eax
mov al, 0x40
mov dword [ebp - 0x330], 0x2e2a5c40
mov dword [ebp - 0x32c], 0x666476
xor ecx, ecx
movsx eax, al
and eax, 0x8000000f
jns 0x40dac6
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x32f], al
inc ecx
cmp ecx, 6
jae 0x40dadb
mov al, byte [ebp - 0x330]
jmp 0x40dab7
lea eax, [ebp - 0x32f]
mov byte [ebp - 0x329], 0
push eax
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x454]
call fcn.00409d3e
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
jbe 0x40db07
mov eax, dword [eax]
mov edx, dword [ebp - 0x740]
lea ecx, [ebp - 0x5f8]
push ecx
mov ecx, dword [ebp - 0x778]
push eax
call fcn.004064a5
call eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.0040357e
cmp esi, 0xffffffff
je 0x40dcd6
mov cl, 0x18
mov byte [ebp - 0x5fe], 0
mov al, 0x44
mov byte [ebp - 0x600], cl
xor al, cl
mov byte [ebp - 0x5fe], 0
mov byte [ebp - 0x5ff], al
lea edx, [ebp - 0x484]
lea eax, [ebp - 0x5ff]
push eax
lea ecx, [ebp - 0x3f4]
call fcn.00409d3e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 4
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db84
sub ecx, edi
lea eax, [ebp - 0x5cc]
push ecx
push eax
mov ecx, edx
call fcn.00404849
push eax
lea ecx, [ebp - 0x3a0]
call fcn.004035a1
or ebx, 0x40
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 6
call fcn.0040357e
mov al, 4
mov byte [ebp - 0x5fa], 0
xor al, 0x58
mov byte [ebp - 0x5fc], 0x58
mov byte [ebp - 0x5fb], al
lea edx, [ebp - 0x40c]
lea eax, [ebp - 0x5fb]
mov byte [ebp - 0x5fa], 0
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00409d3e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 7
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dc01
sub ecx, edi
lea eax, [ebp - 0x5cc]
push ecx
push eax
mov ecx, edx
call fcn.00404849
push eax
lea ecx, [ebp - 0x3dc]
call fcn.004035a1
or ebx, 0x80
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 9
call fcn.0040357e
cmp dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x3dc]
mov edx, dword [ebp - 0x6ec]
lea eax, [ebp - 0x3a0]
cmova ecx, dword [ebp - 0x3dc]
cmp dword [ebp - 0x38c], 0xf
push 0
cmova eax, dword [ebp - 0x3a0]
push ecx
mov ecx, dword [ebp - 0x778]
push eax
call fcn.004064a5
call eax
lea ecx, [ebp - 0x3dc]
call fcn.0040357e
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 2
call fcn.0040357e
mov edx, dword [ebp - 0x738]
lea eax, [ebp - 0x5f8]
mov ecx, dword [ebp - 0x778]
push eax
push esi
call fcn.004064a5
call eax
test eax, eax
jne 0x40db3c
mov edx, dword [ebp - 0x734]
mov ecx, dword [ebp - 0x778]
push esi
mov dword [ebp - 0x5fc], ebx
call fcn.004064a5
call eax
mov edi, dword [ebp - 0x67c]
movaps xmm0, xmmword [0x4022b0]
xor ecx, ecx
movups xmmword [ebp - 0x39c], xmm0
mov word [ebp - 0x38c], 0x6f
mov al, byte [ebp - 0x39c]
xor byte [ebp + ecx - 0x39b], al
inc ecx
cmp ecx, 0x10
jb 0x40dcef
lea eax, [ebp - 0x39b]
mov byte [ebp - 0x38b], 0
push eax
lea edx, [ebp - 0x40c]
lea ecx, [ebp - 0x46c]
call fcn.00409d3e
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x46c]
cmp dword [ebp - 0x458], 0xf
mov edx, dword [ebp - 0x74c]
cmova eax, dword [ebp - 0x46c]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
mov ecx, dword [ebp - 0x778]
push 0x40000000
push eax
call fcn.004064a5
call eax
mov esi, eax
mov dword [ebp - 0x628], esi
cmp esi, 0xffffffff
je 0x40e811
movaps xmm0, xmmword [0x402300]
xor ecx, ecx
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x358], 0x6b6f7e5d
mov dword [ebp - 0x354], 0x7a4b6677
mov word [ebp - 0x350], 0x7d7a
mov byte [ebp - 0x34e], 0
movsx eax, byte [ebp - 0x368]
and eax, 0x8000000f
jns 0x40ddb7
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x367], al
inc ecx
cmp ecx, 0x19
jb 0x40dda4
mov edx, dword [ebp - 0x670]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x367]
mov byte [ebp - 0x34e], 0
push eax
push SysReAllocString
mov ecx, edi
call fcn.004064a5
call eax
test eax, eax
jne 0x40e7fd
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x118]
push 0x104
push eax
push 0
jmp 0x40e7cb
inc dword [ebp - 0x620]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.004035da
mov edx, eax
mov byte [ebp - 4], 0xb
xor ecx, ecx
movaps xmm0, xmmword [0x402290]
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x358], 0x676b7a59
mov dword [ebp - 0x354], 0x76476273
mov dword [ebp - 0x350], 0x627976
movsx eax, byte [ebp - 0x368]
and eax, 0x8000000f
jns 0x40de6d
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x367], al
inc ecx
cmp ecx, 0x1a
jb 0x40de5a
push edx
lea edx, [ebp - 0x367]
mov byte [ebp - 0x34d], 0
lea ecx, [ebp - 0x454]
call fcn.00409d8f
pop ecx
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 0xd
call fcn.0040357e
cmp dword [ebp - 0x440], 0xf
lea ecx, [ebp - 0x618]
mov edx, dword [ebp - 0x670]
lea eax, [ebp - 0x454]
cmova eax, dword [ebp - 0x454]
push ecx
push eax
push SysReAllocString
mov ecx, edi
call fcn.004064a5
call eax
test eax, eax
jne 0x40e7a9
xor edx, edx
mov dword [ebp - 0x638], 0x104
mov cl, 0x49
mov dword [ebp - 0x388], 0x24280749
mov word [ebp - 0x384], 0x2c
mov eax, edx
xor byte [ebp + eax - 0x387], cl
inc eax
cmp eax, 4
jae 0x40df13
mov cl, byte [ebp - 0x388]
jmp 0x40defe
lea eax, [ebp - 0x638]
mov byte [ebp - 0x383], dl
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
push edx
push edx
mov edx, dword [ebp - 0x678]
lea eax, [ebp - 0x387]
push eax
push dword [ebp - 0x618]
call fcn.004064a5
call eax
test eax, eax
jne 0x40e067
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x424]
call fcn.004035da
mov edx, eax
mov byte [ebp - 4], 0xe
mov cl, 1
mov dword [ebp - 0x33c], 0x6c604f01
xor eax, eax
mov dword [ebp - 0x338], 0x213b64
xor byte [ebp + eax - 0x33b], cl
inc eax
cmp eax, 6
jae 0x40df92
mov cl, byte [ebp - 0x33c]
jmp 0x40df7d
push edx
lea edx, [ebp - 0x33b]
mov byte [ebp - 0x335], 0
lea ecx, [ebp - 0x43c]
call fcn.00409d8f
pop ecx
mov esi, eax
mov byte [ebp - 4], 0xf
mov dl, 0x15
mov dword [ebp - 0x600], 0xf1215
xor ecx, ecx
movsx eax, dl
and eax, 0x8000000f
jns 0x40dfcf
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x5ff], al
inc ecx
cmp ecx, 2
jae 0x40dfe4
mov dl, byte [ebp - 0x600]
jmp 0x40dfc0
lea eax, [ebp - 0x5ff]
mov byte [ebp - 0x5fd], 0
push eax
mov edx, esi
lea ecx, [ebp - 0x3dc]
call fcn.00405ea5
pop ecx
lea ecx, [ebp - 0x43c]
call fcn.0040357e
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0x12
call fcn.0040357e
cmp dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x638]
mov esi, dword [ebp - 0x628]
lea eax, [ebp - 0x3dc]
cmova eax, dword [ebp - 0x3dc]
mov edx, dword [ebp - 0x690]
push 0
push ecx
push dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x778]
push eax
push esi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0xd
call fcn.0040357e
xor edx, edx
mov dword [ebp - 0x634], 4
mov cl, 0x45
mov dword [ebp - 0x3c4], 0x362b0c45
mov dword [ebp - 0x3c0], 0x29292431
mov eax, edx
mov word [ebp - 0x3bc], 0x2120
mov byte [ebp - 0x3ba], dl
xor byte [ebp + eax - 0x3c3], cl
inc eax
cmp eax, 9
jae 0x40e0af
mov cl, byte [ebp - 0x3c4]
jmp 0x40e09a
lea eax, [ebp - 0x634]
mov byte [ebp - 0x3ba], dl
push eax
lea eax, [ebp - 0x640]
mov ecx, edi
push eax
push edx
push edx
mov edx, dword [ebp - 0x678]
lea eax, [ebp - 0x3c3]
push eax
push dword [ebp - 0x618]
call fcn.004064a5
call eax
test eax, eax
jne 0x40e2ce
cmp dword [ebp - 0x640], eax
je 0x40e13c
mov cl, 0x69
mov dword [ebp - 0x370], 0x1a0c3069
mov byte [ebp - 0x36c], al
xor byte [ebp + eax - 0x36f], cl
inc eax
cmp eax, 3
jae 0x40e118
mov cl, byte [ebp - 0x370]
jmp 0x40e103
lea eax, [ebp - 0x36f]
mov byte [ebp - 0x36c], 0
push eax
lea ecx, [ebp - 0x364]
call fcn.004035da
mov edx, eax
mov byte [ebp - 4], 0x13
or ebx, 1
jmp 0x40e193
mov al, 0x6f
mov dword [ebp - 0x604], 0x7e5d6f
xor ecx, ecx
movsx eax, al
and eax, 0x8000000f
jns 0x40e159
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x603], al
inc ecx
cmp ecx, 2
jae 0x40e16e
mov al, byte [ebp - 0x604]
jmp 0x40e14a
lea eax, [ebp - 0x603]
mov byte [ebp - 0x601], 0
push eax
lea ecx, [ebp - 0x43c]
call fcn.004035da
mov edx, eax
mov dword [ebp - 4], 0x14
or ebx, 2
mov dword [ebp - 0x5fc], ebx
mov al, 0x36
mov dword [ebp - 0x398], 0x79744f36
xor ecx, ecx
mov dword [ebp - 0x394], 0x7272677a
mov dword [ebp - 0x390], 0x26406a6b
mov byte [ebp - 0x38c], 0
movsx eax, al
and eax, 0x8000000f
jns 0x40e1d1
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x397], al
inc ecx
cmp ecx, 0xb
jae 0x40e1e6
mov al, byte [ebp - 0x398]
jmp 0x40e1c2
push edx
lea edx, [ebp - 0x397]
mov byte [ebp - 0x38c], 0
lea ecx, [ebp - 0x424]
call fcn.00409d8f
pop ecx
mov dword [ebp - 4], 0x15
mov dl, 0x22
mov dword [ebp - 0x608], 0x282f22
xor ecx, ecx
xor byte [ebp + ecx - 0x607], dl
inc ecx
cmp ecx, 2
jae 0x40e22a
mov dl, byte [ebp - 0x608]
jmp 0x40e215
lea ecx, [ebp - 0x607]
mov byte [ebp - 0x605], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x3dc]
call fcn.00405ea5
pop ecx
lea ecx, [ebp - 0x424]
call fcn.0040357e
test bl, 2
je 0x40e26a
and ebx, 0xfffffffd
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
mov byte [ebp - 4], 0x19
test bl, 1
je 0x40e287
and ebx, 0xfffffffe
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
cmp dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x634]
mov edx, dword [ebp - 0x690]
lea eax, [ebp - 0x3dc]
cmova eax, dword [ebp - 0x3dc]
push 0
push ecx
push dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x778]
push eax
push esi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0xd
call fcn.0040357e
xor edx, edx
mov dword [ebp - 0x630], 4
mov cl, 0x16
mov dword [ebp - 0x3ac], 0x78634416
mov dword [ebp - 0x3a8], 0x71787f78
mov eax, edx
mov byte [ebp - 0x3a4], dl
xor byte [ebp + eax - 0x3ab], cl
inc eax
cmp eax, 7
jae 0x40e30d
mov cl, byte [ebp - 0x3ac]
jmp 0x40e2f8
lea eax, [ebp - 0x630]
mov byte [ebp - 0x3a4], dl
push eax
lea eax, [ebp - 0x648]
mov ecx, edi
push eax
push edx
push edx
mov edx, dword [ebp - 0x678]
lea eax, [ebp - 0x3ab]
push eax
push dword [ebp - 0x618]
call fcn.004064a5
call eax
test eax, eax
jne 0x40e52b
cmp dword [ebp - 0x648], eax
je 0x40e39a
mov cl, 0x20
mov dword [ebp - 0x378], 0x53457920
mov byte [ebp - 0x374], al
xor byte [ebp + eax - 0x377], cl
inc eax
cmp eax, 3
jae 0x40e376
mov cl, byte [ebp - 0x378]
jmp 0x40e361
lea eax, [ebp - 0x377]
mov byte [ebp - 0x374], 0
push eax
lea ecx, [ebp - 0x43c]
call fcn.004035da
mov edx, eax
mov byte [ebp - 4], 0x1a
or ebx, 4
jmp 0x40e3f1
mov al, 0x3e
mov dword [ebp - 0x614], 0x7d5c3e
xor ecx, ecx
movsx eax, al
and eax, 0x8000000f
jns 0x40e3b7
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x613], al
inc ecx
cmp ecx, 2
jae 0x40e3cc
mov al, byte [ebp - 0x614]
jmp 0x40e3a8
lea eax, [ebp - 0x613]
mov byte [ebp - 0x611], 0
push eax
lea ecx, [ebp - 0x424]
call fcn.004035da
mov edx, eax
mov dword [ebp - 4], 0x1b
or ebx, 8
mov dword [ebp - 0x5fc], ebx
mov al, 0x1d
mov dword [ebp - 0x3b8], 0x7b825f1d
xor ecx, ecx
mov dword [ebp - 0x3b4], 0x747b767b
mov word [ebp - 0x3b0], 0x2d47
mov byte [ebp - 0x3ae], 0
movsx eax, al
and eax, 0x8000000f
jns 0x40e42e
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x3b7], al
inc ecx
cmp ecx, 9
jae 0x40e443
mov al, byte [ebp - 0x3b8]
jmp 0x40e41f
push edx
lea edx, [ebp - 0x3b7]
mov byte [ebp - 0x3ae], 0
lea ecx, [ebp - 0x364]
call fcn.00409d8f
pop ecx
mov dword [ebp - 4], 0x1c
mov dl, 0xe
mov dword [ebp - 0x610], 0x4030e
xor ecx, ecx
xor byte [ebp + ecx - 0x60f], dl
inc ecx
cmp ecx, 2
jae 0x40e487
mov dl, byte [ebp - 0x610]
jmp 0x40e472
lea ecx, [ebp - 0x60f]
mov byte [ebp - 0x60d], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x3dc]
call fcn.00405ea5
pop ecx
lea ecx, [ebp - 0x364]
call fcn.0040357e
test bl, 8
je 0x40e4c7
and ebx, 0xfffffff7
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
mov byte [ebp - 4], 0x20
test bl, 4
je 0x40e4e4
and ebx, 0xfffffffb
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
cmp dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x630]
mov edx, dword [ebp - 0x690]
lea eax, [ebp - 0x3dc]
cmova eax, dword [ebp - 0x3dc]
push 0
push ecx
push dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x778]
push eax
push esi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0xd
call fcn.0040357e
xor edx, edx
mov dword [ebp - 0x62c], 4
mov al, 0x56
mov dword [ebp - 0x348], 0x6a765b56
mov dword [ebp - 0x344], 0x746f7a67
mov ecx, edx
mov word [ebp - 0x340], 0x6d
movsx eax, al
and eax, 0x8000000f
jns 0x40e567
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x347], al
inc ecx
cmp ecx, 8
jae 0x40e57c
mov al, byte [ebp - 0x348]
jmp 0x40e558
lea eax, [ebp - 0x62c]
mov byte [ebp - 0x33f], dl
push eax
lea eax, [ebp - 0x63c]
mov ecx, edi
push eax
push edx
push edx
mov edx, dword [ebp - 0x678]
lea eax, [ebp - 0x347]
push eax
push dword [ebp - 0x618]
call fcn.004064a5
call eax
test eax, eax
jne 0x40e794
cmp dword [ebp - 0x63c], eax
je 0x40e609
mov cl, 0x4f
mov dword [ebp - 0x380], 0x3c2a164f
mov byte [ebp - 0x37c], al
xor byte [ebp + eax - 0x37f], cl
inc eax
cmp eax, 3
jae 0x40e5e5
mov cl, byte [ebp - 0x380]
jmp 0x40e5d0
lea eax, [ebp - 0x37f]
mov byte [ebp - 0x37c], 0
push eax
lea ecx, [ebp - 0x43c]
call fcn.004035da
mov edx, eax
mov byte [ebp - 4], 0x21
or ebx, 0x10
jmp 0x40e64f
mov cl, 0xf
mov dword [ebp - 0x60c], 0x60410f
xor byte [ebp + eax - 0x60b], cl
inc eax
cmp eax, 2
jae 0x40e62a
mov cl, byte [ebp - 0x60c]
jmp 0x40e615
lea eax, [ebp - 0x60b]
mov byte [ebp - 0x609], 0
push eax
lea ecx, [ebp - 0x424]
call fcn.004035da
mov edx, eax
mov dword [ebp - 4], 0x22
or ebx, 0x20
mov dword [ebp - 0x5fc], ebx
mov cl, 0x44
mov dword [ebp - 0x3e8], 0x20341144
xor eax, eax
mov dword [ebp - 0x3e4], 0x2a2d3025
mov dword [ebp - 0x3e0], 0x647e23
xor byte [ebp + eax - 0x3e7], cl
inc eax
cmp eax, 0xa
jae 0x40e68c
mov cl, byte [ebp - 0x3e8]
jmp 0x40e677
push edx
lea edx, [ebp - 0x3e7]
mov byte [ebp - 0x3dd], 0
lea ecx, [ebp - 0x364]
call fcn.00409d8f
pop ecx
mov esi, eax
mov dword [ebp - 4], 0x23
mov dl, 0x20
mov dword [ebp - 0x330], 0xd0a0d20
xor ecx, ecx
mov word [ebp - 0x32c], 0xa
movsx eax, dl
and eax, 0x8000000f
jns 0x40e6d5
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x32f], al
inc ecx
cmp ecx, 4
jae 0x40e6ea
mov dl, byte [ebp - 0x330]
jmp 0x40e6c6
lea eax, [ebp - 0x32f]
mov byte [ebp - 0x32b], 0
push eax
mov edx, esi
lea ecx, [ebp - 0x3dc]
call fcn.00405ea5
pop ecx
lea ecx, [ebp - 0x364]
call fcn.0040357e
test bl, 0x20
je 0x40e72a
and ebx, 0xffffffdf
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
mov byte [ebp - 4], 0x27
test bl, 0x10
je 0x40e747
and ebx, 0xffffffef
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x5fc], ebx
call fcn.0040357e
cmp dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x62c]
mov esi, dword [ebp - 0x628]
lea eax, [ebp - 0x3dc]
cmova eax, dword [ebp - 0x3dc]
mov edx, dword [ebp - 0x690]
push 0
push ecx
push dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x778]
push eax
push esi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0xd
call fcn.0040357e
push dword [ebp - 0x618]
mov edx, dword [ebp - 0x66c]
mov ecx, edi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0xa
call fcn.0040357e
push 0x104
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x620]
push eax
push dword [ebp - 0x61c]
mov edx, dword [ebp - 0x674]
mov ecx, edi
call fcn.004064a5
call eax
test eax, eax
je 0x40de0e
push dword [ebp - 0x61c]
mov edx, dword [ebp - 0x66c]
mov ecx, edi
call fcn.004064a5
call eax
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x778]
push esi
call fcn.004064a5
call eax
lea ecx, [ebp - 0x46c]
call fcn.0040357e
lea ecx, [ebp - 0x40c]
call fcn.0040357e
lea ecx, [ebp - 0x49c]
call fcn.0040357e
lea ecx, [ebp - 0x484]
call fcn.0040357e
call fcn.0041970d
ret