Function at 0x4114cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c8
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x411ce0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ebx, [ebp - 0x2d4]
push 0x208
push 0
push ebx
call fcn.005e2800
add esp, 0xc
push edi
push ebx
call fcn.005ffc02
add esp, 8
push dword [esi + 0x28]
push ebx
call fcn.005ffb20
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
cmp eax, 0x3b
ja 0x411795
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0xffffffff
lea esi, [ebp - 0x50]
mov ecx, esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.00406642
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xcc]
push eax
push esi
call fcn.004118ac
push dword [ebp - 0x38]
call fcn.005fd8d5
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x4115b4
mov eax, dword [ebp - 0x50]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x4115aa
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x4117af
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005db412
add esp, 8
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0xcc]
call fcn.00411a90
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0
test al, al
je 0x4116be
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x2d4]
push eax
call fcn.00406642
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x2c]
push 0x1b6
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004479bc
mov ebx, eax
push dword [ebp - 0x38]
call fcn.005fd8d5
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x411656
mov eax, dword [ebp - 0x50]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x41164c
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x4117af
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005db412
add esp, 8
test bl, bl
je 0x4116be
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x2c]
call fcn.004480ba
push eax
mov dword [ebp - 0x20], eax
call fcn.005db443
mov edx, dword [ebp - 0x20]
add esp, 4
lea ecx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x30], eax
call fcn.004482d8
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4116ff
cmp ebx, 0x101
jb 0x4116d9
mov al, byte [esi]
cmp al, 0x4d
je 0x411753
cmp al, 0xd0
jne 0x4116d9
cmp byte [esi + 1], 0xcf
jne 0x4116d9
cmp byte [esi + 2], 0x11
jne 0x4116d9
cmp byte [esi + 3], 0xe0
sete cl
xor eax, eax
xor edx, edx
jmp 0x4116df
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], 0
jmp 0x411729
xor eax, eax
xor edx, edx
xor ecx, ecx
movzx esi, byte [ebp - 0x24]
test dl, dl
mov edx, esi
mov edi, 1
cmovne edx, edi
test al, al
cmove edx, esi
test cl, cl
cmove edx, esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
test ebx, ebx
je 0x41170c
mov eax, esi
mov byte [eax], 0
inc eax
dec ebx
jne 0x411705
push esi
call fcn.005db44c
add esp, 4
mov dword [ebp - 0x10], 3
mov al, 1
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
call fcn.00447dd6
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
call fcn.00447dd6
lea ecx, [ebp - 0xcc]
call fcn.00411baa
mov eax, dword [ebp - 0x54]
inc eax
cmp byte [ebp - 0x20], 0
je 0x411536
jmp 0x411795
xor eax, eax
cmp byte [esi + 1], 0x5a
mov edx, 0
mov ecx, 0
jne 0x4116df
movzx ecx, word [esi]
cmp ecx, 0x5a4d
jne 0x411784
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
jne 0x411784
mov eax, dword [esi + ecx + 0x28]
cmp eax, 0x1000
sete dl
mov al, 1
mov cl, 1
jmp 0x4116df
mov eax, dword [ebp - 0x24]
and al, 1
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x2c8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005f5844
push ebp
sub esp, 0xc
add ebp, 0xc
push dword [ebp - 0x38]
call fcn.005fd8d5
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x4117ff
mov eax, dword [ebp - 0x50]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x4117f5
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x411804
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005db412
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.005f5844
nop
push ebp
sub esp, 0xc
add ebp, 0xc
push dword [ebp - 0x38]
call fcn.005fd8d5
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x411855
mov eax, dword [ebp - 0x50]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x41184b
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x41186e
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005db412
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], 0
add esp, 0xc
pop ebp
ret
call fcn.005f5844
nop
push ebp
sub esp, 0xc
add ebp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00447dd6
add esp, 0xc
pop ebp
ret