Function at 0x40e710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov dword [ebp - 0x20], 0x1077f
mov dword [ebp - 4], 0x31fc
mov dword [ebp - 0x10], 0x15e95
mov dword [ebp - 0x38], 0xc9fa
mov dword [ebp - 0xc], 0x11188
mov dword [ebp - 0x68], 0x29ee
mov dword [ebp - 0x14], 0x142a3
mov dword [ebp - 0x24], 0xa60e
mov dword [ebp - 0x60], 0x12c7c
mov dword [ebp - 0x3c], 0x11fd0
mov dword [ebp - 0x40], 0x1536b
mov dword [ebp - 0x28], 0x58dd
mov dword [ebp - 0x5c], 0x8722
mov dword [ebp - 0x18], 0x1468e
mov dword [ebp - 0x9c], 0xe457
mov dword [ebp - 0x64], 0x1379c
mov dword [ebp - 0x30], 0xcf98
mov dword [ebp - 0x44], 0x16f03
mov dword [ebp - 0x4c], 0x49cf
mov dword [ebp - 0xa0], 0xdaa5
mov dword [ebp - 0x48], 0xb127
mov dword [ebp - 8], 0x4fc9
mov dword [ebp - 0x2c], 0x15c9c
mov dword [ebp - 0x1c], 0x6a2b
mov dword [ebp - 0x34], 0x7163
mov dword [ebp - 0x50], 0
jmp 0x40e7e0
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x142a2
cmp dword [ebp - 0x50], ecx
jge 0x40e8ef
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xc]
jge 0x40e80c
mov dword [ebp - 0x6c], 1
jmp 0x40e813
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x24]
jge 0x40e824
mov dword [ebp - 0x70], 1
jmp 0x40e82b
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x6c]
and edx, dword [ebp - 0x70]
je 0x40e8ea
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x1c]
jne 0x40e8ea
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x40e8ea
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x4c]
jne 0x40e8ea
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x3c]
jne 0x40e8ea
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x40]
jge 0x40e878
mov dword [ebp - 0x74], 1
jmp 0x40e87f
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x34]
jge 0x40e890
mov dword [ebp - 0x78], 1
jmp 0x40e897
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x38]
xor ecx, dword [ebp - 0x1c]
or eax, ecx
or eax, dword [ebp - 0x78]
je 0x40e8ea
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0xc]
jne 0x40e8ea
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x60]
jne 0x40e8ea
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x9c]
jne 0x40e8ea
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x64]
jne 0x40e8ea
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
push 0x11bf6
call dword [sym.imp.KERNEL32.dll_EraseTape]
add esp, 4
jmp 0x40e7d7
mov dword [ebp - 0x54], 0
jmp 0x40e901
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x14]
sub edx, 0x142a2
cmp dword [ebp - 0x54], edx
jge 0x40e91a
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x40e8f8
mov ecx, dword [ebp + 0x10]
add ecx, 0x6dc5
push ecx
call fcn.0041f7b0
add esp, 4
mov dword [ebp - 0x58], 0
jmp 0x40e93e
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
sub eax, 0xc7c3
cmp dword [ebp - 0x58], eax
jge 0x40ed8c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
je 0x40ed87
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x40ed87
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x14]
jne 0x40ed87
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x24]
jne 0x40ed87
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x40]
jne 0x40ed87
push 0x15d20
push 0xbe1b
push 0xcfab
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x44]
jge 0x40e9cf
mov dword [ebp - 0x7c], 1
jmp 0x40e9d6
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x48]
or ecx, dword [ebp - 0x30]
and ecx, dword [ebp - 0x7c]
je 0x40ed87
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 8]
jne 0x40ed87
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x38]
jne 0x40ed87
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x18]
jne 0x40ed87
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 0xc]
jne 0x40ed87
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x10]
jne 0x40ed87
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [ebp - 0xb0]
jge 0x40ea53
mov dword [ebp - 0x80], 1
jmp 0x40ea5a
mov dword [ebp - 0x80], 0
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x1c]
jge 0x40ea6e
mov dword [ebp - 0x84], 1
jmp 0x40ea78
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x80]
and eax, dword [ebp - 0x84]
and eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
je 0x40ed74
mov ecx, dword [ebp - 0x44]
or ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x40eaa4
mov dword [ebp - 0x88], 1
jmp 0x40eaae
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x30]
jge 0x40eac2
mov dword [ebp - 0x8c], 1
jmp 0x40eacc
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x88]
or eax, dword [ebp - 0x8c]
je 0x40ed74
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jne 0x40ed74
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x18]
jne 0x40ed74
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRecoveryCallback]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x3c]
jge 0x40eb10
mov dword [ebp - 0x90], 1
jmp 0x40eb1a
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x40]
jge 0x40eb2e
mov dword [ebp - 0x94], 1
jmp 0x40eb38
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x60]
and edx, dword [ebp - 0x90]
and edx, dword [ebp - 0x94]
je 0x40ed74
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x5c]
jne 0x40ed74
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x44]
jne 0x40ed74
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0x10]
jne 0x40ed74
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x24]
jne 0x40ed74
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x18]
jne 0x40ed74
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 8]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0xb4], 0
je 0x40ed3e
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x60]
jge 0x40ed3e
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x68]
jne 0x40ed3e
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jne 0x40ed3e
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
imul edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0xc]
jge 0x40ed3e
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x28]
jne 0x40ed3e
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jne 0x40ed3e
push 0x384e
push 0x46ab
push 0x6a32
push 0x6a3f
push 0xd270
push 0x13ccc
push 0x1112c
push 0x37aa
call dword [sym.imp.KERNEL32.dll_LockResource]
add esp, 0x20
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x1c]
jge 0x40ec48
mov dword [ebp - 0x98], 1
jmp 0x40ec52
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x98]
je 0x40ed21
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x20]
jne 0x40ed21
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp + 0xc]
jne 0x40ed21
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x9c]
jne 0x40ed21
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x38]
jge 0x40eca5
mov dword [ebp - 0xa4], 1
jmp 0x40ecaf
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x48]
jge 0x40ecc3
mov dword [ebp - 0xa8], 1
jmp 0x40eccd
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0xa4]
or eax, dword [ebp - 0xa8]
je 0x40eceb
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
push 0x148dd
push 0x6ca8
push 0x9fd1
push 0x130e1
push 0x46ea
push 0xa162
push 0x2dc7
push 0x112af
push 0x155c7
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
add esp, 0x24
push 0xe984
push 0x2a31
push 0x68fd
push 0x10aef
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
add esp, 0x10
push 0x13c98
push 0x8d37
push 0x12d20
push 0x17dea
push 0xa7e7
push 0x88f8
push 0x5864
push 0x5133
push 0x142ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x24
push 0x182d
push 0x568a
call dword [sym.imp.KERNEL32.dll_CreateHardLinkTransactedA]
add esp, 8
jmp 0x40e935
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov esp, ebp
pop ebp
ret