Function at 0x406349
Capabilities:
Parse pe header

Disassembly:
push 0xc0
mov eax, 0x4a6c65
call fcn.00474216
mov esi, ecx
mov dword [ebp - 0x2c], esi
push dword [ebp + 8]
call fcn.0041c1a7
xor ebx, ebx
mov ecx, 0x5a4d
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc]
cmp cx, word [eax]
jne 0x4065be
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [esi + 8]
jb 0x406420
cmp dword [0x505288], 0xffffffff
je 0x406416
call fcn.00418a3d
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401b09
mov esi, eax
push 3
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00418055
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403fbe
push ecx
mov ecx, eax
call fcn.00406f4d
push 0x4b9bd8
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x44
push ecx
mov ecx, eax
call fcn.00403ff5
push 0x4b9bdc
mov ecx, eax
call fcn.00403fe0
push 0x4b9d80
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp - 0x28]
call fcn.00402f71
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.00401b2b
push 0x4b9e88
jmp 0x406652
cmp dword [ecx + eax], 0x4550
je 0x4064c6
cmp dword [0x505288], 0xffffffff
je 0x4064bc
call fcn.00418a3d
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401b09
mov esi, eax
push 3
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00418055
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00403fbe
push ecx
mov ecx, eax
call fcn.00406f4d
push 0x4b9bd8
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x46
push ecx
mov ecx, eax
call fcn.00403ff5
push 0x4b9bdc
mov ecx, eax
call fcn.00403fe0
push 0x4b9d80
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp - 0x28]
call fcn.00402f71
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.00401b2b
push 0x4b9ec4
jmp 0x406652
movzx edx, word [ecx + eax + 0x18]
mov edi, 0x10b
cmp di, dx
je 0x4065a2
mov edi, 0x20b
cmp di, dx
je 0x406580
cmp dword [0x505288], 0xffffffff
je 0x406576
call fcn.00418a3d
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401b09
mov esi, eax
push 3
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00418055
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00403fbe
push ecx
mov ecx, eax
call fcn.00406f4d
push 0x4b9bd8
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x47
push ecx
mov ecx, eax
call fcn.00403ff5
push 0x4b9bdc
mov ecx, eax
call fcn.00403fe0
push 0x4b9d80
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp - 0x28]
call fcn.00402f71
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.00401b2b
push 0x4b9ef8
jmp 0x406652
mov dword [ecx + eax + 0x98], ebx
mov dword [ecx + eax + 0x9c], ebx
mov dword [ecx + eax + 0x58], ebx
mov dword [ecx + eax + 0xa8], ebx
mov dword [ecx + eax + 0xac], ebx
jmp 0x4065b4
mov dword [ecx + eax + 0x58], ebx
mov dword [ecx + eax + 0x98], ebx
mov dword [ecx + eax + 0x9c], ebx
mov eax, esi
call fcn.004741df
ret 4
cmp dword [0x505288], 0xffffffff
je 0x40664d
call fcn.00418a3d
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401b09
mov esi, eax
push 3
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00418055
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00403fbe
push ecx
mov ecx, eax
call fcn.00406f4d
push 0x4b9bd8
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x43
push ecx
mov ecx, eax
call fcn.00403ff5
push 0x4b9bdc
mov ecx, eax
call fcn.00403fe0
push 0x4b9d80
mov ecx, eax
call fcn.00403fe0
lea ecx, [ebp - 0x28]
call fcn.00402f71
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.00401b2b
push 0x4b9e54
lea ecx, [ebp - 0x1c]
call fcn.00401264
push 0x4cd3ec
lea eax, [ebp - 0x1c]
push eax
call fcn.0048ac0d
int3