Function at 0x1005e110
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x240
push 0xfffffffffffffffe
push 0x10182fc0
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x23c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0x248]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x1c], 0xffffffff
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x3c], esi
cmp eax, esi
je 0x1005e17e
mov byte [eax], 0
cmp ecx, esi
je 0x1005e184
mov dword [ecx], esi
cmp edi, esi
je 0x1005e7f5
cmp byte [edi], 0
je 0x1005e7f5
push 0x5c
push edi
call fcn.10129030
add esp, 8
cmp eax, esi
je 0x1005e1aa
inc eax
mov dword [ebp - 0x40], eax
jmp 0x1005e1ad
mov dword [ebp - 0x40], edi
or eax, 0xffffffff
call fcn.10067fc0
mov dword [ebp - 0x2c], eax
cmp eax, esi
jne 0x1005e1df
push 0x80
push 3
push 3
push bind
call fcn.1005aa40
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x1c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1005e1fb
or edi, 0xffffffff
mov dword [ebp - 0x1c], edi
push 1
push esi
push esi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call ebx
mov dword [ebp - 0x24], eax
push esi
push esi
push esi
push edi
call ebx
cmp edi, 0xffffffff
jne 0x1005e257
mov byte [ebp], 0
push 0x103
push 0
lea eax, [ebp + 1]
push eax
call fcn.1012e060
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0x104
lea esi, [ebp]
call fcn.10065360
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e24b
mov ecx, esi
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.Unable_to_open_file__s__Reason:__s
push eax
call fcn.10127dc0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1005e7f5
mov byte [ebp + 0x1fc], 0
push 0x3f
push 0
lea eax, [ebp + 0x1fd]
push eax
call fcn.1012e060
mov byte [ebp + 0x104], 0
push 0xf7
push 0
lea ecx, [ebp + 0x105]
push ecx
call fcn.1012e060
add esp, 0x18
lea ecx, [ebp - 0x34]
mov edx, 0x40
lea esi, [ebp + 0x1fc]
call fcn.1005aa20
test eax, eax
jne 0x1005e2ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e2bb
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e2c7
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Reading_file__s_
push eax
call fcn.10127dc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1005e7f5
cmp dword [ebp - 0x34], 0x40
je 0x1005e329
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e30b
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e317
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_read_DosHeader_from__s_
jmp 0x1005e2d7
movsx edx, byte [ebp + 0x1fc]
push edx
call fcn.1012af01
add esp, 4
cmp eax, 0x4d
jne 0x1005e778
movsx eax, byte [ebp + 0x1fd]
push eax
call fcn.1012af01
add esp, 4
cmp eax, 0x5a
jne 0x1005e778
push 0
push 0
mov ecx, dword [ebp + 0x238]
push ecx
push edi
call ebx
cmp eax, 0xffffffff
jne 0x1005e3ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e387
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e393
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Setting_FilePtr_on__s_
jmp 0x1005e2d7
lea ecx, [ebp - 0x34]
mov edx, 0xf8
lea esi, [ebp + 0x104]
call fcn.1005aa20
test eax, eax
jne 0x1005e401
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e3dc
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e3e8
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Reading_file_1___s_
jmp 0x1005e2d7
cmp dword [ebp - 0x34], 0xf8
je 0x1005e448
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e423
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e42f
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_read_NTHeaders_from__s_
jmp 0x1005e2d7
xor esi, esi
mov dword [ebp - 0x30], esi
mov edx, dword [ebp + 0x108]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x10c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0x110]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0x114]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x118]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], esi
mov ecx, 0xf0
cmp cx, ax
jne 0x1005e492
lea edx, [ebp + 0x11c]
mov dword [ebp - 0x38], edx
jmp 0x1005e498
lea esi, [ebp + 0x11c]
mov al, byte [ebp + 0x108]
mov byte [ebp - 0x30], al
mov cl, byte [ebp + 0x109]
mov byte [ebp - 0x2f], cl
mov eax, dword [ebp - 0x30]
cmp eax, 0x14c
je 0x1005e4f9
cmp eax, 0x8664
je 0x1005e4f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e4d4
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
jmp 0x1005e4e0
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Neither_i386_nor_AMD64:__s_
jmp 0x1005e2d7
movsx edx, byte [ebp + 0x104]
push edx
call fcn.1012af01
add esp, 4
cmp eax, 0x50
jne 0x1005e73a
movsx eax, byte [ebp + 0x105]
push eax
call fcn.1012af01
add esp, 4
cmp eax, 0x45
jne 0x1005e73a
cmp byte [ebp + 0x106], 0
jne 0x1005e73a
cmp byte [ebp + 0x107], 0
jne 0x1005e73a
mov ecx, 0xf0
cmp cx, word [ebp - 0x48]
jne 0x1005e55a
mov eax, dword [ebp - 0x38]
add eax, 0x90
jmp 0x1005e560
lea eax, [esi + 0x80]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
test eax, eax
jbe 0x1005e694
push 0
push 0
push ecx
push edi
call ebx
cmp eax, 0xffffffff
je 0x1005e36e
mov edx, dword [ebp - 0x30]
push edx
call fcn.1006a7b0
add esp, 4
mov esi, eax
test esi, esi
je 0x1005e694
test byte [0x101cd784], 1
jne 0x1005e5b1
or dword [0x101cd784], 1
mov dword [0x101cd780], 0x17
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.1005aa20
test eax, eax
jne 0x1005e607
push esi
call fcn.10128243
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e5e2
lea eax, [ebp - 0x1c]
push eax
call fcn.10082e10
jmp 0x1005e5ee
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov edx, dword [ebp - 0x20]
push edx
push str.Error_Reading_file_2a___s_
jmp 0x1005e2d7
mov eax, dword [0x101cd780]
add eax, 0x12
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jbe 0x1005e68b
mov al, 6
cmp byte [esi + 0xc], al
jne 0x1005e63b
cmp byte [esi + 0xd], 9
jne 0x1005e63b
cmp byte [esi + 0xe], 0x2a
jne 0x1005e63b
cmp byte [esi + 0xf], 0x86
jne 0x1005e63b
cmp byte [esi + 9], 0x82
jne 0x1005e63b
cmp byte [esi + 8], 0x30
je 0x1005e65e
cmp byte [esi + 0xd], al
jne 0x1005e68b
cmp byte [esi + 0xe], 9
jne 0x1005e68b
cmp byte [esi + 0xf], 0x2a
jne 0x1005e68b
cmp byte [esi + 0x10], 0x86
jne 0x1005e68b
cmp byte [esi + 9], 0x83
jne 0x1005e68b
cmp byte [esi + 8], 0x30
jne 0x1005e68b
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x1005e685
mov edx, dword [ebp - 0x20]
push edx
push 1
push ecx
push str.MicroWorld_Technologies
push esi
call fcn.10063790
add esp, 0x14
cmp eax, 0xffffffff
je 0x1005e685
mov dword [edi], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
push esi
call fcn.10128243
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x1005e6a5
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10082e10
jmp 0x1005e6b1
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x3c], 0
jne 0x1005e713
test eax, eax
je 0x1005e6d0
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_find_Verisign_Sign_in_file__s_
push eax
call fcn.10127dc0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1005e7f5
mov eax, str.updll6.dll
call fcn.1005a140
test eax, eax
jne 0x1005e7f5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1005e702
mov dword [eax], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1005e7fe
test eax, eax
je 0x1005e729
mov edx, dword [ebp - 0x20]
push edx
push str.Found_Verisign_Sign_in_file__s
push eax
call fcn.10127dc0
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1005e7fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e753
lea eax, [ebp - 0x1c]
push eax
call fcn.10082e10
jmp 0x1005e75f
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov edx, dword [ebp - 0x20]
push edx
push str.Not_a_PE_file:__s_
jmp 0x1005e2d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1005e791
lea eax, [ebp - 0x1c]
push eax
call fcn.10082e10
jmp 0x1005e79d
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005e2e0
mov edx, dword [ebp - 0x20]
push edx
push str.Not_an_MZ_Executable:__s_
jmp 0x1005e2d7
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 + 0x23c]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x240
mov esp, ebp
pop ebp
ret