Function at 0x408720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4aa4e8
push 0x4766f0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffbc
mov eax, dword [0x4cf0c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
push 0x14
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.00474130
add esp, 0xc
push 0x14
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00476380
add esp, 0xc
push 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00476380
add esp, 0xc
mov ecx, 0x4d3d38
call fcn.004276c0
mov dword [ebp - 0x3c], eax
movsx eax, byte [ebp - 0x50]
cmp eax, 0x38
jne 0x4088c8
movsx ecx, byte [ebp - 0x4f]
cmp ecx, 0x37
jne 0x4088c8
movsx edx, byte [ebp - 0x4e]
cmp edx, 0x35
jne 0x4088c8
movsx eax, byte [ebp - 0x4d]
cmp eax, 0x36
jne 0x4088c8
movsx ecx, byte [ebp - 0x4c]
cmp ecx, 0x37
jne 0x4088c8
movsx edx, byte [ebp - 0x4b]
cmp edx, 0x32
jne 0x4088c8
movsx eax, byte [ebp - 0x4a]
cmp eax, 0x37
jne 0x4088c8
movsx ecx, byte [ebp - 0x49]
cmp ecx, 0x39
jne 0x4088c8
mov ecx, dword [ebp - 0x54]
call fcn.0040e7d0
push 0x4d78a87
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov ecx, 0x4d3be8
call fcn.00423950
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474a90
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe6], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe7
push ecx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408895
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x4088bc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x40888c
mov dword [ebp - 0x38], 0
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x53
jne 0x4089cb
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x4b
jne 0x4089cb
movsx edx, byte [ebp - 0x32]
cmp edx, 0x59
jne 0x4089cb
movsx eax, byte [ebp - 0x31]
cmp eax, 0x4d
jne 0x4089cb
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x45
jne 0x4089cb
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x44
jne 0x4089cb
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x59
jne 0x4089cb
movsx ecx, byte [ebp - 0x2d]
cmp ecx, 0x41
jne 0x4089cb
mov ecx, dword [ebp - 0x54]
call fcn.0040e7d0
push 0x4d78a87
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov ecx, 0x4d3be8
call fcn.00423950
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474a90
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe6], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe7
push ecx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408998
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x4089bf
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x40898f
mov dword [ebp - 0x38], 0
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x57
jne 0x408ac1
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x4f
jne 0x408ac1
movsx edx, byte [ebp - 0x32]
cmp edx, 0x44
jne 0x408ac1
movsx eax, byte [ebp - 0x31]
cmp eax, 0x54
jne 0x408ac1
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x45
jne 0x408ac1
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x43
jne 0x408ac1
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x48
jne 0x408ac1
mov ecx, dword [ebp - 0x54]
call fcn.0040e7d0
push 0x4d78a87
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
mov ecx, 0x4d3be8
call fcn.00423950
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe6], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe7
push ecx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408a8e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x408ab5
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x408a85
mov dword [ebp - 0x38], 0
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x5a
jne 0x408b16
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x5a
jne 0x408b16
movsx edx, byte [ebp - 0x32]
cmp edx, 0x5a
jne 0x408b16
movsx eax, byte [ebp - 0x31]
cmp eax, 0x47
jne 0x408b16
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x5a
jne 0x408b16
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x48
jne 0x408b16
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x41
jne 0x408b16
movsx ecx, byte [ebp - 0x2d]
cmp ecx, 0x4f
jne 0x408b16
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x17f0], 1
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x17f0], 0
jne 0x408b9f
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00474a90
add esp, 4
mov edx, dword [ebp + 8]
mov byte [edx + 0xe6], al
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474a90
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xe7
push edx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408b6c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x408b93
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov byte [eax], dl
jmp 0x408b63
mov dword [ebp - 0x38], 0
jmp 0x40911e
lea ecx, [ebp - 0x50]
push ecx
call fcn.00474a90
add esp, 4
mov byte [ebp + eax - 0x50], 0
lea edx, [ebp - 0x50]
push edx
call fcn.00474cc6
add esp, 4
mov esi, eax
push 0
push 1
push 1
push 1
push 1
push 1
push 5
mov ecx, 0x4d2a70
call fcn.0041fe30
cmp esi, eax
jne 0x408bff
push 0x49a02c
push 0x49a030
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x5a
jne 0x408c6c
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x5a
jne 0x408c6c
movsx edx, byte [ebp - 0x32]
cmp edx, 0x42
jne 0x408c6c
movsx eax, byte [ebp - 0x31]
cmp eax, 0x5a
jne 0x408c6c
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x4c
jne 0x408c6c
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x4f
jne 0x408c6c
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x43
jne 0x408c6c
movsx ecx, byte [ebp - 0x2d]
cmp ecx, 0x4b
jne 0x408c6c
push 0x49a034
push 0x49a038
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx edx, byte [ebp - 0x34]
cmp edx, 0x5a
jne 0x408cd9
movsx eax, byte [ebp - 0x33]
cmp eax, 0x5a
jne 0x408cd9
movsx ecx, byte [ebp - 0x32]
cmp ecx, 0x4c
jne 0x408cd9
movsx edx, byte [ebp - 0x31]
cmp edx, 0x4c
jne 0x408cd9
movsx eax, byte [ebp - 0x30]
cmp eax, 0x4f
jne 0x408cd9
movsx ecx, byte [ebp - 0x2f]
cmp ecx, 0x43
jne 0x408cd9
movsx edx, byte [ebp - 0x2e]
cmp edx, 0x4b
jne 0x408cd9
movsx eax, byte [ebp - 0x2d]
cmp eax, 0x45
jne 0x408cd9
push 0x49a03c
push 0x49a040
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx ecx, byte [ebp - 0x34]
cmp ecx, 0x5a
jne 0x408d2e
movsx edx, byte [ebp - 0x33]
cmp edx, 0x5a
jne 0x408d2e
movsx eax, byte [ebp - 0x32]
cmp eax, 0x5a
jne 0x408d2e
movsx ecx, byte [ebp - 0x31]
cmp ecx, 0x47
jne 0x408d2e
movsx edx, byte [ebp - 0x30]
cmp edx, 0x4c
jne 0x408d2e
movsx eax, byte [ebp - 0x2f]
cmp eax, 0x4f
jne 0x408d2e
movsx ecx, byte [ebp - 0x2e]
cmp ecx, 0x4e
jne 0x408d2e
movsx edx, byte [ebp - 0x2d]
cmp edx, 0x47
jne 0x408d2e
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x17f4], 1
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x17f4], 0
jne 0x408db7
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe6], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe7
push ecx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408d84
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x408dab
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x408d7b
mov dword [ebp - 0x38], 0
jmp 0x40911e
lea eax, [ebp - 0x50]
push eax
call fcn.00474cc6
add esp, 4
mov esi, eax
push 0
push 1
push 1
push 1
push 1
push 1
push 5
mov ecx, 0x4d2a70
call fcn.0041fe30
shl eax, 1
cmp esi, eax
jne 0x408e08
push 0x49a044
push 0x49a048
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx ecx, byte [ebp - 0x34]
cmp ecx, 0x5a
jne 0x408e75
movsx edx, byte [ebp - 0x33]
cmp edx, 0x5a
jne 0x408e75
movsx eax, byte [ebp - 0x32]
cmp eax, 0x44
jne 0x408e75
movsx ecx, byte [ebp - 0x31]
cmp ecx, 0x57
jne 0x408e75
movsx edx, byte [ebp - 0x30]
cmp edx, 0x43
jne 0x408e75
movsx eax, byte [ebp - 0x2f]
cmp eax, 0x57
jne 0x408e75
movsx ecx, byte [ebp - 0x2e]
cmp ecx, 0x4f
jne 0x408e75
movsx edx, byte [ebp - 0x2d]
cmp edx, 0x57
jne 0x408e75
push 0x49a04c
push 0x49a050
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x5a
jne 0x408ee2
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x5a
jne 0x408ee2
movsx edx, byte [ebp - 0x32]
cmp edx, 0x44
jne 0x408ee2
movsx eax, byte [ebp - 0x31]
cmp eax, 0x57
jne 0x408ee2
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x42
jne 0x408ee2
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x57
jne 0x408ee2
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x44
jne 0x408ee2
movsx ecx, byte [ebp - 0x2d]
cmp ecx, 0x57
jne 0x408ee2
push 0x49a054
push 0x49a058
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx edx, byte [ebp - 0x34]
cmp edx, 0x5a
jne 0x408f37
movsx eax, byte [ebp - 0x33]
cmp eax, 0x5a
jne 0x408f37
movsx ecx, byte [ebp - 0x32]
cmp ecx, 0x4c
jne 0x408f37
movsx edx, byte [ebp - 0x31]
cmp edx, 0x48
jne 0x408f37
movsx eax, byte [ebp - 0x30]
cmp eax, 0x59
jne 0x408f37
movsx ecx, byte [ebp - 0x2f]
cmp ecx, 0x43
jne 0x408f37
movsx edx, byte [ebp - 0x2e]
cmp edx, 0x54
jne 0x408f37
movsx eax, byte [ebp - 0x2d]
cmp eax, 0x54
jne 0x408f37
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x17f8], 1
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x17f8], 0
jne 0x408fc0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474a90
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe6], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.00474a90
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe7
push ecx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x408f8d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x408fb4
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x408f84
mov dword [ebp - 0x38], 0
jmp 0x40911e
movsx eax, byte [ebp - 0x34]
cmp eax, 0x4e
jne 0x409035
movsx ecx, byte [ebp - 0x33]
cmp ecx, 0x4e
jne 0x409035
movsx edx, byte [ebp - 0x32]
cmp edx, 0x44
jne 0x409035
movsx eax, byte [ebp - 0x31]
cmp eax, 0x4a
jne 0x409035
movsx ecx, byte [ebp - 0x30]
cmp ecx, 0x4d
jne 0x409035
movsx edx, byte [ebp - 0x2f]
cmp edx, 0x4e
jne 0x409035
movsx eax, byte [ebp - 0x2e]
cmp eax, 0x51
jne 0x409035
movsx ecx, byte [ebp - 0x2d]
cmp ecx, 0x42
jne 0x409035
push 0x49a05c
push 0x49a060
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov ecx, dword [ebp - 0x54]
call fcn.0040dfa0
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
movsx edx, byte [ebp - 0x34]
cmp edx, 0x5a
jne 0x4090a7
movsx eax, byte [ebp - 0x33]
cmp eax, 0x5a
jne 0x4090a7
movsx ecx, byte [ebp - 0x32]
cmp ecx, 0x4c
jne 0x4090a7
movsx edx, byte [ebp - 0x31]
cmp edx, 0x50
jne 0x4090a7
movsx eax, byte [ebp - 0x30]
cmp eax, 0x58
jne 0x4090a7
movsx ecx, byte [ebp - 0x2f]
cmp ecx, 0x48
jne 0x4090a7
movsx edx, byte [ebp - 0x2e]
cmp edx, 0x59
jne 0x4090a7
movsx eax, byte [ebp - 0x2d]
cmp eax, 0x4a
jne 0x4090a7
push 0x49a064
push 0x49a068
mov ecx, dword [ebp - 0x54]
call fcn.0040ea10
mov ecx, dword [ebp - 0x54]
call fcn.0040dfa0
mov byte [0x4d3d38], 0
mov dword [ebp - 0x38], 1
jmp 0x40911e
cmp dword [ebp - 0x38], 0
jne 0x40911e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00474a90
add esp, 4
mov edx, dword [ebp + 8]
mov byte [edx + 0xe6], al
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474a90
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xe7
push edx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x4090f7
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x40911e
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov byte [eax], dl
jmp 0x4090ee
mov dword [ebp - 4], 0xfffffffe
call fcn.0040912c
jmp 0x40912d
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 8