Function at 0x40d980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4d0
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 + 0x2bc], 0x43e9a0
mov byte [esi + 0xb], 0
mov eax, dword [0x4470ac]
mov cl, byte [esi + 0x30]
mov byte [esi + 0x34], cl
mov byte [esi + 0x40], 0xd
mov byte [esi + 0x41], 0xd9
mov byte [esi + 0x42], 0x2d
mov byte [esi + 0x43], 0xdb
mov byte [esi + 0x44], 0x1e
mov byte [esi + 0x45], 0xe5
mov byte [esi + 0x46], 0xf
mov byte [esi + 0x47], 0xe7
mov byte [esi + 0x48], 0x14
mov byte [esi + 0x49], 0xe1
mov byte [esi + 0x4a], 0x16
mov byte [esi + 0x4b], 0xe3
mov byte [esi + 0x4c], 0xd
mov byte [esi + 0x4d], 0xed
mov byte [esi + 0x4e], 0xd9
mov byte [esi + 0x4f], 0xef
mov byte [esi + 0x50], 0xd5
mov byte [esi + 0x51], 0xe9
mov byte [esi + 0x52], 0xdc
mov byte [esi + 0x53], 0xeb
mov byte [esi + 0x54], 0xc4
mov byte [esi + 0x55], 0xf5
mov byte [esi + 0x56], 0xd6
mov byte [esi + 0x57], 0xf7
mov byte [esi + 0x58], 0xd8
mov byte [esi + 0x59], 0xf1
mov byte [esi + 0x5a], 0x2d
mov byte [esi + 0x5b], 0xf3
mov byte [esi + 0x5c], 0x15
mov byte [esi + 0x5d], 0xfd
mov byte [esi + 0x5e], 8
mov byte [esi + 0x5f], 0xff
mov byte [esi + 0x60], 0x14
mov byte [esi + 0x61], 0xf9
mov byte [esi + 0x62], 0xd
mov byte [esi + 0x63], 0xfb
mov byte [esi + 0x64], 0x7b
mov byte [esi + 0x65], 0x85
mov byte [esi + 0x66], 0x75
mov byte [esi + 0x67], 0x87
mov byte [esi + 0x68], 0xa0
mov byte [esi + 0x69], 0x81
mov byte [esi + 0x6a], 0x54
mov byte [esi + 0x6b], 0x83
mov byte [esi + 0x6c], 0x50
mov byte [esi + 0x6d], 0x8d
mov byte [esi + 0x6e], 0xae
mov byte [esi + 0x6f], 0x8f
mov byte [esi + 0x70], 0xb9
mov byte [esi + 0x71], 0x89
mov byte [esi + 0x72], 0xba
mov byte [esi + 0x73], 0x8b
mov byte [esi + 0x74], 0xa2
mov byte [esi + 0x75], 0x95
mov byte [esi + 0x76], 0xa6
mov byte [esi + 0x77], 0x97
mov byte [esi + 0x78], 0xab
mov byte [esi + 0x79], 0x91
mov byte [esi + 0x7a], 0xb2
mov byte [esi + 0x7b], 0x93
mov byte [esi + 0x7c], 0x43
mov byte [esi + 0x7d], 0x9d
mov byte [esi + 0x7e], 0x77
mov byte [esi + 0x7f], 0x9f
mov byte [esi + 0x80], 0x6e
mov byte [esi + 0x81], 0x99
mov byte [esi + 0x82], 0xa4
mov byte [esi + 0x83], 0x9b
mov byte [esi + 0x84], 0x98
mov byte [esi + 0x85], 0xa5
mov byte [esi + 0x86], 0x9d
mov byte [esi + 0x87], 0xa7
mov byte [esi + 0x88], 0x80
mov byte [esi + 0x89], 0xa1
mov byte [esi + 0x8a], 0x5a
mov byte [esi + 0x8b], 0xa3
mov byte [esi + 0x8c], 0x92
mov byte [esi + 0x8d], 0xad
mov byte [esi + 0x8e], 0x92
mov byte [esi + 0x8f], 0xaf
mov byte [esi + 0x90], 0x81
mov byte [esi + 0x91], 0xa9
mov byte [esi + 0x92], 0x8a
mov byte [esi + 0x93], 0xab
mov byte [esi + 0x94], 0x75
mov byte [esi + 0x95], 0xb5
mov byte [esi + 0x96], 0x46
mov byte [esi + 0x97], 0xb7
mov byte [esi + 0x98], 0x40
mov byte [esi + 0x99], 0xb1
mov byte [esi + 0x9a], 0x46
mov byte [esi + 0x9b], 0xb3
mov byte [esi + 0x9c], 0x51
mov byte [esi + 0x9d], 0xbd
mov byte [esi + 0x9e], 0x61
mov byte [esi + 0x9f], 0xbf
mov byte [esi + 0xa0], 0x55
mov byte [esi + 0xa1], 0xb9
mov byte [esi + 0xa2], 0x58
mov byte [esi + 0xa3], 0xbb
mov byte [esi + 0xa4], 0x8f
mov byte [esi + 0xa5], 0x45
mov byte [esi + 0xa6], 0xaf
mov byte [esi + 0xa7], 0x47
mov byte [esi + 0xa8], 0xbc
mov byte [esi + 0xa9], 0x41
mov byte [esi + 0xaa], 0x75
mov byte [esi + 0xab], 0x43
mov byte [esi + 0xac], 0x71
mov byte [esi + 0xad], 0x4d
mov byte [esi + 0xae], 0x7d
mov byte [esi + 0xaf], 0x4f
mov byte [esi + 0xb0], 0x77
mov byte [esi + 0xb1], 0x49
mov byte [esi + 0xb2], 0x7c
mov byte [esi + 0xb3], 0x4b
mov byte [esi + 0xb4], 0x67
mov byte [esi + 0xb5], 0x55
mov byte [esi + 0xb6], 0x68
mov byte [esi + 0xb7], 0x57
mov byte [esi + 0xb8], 0x70
mov byte [esi + 0xb9], 0x51
mov byte [esi + 0xba], 0x7a
mov byte [esi + 0xbb], 0x53
mov byte [esi + 0xbc], 0x97
mov byte [esi + 0xbd], 0x5d
mov byte [esi + 0xbe], 0x96
mov byte [esi + 0xbf], 0x5f
mov byte [esi + 0xc0], 0x84
mov byte [esi + 0xc1], 0x59
mov byte [esi + 0xc2], 0x8f
mov byte [esi + 0xc3], 0x5b
mov byte [esi + 0xc4], 0xb0
mov byte [esi + 0xc5], 0x65
mov byte [esi + 0xc6], 0x52
mov byte [esi + 0xc7], 0x67
mov byte [esi + 0xc8], 0x40
mov byte [esi + 0xc9], 0x61
mov byte [esi + 0xca], 0x96
mov byte [esi + 0xcb], 0x63
mov byte [esi + 0xcc], 0x85
mov byte [esi + 0xcd], 0x6d
mov byte [esi + 0xce], 0x85
mov byte [esi + 0xcf], 0x6f
mov byte [esi + 0xd0], 0x85
mov byte [esi + 0xd1], 0x69
mov byte [esi + 0xd2], 0x4a
mov byte [esi + 0xd3], 0x6b
mov byte [esi + 0xd4], 0xbb
mov byte [esi + 0xd5], 0x75
mov byte [esi + 0xd6], 0x9b
mov byte [esi + 0xd7], 0x77
mov byte [esi + 0xd8], 0x93
mov byte [esi + 0xd9], 0x71
mov byte [esi + 0xda], 0x99
mov byte [esi + 0xdb], 0x73
mov byte [esi + 0xdc], 0x8b
mov byte [esi + 0xdd], 0x7d
mov byte [esi + 0xde], 0x57
mov byte [esi + 0xdf], 0x7f
mov byte [esi + 0xe0], 0x58
mov byte [esi + 0xe1], 0x79
mov byte [esi + 0xe2], 0xb9
mov byte [esi + 0xe3], 0x7b
mov byte [esi + 0xe4], 0xec
mov byte [esi + 0xe5], 5
mov byte [esi + 0xe6], 0xf4
mov byte [esi + 0xe7], 7
mov byte [esi + 0xe8], 0xf7
mov byte [esi + 0xe9], 1
mov byte [esi + 0xea], 0xf7
mov byte [esi + 0xeb], 3
mov byte [esi + 0xec], 0xe1
mov byte [esi + 0xed], 0xd
mov byte [esi + 0xee], 0x39
mov byte [esi + 0xef], 0xf
mov byte [esi + 0xf0], 0x39
mov byte [esi + 0xf1], 9
mov byte [esi + 0xf2], 0x3b
mov byte [esi + 0xf3], 0xb
mov byte [esi + 0xf4], 0x2d
mov byte [esi + 0xf5], 0x15
mov byte [esi + 0xf6], 0x20
mov byte [esi + 0xf7], 0x17
mov byte [esi + 0xf8], 0x20
mov byte [esi + 0xf9], 0x11
mov byte [esi + 0xfa], 0x24
mov byte [esi + 0xfb], 0x13
mov byte [esi + 0xfc], 0x2c
mov byte [esi + 0xfd], 0x1d
mov byte [esi + 0xfe], 0x28
mov byte [esi + 0xff], 0x1f
mov byte [esi + 0x100], 0x28
mov byte [esi + 0x101], 0x19
mov byte [esi + 0x102], 0x3a
mov byte [esi + 0x103], 0x1b
mov byte [esi + 0x104], 0xf7
mov byte [esi + 0x105], 0x25
mov byte [esi + 0x106], 0xc7
mov byte [esi + 0x107], 0x27
mov byte [esi + 0x108], 0xce
mov byte [esi + 0x109], 0x21
mov byte [esi + 0x10a], 0xc3
mov byte [esi + 0x10b], 0x23
mov byte [esi + 0x10c], 0xde
mov byte [esi + 0x10d], 0x2d
mov byte [esi + 0x10e], 0xc7
mov byte [esi + 0x10f], 0x2f
mov byte [esi + 0x110], 0x1f
mov byte [esi + 0x111], 0x29
mov byte [esi + 0x112], 0x17
mov byte [esi + 0x113], 0x2b
mov byte [esi + 0x114], 7
mov byte [esi + 0x115], 0x35
mov byte [esi + 0x116], 9
mov byte [esi + 0x117], 0x37
mov byte [esi + 0x118], 6
mov byte [esi + 0x119], 0x31
mov byte [esi + 0x11a], 1
mov byte [esi + 0x11b], 0x33
mov byte [esi + 0x11c], 2
mov byte [esi + 0x11d], 0x3d
mov byte [esi + 0x11e], 0x3e
mov byte [esi + 0x11f], 0x3f
mov dword [esi + 0x123], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe7
jae 0x40df91
jmp 0x40df47
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edi, byte [esi + edx + 0x40]
mov edx, ecx
add edx, 0xce482d9c
lea ecx, [ecx + edi - 0x31b7d264]
and edx, edi
add edx, edx
mov edi, ecx
not edi
mov ebx, edx
and ebx, edi
not edx
and ecx, edx
sub ecx, ebx
add cl, 0xbc
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x40], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe7
jb 0x40df47
jmp 0x40df91
sub esp, 0x14
lea ecx, [esi + 0x40]
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 + 0x1c], eax
mov eax, dword [esi + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x2b8], ecx
mov eax, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2b8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43e9a8]
xor ecx, 0xd2f84cc6
sub eax, ecx
push eax
mov edi, esp
mov dword [edi], 0x43e9ac
push eax
mov dword [esi + 0x1a4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1b0], ecx
mov dword [ecx], 0x43e9b8
push eax
mov dword [esi + 0x1a8], esp
push eax
mov ecx, esp
mov dword [esi + 0x1b4], ecx
mov dword [ecx], 0x43e9c4
push eax
mov dword [esi + 0x1ac], esp
push eax
mov ecx, esp
mov dword [esi + 0x1cc], ecx
mov dword [ecx], 0x43e9d0
push eax
mov dword [esi + 0x1c0], esp
push eax
mov ecx, esp
mov dword [esi + 0x1bc], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43e9dc]
mov dword [esi + 0x1b8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1c8], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43e9e4]
mov dword [esi + 0x1c4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1d4], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43e9ec]
mov dword [esi + 0x1d0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1dc], ecx
mov dword [ecx], 0x43e9f4
push eax
mov dword [esi + 0x1d8], esp
push eax
mov ecx, esp
mov dword [esi + 0x1e4], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [str._h_z]
mov dword [esi + 0x1e0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1ec], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea08]
mov dword [esi + 0x1e8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1f4], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea10]
mov dword [esi + 0x1f0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1fc], ecx
mov dword [ecx], 0x43ea18
push eax
mov dword [esi + 0x1f8], esp
push eax
mov ecx, esp
mov dword [esi + 0x20c], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea24]
mov dword [esi + 0x208], ecx
push eax
mov ecx, esp
mov dword [esi + 0x220], ecx
mov dword [ecx], 0x43ea2c
push eax
mov dword [esi + 0x218], esp
push eax
mov ecx, esp
mov dword [esi + 0x224], ecx
mov dword [ecx], 0x43ea38
push eax
mov dword [esi + 0x21c], esp
push eax
mov ecx, esp
mov dword [esi + 0x23c], ecx
mov dword [ecx], 0x43ea44
push eax
mov dword [esi + 0x22c], esp
push eax
mov ecx, esp
mov dword [esi + 0x230], ecx
mov dword [ecx], 0x43ea50
push eax
mov dword [esi + 0x228], esp
push eax
mov ecx, esp
mov dword [esi + 0x248], ecx
mov dword [ecx], 0x43ea5c
push eax
mov dword [esi + 0x240], esp
push eax
mov ecx, esp
mov dword [esi + 0x24c], ecx
mov dword [ecx], 0x43ea68
push eax
mov dword [esi + 0x244], esp
push eax
mov ecx, esp
mov dword [esi + 0x264], ecx
mov dword [ecx], 0x43ea74
push eax
mov dword [esi + 0x25c], esp
push eax
mov ecx, esp
mov dword [esi + 0x254], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea80]
mov dword [esi + 0x250], ecx
push eax
mov ecx, esp
mov dword [esi + 0x260], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea88]
mov dword [esi + 0x258], ecx
push eax
mov ecx, esp
mov dword [esi + 0x26c], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea90]
mov dword [esi + 0x268], ecx
push eax
mov ecx, esp
mov dword [esi + 0x274], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43ea98]
mov dword [esi + 0x270], ecx
push eax
mov ecx, esp
mov dword [esi + 0x284], ecx
mov dword [ecx], 0x43eaa0
push eax
mov dword [esi + 0x278], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a0], ecx
mov dword [ecx], 0x43eaac
push eax
mov dword [esi + 0x290], esp
push eax
mov ecx, esp
mov dword [esi + 0x28c], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43eab8]
mov dword [esi + 0x288], ecx
push eax
mov edx, esp
mov dword [edx], 0x43e440
mov ecx, dword [0x43eac0]
mov dword [esi + 0x294], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2a4], ecx
mov dword [ecx], 0x43eac8
push eax
mov dword [esi + 0x29c], esp
push eax
mov ecx, esp
mov dword [esi + 0x2b4], ecx
mov dword [ecx], 0x43ead4
push eax
mov dword [esi + 0x2b0], esp
push eax
mov ecx, esp
mov dword [esi + 0x2ac], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43eae0]
mov dword [esi + 0x2a8], ecx
push eax
mov ebx, esp
mov dword [ebx], 0x43e440
mov ecx, dword [0x43eae8]
mov dword [esi + 0x1a0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x204], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43eaf0]
mov dword [esi + 0x200], ecx
push eax
mov ecx, esp
mov dword [esi + 0x214], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43eaf8]
mov dword [esi + 0x210], ecx
push eax
mov ecx, esp
mov dword [esi + 0x238], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43eb00]
mov dword [esi + 0x234], ecx
push eax
mov ecx, esp
mov dword [esi + 0x280], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [str.KNNC]
mov dword [esi + 0x27c], ecx
jmp eax