Function at 0x410e21
Capabilities:
Parse pe header

Disassembly:
push ebp
push ebx
mov edx, 0xb
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x410e28
call fcn.00419540
push edx
call fcn.00419490
pop edx
push eax
mov eax, str.VmlydHVhbEFsbG9j
push eax
call fcn.004107fa
lea eax, [0x41fe54]
push eax
call fcn.004196c0
push edx
call fcn.00419490
pop edx
push eax
mov eax, str.VmlydHVhbFByb3RlY3Q
push eax
call fcn.004107fa
lea eax, [0x41fe4c]
push eax
call fcn.004196c0
push edx
call fcn.00419490
pop edx
push eax
mov eax, str.VmlydHVhbEZyZWU
push eax
call fcn.004107fa
lea eax, [0x41fe58]
push eax
call fcn.004196c0
mov eax, str.kernel32.dll
push eax
push 0x41
call fcn.00415d77
mov ebx, dword [esp + 0x38]
and ebx, ebx
jne 0x410eb4
jmp 0x411104
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ebp, dword [esp]
movsx ebx, word [ebp]
cmp ebx, 0x5a4d
je 0x410ecf
jmp 0x411104
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp]
add ebx, dword [ebp + 0x3c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 4]
mov ebx, dword [ebp]
cmp ebx, 0x4550
je 0x410ef1
jmp 0x411104
mov ebp, dword [esp + 4]
movsx ebx, word [ebp + 0x16]
and ebx, 0x2000
and ebx, ebx
jne 0x410f08
jmp 0x411104
mov ebp, dword [esp + 4]
movsx ebx, word [ebp + 0x18]
cmp ebx, 0x10b
je 0x410f1d
jmp 0x411104
mov ebp, dword [esp + 4]
mov eax, dword [ebp + 0x34]
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 4]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 4]
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x1c], eax
push 4
push 0x2000
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [0x41fe54]
push 0x41
call fcn.00415e92
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x410fa5
mov dword [esp + 0x24], 1
mov ebp, dword [esp + 4]
mov ebx, dword [ebp + 0xa4]
and ebx, ebx
je 0x410f93
mov ebp, dword [esp + 4]
movsx ebx, word [ebp + 0x16]
and ebx, 1
and ebx, ebx
jne 0x410f93
jmp 0x410f9a
mov eax, 1
jmp 0x410f9c
xor eax, eax
and eax, eax
je 0x410fa5
jmp 0x411104
cmp dword [esp + 0x24], 0
je 0x410fe0
push 4
push 0x2000
push dword [esp + 0x20]
push 0
push dword [0x41fe54]
push 0x41
call fcn.00415e92
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x410fe0
jmp 0x411104
push 4
push 0x1000
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [0x41fe54]
push 0x41
call fcn.00415e92
mov dword [esp + 0x10], eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [esp + 0x40]
call fcn.00418fb0
push dword [esp + 0x38]
push dword [esp + 0x14]
call fcn.0041089e
push dword [esp + 0x10]
call fcn.00411679
mov ebx, eax
and ebx, ebx
jne 0x411038
jmp 0x411104
cmp dword [esp + 0x24], 0
je 0x411069
push dword [esp + 0x10]
call fcn.00411210
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x18]
call fcn.00410a3e
push dword [esp + 0x10]
call fcn.004114e3
mov ebx, eax
and ebx, ebx
jne 0x41107d
jmp 0x411104
mov ebp, dword [esp + 4]
cmp dword [ebp + 0x28], 0
je 0x4110fe
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 4]
add ebx, dword [ebp + 0x28]
mov dword [esp + 0x28], ebx
push dword [esp + 0x28]
lea ebp, [0x41fe50]
push ebp
push edx
call fcn.00419490
pop edx
push eax
push edx
call fcn.00419490
pop edx
push eax
mov eax, dword [esp + 0x20]
cdq
push edx
push eax
call fcn.00413410
pop eax
pop ebp
push eax
push dword [esp]
call fcn.004121d0
call fcn.004121b2
add dword [esp], edx
push dword [ebp]
call fcn.0041541f
mov ebp, eax
pop eax
mov dword [ebp], eax
push 0
push 1
push dword [esp + 0x18]
call dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x4110fe
jmp 0x411104
mov eax, dword [esp + 0x10]
jmp 0x411138
cmp dword [esp + 0x10], 0
je 0x411132
push 0x8000
push 0
push dword [esp + 0x18]
push dword [0x41fe58]
push 0x41
call fcn.00415e6d
push dword [esp + 0x10]
call fcn.00411140
xor eax, eax
jmp 0x411138
add esp, 0x2c
pop ebx
pop ebp
ret 4