Function at 0x1003b5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x240
push 0xfffffffffffffffe
push 0x1016d930
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1017455c]
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 0x1003b60e
mov byte [eax], 0
cmp ecx, esi
je 0x1003b614
mov dword [ecx], esi
cmp edi, esi
je 0x1003bc85
cmp byte [edi], 0
je 0x1003bc85
push 0x5c
push edi
call fcn.1010e930
add esp, 8
cmp eax, esi
je 0x1003b63a
inc eax
mov dword [ebp - 0x40], eax
jmp 0x1003b63d
mov dword [ebp - 0x40], edi
or eax, 0xffffffff
call fcn.1004cb20
mov dword [ebp - 0x2c], eax
cmp eax, esi
jne 0x1003b66f
push 0x80
push 3
push 3
push closesocket
call fcn.10033690
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x1c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1003b68b
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 0x1003b6e7
mov byte [ebp], 0
push 0x103
push 0
lea eax, [ebp + 1]
push eax
call fcn.10116880
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0x104
lea esi, [ebp]
call fcn.10049da0
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b6db
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.1010d6a8
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1003bc85
mov byte [ebp + 0x1fc], 0
push 0x3f
push 0
lea eax, [ebp + 0x1fd]
push eax
call fcn.10116880
mov byte [ebp + 0x104], 0
push 0xf7
push 0
lea ecx, [ebp + 0x105]
push ecx
call fcn.10116880
add esp, 0x18
lea ecx, [ebp - 0x34]
mov edx, 0x40
lea esi, [ebp + 0x1fc]
call fcn.10032840
test eax, eax
jne 0x1003b77c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b74b
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b757
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Reading_file__s_
push eax
call fcn.1010d6a8
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1003bc85
cmp dword [ebp - 0x34], 0x40
je 0x1003b7b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b79b
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b7a7
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_read_DosHeader_from__s_
jmp 0x1003b767
movsx edx, byte [ebp + 0x1fc]
push edx
call fcn.10110cf8
add esp, 4
cmp eax, 0x4d
jne 0x1003bc08
movsx eax, byte [ebp + 0x1fd]
push eax
call fcn.10110cf8
add esp, 4
cmp eax, 0x5a
jne 0x1003bc08
push 0
push 0
mov ecx, dword [ebp + 0x238]
push ecx
push edi
call ebx
cmp eax, 0xffffffff
jne 0x1003b83c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b817
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b823
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Setting_FilePtr_on__s_
jmp 0x1003b767
lea ecx, [ebp - 0x34]
mov edx, 0xf8
lea esi, [ebp + 0x104]
call fcn.10032840
test eax, eax
jne 0x1003b891
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b86c
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b878
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Error_Reading_file_1___s_
jmp 0x1003b767
cmp dword [ebp - 0x34], 0xf8
je 0x1003b8d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b8b3
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b8bf
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_read_NTHeaders_from__s_
jmp 0x1003b767
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 0x1003b922
lea edx, [ebp + 0x11c]
mov dword [ebp - 0x38], edx
jmp 0x1003b928
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 0x1003b989
cmp eax, 0x8664
je 0x1003b989
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003b964
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
jmp 0x1003b970
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov ecx, dword [ebp - 0x20]
push ecx
push str.Neither_i386_nor_AMD64:__s_
jmp 0x1003b767
movsx edx, byte [ebp + 0x104]
push edx
call fcn.10110cf8
add esp, 4
cmp eax, 0x50
jne 0x1003bbca
movsx eax, byte [ebp + 0x105]
push eax
call fcn.10110cf8
add esp, 4
cmp eax, 0x45
jne 0x1003bbca
cmp byte [ebp + 0x106], 0
jne 0x1003bbca
cmp byte [ebp + 0x107], 0
jne 0x1003bbca
mov ecx, 0xf0
cmp cx, word [ebp - 0x48]
jne 0x1003b9ea
mov eax, dword [ebp - 0x38]
add eax, 0x90
jmp 0x1003b9f0
lea eax, [esi + 0x80]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
test eax, eax
jbe 0x1003bb24
push 0
push 0
push ecx
push edi
call ebx
cmp eax, 0xffffffff
je 0x1003b7fe
mov edx, dword [ebp - 0x30]
push edx
call fcn.1004e860
add esp, 4
mov esi, eax
test esi, esi
je 0x1003bb24
test byte [0x101a3804], 1
jne 0x1003ba41
or dword [0x101a3804], 1
mov dword [0x101a3800], 0x17
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.10032840
test eax, eax
jne 0x1003ba97
push esi
call fcn.1010dc10
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003ba72
lea eax, [ebp - 0x1c]
push eax
call fcn.100673f0
jmp 0x1003ba7e
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov edx, dword [ebp - 0x20]
push edx
push str.Error_Reading_file_2a___s_
jmp 0x1003b767
mov eax, dword [0x101a3800]
add eax, 0x12
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jbe 0x1003bb1b
mov al, 6
cmp byte [esi + 0xc], al
jne 0x1003bacb
cmp byte [esi + 0xd], 9
jne 0x1003bacb
cmp byte [esi + 0xe], 0x2a
jne 0x1003bacb
cmp byte [esi + 0xf], 0x86
jne 0x1003bacb
cmp byte [esi + 9], 0x82
jne 0x1003bacb
cmp byte [esi + 8], 0x30
je 0x1003baee
cmp byte [esi + 0xd], al
jne 0x1003bb1b
cmp byte [esi + 0xe], 9
jne 0x1003bb1b
cmp byte [esi + 0xf], 0x2a
jne 0x1003bb1b
cmp byte [esi + 0x10], 0x86
jne 0x1003bb1b
cmp byte [esi + 9], 0x83
jne 0x1003bb1b
cmp byte [esi + 8], 0x30
jne 0x1003bb1b
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x1003bb15
mov edx, dword [ebp - 0x20]
push edx
push 1
push ecx
push str.MicroWorld_Technologies
push esi
call fcn.10047440
add esp, 0x14
cmp eax, 0xffffffff
je 0x1003bb15
mov dword [edi], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
push esi
call fcn.1010dc10
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x1003bb35
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100673f0
jmp 0x1003bb41
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 0x1003bba3
test eax, eax
je 0x1003bb60
mov ecx, dword [ebp - 0x20]
push ecx
push str.Unable_to_find_Verisign_Sign_in_file__s_
push eax
call fcn.1010d6a8
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1003bc85
mov eax, str.updll6.dll
call fcn.10031940
test eax, eax
jne 0x1003bc85
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1003bb92
mov dword [eax], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1003bc8e
test eax, eax
je 0x1003bbb9
mov edx, dword [ebp - 0x20]
push edx
push str.Found_Verisign_Sign_in_file__s
push eax
call fcn.1010d6a8
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1003bc8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003bbe3
lea eax, [ebp - 0x1c]
push eax
call fcn.100673f0
jmp 0x1003bbef
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov edx, dword [ebp - 0x20]
push edx
push str.Not_a_PE_file:__s_
jmp 0x1003b767
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x2c], 0
jne 0x1003bc21
lea eax, [ebp - 0x1c]
push eax
call fcn.100673f0
jmp 0x1003bc2d
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b770
mov edx, dword [ebp - 0x20]
push edx
push str.Not_an_MZ_Executable:__s_
jmp 0x1003b767
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.1010d699
add ebp, 0x240
mov esp, ebp
pop ebp
ret