Function at 0x40c640
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x798
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 + 0x384], 0x442ec4
mov dword [esi], 0
mov dword [esi + 8], 0
mov eax, dword [0x4486c4]
mov cl, byte [esi + 0x3c]
mov byte [esi + 0x44], cl
mov byte [esi + 0x50], 0xd
mov byte [esi + 0x51], 0xb1
mov byte [esi + 0x52], 0x2d
mov byte [esi + 0x53], 0xb3
mov byte [esi + 0x54], 0x3e
mov byte [esi + 0x55], 0xb5
mov byte [esi + 0x56], 0x2f
mov byte [esi + 0x57], 0xb7
mov byte [esi + 0x58], 0x34
mov byte [esi + 0x59], 0xa9
mov byte [esi + 0x5a], 0x36
mov byte [esi + 0x5b], 0xab
mov byte [esi + 0x5c], 0xd
mov byte [esi + 0x5d], 0xad
mov byte [esi + 0x5e], 0x71
mov byte [esi + 0x5f], 0xaf
mov byte [esi + 0x60], 0x75
mov byte [esi + 0x61], 0xa1
mov byte [esi + 0x62], 0x7c
mov byte [esi + 0x63], 0xa3
mov byte [esi + 0x64], 0x74
mov byte [esi + 0x65], 0xa5
mov byte [esi + 0x66], 0x46
mov byte [esi + 0x67], 0xa7
mov byte [esi + 0x68], 0x40
mov byte [esi + 0x69], 0x99
mov byte [esi + 0x6a], 0x2d
mov byte [esi + 0x6b], 0x9b
mov byte [esi + 0x6c], 5
mov byte [esi + 0x6d], 0x9d
mov byte [esi + 0x6e], 0
mov byte [esi + 0x6f], 0x9f
mov byte [esi + 0x70], 0x34
mov byte [esi + 0x71], 0x91
mov byte [esi + 0x72], 0xd
mov byte [esi + 0x73], 0x93
mov byte [esi + 0x74], 3
mov byte [esi + 0x75], 0x95
mov byte [esi + 0x76], 5
mov byte [esi + 0x77], 0x97
mov byte [esi + 0x78], 0x68
mov byte [esi + 0x79], 0x89
mov byte [esi + 0x7a], 0x34
mov byte [esi + 0x7b], 0x8b
mov byte [esi + 0x7c], 0x38
mov byte [esi + 0x7d], 0x8d
mov byte [esi + 0x7e], 0x6e
mov byte [esi + 0x7f], 0x8f
mov byte [esi + 0x80], 0x51
mov byte [esi + 0x81], 0x81
mov byte [esi + 0x82], 0x52
mov byte [esi + 0x83], 0x83
mov byte [esi + 0x84], 0x5a
mov byte [esi + 0x85], 0x85
mov byte [esi + 0x86], 0x56
mov byte [esi + 0x87], 0x87
mov byte [esi + 0x88], 0xb3
mov byte [esi + 0x89], 0x79
mov byte [esi + 0x8a], 0x9a
mov byte [esi + 0x8b], 0x7b
mov byte [esi + 0x8c], 0xcb
mov byte [esi + 0x8d], 0x7d
mov byte [esi + 0x8e], 0xe7
mov byte [esi + 0x8f], 0x7f
mov byte [esi + 0x90], 0xee
mov byte [esi + 0x91], 0x71
mov byte [esi + 0x92], 0xa4
mov byte [esi + 0x93], 0x73
mov byte [esi + 0x94], 0xa0
mov byte [esi + 0x95], 0x75
mov byte [esi + 0x96], 0xbd
mov byte [esi + 0x97], 0x77
mov byte [esi + 0x98], 0x88
mov byte [esi + 0x99], 0x69
mov byte [esi + 0x9a], 0xe2
mov byte [esi + 0x9b], 0x6b
mov byte [esi + 0x9c], 0xba
mov byte [esi + 0x9d], 0x6d
mov byte [esi + 0x9e], 0xba
mov byte [esi + 0x9f], 0x6f
mov byte [esi + 0xa0], 0xb9
mov byte [esi + 0xa1], 0x61
mov byte [esi + 0xa2], 0x82
mov byte [esi + 0xa3], 0x63
mov byte [esi + 0xa4], 0xa5
mov byte [esi + 0xa5], 0x65
mov byte [esi + 0xa6], 0xf6
mov byte [esi + 0xa7], 0x67
mov byte [esi + 0xa8], 0xc8
mov byte [esi + 0xa9], 0x59
mov byte [esi + 0xaa], 0xc6
mov byte [esi + 0xab], 0x5b
mov byte [esi + 0xac], 0xf9
mov byte [esi + 0xad], 0x5d
mov byte [esi + 0xae], 0xe9
mov byte [esi + 0xaf], 0x5f
mov byte [esi + 0xb0], 0xf5
mov byte [esi + 0xb1], 0x51
mov byte [esi + 0xb2], 0xf0
mov byte [esi + 0xb3], 0x53
mov byte [esi + 0xb4], 0xef
mov byte [esi + 0xb5], 0x55
mov byte [esi + 0xb6], 0xcf
mov byte [esi + 0xb7], 0x57
mov byte [esi + 0xb8], 0xdc
mov byte [esi + 0xb9], 0x49
mov byte [esi + 0xba], 0x95
mov byte [esi + 0xbb], 0x4b
mov byte [esi + 0xbc], 0x99
mov byte [esi + 0xbd], 0x4d
mov byte [esi + 0xbe], 0x9d
mov byte [esi + 0xbf], 0x4f
mov byte [esi + 0xc0], 0x97
mov byte [esi + 0xc1], 0x41
mov byte [esi + 0xc2], 0x9c
mov byte [esi + 0xc3], 0x43
mov byte [esi + 0xc4], 0x97
mov byte [esi + 0xc5], 0x45
mov byte [esi + 0xc6], 0x90
mov byte [esi + 0xc7], 0x47
mov byte [esi + 0xc8], 0xd8
mov byte [esi + 0xc9], 0x39
mov byte [esi + 0xca], 0xe2
mov byte [esi + 0xcb], 0x3b
mov byte [esi + 0xcc], 0x87
mov byte [esi + 0xcd], 0x3d
mov byte [esi + 0xce], 0x86
mov byte [esi + 0xcf], 0x3f
mov byte [esi + 0xd0], 0x84
mov byte [esi + 0xd1], 0x31
mov byte [esi + 0xd2], 0x8f
mov byte [esi + 0xd3], 0x33
mov byte [esi + 0xd4], 0x88
mov byte [esi + 0xd5], 0x35
mov byte [esi + 0xd6], 0xea
mov byte [esi + 0xd7], 0x37
mov byte [esi + 0xd8], 0xc8
mov byte [esi + 0xd9], 0x29
mov byte [esi + 0xda], 0xb6
mov byte [esi + 0xdb], 0x2b
mov byte [esi + 0xdc], 0xb5
mov byte [esi + 0xdd], 0x2d
mov byte [esi + 0xde], 0xb5
mov byte [esi + 0xdf], 0x2f
mov byte [esi + 0xe0], 0x85
mov byte [esi + 0xe1], 0x21
mov byte [esi + 0xe2], 0xc2
mov byte [esi + 0xe3], 0x23
mov byte [esi + 0xe4], 0xe3
mov byte [esi + 0xe5], 0x25
mov byte [esi + 0xe6], 0x83
mov byte [esi + 0xe7], 0x27
mov byte [esi + 0xe8], 0xbb
mov byte [esi + 0xe9], 0x19
mov byte [esi + 0xea], 0x81
mov byte [esi + 0xeb], 0x1b
mov byte [esi + 0xec], 0x83
mov byte [esi + 0xed], 0x1d
mov byte [esi + 0xee], 0xc7
mov byte [esi + 0xef], 0x1f
mov byte [esi + 0xf0], 0xf0
mov byte [esi + 0xf1], 0x11
mov byte [esi + 0xf2], 0xd1
mov byte [esi + 0xf3], 0x13
mov byte [esi + 0xf4], 0x8c
mov byte [esi + 0xf5], 0x15
mov byte [esi + 0xf6], 0x84
mov byte [esi + 0xf7], 0x17
mov byte [esi + 0xf8], 0x97
mov byte [esi + 0xf9], 9
mov byte [esi + 0xfa], 0x97
mov byte [esi + 0xfb], 0xb
mov byte [esi + 0xfc], 0xa9
mov byte [esi + 0xfd], 0xd
mov byte [esi + 0xfe], 0xd1
mov byte [esi + 0xff], 0xf
mov byte [esi + 0x100], 0xd1
mov byte [esi + 0x101], 1
mov byte [esi + 0x102], 0xd3
mov byte [esi + 0x103], 3
mov byte [esi + 0x104], 0xcd
mov byte [esi + 0x105], 5
mov byte [esi + 0x106], 0xd8
mov byte [esi + 0x107], 7
mov byte [esi + 0x108], 0x28
mov byte [esi + 0x109], 0xf9
mov byte [esi + 0x10a], 0x24
mov byte [esi + 0x10b], 0xfb
mov byte [esi + 0x10c], 0x2c
mov byte [esi + 0x10d], 0xfd
mov byte [esi + 0x10e], 0x20
mov byte [esi + 0x10f], 0xff
mov byte [esi + 0x110], 0x20
mov byte [esi + 0x111], 0xf1
mov byte [esi + 0x112], 0x12
mov byte [esi + 0x113], 0xf3
mov byte [esi + 0x114], 0x47
mov byte [esi + 0x115], 0xf5
mov byte [esi + 0x116], 0x57
mov byte [esi + 0x117], 0xf7
mov byte [esi + 0x118], 0x4e
mov byte [esi + 0x119], 0xe9
mov byte [esi + 0x11a], 0x4b
mov byte [esi + 0x11b], 0xeb
mov byte [esi + 0x11c], 0x7e
mov byte [esi + 0x11d], 0xed
mov byte [esi + 0x11e], 0x77
mov byte [esi + 0x11f], 0xef
mov byte [esi + 0x120], 0x3f
mov byte [esi + 0x121], 0xe1
mov byte [esi + 0x122], 0x37
mov byte [esi + 0x123], 0xe3
mov byte [esi + 0x124], 0x37
mov byte [esi + 0x125], 0xe5
mov byte [esi + 0x126], 0x31
mov byte [esi + 0x127], 0xe7
mov byte [esi + 0x128], 6
mov byte [esi + 0x129], 0xd9
mov byte [esi + 0x12a], 9
mov byte [esi + 0x12b], 0xdb
mov byte [esi + 0x12c], 0xa
mov byte [esi + 0x12d], 0xdd
mov byte [esi + 0x12e], 0xde
mov byte [esi + 0x12f], 0xdf
mov dword [esi + 0x134], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe8
jae 0x40cc8b
jmp 0x40cc40
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0x50]
mov edi, ecx
add edi, 0xc8
and edi, edx
add ecx, edx
add edi, edi
sub ecx, edi
add ecx, 0x82eb8cc8
mov dword [esi + 0x388], ecx
mov ecx, dword [esi + 0x388]
add cl, 0x88
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x50], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe8
jb 0x40cc40
jmp 0x40cc8b
sub esp, 0x14
lea ecx, [esi + 0x50]
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 + 0x40], eax
mov eax, dword [esi + 0x40]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x380], ecx
mov eax, dword [esi + 0x384]
mov ecx, dword [esi + 0x380]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x1d0], eax
push eax
mov eax, esp
mov dword [esi + 0x1dc], eax
mov dword [eax], 0x442ecc
push eax
mov dword [esi + 0x1d4], esp
push eax
mov eax, esp
mov dword [esi + 0x200], eax
mov dword [eax], 0x442ed4
push eax
mov dword [esi + 0x1f4], esp
push eax
mov eax, esp
mov dword [esi + 0x1f8], eax
mov dword [eax], 0x442edc
push eax
mov dword [esi + 0x1f0], esp
push eax
mov eax, esp
mov dword [esi + 0x208], eax
mov dword [eax], 0x442b50
push eax
mov eax, esp
mov dword [esi + 0x204], eax
mov dword [eax], 0x42
push eax
mov eax, esp
mov dword [esi + 0x218], eax
mov dword [eax], 0x442ee4
push eax
mov dword [esi + 0x210], esp
push eax
mov eax, esp
mov dword [esi + 0x214], eax
mov dword [eax], 0x442eec
push eax
mov dword [esi + 0x20c], esp
push eax
mov eax, esp
mov dword [esi + 0x254], eax
mov dword [eax], 0x442ef4
push eax
mov dword [esi + 0x240], esp
push eax
mov eax, esp
mov dword [esi + 0x248], eax
mov dword [eax], 0x442efc
push eax
mov dword [esi + 0x230], esp
push eax
mov eax, esp
mov dword [esi + 0x234], eax
mov dword [eax], 0x442b50
push eax
mov eax, esp
mov dword [esi + 0x220], eax
mov dword [eax], 0x47
push eax
mov eax, esp
mov dword [esi + 0x17c], eax
mov dword [eax], 0x442b50
push eax
mov eax, esp
mov dword [esi + 0x37c], eax
mov dword [eax], 0x48
push eax
mov eax, esp
mov dword [esi + 0x378], eax
mov dword [eax], 0x442b50
push eax
mov eax, esp
mov dword [esi + 0x374], eax
mov dword [eax], 0x49
push eax
mov eax, esp
mov dword [esi + 0x370], eax
mov dword [eax], 0x442f04
push eax
mov dword [esi + 0x36c], esp
push eax
mov eax, esp
mov dword [esi + 0x178], eax
mov dword [eax], 0x442f0c
push eax
mov dword [esi + 0x368], esp
push eax
mov eax, esp
mov dword [esi + 0x364], eax
mov dword [eax], 0x442f14
push eax
mov dword [esi + 0x360], esp
push eax
mov eax, esp
mov dword [esi + 0x35c], eax
mov dword [eax], 0x442b50
push eax
mov eax, esp
mov dword [eax], 0x4d
push eax
mov ebx, esp
mov dword [esi + 0x354], ebx
mov dword [ebx], 0x442b50
push eax
mov ecx, esp
mov dword [esi + 0x350], ecx
mov dword [ecx], 0x4e
push eax
mov edi, esp
mov dword [esi + 0x34c], edi
mov dword [edi], 0x442b50
push eax
mov ecx, esp
mov dword [esi + 0x348], ecx
mov dword [ecx], 0x4f
push eax
mov ebx, esp
mov dword [esi + 0x344], ebx
mov dword [ebx], 0x442f1c
push eax
mov dword [esi + 0x340], esp
push eax
mov ebx, esp
mov dword [esi + 0x33c], ebx
mov dword [ebx], 0x442f24
push eax
mov dword [esi + 0x338], esp
push eax
mov ebx, esp
mov dword [esi + 0x334], ebx
mov dword [ebx], 0x442f2c
push eax
mov dword [esi + 0x330], esp
push eax
mov ebx, esp
mov dword [esi + 0x32c], ebx
mov dword [ebx], 0x442f34
push eax
mov dword [esi + 0x328], esp
push eax
mov ebx, esp
mov dword [esi + 0x324], ebx
mov dword [ebx], 0x442b50
push eax
mov ebx, esp
mov dword [ebx], 0x57
push eax
mov edi, esp
mov dword [esi + 0x31c], edi
mov dword [edi], 0x442f3c
push eax
mov dword [esi + 0x318], esp
push eax
mov edi, esp
mov dword [esi + 0x314], edi
mov dword [edi], 0x442f44
push eax
mov dword [esi + 0x310], esp
push eax
mov edi, esp
mov dword [esi + 0x30c], edi
mov dword [edi], 0x442b50
push eax
mov ecx, esp
mov dword [esi + 0x308], ecx
mov dword [ecx], 0x57
push eax
mov edi, esp
mov dword [esi + 0x304], edi
mov dword [edi], 0x442b50
push eax
mov ecx, esp
mov dword [esi + 0x300], ecx
mov dword [ecx], 0x58
push eax
mov ecx, esp
mov dword [esi + 0x2fc], ecx
mov dword [ecx], 0x442b50
push eax
mov ecx, esp
mov dword [ecx], 0x59
push eax
mov edi, esp
mov dword [esi + 0x2f4], edi
mov dword [edi], 0x442f4c
push eax
mov dword [esi + 0x2f0], esp
push eax
mov edi, esp
mov dword [esi + 0x2ec], edi
mov dword [edi], 0x442f54
push eax
mov dword [esi + 0x2e8], esp
push eax
mov edi, esp
mov dword [esi + 0x2e0], edi
mov dword [edi], 0x442b50
push eax
mov edi, esp
mov dword [esi + 0x2d4], edi
mov dword [edi], 0x5c
push eax
mov edi, esp
mov dword [esi + 0x2bc], edi
mov dword [edi], 0x442f5c
push eax
mov dword [esi + 0x298], esp
push eax
mov edx, esp
mov dword [esi + 0x284], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x268], edx
mov dword [edx], 0x47
push eax
mov edx, esp
mov dword [esi + 0x278], edx
mov dword [edx], 0x442f64
push eax
mov dword [esi + 0x25c], esp
push eax
mov edx, esp
mov dword [esi + 0x270], edx
mov dword [edx], 0x442f6c
push eax
mov dword [esi + 0x258], esp
push eax
mov edi, esp
mov dword [esi + 0x2ac], edi
mov dword [edi], 0x442f74
push eax
mov dword [esi + 0x28c], esp
push eax
mov edx, esp
mov dword [esi + 0x280], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x264], edx
mov dword [edx], 0x62
push eax
mov edx, esp
mov dword [esi + 0x260], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x24c], edx
mov dword [edx], 0x63
push eax
mov edx, esp
mov dword [esi + 0x250], edx
mov dword [edx], 0x442f7c
push eax
mov dword [esi + 0x244], esp
push eax
mov edi, esp
mov dword [esi + 0x2c0], edi
mov dword [edi], 0x442f84
push eax
mov dword [esi + 0x29c], esp
push eax
mov edx, esp
mov dword [esi + 0x290], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x274], edx
mov dword [edx], 0x66
push eax
mov edx, esp
mov dword [esi + 0x27c], edx
mov dword [edx], 0x442f8c
push eax
mov dword [esi + 0x26c], esp
push eax
mov edi, esp
mov dword [esi + 0x174], edi
mov dword [edi], 0x442f94
push eax
mov dword [esi + 0x170], esp
push eax
mov edi, esp
mov dword [esi + 0x2cc], edi
mov dword [edi], 0x442b50
push eax
mov edi, esp
mov dword [esi + 0x2a8], edi
mov dword [edi], 0x69
push eax
mov edi, esp
mov dword [esi + 0x2d0], edi
mov dword [edi], 0x442b50
push eax
mov edi, esp
mov dword [esi + 0x2b0], edi
mov dword [edi], 0x6a
push eax
mov edi, esp
mov dword [esi + 0x2c8], edi
mov dword [edi], 0x442f9c
push eax
mov dword [esi + 0x2b4], esp
push eax
mov edi, esp
mov dword [esi + 0x2c4], edi
mov dword [edi], 0x442fa4
push eax
mov dword [esi + 0x2a4], esp
push eax
mov edi, esp
mov dword [esi + 0x2e4], edi
mov dword [edi], 0x442fac
push eax
mov dword [esi + 0x2dc], esp
push eax
mov edi, esp
mov dword [esi + 0x2d8], edi
mov dword [edi], 0x442b50
push eax
mov edi, esp
mov dword [esi + 0x2b8], edi
mov dword [edi], 0x71
push eax
mov edx, esp
mov dword [esi + 0x238], edx
mov dword [edx], 0x442fb4
push eax
mov dword [esi + 0x22c], esp
push eax
mov edx, esp
mov dword [esi + 0x23c], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x228], edx
mov dword [edx], 0x70
push eax
mov edx, esp
mov dword [esi + 0x224], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x21c], edx
mov dword [edx], 0x71
push eax
mov edi, esp
mov dword [edi], 0x442fbc
push eax
mov dword [esi + 0x294], esp
push eax
mov edx, esp
mov dword [esi + 0x2a0], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x288], edx
mov dword [edx], 0x73
push eax
mov edx, esp
mov dword [esi + 0x1a4], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1a0], edx
mov dword [edx], 0x44
push eax
mov edx, esp
mov dword [esi + 0x1cc], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1c8], edx
mov dword [edx], 0x4a
push eax
mov edx, esp
mov dword [esi + 0x1c0], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1b8], edx
mov dword [edx], 0x50
push eax
mov edx, esp
mov dword [esi + 0x1b4], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1b0], edx
mov dword [edx], 0x55
push eax
mov edx, esp
mov dword [esi + 0x1ac], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1a8], edx
mov dword [edx], 0x5a
push eax
mov edx, esp
mov dword [esi + 0x1c4], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1bc], edx
mov dword [edx], 0x60
push eax
mov edx, esp
mov dword [esi + 0x1e0], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1d8], edx
mov dword [edx], 0x64
push eax
mov edx, esp
mov dword [esi + 0x1e8], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1e4], edx
mov dword [edx], 0x67
push eax
mov edx, esp
mov dword [esi + 0x1fc], edx
mov dword [edx], 0x442b50
push eax
mov edx, esp
mov dword [esi + 0x1ec], edx
mov dword [edx], 0x6c
jmp dword [esi + 0x1d0]