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

Disassembly:
push 0xffffffffffffffff
push 0x1004df50
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x1006c558]
xor ebx, ebx
cmp dword [0x1006c56c], 0x10
mov dword [esp + 0x1c], ebx
jae 0x1000764b
mov eax, 0x1006c558
push eax
lea ecx, [esp + 0x18]
call fcn.10002ca0
push 0xc
push str.EdpTwc64.dll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], ebx
call fcn.10001ed0
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x10068cdc], eax
cmp eax, ebx
je 0x100076c9
push str.EDPEDISK:Remote_Login_Used__n
push ebx
push 0x888
push str.CEdpEDiskCtrlInterface::CopyEdpTwc64Dll
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
mov dword [esp + 0x58], 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 0x100076c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x100078b8
call fcn.10025867
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100076e3
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push str.EDPEDISK.EXE:__s_Free_DLL_File
push edx
call fcn.100027b0
mov edi, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi - 4], 1
jle 0x1000772a
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.10002a10
mov edi, dword [esp + 0x18]
push edi
push ebx
push 0x88f
push str.CEdpEDiskCtrlInterface::CopyEdpTwc64Dll
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x1f01ff
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100077d5
push str.EDPEDISK.EXE:Free_DLL_File_Fail_
push 4
push 0x895
push str.CEdpEDiskCtrlInterface::CopyEdpTwc64Dll
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
lea eax, [edi - 0x10]
add esp, 0x10
mov byte [esp + 0x48], 0
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100077a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 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 0x100076c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x100078b8
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x1c
lea ecx, [esp + 0x24]
push ecx
push sym.EdpEDiskCtrl.dll_CreateEdpEDiskCtrlIntObj
xor edi, edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10007802
mov edi, dword [esp + 0x24]
push str.SECDISKDLL
push 0x3f0
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
cmp ebp, ebx
jne 0x10007823
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x10007862
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
ja 0x10007835
xor bl, bl
jmp 0x10007862
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10007845
xor bl, bl
jmp 0x10007862
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
lea edx, [esp + 0x20]
push edx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000788e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 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 0x100078b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10032551
add esp, 0x38
ret