Function at 0x40c640
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x758
mov esi, esp
mov eax, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x344], 0x43ffb4
mov dword [esi], 0
mov dword [esi + 8], 0
mov eax, dword [0x445994]
mov cl, byte [esi + 0x10c]
mov byte [esi + 0x114], cl
mov byte [esi + 0x20], 0x51
mov byte [esi + 0x21], 0x81
mov byte [esi + 0x22], 0x31
mov byte [esi + 0x23], 0x83
mov byte [esi + 0x24], 8
mov byte [esi + 0x25], 0x9d
mov byte [esi + 0x26], 0x27
mov byte [esi + 0x27], 0x9f
mov byte [esi + 0x28], 0x2a
mov byte [esi + 0x29], 0x99
mov byte [esi + 0x2a], 0x2c
mov byte [esi + 0x2b], 0x9b
mov byte [esi + 0x2c], 0x39
mov byte [esi + 0x2d], 0x95
mov byte [esi + 0x2e], 0x65
mov byte [esi + 0x2f], 0x97
mov byte [esi + 0x30], 0x59
mov byte [esi + 0x31], 0x91
mov byte [esi + 0x32], 0x66
mov byte [esi + 0x33], 0x93
mov byte [esi + 0x34], 0x62
mov byte [esi + 0x35], 0x6d
mov byte [esi + 0x36], 0x8c
mov byte [esi + 0x37], 0x6f
mov byte [esi + 0x38], 0x96
mov byte [esi + 0x39], 0x69
mov byte [esi + 0x3a], 0xc1
mov byte [esi + 0x3b], 0x6b
mov byte [esi + 0x3c], 0xd1
mov byte [esi + 0x3d], 0x65
mov byte [esi + 0x3e], 0xd2
mov byte [esi + 0x3f], 0x67
mov byte [esi + 0x40], 0xda
mov byte [esi + 0x41], 0x61
mov byte [esi + 0x42], 0xd1
mov byte [esi + 0x43], 0x63
mov byte [esi + 0x44], 0xeb
mov byte [esi + 0x45], 0x7d
mov byte [esi + 0x46], 0xf1
mov byte [esi + 0x47], 0x7f
mov byte [esi + 0x48], 0x9e
mov byte [esi + 0x49], 0x79
mov byte [esi + 0x4a], 0xae
mov byte [esi + 0x4b], 0x7b
mov byte [esi + 0x4c], 0xd6
mov byte [esi + 0x4d], 0x75
mov byte [esi + 0x4e], 0x94
mov byte [esi + 0x4f], 0x77
mov byte [esi + 0x50], 0x85
mov byte [esi + 0x51], 0x71
mov byte [esi + 0x52], 0x80
mov byte [esi + 0x53], 0x73
mov byte [esi + 0x54], 0x84
mov byte [esi + 0x55], 0x4d
mov byte [esi + 0x56], 0xbc
mov byte [esi + 0x57], 0x4f
mov byte [esi + 0x58], 0x8b
mov byte [esi + 0x59], 0x49
mov byte [esi + 0x5a], 0xa8
mov byte [esi + 0x5b], 0x4b
mov byte [esi + 0x5c], 0xe3
mov byte [esi + 0x5d], 0x45
mov byte [esi + 0x5e], 0xff
mov byte [esi + 0x5f], 0x47
mov byte [esi + 0x60], 0xf0
mov byte [esi + 0x61], 0x41
mov byte [esi + 0x62], 0x8e
mov byte [esi + 0x63], 0x43
mov byte [esi + 0x64], 0x8e
mov byte [esi + 0x65], 0x5d
mov byte [esi + 0x66], 0x99
mov byte [esi + 0x67], 0x5f
mov byte [esi + 0x68], 0xbe
mov byte [esi + 0x69], 0x59
mov byte [esi + 0x6a], 0xd0
mov byte [esi + 0x6b], 0x5b
mov byte [esi + 0x6c], 0x94
mov byte [esi + 0x6d], 0x55
mov byte [esi + 0x6e], 0x98
mov byte [esi + 0x6f], 0x57
mov byte [esi + 0x70], 0xad
mov byte [esi + 0x71], 0x51
mov byte [esi + 0x72], 0xb0
mov byte [esi + 0x73], 0x53
mov byte [esi + 0x74], 0x91
mov byte [esi + 0x75], 0x2d
mov byte [esi + 0x76], 0x9c
mov byte [esi + 0x77], 0x2f
mov byte [esi + 0x78], 0x9e
mov byte [esi + 0x79], 0x29
mov byte [esi + 0x7a], 0x9c
mov byte [esi + 0x7b], 0x2b
mov byte [esi + 0x7c], 0x95
mov byte [esi + 0x7d], 0x25
mov byte [esi + 0x7e], 0x8d
mov byte [esi + 0x7f], 0x27
mov byte [esi + 0x80], 0x99
mov byte [esi + 0x81], 0x21
mov byte [esi + 0x82], 0x82
mov byte [esi + 0x83], 0x23
mov byte [esi + 0x84], 0xf7
mov byte [esi + 0x85], 0x3d
mov byte [esi + 0x86], 0x87
mov byte [esi + 0x87], 0x3f
mov byte [esi + 0x88], 0xb2
mov byte [esi + 0x89], 0x39
mov byte [esi + 0x8a], 0xc9
mov byte [esi + 0x8b], 0x3b
mov byte [esi + 0x8c], 0xf5
mov byte [esi + 0x8d], 0x35
mov byte [esi + 0x8e], 0xf9
mov byte [esi + 0x8f], 0x37
mov byte [esi + 0x90], 0xff
mov byte [esi + 0x91], 0x31
mov byte [esi + 0x92], 0xc6
mov byte [esi + 0x93], 0x33
mov byte [esi + 0x94], 0xff
mov byte [esi + 0x95], 0xd
mov byte [esi + 0x96], 0xc2
mov byte [esi + 0x97], 0xf
mov byte [esi + 0x98], 0xee
mov byte [esi + 0x99], 9
mov byte [esi + 0x9a], 0xf0
mov byte [esi + 0x9b], 0xb
mov byte [esi + 0x9c], 0xdf
mov byte [esi + 0x9d], 5
mov byte [esi + 0x9e], 0xdc
mov byte [esi + 0x9f], 7
mov byte [esi + 0xa0], 0xaa
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 0xd7
mov byte [esi + 0xa3], 3
mov byte [esi + 0xa4], 0xd6
mov byte [esi + 0xa5], 0x1d
mov byte [esi + 0xa6], 0xe8
mov byte [esi + 0xa7], 0x1f
mov byte [esi + 0xa8], 0xfe
mov byte [esi + 0xa9], 0x19
mov byte [esi + 0xaa], 0xac
mov byte [esi + 0xab], 0x1b
mov byte [esi + 0xac], 0xa1
mov byte [esi + 0xad], 0x15
mov byte [esi + 0xae], 0xa1
mov byte [esi + 0xaf], 0x17
mov byte [esi + 0xb0], 0xa9
mov byte [esi + 0xb1], 0x11
mov byte [esi + 0xb2], 0xf0
mov byte [esi + 0xb3], 0x13
mov byte [esi + 0xb4], 0xcb
mov byte [esi + 0xb5], 0xed
mov byte [esi + 0xb6], 0x53
mov byte [esi + 0xb7], 0xef
mov byte [esi + 0xb8], 0x53
mov byte [esi + 0xb9], 0xe9
mov byte [esi + 0xba], 0x5d
mov byte [esi + 0xbb], 0xeb
mov byte [esi + 0xbc], 0x5b
mov byte [esi + 0xbd], 0xe5
mov byte [esi + 0xbe], 0x1f
mov byte [esi + 0xbf], 0xe7
mov byte [esi + 0xc0], 6
mov byte [esi + 0xc1], 0xe1
mov byte [esi + 0xc2], 0x3d
mov byte [esi + 0xc3], 0xe3
mov byte [esi + 0xc4], 0x5a
mov byte [esi + 0xc5], 0xfd
mov byte [esi + 0xc6], 0x4e
mov byte [esi + 0xc7], 0xff
mov byte [esi + 0xc8], 0x4f
mov byte [esi + 0xc9], 0xf9
mov byte [esi + 0xca], 0x4f
mov byte [esi + 0xcb], 0xfb
mov byte [esi + 0xcc], 0x45
mov byte [esi + 0xcd], 0xf5
mov byte [esi + 0xce], 5
mov byte [esi + 0xcf], 0xf7
mov byte [esi + 0xd0], 5
mov byte [esi + 0xd1], 0xf1
mov byte [esi + 0xd2], 3
mov byte [esi + 0xd3], 0xf3
mov byte [esi + 0xd4], 0x39
mov byte [esi + 0xd5], 0xcd
mov byte [esi + 0xd6], 0x3a
mov byte [esi + 0xd7], 0xcf
mov byte [esi + 0xd8], 0x3e
mov byte [esi + 0xd9], 0xc9
mov byte [esi + 0xda], 0x3e
mov byte [esi + 0xdb], 0xcb
mov byte [esi + 0xdc], 0x3a
mov byte [esi + 0xdd], 0xc5
mov byte [esi + 0xde], 0x32
mov byte [esi + 0xdf], 0xc7
mov byte [esi + 0xe0], 0x36
mov byte [esi + 0xe1], 0xc1
mov byte [esi + 0xe2], 0x20
mov byte [esi + 0xe3], 0xc3
mov byte [esi + 0xe4], 0x6f
mov byte [esi + 0xe5], 0xdd
mov byte [esi + 0xe6], 0x7f
mov byte [esi + 0xe7], 0xdf
mov byte [esi + 0xe8], 0x60
mov byte [esi + 0xe9], 0xd9
mov byte [esi + 0xea], 0x7b
mov byte [esi + 0xeb], 0xdb
mov byte [esi + 0xec], 0x68
mov byte [esi + 0xed], 0xd5
mov byte [esi + 0xee], 0x6f
mov byte [esi + 0xef], 0xd7
mov byte [esi + 0xf0], 0x27
mov byte [esi + 0xf1], 0xd1
mov byte [esi + 0xf2], 0x1f
mov byte [esi + 0xf3], 0xd3
mov byte [esi + 0xf4], 0x1f
mov byte [esi + 0xf5], 0xad
mov byte [esi + 0xf6], 0x65
mov byte [esi + 0xf7], 0xaf
mov byte [esi + 0xf8], 0x58
mov byte [esi + 0xf9], 0xa9
mov byte [esi + 0xfa], 0x65
mov byte [esi + 0xfb], 0xab
mov byte [esi + 0xfc], 0x64
mov byte [esi + 0xfd], 0xa5
mov byte [esi + 0xfe], 0xa4
mov byte [esi + 0xff], 0xa7
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe0
jae 0x40cbf2
jmp 0x40cba2
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0x20]
mov edi, ecx
and edi, 0x7d7966b
xor ecx, 0x7d7966b
lea ecx, [ecx + edi*2]
mov edi, ecx
add edi, edx
and ecx, edx
add ecx, ecx
sub edi, ecx
mov dword [esi + 0x348], edi
mov ecx, dword [esi + 0x348]
add cl, 0x13
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x20], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe0
jb 0x40cba2
jmp 0x40cbf2
sub esp, 0x14
lea ecx, [esi + 0x20]
mov dword [esp], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x340], ecx
mov eax, dword [esi + 0x344]
mov ecx, dword [esi + 0x340]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x1cc], eax
push eax
mov eax, esp
mov dword [esi + 0x1dc], eax
mov dword [eax], 0x43ffbc
push eax
mov dword [esi + 0x1d8], esp
push eax
mov eax, esp
mov dword [esi + 0x1f4], eax
mov dword [eax], 0x43ffc4
push eax
mov dword [esi + 0x1ec], esp
push eax
mov eax, esp
mov dword [esi + 0x1f0], eax
mov dword [eax], 0x43ffcc
push eax
mov dword [esi + 0x1e8], esp
push eax
mov eax, esp
mov dword [esi + 0x208], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1fc], eax
mov dword [eax], 0x40
push eax
mov eax, esp
mov dword [esi + 0x210], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x200], eax
mov dword [eax], 0x41
push eax
mov eax, esp
mov dword [esi + 0x204], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1f8], eax
mov dword [eax], 0x42
push eax
mov eax, esp
mov dword [esi + 0x214], eax
mov dword [eax], 0x43ffd4
push eax
mov dword [esi + 0x20c], esp
push eax
mov eax, esp
mov dword [esi + 0x238], eax
mov dword [eax], 0x43ffdc
push eax
mov dword [esi + 0x220], esp
push eax
mov eax, esp
mov dword [esi + 0x22c], eax
mov dword [eax], 0x43ffe4
push eax
mov dword [esi + 0x21c], esp
push eax
mov eax, esp
mov dword [esi + 0x278], eax
mov dword [eax], 0x43ffec
push eax
mov dword [esi + 0x244], esp
push eax
mov eax, esp
mov dword [esi + 0x230], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x218], eax
mov dword [eax], 0x47
push eax
mov eax, esp
mov dword [esi + 0x16c], eax
mov dword [eax], 0x43fff4
push eax
mov dword [esi + 0x168], esp
push eax
mov eax, esp
mov dword [esi + 0x33c], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x338], eax
mov dword [eax], 0x49
push eax
mov ebx, esp
mov dword [esi + 0x334], ebx
mov dword [ebx], 0x43fffc
push eax
mov dword [esi + 0x330], esp
push eax
mov ebx, esp
mov dword [esi + 0x32c], ebx
mov dword [ebx], 0x440004
push eax
mov dword [esi + 0x328], esp
push eax
mov ebx, esp
mov dword [esi + 0x324], ebx
mov dword [ebx], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x320], eax
mov dword [eax], 0x4d
push eax
mov eax, esp
mov dword [esi + 0x31c], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x318], eax
mov dword [eax], 0x4d
push eax
mov edi, esp
mov dword [esi + 0x314], edi
mov dword [edi], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x310], eax
mov dword [eax], 0x4e
push eax
mov ebx, esp
mov dword [esi + 0x30c], ebx
mov dword [ebx], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x308], eax
mov dword [eax], 0x4f
push eax
mov edi, esp
mov dword [esi + 0x304], edi
mov dword [edi], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x300], eax
mov dword [eax], 0x50
push eax
mov ebx, esp
mov dword [esi + 0x2fc], ebx
mov dword [ebx], 0x44000c
push eax
mov dword [esi + 0x2f4], esp
push eax
mov eax, esp
mov dword [esi + 0x2f8], eax
mov dword [eax], 0x440014
push eax
mov dword [esi + 0x2f0], esp
push eax
mov ecx, esp
mov dword [esi + 0x2d4], ecx
mov dword [ecx], 0x44001c
push eax
mov dword [esi + 0x2b0], esp
push eax
mov ecx, esp
mov dword [esi + 0x294], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x258], ecx
mov dword [ecx], 0x47
push eax
mov ecx, esp
mov dword [esi + 0x2a8], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x270], ecx
mov dword [ecx], 0x55
push eax
mov ecx, esp
mov dword [esi + 0x290], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x254], ecx
mov dword [ecx], 0x56
push eax
mov ecx, esp
mov dword [esi + 0x26c], ecx
mov dword [ecx], 0x440024
push eax
mov dword [esi + 0x248], esp
push eax
mov ecx, esp
mov dword [esi + 0x260], ecx
mov dword [ecx], 0x44002c
push eax
mov dword [esi + 0x234], esp
push eax
mov ecx, esp
mov dword [esi + 0x2c8], ecx
mov dword [ecx], 0x440034
push eax
mov dword [esi + 0x2a0], esp
push eax
mov ecx, esp
mov dword [esi + 0x28c], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x250], ecx
mov dword [ecx], 0x5a
push eax
mov ecx, esp
mov dword [esi + 0x264], ecx
mov dword [ecx], 0x44003c
push eax
mov dword [esi + 0x240], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a4], ecx
mov dword [ecx], 0x440044
push eax
mov dword [esi + 0x274], esp
push eax
mov ecx, esp
mov dword [esi + 0x25c], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x228], ecx
mov dword [ecx], 0x5d
push eax
mov ecx, esp
mov dword [esi + 0x23c], ecx
mov dword [ecx], 0x44004c
push eax
mov dword [esi + 0x224], esp
push eax
mov ecx, esp
mov dword [esi + 0x160], ecx
mov dword [ecx], 0x440054
push eax
mov dword [esi + 0x2c4], esp
push eax
mov ecx, esp
mov dword [esi + 0x2b8], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x280], ecx
mov dword [ecx], 0x60
push eax
mov ecx, esp
mov dword [esi + 0x29c], ecx
mov dword [ecx], 0x44005c
push eax
mov dword [esi + 0x268], esp
push eax
mov edi, esp
mov dword [esi + 0x2ec], edi
mov dword [edi], 0x440064
push eax
mov dword [esi + 0x2e8], esp
push eax
mov edi, esp
mov dword [esi + 0x2e4], edi
mov dword [edi], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x2cc], ecx
mov dword [ecx], 0x63
push eax
mov eax, esp
mov dword [esi + 0x164], eax
mov dword [eax], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x2d0], ecx
mov dword [ecx], 0x64
push eax
mov ebx, esp
mov dword [ebx], 0x44006c
push eax
mov edx, esp
push eax
mov ecx, esp
mov dword [esi + 0x2dc], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x2c0], ecx
mov dword [ecx], 0x69
push eax
mov ecx, esp
mov dword [esi + 0x2b4], ecx
mov dword [ecx], 0x440074
push eax
mov dword [esi + 0x298], esp
push eax
mov ecx, esp
mov dword [esi + 0x2bc], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x288], ecx
mov dword [ecx], 0x68
push eax
mov ecx, esp
mov dword [esi + 0x284], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x24c], ecx
mov dword [ecx], 0x69
push eax
mov ecx, esp
mov dword [esi + 0x15c], ecx
mov dword [ecx], 0x44007c
push eax
mov dword [esi + 0x158], esp
push eax
mov ecx, esp
mov dword [esi + 0x2ac], ecx
mov dword [ecx], 0x43fcb0
push eax
mov ecx, esp
mov dword [esi + 0x27c], ecx
mov dword [ecx], 0x6b
push eax
mov eax, esp
mov dword [esi + 0x1b0], eax
mov dword [eax], 0x440084
push eax
mov dword [esi + 0x1ac], esp
push eax
mov eax, esp
mov dword [esi + 0x1b8], eax
mov dword [eax], 0x44008c
push eax
mov dword [esi + 0x1b4], esp
push eax
mov eax, esp
mov dword [esi + 0x1a0], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x19c], eax
mov dword [eax], 0x45
push eax
mov eax, esp
mov dword [esi + 0x1c4], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1bc], eax
mov dword [eax], 0x58
push eax
mov eax, esp
mov dword [esi + 0x1c8], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1c0], eax
mov dword [eax], 0x5b
push eax
mov eax, esp
mov dword [esi + 0x1d4], eax
mov dword [eax], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1d0], eax
mov dword [eax], 0x5e
push eax
mov ecx, esp
mov dword [ecx], 0x43fcb0
push eax
mov eax, esp
mov dword [esi + 0x1e0], eax
mov dword [eax], 0x61
push eax
mov eax, esp
mov dword [eax], 0x43fcb0
push eax
mov edi, esp
mov dword [esi + 0x1a4], edi
mov dword [edi], 0x6d
jmp dword [esi + 0x1cc]