joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e750
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x43f7e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb10
mov dl, byte [0x453ccc]
push esi
mov esi, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x719]
mov byte [esp + 0x718], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x319]
mov byte [esp + 0x318], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x218], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x118]
lea ecx, [esp + 0x218]
push eax
mov byte [esp + 0xc], dl
push ecx
mov ecx, dword [0x4598c8]
lea edx, [esp + 0x20]
mov word [esp + 0x11], 0
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.0041c3cd
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x2c]
push eax
push str.SoftEditor_updater
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x338]
push edx
push eax
call fcn.0041c33c
push 0x453ccc
lea ecx, [esp + 0x44]
push 0x453ccc
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x74c]
push edx
push eax
call fcn.0041c33c
add esp, 0x3c
lea ecx, [esp + 0x10]
push 0x453ccc
call fcn.0042cff7
push str.SoftEditor_updater.exe
push str.dw.tzup.co.kr
mov dword [esp + 0xb28], 0
push str.http:___s_Setup_binc__s
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042afe6
mov eax, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x318]
push 0
push 0
push edx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
push 0x2bc
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x453ccc
lea ecx, [esp + 0x10]
call fcn.0042cff7
lea ecx, [esp + 0x318]
push str.update
push ecx
lea edx, [esp + 0x14]
push str._s__s
push edx
mov byte [esp + 0xb30], 1
call fcn.0042afe6
add esp, 0xc
lea eax, [esp + 0x71c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0042cff7
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040e660
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0xb20], 0
call fcn.0042cf89
lea ecx, [esp + 0x10]
mov dword [esp + 0xb20], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0xb18]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xb1c
ret

Function at 0x40e960
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0xf003f
push 1
xor esi, esi
push str.SOFTWARESoftEditor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e9ac
mov ecx, dword [esp + 4]
push str.RecentVer
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40e9a1
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x40e9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43f7f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push 0xf003f
push 1
push str.SOFTWARESoftEditor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x42c], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ea77
mov cl, byte [0x453ccc]
push edi
mov byte [esp + 0x14], cl
mov ecx, 0xff
lea edi, [esp + 0x15]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x428]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x40ea6c
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x428]
call fcn.0042d112
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x420]
mov dword [esp + 0x418], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x410]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x418
ret 8
Function at 0x410070
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0xf003f
push 1
push str.SOFTWAREMicrosoftInternet_ExplorerActiveX_Compatibility
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4100fa
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x41c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4100ef
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x418]
call fcn.0042cf89
mov eax, esi
pop edi
pop esi
add esp, 0x40c
ret 4
Function at 0x410410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
mov al, 0x30
push esi
mov byte [esp + 5], al
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 0xa], al
mov al, 0x63
push edi
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x60]
mov byte [esp + 8], 0x32
cmp eax, 1
mov byte [esp + 0xa], 0x31
mov byte [esp + 0xd], 0x38
mov byte [esp + 0xf], 0x37
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x12], 0x6a
mov byte [esp + 0x14], 0x69
mov byte [esp + 0x15], 0x70
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x72
jne 0x410496
mov ecx, 0x10
mov esi, 0x44f2b8
jmp 0x4104b6
cmp eax, 2
jne 0x4104a7
mov ecx, 0x10
mov esi, 0x44f2f8
jmp 0x4104b6
cmp eax, 3
jne 0x410512
mov ecx, 0x10
mov esi, 0x44f338
lea edi, [esp + 0x18]
lea eax, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0040c430
lea ecx, [esp + 0x1c]
push pe_nt_image_headers32
push ecx
push 1
call fcn.0040c4f0
mov esi, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x10
lea edi, [esp + 0x28]
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
call fcn.0040c4b0
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
call fcn.0042d112
pop edi
mov eax, 1
pop esi
add esp, 0x54
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 8
Function at 0x410a60
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43fb70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push edi
xor edi, edi
push 0x453ccc
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
call fcn.0042cff7
mov byte [esp + 0x14], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [esp + 8]
push 0x44f628
push eax
call fcn.0042afe6
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 1
push str.SOFTWAREMicrosoftInternet_ExplorerActiveX_Compatibility
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410b10
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
inc eax
push eax
push edi
call fcn.0042d345
push eax
mov eax, dword [esp + 0x14]
push 1
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
jne 0x410b05
mov edi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0042cf89
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x410b50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43fb9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x16c]
mov dword [esp + 0x160], 0
mov ecx, edi
call fcn.0042c348
lea eax, [esp + 0x168]
lea ecx, [esp + 0x10]
push eax
call fcn.0042ccfe
lea ecx, [esp + 0x168]
push str..
lea edx, [esp + 0x18]
mov bl, 1
push ecx
push edx
mov byte [esp + 0x16c], bl
call fcn.0042d21e
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x164], 2
call fcn.0042d0c2
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], bl
call fcn.0042cf89
mov ecx, dword [esp + 0x168]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x410d35
mov al, byte [esp + 0x18]
mov bl, 0x10
test bl, al
je 0x410c7e
mov esi, 0x44f630
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x410c33
test cl, cl
je 0x410c2f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x410c33
add eax, 2
add esi, 2
test cl, cl
jne 0x410c0f
xor eax, eax
jmp 0x410c38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410c7e
mov esi, 0x44f62c
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x410c69
test cl, cl
je 0x410c65
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x410c69
add eax, 2
add esi, 2
test cl, cl
jne 0x410c45
xor eax, eax
jmp 0x410c6e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410c7e
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.0042c411
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
lea ecx, [esp + 0x18]
push ecx
push ebp
call edi
test eax, eax
je 0x410d27
test byte [esp + 0x18], bl
je 0x410d17
mov esi, 0x44f630
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x410cc7
test cl, cl
je 0x410cc3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x410cc7
add eax, 2
add esi, 2
test cl, cl
jne 0x410ca3
xor eax, eax
jmp 0x410ccc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410d17
mov esi, 0x44f62c
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x410cfd
test cl, cl
je 0x410cf9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x410cfd
add eax, 2
add esi, 2
test cl, cl
jne 0x410cd9
xor eax, eax
jmp 0x410d02
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410d17
mov ecx, dword [esp + 0x16c]
lea eax, [esp + 0x44]
push eax
call fcn.0042c411
lea ecx, [esp + 0x18]
push ecx
push ebp
call edi
test eax, eax
jne 0x410c94
push ebp
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [esp + 0x16c]
mov eax, dword [edi + 0xc]
xor edx, edx
test eax, eax
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov byte [esp + 0x160], 0
call fcn.0042cf89
lea ecx, [esp + 0x168]
mov dword [esp + 0x160], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x158]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 8
Function at 0x411dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43fd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push esi
xor esi, esi
push 0x453ccc
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.0042cff7
mov eax, dword [esp + 0x424]
lea edx, [esp + 8]
mov dword [esp + 0x41c], esi
mov ecx, dword [eax]
push ecx
push str.CLSID_sInprocServer32
push edx
call fcn.0042afe6
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0xf003f
push 1
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411eae
mov dl, byte [0x453ccc]
push edi
mov ecx, 0xff
lea edi, [esp + 0x19]
mov byte [esp + 0x18], dl
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push esi
push 0x453ccc
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x411ea3
mov esi, dword [esp + 0x428]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0042d112
mov ecx, esi
call fcn.0042b045
mov ecx, esi
call fcn.0042aff9
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x41c], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x414]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x41c
ret 8
Function at 0x412200
Capabilities:
Create http request
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0xc360
call fcn.0041ad80
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x30d3
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push ebx
push str.SoftEditor
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x41231d
cmp edi, 0xffffffff
je 0x41231d
mov eax, dword [esp + 0xc374]
push ebx
push SysReAllocString
push ebx
mov eax, dword [eax]
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x412316
cmp esi, 0xffffffff
je 0x412316
mov ecx, dword [esp + 0xc370]
push ebp
push ebx
push 0x80
mov eax, dword [ecx]
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebp, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
push 0
lea edx, [esp + 0x18]
push 0
push edx
push esi
call ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push esi
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4122af
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc360
ret 8
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc360
ret 8

Function at 0x412670
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43fe48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
xor esi, esi
push 0x44f4ec
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.0042cff7
lea eax, [esp + 4]
mov dword [esp + 0x14], esi
push eax
push 0xf003f
push 1
push str.SOFTWARESoftEditor
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4126fc
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
lea ecx, [esp + 8]
inc eax
push eax
push esi
call fcn.0042d345
mov edx, dword [esp + 8]
push eax
push 1
push esi
push str.RecentVer
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4126f1
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x412780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
lea eax, [esp]
push esi
push eax
push 0xf003f
push 1
xor esi, esi
push str.SOFTWARESoftEditor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412807
mov cl, byte [0x453ccc]
push edi
mov byte [esp + 0x14], cl
mov ecx, 0xff
lea edi, [esp + 0x15]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
push str.RecentVer
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x4127fc
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x40c
ret

Function at 0x412820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43fe68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
push edx
push eax
push 0
push 0x200
push 0
push 0
mov edi, 1
push 0
push 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], edi
mov word [esp + 0x68], di
call fcn.0042d345
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x4128fb
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4128c0
mov ecx, dword [esp + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.0042cf89
mov eax, edi
pop esi
pop edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc

Function at 0x41c2f6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c316
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.0041f12c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41c339
test byte [esp + 8], 2
je 0x41c339
call fcn.0041f19f
mov dword [eax], 0xd
call fcn.0041f1a8
mov dword [eax], 5
jmp 0x41c312
xor eax, eax
ret
Function at 0x42a200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041ad80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42a2cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42a2cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42a27e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42a289
or bh, 8
and edi, 0x8000000
je 0x42a2a4
mov eax, dword [0x45b09c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42a2cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42a6cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x42a6ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42a70a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42e48b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42e4c3
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.0042d3bc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042d394
jmp 0x42e4cf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4