joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50d0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5684c0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0055df4f
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x50d0e3
xor al, al
jmp 0x50d20f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, ebp
jne 0x50d105
xor al, al
jmp 0x50d20f
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebp
jne 0x50d118
xor al, al
jmp 0x50d20f
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x50d12c
xor al, al
jmp 0x50d20f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0055037a
test eax, eax
jne 0x50d160
xor al, al
jmp 0x50d20f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x6020dc
mov dword [esp + 0x20], ebp
call fcn.0055df4f
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0055969e
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.005596f5
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x50d1f4
mov ax, word [ebx]
test ax, ax
je 0x50d1e6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0050d230
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x50d1ca
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.005596f5
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x50d780
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.0055c1fe
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x50d7c6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0052e8f0
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x62ee04
push ecx
call fcn.00530451
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x511320
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x62f02c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x511333
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x511374
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x62f0d4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5113a6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5113aa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x51139b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5113c8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5113cc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5113bd
xor ecx, ecx
mov eax, 0x62f03c
xor ebx, ebx
mov bl, byte [ecx + 0x62f0e4]
cmp byte [esp + ebx + 0x14], 0
je 0x5113f7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x62f0fc]
cmp byte [esp + ebx + 0x14], 0
je 0x51140e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5113de
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x511367
lea edx, [esp + 0x84]
push edx
call fcn.00511450
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x519e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x568b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0051a290
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x68b4fc
call fcn.00530f68
mov ecx, dword [0x603374]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00517610
mov esi, 0x6033cc
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x519f37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x519f2e
cmp al, 0xff
je 0x519f2e
dec al
mov byte [ecx], al
jmp 0x519f37
push ecx
call fcn.00552244
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0054d250
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x519f7d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x519f74
cmp al, 0xff
je 0x519f74
dec al
mov byte [ecx], al
jmp 0x519f7d
push ecx
call fcn.00552244
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00530fef
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x547870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56aa50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0053c72a
mov eax, dword [0x608610]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0053c65c
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00548380
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x547917
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54790e
cmp al, 0xff
je 0x54790e
dec al
mov byte [ecx], al
jmp 0x547917
push ecx
call fcn.00552244
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x547948
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54793f
cmp al, 0xff
je 0x54793f
dec al
mov byte [ecx], al
jmp 0x547948
push ecx
call fcn.00552244
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x55337f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0055df4f
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x5533b0
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005533c3
pop edi
pop esi
pop ebx
ret 8

Function at 0x55499a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5549d2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00552981
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00552959
jmp 0x5549de
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x55635f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5563a1
call fcn.0055df4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x5563a1
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x556398
xor eax, eax
jmp 0x5563a9
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005563af
pop edi
pop esi
pop ebx
ret 4

Function at 0x55e47f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x55e4ad
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x55e4cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055e3e5
jmp 0x55e4cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x55e4cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055e3e5
test edi, edi
mov eax, edi
jne 0x55e4b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401540
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045cfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str._substat.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046695b
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4b7124], eax
test eax, eax
jne 0x4015c9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.STInit
push eax
call esi
push str.STUDPProxy
push dword [0x4b7124]
mov dword [0x4b7120], eax
call esi
push str.STUDPTransfer
push dword [0x4b7124]
call esi
push str.STCmdApp
push dword [0x4b7124]
call esi
push str.STEntryAddr
push dword [0x4b7124]
call esi
push str.STUnionID
push dword [0x4b7124]
call esi
push str.STAppID
push dword [0x4b7124]
mov dword [0x4b711c], eax
call esi
push str.STVersion
push dword [0x4b7124]
mov dword [0x4b7118], eax
call esi
push str.STOnline
push dword [0x4b7124]
mov dword [0x4b7114], eax
call esi
push str.STOffline
push dword [0x4b7124]
mov dword [0x4b7110], eax
call esi
push str.STAction
push dword [0x4b7124]
call esi
push str.STUninit
push dword [0x4b7124]
mov dword [0x4b710c], eax
call esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0042ed56
mov esp, ebp
pop ebp
ret
Function at 0x41b0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4888c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41b243
cmp byte [ebx + 0x3d], 0
je 0x41b243
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41b144
xor al, al
jmp 0x41b245
push 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00410720
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41b1b9
sub eax, 1
je 0x41b1bd
sub eax, 2
je 0x41b20f
xor bl, bl
jmp 0x41b211
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x41b1f5
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0046fbba
add esp, 0x10
cmp esi, eax
jne 0x41b1b5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x41b20f
test esi, esi
jne 0x41b180
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004107f0
jmp 0x41b177
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41b22d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404de0
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x41b245
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret
Function at 0x41c710
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x414], 0
call fcn.0042b190
mov dword [ebp - 4], 0
lea eax, [ebp - 0x410]
push 0
push 0x1a
push eax
push 0
mov dword [ebp - 0x414], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x410], 0
jne 0x41c795
xor ecx, ecx
jmp 0x41c7af
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c7a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004185d0
push 0xf
push str.DriveTheLifeUI
mov ecx, esi
call fcn.0041b660
cmp dword [esi + 0x14], 8
jb 0x41c7d6
mov eax, dword [esi]
jmp 0x41c7d8
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
cmp eax, 0x5c
je 0x41c7fc
cmp eax, 0x2f
je 0x41c7fc
push 1
push 0x49c32c
mov ecx, esi
call fcn.0041b660
cmp word [edi], 0
jne 0x41c806
xor ecx, ecx
jmp 0x41c81f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c810
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0041b660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret
Function at 0x41f940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489060
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov edx, str.pcid.dll
xor bl, bl
call fcn.0042bd30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x41f98c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41f9b1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00418be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test edi, edi
jne 0x41fa3c
mov edx, str.pcid.dll
lea ecx, [ebp - 0x58]
call fcn.0042bd30
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41f9e5
mov eax, dword [eax]
push eax
push str.error_LoadLibrary__S_
push 0
push str.CGlobalDataCon::GetPCID
push str.GlobalDataCon.cpp
push 0x23
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41fa23
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00418be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jmp 0x41fae5
push str.PCIDGetIdentify
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41fa6e
push str.error_GetProcAddress
push eax
push str.CGlobalDataCon::GetPCID
push str.GlobalDataCon.cpp
push 0x2a
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x18
jmp 0x41fade
lea ecx, [ebp - 0x40]
push ecx
call eax
mov dword [ebp - 0x30], 0x310030
xor edx, edx
mov dword [ebp - 0x2c], 0x330032
mov dword [ebp - 0x28], 0x350034
mov dword [ebp - 0x24], 0x370036
mov dword [ebp - 0x20], 0x390038
mov dword [ebp - 0x1c], 0x420041
mov dword [ebp - 0x18], 0x440043
mov dword [ebp - 0x14], 0x460045
nop
movzx ecx, byte [ebp + edx - 0x40]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x30]
mov word [esi + edx*4], ax
movzx eax, word [ebp + ecx*2 - 0x30]
mov word [esi + edx*4 + 2], ax
inc edx
cmp edx, 0x10
jl 0x41fab0
xor eax, eax
mov bl, 1
mov word [esi + 0x40], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret 4
Function at 0x41fb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
push eax
push 0x20019
push 0
push str.SoftwareDTLSoftDriveTheLife
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41fb5e
lea eax, [ebp - 0x48]
push eax
push 0x20019
push 0
push str.SoftwareDTLSoftDriveTheLife
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fb8e
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x40
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push str.UnionID
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41fba2
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x58]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
cmp eax, 3
je 0x41fbb7
cmp eax, 4
jne 0x41fbce
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x41fbce
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
call fcn.0041fbf0
add esp, 8
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x54]
xor ecx, ebp
mov edx, dword [ebp - 0x50]
call fcn.0042ed56
mov esp, ebp
pop ebp
ret 8
Function at 0x421ce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4896c6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x250]
call fcn.00416fd0
push 0
push 0x989680
push dword [eax + 4]
push dword [eax]
call fcn.004852b0
push 0x208
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0045cfa0
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00421fc0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x421d5e
mov eax, dword [eax]
push eax
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x49d924
push str.NewScanDate
push str.UserConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0042b1a0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x421dd0
xor ecx, ecx
jmp 0x421def
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004185d0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x220], 0
jne 0x421e37
push str.IS_OUT_TIME__NULL
push 0
push str.Setting::IsOutTime
push str.Setting.cpp
push 0x3e
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x18
mov bl, 1
jmp 0x421e57
lea eax, [ebp - 0x218]
push eax
call fcn.0046ecc6
cdq
add esp, 4
cmp edx, edi
jg 0x421e55
jl 0x421e51
cmp eax, esi
jae 0x421e55
mov bl, 1
jmp 0x421e57
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x421e7c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00418be0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov al, bl
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret