Function at 0x40f6ed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xc
call fcn.00497526
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x545cb4
push ebx
add ebx, 4
push ebx
push 8
call fcn.00497526
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.00497526
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5462d8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040c041
pop ebx
mov dword [ebp - 8], 0
mov ebx, dword [0x759c98]
call fcn.00404373
push ebx
push ecx
mov eax, dword [ebp + 0xc]
dec eax
jns 0x40f799
push 4
call fcn.00497532
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f7ac
push 1
call fcn.00497532
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ebx, dword [eax]
call dword [ebx + 4]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0049752c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x759c98]
call fcn.00404373
push ebx
push ecx
mov eax, dword [ebp + 0xc]
dec eax
jns 0x40f7f8
push 4
call fcn.00497532
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f80b
push 1
call fcn.00497532
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
push 0x545906
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f856
push 0x31
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push str.23456789abcdefghijklmnopqrstuvwxyz._
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f88c
push 0x32
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54651e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f8c2
push 0x33
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546520
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f8f8
push 0x34
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546522
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f92e
push 0x35
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546524
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f964
push 0x36
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546526
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f99a
push 0x37
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546528
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40f9d0
push 0x38
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54652a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fa06
push 0x39
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x545908
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fa3c
push 0x30
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54652c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fa72
push 0x41
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54652e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40faa8
push 0x42
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546530
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fade
push 0x43
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546532
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fb14
push 0x44
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546534
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fb4a
push 0x45
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546536
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fb80
push 0x46
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546538
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fbb6
push 0x47
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54653a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fbec
push 0x48
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54653c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fc22
push 0x49
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54653e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fc58
push 0x4a
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546540
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fc8e
push 0x4b
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546542
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fcc4
push 0x4c
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546544
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fcfa
push 0x4d
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546546
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fd30
push 0x4e
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546548
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fd66
push 0x4f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54654a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fd9c
push 0x50
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54654c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fdd2
push 0x51
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54654e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fe08
push 0x52
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546550
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fe3e
push 0x53
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546552
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fe74
push 0x54
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546554
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40feaa
push 0x55
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546556
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40fee0
push 0x56
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546558
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40ff16
push 0x57
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54655a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40ff4c
push 0x58
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54655c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40ff82
push 0x59
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x54655e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40ffb8
push 0x5a
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546560
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x40ffee
push 0xbe
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
jmp 0x41004e
push 0x546562
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040120b
add esp, 8
cmp eax, 0
jne 0x41004e
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x248]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x10
push 0x32
call fcn.00410064
jmp 0x41004e
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0049752c
add esp, 4
mov esp, ebp
pop ebp
ret 8