Function at 0x10007ae0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1004df18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [0x1006c558]
xor ebx, ebx
cmp dword [0x1006c56c], 0x10
mov dword [esp + 0x18], ebx
jae 0x10007b2b
mov eax, 0x1006c558
push eax
lea ecx, [esp + 0x18]
call fcn.10002ca0
push 0xa
push 0x10056dd8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], ebx
call fcn.10001ed0
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x10068cdc], eax
cmp eax, ebx
je 0x10007ba9
push str.EDPEDISK:Remote_Login_Used__n
push ebx
push 0x9af
push str.CEdpEDiskCtrlInterface::CopySDHComDll
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007ba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x10007cb9
mov ecx, dword [esp + 0x14]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x1f01ff
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10007c01
push str.EDPEDISK.EXE:Free_DLL_File_Fail_
push 4
push 0x9b8
push str.CEdpEDiskCtrlInterface::CopySDHComDll
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10007b96
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x1c
lea ecx, [esp + 0x20]
push ecx
push sym.EdpEDiskCtrl.dll_CreateEdpEDiskCtrlIntObj
xor esi, esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10007c2e
mov esi, dword [esp + 0x20]
push str.SECDISKDLL
push 0x3f2
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
cmp ebp, ebx
jne 0x10007c49
xor bl, bl
jmp 0x10007c88
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
ja 0x10007c5b
xor bl, bl
jmp 0x10007c88
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10007c6b
xor bl, bl
jmp 0x10007c88
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007cb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10032551
add esp, 0x34
ret