Function at 0x68930760
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x15c
push esi
mov dword [ebp - 0x48], 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZSeek
mov dword [ebp - 0x54], eax
push 0x108
lea ecx, [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x14
jae 0x689307a8
xor eax, eax
jmp 0x68930db2
cmp dword [ebp - 0x18], 0x108
jae 0x689307cf
mov eax, 0x108
sub eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx - 0x15c]
push edx
call sub.ntext.dll_memset
add esp, 0xc
movzx eax, word [ebp - 0x144]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x10b
je 0x689307ed
cmp dword [ebp - 0x34], 0x20b
je 0x689307f8
jmp 0x68930803
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x1c], ecx
jmp 0x6893080a
lea edx, [ebp - 0xc4]
mov dword [ebp - 0x1c], edx
jmp 0x6893080a
xor eax, eax
jmp 0x68930db2
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x68930887
mov ecx, dword [0x68949e54]
movzx edx, byte [ecx]
and edx, 8
je 0x68930880
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp ecx, 0x2e
jne 0x6893083e
mov dword [ebp - 0x50], 0x12
jmp 0x68930845
mov dword [ebp - 0x50], 0x21
push 0x68938310
push 0x126
push str.find_pe_resource
mov edx, dword [ebp - 0x50]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push edx
mov eax, dword [0x68949e54]
push eax
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68930880
push str.No_resources_in_PE_dll_n
call fcn.68933ab0
add esp, 4
xor eax, eax
jmp 0x68930db2
movzx ecx, word [ebp - 0x156]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x28
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x689308b5
xor eax, eax
jmp 0x68930db2
movzx eax, word [ebp - 0x148]
add eax, 0x18
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZSeek
mov esi, dword [ebp - 0x10]
imul esi, esi, 0x28
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x28
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
cmp esi, eax
je 0x6893090a
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x68930db2
mov dword [ebp - 4], 0
jmp 0x6893091c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jge 0x6893095d
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp ecx, dword [edx + eax + 0xc]
jb 0x6893095b
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 8]
add edx, dword [ecx + eax + 0x10]
mov eax, dword [ebp - 0x1c]
cmp dword [eax], edx
jae 0x6893095b
jmp 0x6893095d
jmp 0x68930913
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x689309ee
mov edx, dword [ebp - 8]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [0x68949e54]
movzx ecx, byte [eax]
and ecx, 8
je 0x689309e7
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp eax, 0x2e
jne 0x689309a4
mov dword [ebp - 0x3c], 0x12
jmp 0x689309ab
mov dword [ebp - 0x3c], 0x21
push 0x68938310
push 0x144
push str.find_pe_resource
mov ecx, dword [ebp - 0x3c]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push ecx
mov edx, dword [0x68949e54]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x689309e7
push str.Couldnt_find_resource_section_n
call fcn.68933ab0
add esp, 4
xor eax, eax
jmp 0x68930db2
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + eax + 8]
jbe 0x68930a18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x68930a28
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x68930a60
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x68930db2
push 0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZSeek
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZRead
cmp dword [ebp - 0x14], eax
je 0x68930a94
jmp 0x68930d8d
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x2c]
jae 0x68930ab4
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call sub.ntext.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ecx + edx + 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.689301c0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x68930b5f
mov ecx, dword [0x68949e54]
movzx edx, byte [ecx]
and edx, 8
je 0x68930b5a
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp ecx, 0x2e
jne 0x68930b18
mov dword [ebp - 0x44], 0x12
jmp 0x68930b1f
mov dword [ebp - 0x44], 0x21
push 0x68938310
push 0x15d
push str.find_pe_resource
mov edx, dword [ebp - 0x44]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push edx
mov eax, dword [0x68949e54]
push eax
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68930b5a
push str.No_typeid_entry_found_n
call fcn.68933ab0
add esp, 4
jmp 0x68930d8d
mov ecx, dword [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.689301c0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x68930bec
mov eax, dword [0x68949e54]
movzx ecx, byte [eax]
and ecx, 8
je 0x68930be7
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp eax, 0x2e
jne 0x68930ba4
mov dword [ebp - 0x30], 0x12
jmp 0x68930bab
mov dword [ebp - 0x30], 0x21
push 0x68938310
push 0x163
push str.find_pe_resource
mov ecx, dword [ebp - 0x30]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push ecx
mov edx, dword [0x68949e54]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68930be7
push str.No_resid_entry_found_n
call fcn.68933ab0
add esp, 4
jmp 0x68930d8d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.68930290
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x68930c7b
mov eax, dword [0x68949e54]
movzx ecx, byte [eax]
and ecx, 8
je 0x68930c76
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp eax, 0x2e
jne 0x68930c33
mov dword [ebp - 0x38], 0x12
jmp 0x68930c3a
mov dword [ebp - 0x38], 0x21
push 0x68938310
push 0x169
push str.find_pe_resource
mov ecx, dword [ebp - 0x38]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push ecx
mov edx, dword [0x68949e54]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68930c76
push str.No_default_language_entry_found_n
call fcn.68933ab0
add esp, 4
jmp 0x68930d8d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
jmp 0x68930c93
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jge 0x68930cd4
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp ecx, dword [edx + eax + 0xc]
jb 0x68930cd2
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 8]
add edx, dword [ecx + eax + 0x10]
mov eax, dword [ebp - 0x28]
cmp dword [eax], edx
jae 0x68930cd2
jmp 0x68930cd4
jmp 0x68930c8a
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x68930d4b
mov edx, dword [0x68949e54]
movzx eax, byte [edx]
and eax, 8
je 0x68930d49
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp edx, 0x2e
jne 0x68930d07
mov dword [ebp - 0x40], 0x12
jmp 0x68930d0e
mov dword [ebp - 0x40], 0x21
push 0x68938310
push 0x177
push str.find_pe_resource
mov eax, dword [ebp - 0x40]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push eax
mov ecx, dword [0x68949e54]
push ecx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68930d49
push str.Couldnt_find_resource_data_section_n
call fcn.68933ab0
add esp, 4
jmp 0x68930d8d
cmp dword [ebp + 0xc], 0
je 0x68930d5c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [ebp + 0x10], 0
je 0x68930d86
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
add eax, dword [edx + ecx + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x20]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 0x48]
pop esi
mov esp, ebp
pop ebp
ret