Function at 0x4a9d10
Capabilities:
Clear file content
Get file size

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, edi
mov edi, eax
push ebx
mov ebx, ecx
sub esp, 0x90
mov eax, dword [esi]
mov dword [ebp - 0x60], 0xbeef0000
mov dword [ebp - 0x68], eax
mov dword [esp], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x80000000
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
mov dword [ebp - 0x64], eax
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x15c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_CreateFile_error__ld_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.0049fda0
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x70], eax
sub esp, 8
lea eax, [ebp - 0x5c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x1000000
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0005
mov dword [esp], eax
call dword [0x79e814]
sub esp, 0x1c
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x161
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_NtCreateSection_failed_err__lx_n
mov dword [esp], eax
call fcn.0049fda0
test esi, esi
jne 0x4aaa50
lea eax, [ebp - 0x60]
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [0x79e810]
sub esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, 0x168
call fcn.0049f440
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x5d5450
test edx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x169
call fcn.0049f440
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_NtQuerySection_wrong_size__Iu_n
cmp eax, 0x30
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
movzx eax, word [ebx + 0x18]
cmp ax, 0x10b
je 0x4aa900
movzx ecx, word [ebx + 0x14]
cmp ax, 0x20b
je 0x4aaaf0
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x34]
add edx, dword [ebx + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x80], eax
cmp cx, 0xdf
ja 0x4aa91e
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, 0x18e
mov dword [ebp - 0x78], edx
call fcn.0049f440
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x40]
cmp eax, edx
je 0x4aaae0
test byte [ebp - 0x1d], 4
je 0x4a9f44
xor ecx, ecx
cmp ax, dx
sete cl
mov esi, ecx
mov ecx, dword [ebp - 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov dword [esp], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_TransferAddress_wrong__p____p___08lx__n
call fcn.0049fda0
mov eax, 0x192
call fcn.0049f440
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ZeroBits_wrong__08lx_n
test eax, eax
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x193
call fcn.0049f440
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_MaximumStackSize_wrong__Ix____Ix_n
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], esi
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x195
call fcn.0049f440
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_CommittedStackSize_wrong__Ix____Ix_n
cmp eax, ecx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], ecx
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x197
call fcn.0049f440
movzx edx, word [ebx + 0x5c]
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_SubSystemType_wrong__08lx____08x_n
cmp edx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], edx
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x19a
call fcn.0049f440
movzx ecx, word [ebx + 0x4a]
movzx eax, word [ebp - 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_MinorSubsystemVersion_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x19d
call fcn.0049f440
movzx ecx, word [ebx + 0x48]
movzx eax, word [ebp - 0x2a]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_MajorSubsystemVersion_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1a0
call fcn.0049f440
movzx ecx, word [ebx + 0x40]
movzx esi, word [ebp - 0x28]
mov eax, 1
cmp word [ebx + 0x40], si
je 0x4aa0de
mov eax, dword [0x8f0770]
test eax, eax
sete byte [ebp - 0x74]
xor eax, eax
mov edx, dword [ebp - 0x74]
test si, si
sete al
and eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_MajorOperatingSystemVersion_wrong__04x____04x_n
call fcn.0049fda0
mov eax, 0x1a4
call fcn.0049f440
movzx ecx, word [ebx + 0x42]
movzx eax, word [ebp - 0x26]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_MinorOperatingSystemVersion_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1a7
call fcn.0049f440
movzx ecx, word [ebx + 0x16]
movzx eax, word [ebp - 0x24]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ImageCharacteristics_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1aa
call fcn.0049f440
movzx ecx, word [ebx + 0x5e]
movzx eax, word [ebp - 0x22]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_DllCharacteristics_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1ad
call fcn.0049f440
movzx ecx, word [ebx + 4]
movzx eax, word [ebp - 0x20]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_Machine_wrong__04x____04x_n
mov edx, ecx
mov dword [esp + 0x10], ecx
movzx ecx, ax
cmp dx, ax
mov dword [esp + 0xc], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1af
call fcn.0049f440
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_LoaderFlags_wrong__08lx_n
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x6c]
cmp eax, ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1b0
call fcn.0049f440
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x70]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ImageFileSize_wrong__08lx____08lx_n
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], esi
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1b2
call fcn.0049f440
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x58]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_CheckSum_wrong__08lx____08lx_n
cmp edx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], edx
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x4aa960
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4aa960
mov eax, dword [ebx + 0x38]
xor edx, edx
div dword [0x79ea48]
test edx, edx
jne 0x4aa2bf
cmp word [ebx + 6], 1
jne 0x4aab60
test byte [0x57f2e7], 0x20
je 0x4aab60
mov eax, 0x1bc
call fcn.0049f440
movzx ecx, byte [ebp - 0x1e]
mov eax, 1
cmp cl, 1
je 0x4aa2eb
mov eax, dword [0x8f0770]
test eax, eax
sete al
test cl, cl
sete dl
movzx edx, dl
and eax, edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ImageContainsCode_wrong__u_n
call fcn.0049fda0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4aa99a
nop
mov eax, 0x1d9
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusILOnly_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
shr al, 1
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1da
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusNativeReady_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
not eax
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1db
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusPrefer32bit_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
shr al, 5
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebx + 0x38]
xor edx, edx
div dword [0x79ea48]
test edx, edx
jne 0x4aaa70
mov eax, 0x1de
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ImageMappedFlat_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
shr al, 3
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
test byte [ebx + 0x5e], 0x40
je 0x4aaaaa
cmp byte [ebp - 0x1e], 0
je 0x4aa403
test byte [ebp - 0x1d], 8
jne 0x4aa403
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x4aabf0
mov eax, 0x1ea
call fcn.0049f440
movzx ecx, byte [ebp - 0x1d]
mov edx, 1
mov eax, ecx
test al, 4
je 0x4aa428
mov eax, dword [0x8f0770]
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ImageDynamicallyRelocated_flags__02x_n
mov dword [esp], edx
call fcn.0049fda0
mov eax, 0x1ec
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_BaseBelow4gb_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
shr al, 4
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [0x79ea48]
mov edx, dword [ebx + 0x50]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0
lea edx, [eax + edx - 1]
neg eax
and eax, edx
mov dword [ebp - 0x58], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [0x79e810]
sub esp, 0x14
mov esi, eax
mov eax, 0x1f0
call fcn.0049f440
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x5d5818
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1f1
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], str.NtQuerySection_wrong_size__lx_08lx____lx_08lx_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor eax, dword [ebp - 0x58]
xor edx, dword [ebp - 0x54]
or eax, edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call esi
mov eax, dword [0x79ea48]
mov edx, dword [ebx + 0x50]
lea ecx, [ebp - 0x5c]
sub esp, 4
lea ebx, [ebp - 0x58]
mov dword [ebp - 0x54], 0
lea edx, [eax + edx - 1]
neg eax
and edx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], edx
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x1000000
mov dword [esp + 0x10], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0005
call dword [0x79e814]
sub esp, 0x1c
mov dword [ebp - 0x6c], eax
mov eax, 0x1f8
call fcn.0049f440
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_NtCreateSection_failed_err__lx_n
test edx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0049fda0
lea ecx, [ebp - 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [0x79e810]
sub esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, 0x1fa
call fcn.0049f440
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 4], 0x5d5818
test edx, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.0049fda0
mov eax, 0x1fb
call fcn.0049f440
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], str.NtQuerySection_wrong_size__lx_08lx____lx_08lx_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor eax, dword [ebp - 0x58]
xor edx, dword [ebp - 0x54]
or eax, edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
sub esp, 4
add dword [ebp - 0x58], 1
adc dword [ebp - 0x54], 0
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x1000000
mov dword [esp + 0x10], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0005
call dword [0x79e814]
sub esp, 0x1c
mov dword [ebp - 0x6c], eax
call fcn.0057d110
mov edx, dword [ebp - 0x6c]
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x202
xor eax, eax
cmp edx, 0xc0000040
sete al
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_NtCreateSection_failed_err__lx_n
call fcn.0049fda0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
mov eax, dword [ebp - 0x64]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
sub esp, 4
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x1000000
mov dword [esp + 0x10], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0005
call dword [0x79e814]
sub esp, 0x1c
mov dword [ebp - 0x6c], eax
mov eax, 0x208
call fcn.0049f440
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_NtCreateSection_failed_err__lx_n
cmp edx, 0xc0000040
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x5c]
mov dword [esp], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x1000000
mov dword [esp + 0x10], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0005
call dword [0x79e814]
sub esp, 0x1c
mov ebx, eax
mov eax, 0x20d
call fcn.0049f440
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str._u:_NtCreateSection_failed_err__lx_n
call fcn.0049fda0
lea ecx, [ebp - 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [0x79e810]
sub esp, 0x14
mov ebx, eax
mov eax, 0x20f
call fcn.0049f440
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x5d5818
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x210
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], str.NtQuerySection_wrong_size__lx_08lx____lx_08lx_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor eax, dword [ebp - 0x58]
xor edx, dword [ebp - 0x54]
or eax, edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
cmp byte [ebp - 0x1e], 0
je 0x4aaa5f
mov edi, dword [ebp - 0x68]
mov eax, 1
test edi, edi
je 0x4aaa61
mov eax, dword [edi + 0x10]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
not eax
pop ebp
lea esp, [edi - 8]
and eax, 1
pop edi
ret
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x34]
add edx, dword [ebx + 0x28]
cmp word [ebx + 0x14], 0xdf
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x80], eax
jbe 0x4a9f05
mov eax, dword [ebx + 0xe8]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4aa950
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4aa950
mov ecx, dword [ebp - 0x68]
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp - 0x6c], eax
jmp 0x4a9f13
mov dword [ebp - 0x68], 0
jmp 0x4a9f13
mov eax, 0x1b7
call fcn.0049f440
movzx edx, byte [ebp - 0x1e]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ImageContainsCode_wrong__u_n
cmp dl, 1
mov dword [esp + 0xc], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4aa310
test byte [eax + 0x10], 1
je 0x4aa310
cmp word [eax + 4], 2
ja 0x4aa9bc
jne 0x4aa310
cmp word [eax + 6], 4
jbe 0x4aa310
mov eax, 0x1c6
call fcn.0049f440
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusILOnly_flags__02x_n
mov dword [esp + 0xc], eax
movzx eax, byte [ebp - 0x1d]
shr al, 1
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
cmp word [ebx + 0x18], 0x10b
jne 0x4aaa00
mov eax, dword [ebp - 0x68]
test byte [eax + 0x10], 2
je 0x4aac80
mov eax, 0x1cd
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusNativeReady_flags__02x_n
mov eax, edx
mov dword [esp + 0xc], edx
not eax
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
cmp word [ebx + 0x18], 0x10b
jne 0x4aaa42
mov eax, dword [ebp - 0x68]
test byte [eax + 0x12], 2
jne 0x4aac28
mov eax, 0x1d5
jmp 0x4aa372
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, 0x1e0
call fcn.0049f440
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ImageMappedFlat_flags__02x_n
mov dword [esp + 0xc], eax
movzx eax, byte [ebp - 0x1d]
shr al, 3
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
test byte [ebx + 0x5e], 0x40
jne 0x4aa3ec
mov eax, 0x1e4
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov ecx, 1
mov eax, edx
test al, 4
jne 0x4aab40
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ImageDynamicallyRelocated_flags__02x_n
mov dword [esp], ecx
call fcn.0049fda0
jmp 0x4aa440
mov esi, 1
jmp 0x4a9f44
cmp cx, 0xef
jbe 0x4aabc0
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4aab98
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4aab98
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x80], 0x10000
mov dword [ebp - 0x7c], 0x100000
test edx, edx
mov edx, 0x81231234
setne al
mov dword [ebp - 0x6c], eax
jmp 0x4a9f13
mov ecx, dword [0x8f0770]
test ecx, ecx
sete cl
shr al, 1
and ecx, eax
movzx ecx, cl
jmp 0x4aaac3
mov eax, 0x1bf
call fcn.0049f440
movzx edx, byte [ebp - 0x1e]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_ImageContainsCode_wrong__u_n
test dl, dl
mov dword [esp + 0xc], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
jmp 0x4aa98f
mov dword [ebp - 0x80], 0x10000
mov edx, 0x81231234
mov dword [ebp - 0x7c], 0x100000
mov dword [ebp - 0x68], 0
jmp 0x4a9f13
mov dword [ebp - 0x6c], 0
mov edx, 0x81231234
mov dword [ebp - 0x80], 0x10000
mov dword [ebp - 0x7c], 0x100000
mov dword [ebp - 0x68], 0
jmp 0x4a9f13
mov eax, 0x1e7
call fcn.0049f440
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ImageDynamicallyRelocated_flags__02x_n
mov dword [esp + 0xc], eax
movzx eax, byte [ebp - 0x1d]
shr al, 2
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
jmp 0x4aa440
mov eax, 0x1d1
call fcn.0049f440
movzx edx, byte [ebp - 0x1d]
mov eax, 1
mov ecx, edx
and ecx, 0x20
jne 0x4aac59
mov esi, dword [0x8f0770]
cmp word [ebp - 0x28], 0
sete cl
xor eax, eax
test esi, esi
sete al
and eax, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusPrefer32bit_flags__02x_n
mov dword [esp], eax
call fcn.0049fda0
jmp 0x4aa39e
mov eax, 0x1ca
call fcn.0049f440
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 8], edi
mov dword [esp + 4], str._u:_wrong_ComPlusNativeReady_flags__02x_n
mov dword [esp + 0xc], eax
movzx eax, byte [ebp - 0x1d]
and eax, 1
mov dword [esp], eax
call fcn.0049fda0
jmp 0x4aaa2d