Function at 0x624358
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa44
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x4a4], edx
mov dword [ebp - 0x4a8], edx
mov dword [ebp - 0x4ac], eax
xor eax, eax
push ebp
push 0x62482b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x4c5], 1
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x4bc], eax
xor ecx, ecx
push ebp
push 0x6247fa
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x4a4]
mov ecx, 0x624844
mov edx, dword [ebp - 0x4ac]
call fcn.00408180
mov edx, dword [ebp - 0x4ac]
lea eax, [ebp - 0x250]
call fcn.00404b88
mov eax, dword [0x6ab56c]
mov byte [eax], 0x20
mov edx, 1
lea eax, [ebp - 0x250]
call fcn.004050c0
call fcn.004044d0
xor ecx, ecx
push ebp
push 0x6246a5
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x4c4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x250]
push eax
call sub.kernel32.dll_GetFileTime
push 0
lea edx, [ebp - 0x4ae]
mov ecx, 2
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
cmp word [ebp - 0x4ae], 0x5a4d
je 0x62445d
mov eax, dword [0x6aaf34]
mov edx, 0x62485c
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
mov edx, 0x3c
lea eax, [ebp - 0x250]
call fcn.004050e8
call fcn.004044d0
push 0
lea edx, [ebp - 0x4b4]
mov ecx, 4
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
cmp dword [ebp - 0x4b4], 0
jne 0x6244c0
mov eax, dword [0x6aaf34]
mov edx, 0x6248a0
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
mov edx, dword [ebp - 0x4b4]
lea eax, [ebp - 0x250]
call fcn.004050e8
call fcn.004044d0
push 0
lea edx, [ebp - 0x4b8]
mov ecx, 4
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
cmp dword [ebp - 0x4b8], 0x4550
je 0x624527
mov eax, dword [0x6aaf34]
mov edx, 0x6248e0
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
push 0
lea edx, [ebp - 0x4d9]
mov ecx, 0x14
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
test bl, bl
jne 0x624579
test byte [ebp - 0x4c6], 0x20
je 0x624579
mov eax, dword [0x6aaf34]
mov edx, 0x624920
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
test byte [ebp - 0x4c7], 1
je 0x6245aa
mov eax, dword [0x6aaf34]
mov edx, 0x624968
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
push 0
lea edx, [ebp - 0x5b9]
mov ecx, 0xe0
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
cmp dword [ebp - 0x531], 0
je 0x6245d9
cmp dword [ebp - 0x52d], 0
jne 0x624601
mov eax, dword [0x6aaf34]
mov edx, 0x6249cc
call fcn.0040865c
call fcn.00405334
call fcn.004044d0
call fcn.00406420
call fcn.00406420
jmp 0x624801
mov ebx, dword [ebp - 0x531]
cmp byte [ebp - 0x4c5], 0
jne 0x624618
xor eax, eax
mov dword [ebp - 0x579], eax
movzx eax, word [ebp - 0x4d7]
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
call fcn.00404368
mov dword [ebp - 0x4bc], eax
push 0
movzx eax, word [ebp - 0x4d7]
mov ecx, eax
add ecx, ecx
add ecx, ecx
add ecx, ecx
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x4bc]
lea eax, [ebp - 0x250]
call fcn.00404cec
call fcn.004044d0
movzx edx, word [ebp - 0x4d7]
dec edx
test edx, edx
jl 0x624687
inc edx
xor esi, esi
lea eax, [esi + esi*4]
mov ecx, dword [ebp - 0x4bc]
lea eax, [ecx + eax*8]
cmp ebx, dword [eax + 0xc]
jne 0x624683
cmp dword [eax + 0x10], 0
jne 0x624687
inc esi
dec edx
jne 0x62466c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6246ac
lea eax, [ebp - 0x250]
call fcn.00404d2c
call fcn.004044d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624832
lea eax, [ebp - 0x4a8]
mov edx, dword [0x624330]
call fcn.00409b14
lea eax, [ebp - 0x4a4]
call fcn.00407c8c
ret