Function at 0x955b50
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb106f8
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x268], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x26c], 0xffffffff
xor edi, edi
mov dword [ebp - 0x274], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x290], edi
cmp eax, edi
je 0x955bc2
mov byte [eax], 0
cmp ecx, edi
je 0x955bc8
mov dword [ecx], edi
cmp esi, edi
je 0x956370
cmp byte [esi], 0
je 0x956370
push 0x5c
push esi
call fcn.00a7aa50
add esp, 8
cmp eax, edi
je 0x955bf1
inc eax
mov dword [ebp - 0x294], eax
jmp 0x955bf7
mov dword [ebp - 0x294], esi
or eax, 0xffffffff
call fcn.00964530
mov esi, eax
mov dword [ebp - 0x280], esi
cmp esi, edi
jne 0x955c37
push 0x80
push 3
push 3
push 0x80000000
mov edi, dword [ebp - 0x268]
call fcn.0094db00
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x26c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x955c5e
or edi, 0xffffffff
mov dword [ebp - 0x26c], edi
push 1
push 0
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call ebx
mov dword [ebp - 0x274], eax
push 0
push 0
push 0
push edi
call ebx
cmp edi, 0xffffffff
jne 0x955cc9
mov byte [ebp - 0x264], 0
push 0x103
push 0
lea eax, [ebp - 0x263]
push eax
call fcn.00a7ffb0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0x104
lea esi, [ebp - 0x264]
call fcn.00960b00
add esp, 4
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955cbd
mov ecx, esi
push ecx
mov edx, dword [ebp - 0x268]
push edx
push str.Unable_to_open_file__s__Reason:__s
push eax
call fcn.00a78f30
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x956370
mov byte [ebp - 0x64], 0
push 0x3f
push 0
lea eax, [ebp - 0x63]
push eax
call fcn.00a7ffb0
add esp, 0xc
mov byte [ebp - 0x15c], 0
push 0xf7
push 0
lea ecx, [ebp - 0x15b]
push ecx
call fcn.00a7ffb0
add esp, 0xc
push 0
lea edx, [ebp - 0x27c]
push edx
push 0x40
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x955d68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955d2e
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00985290
jmp 0x955d3d
push 0
push 0
mov edx, dword [ebp - 0x274]
push edx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Error_Reading_file__s_
push eax
call fcn.00a78f30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x956370
cmp dword [ebp - 0x27c], 0x40
je 0x955db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955d8b
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x955d9a
push 0
push 0
mov eax, dword [ebp - 0x274]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Unable_to_read_DosHeader_from__s_
jmp 0x955d53
movsx edx, byte [ebp - 0x64]
push edx
call fcn.00a7c649
add esp, 4
cmp eax, 0x4d
jne 0x9562e3
movsx eax, byte [ebp - 0x63]
push eax
call fcn.00a7c649
add esp, 4
cmp eax, 0x5a
jne 0x9562e3
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push edi
call ebx
cmp eax, 0xffffffff
jne 0x955e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955e08
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x955e17
push 0
push 0
mov eax, dword [ebp - 0x274]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Error_Setting_FilePtr_on__s_
jmp 0x955d53
push 0
lea edx, [ebp - 0x27c]
push edx
push 0xf8
lea eax, [ebp - 0x15c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x955e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955e70
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00985290
jmp 0x955e7f
push 0
push 0
mov edx, dword [ebp - 0x274]
push edx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Error_Reading_file_1___s_
jmp 0x955d53
cmp dword [ebp - 0x27c], 0xf8
je 0x955ef2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955ec4
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x955ed3
push 0
push 0
mov eax, dword [ebp - 0x274]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Unable_to_read_NTHeaders_from__s_
jmp 0x955d53
xor eax, eax
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x2a8], edx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x2a0], edx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x288], eax
mov eax, 0xf0
cmp ax, dx
jne 0x955f5a
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x284], ecx
jmp 0x955f66
lea edx, [ebp - 0x144]
mov dword [ebp - 0x288], edx
mov al, byte [ebp - 0x158]
mov byte [ebp - 0x278], al
mov cl, byte [ebp - 0x157]
mov byte [ebp - 0x277], cl
mov eax, dword [ebp - 0x278]
cmp eax, 0x14c
je 0x955fda
cmp eax, 0x8664
je 0x955fda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955fac
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x955fbb
push 0
push 0
mov eax, dword [ebp - 0x274]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Neither_i386_nor_AMD64:__s_
jmp 0x955d53
movsx edx, byte [ebp - 0x15c]
push edx
call fcn.00a7c649
add esp, 4
cmp eax, 0x50
jne 0x95629b
movsx eax, byte [ebp - 0x15b]
push eax
call fcn.00a7c649
add esp, 4
cmp eax, 0x45
jne 0x95629b
cmp byte [ebp - 0x15a], 0
jne 0x95629b
cmp byte [ebp - 0x159], 0
jne 0x95629b
mov ecx, 0xf0
cmp cx, word [ebp - 0x298]
jne 0x956041
mov eax, dword [ebp - 0x284]
add eax, 0x90
jmp 0x95604a
mov eax, dword [ebp - 0x288]
sub eax, 0xffffff80
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x278], eax
test eax, eax
jbe 0x9561df
push 0
push 0
push ecx
push edi
call ebx
cmp eax, 0xffffffff
jne 0x95608b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x955e08
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x955e17
mov eax, dword [ebp - 0x278]
call fcn.00966e40
mov esi, eax
test esi, esi
je 0x9561d9
test byte [0xc0ea50], 1
jne 0x9560ba
or dword [0xc0ea50], 1
mov dword [0xc0ea4c], 0x17
push 0
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x278]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x956138
push esi
call fcn.00a78fec
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x280], 0
jne 0x9560fe
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00985290
jmp 0x95610d
push 0
push 0
mov edx, dword [ebp - 0x274]
push edx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x95612c
mov ecx, dword [ebp - 0x268]
push ecx
push str.Error_Reading_file_2a___s_
push eax
call fcn.00a78f30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x956370
mov edx, dword [0xc0ea4c]
add edx, 0x12
mov ecx, dword [ebp - 0x27c]
cmp ecx, edx
jbe 0x9561d0
mov al, 6
cmp byte [esi + 0xc], al
jne 0x956174
cmp byte [esi + 0xd], 9
jne 0x956174
cmp byte [esi + 0xe], 0x2a
jne 0x956174
cmp byte [esi + 0xf], 0x86
jne 0x956174
cmp byte [esi + 9], 0x82
jne 0x956174
cmp byte [esi + 8], 0x30
je 0x956197
cmp byte [esi + 0xd], al
jne 0x9561d0
cmp byte [esi + 0xe], 9
jne 0x9561d0
cmp byte [esi + 0xf], 0x2a
jne 0x9561d0
cmp byte [esi + 0x10], 0x86
jne 0x9561d0
cmp byte [esi + 9], 0x83
jne 0x9561d0
cmp byte [esi + 8], 0x30
jne 0x9561d0
mov edi, dword [ebp - 0x28c]
test edi, edi
je 0x9561c4
mov eax, dword [ebp - 0x268]
push eax
push 1
push ecx
push str.MicroWorld_Technologies
push esi
call fcn.0095ce40
add esp, 0x14
cmp eax, 0xffffffff
je 0x9561c4
mov dword [edi], 1
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x290], ecx
push esi
call fcn.00a78fec
add esp, 4
mov esi, dword [ebp - 0x280]
mov edi, dword [ebp - 0x270]
test esi, esi
jne 0x9561f7
lea edx, [ebp - 0x26c]
push edx
call fcn.00985290
jmp 0x956206
push 0
push 0
mov eax, dword [ebp - 0x274]
push eax
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x290], 0
jne 0x956271
test edi, edi
je 0x956228
mov ecx, dword [ebp - 0x268]
push ecx
push str.Unable_to_find_Verisign_Sign_in_file__s_
push edi
call fcn.00a78f30
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x956370
mov eax, str.updll6.dll
call fcn.0094c3e0
test eax, eax
jne 0x956370
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x956260
mov dword [eax], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x956379
test edi, edi
je 0x95628a
mov edx, dword [ebp - 0x268]
push edx
push str.Found_Verisign_Sign_in_file__s
push edi
call fcn.00a78f30
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x956379
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x9562b5
lea eax, [ebp - 0x26c]
push eax
call fcn.00985290
jmp 0x9562c4
push 0
push 0
mov ecx, dword [ebp - 0x274]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov edx, dword [ebp - 0x268]
push edx
push str.Not_a_PE_file:__s_
jmp 0x955d53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x9562fd
lea eax, [ebp - 0x26c]
push eax
call fcn.00985290
jmp 0x95630c
push 0
push 0
mov ecx, dword [ebp - 0x274]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x955d5c
mov edx, dword [ebp - 0x268]
push edx
push str.Not_an_MZ_Executable:__s_
jmp 0x955d53
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret