joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a30
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1012b940], 0
push ebx
push esi
push edi
je 0x10002b61
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10121a08]
cmp eax, 0x927c0
jb 0x10002a6f
call esi
mov dword [0x10121a08], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push 0x1012b988
mov ebx, eax
movzx eax, word [0x1012b964]
push 0x1012b968
push eax
push 0x1012b944
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
lea ecx, [ebp - 0x120]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x11a]
movzx eax, word [ebp - 0x11e]
movzx ecx, word [ebp - 0x120]
push edx
push eax
push ecx
lea edx, [ebp - 0x110]
push str._04d__02d__02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
lea edi, [ebp - 0x13c]
call fcn.10002d70
mov eax, dword [ebp - 0x13c]
mov edi, 0x10
cmp dword [ebp - 0x128], edi
jae 0x10002b1a
lea eax, [ebp - 0x13c]
push 0
push 2
push eax
push str.image.jpeg
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x10002b3b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push str.image.jpeg
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
cmp dword [ebp - 0x128], edi
jb 0x10002b61
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x10002b80
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1012b940], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
je 0x10002ce3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10121a08]
cmp eax, 0x927c0
jb 0x10002bc6
call esi
mov dword [0x10121a08], eax
push edi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x10002c02
push 0x10
push str.Error
push str.Failed_to_open_Internet.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [0x1012b964]
push 0
push 0
push 1
push 0x1012b988
push 0x1012b968
push ecx
push 0x1012b944
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
jne 0x10002c58
push 0x10
push str.Error
push str.Failed_to_connect_to_the_FTP_server.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4
push str.Tools
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
test eax, eax
je 0x10002cc1
mov edx, dword [ebp - 0x10c]
push edx
push str.Tools
push str._s__s
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
push 0
push 2
lea ecx, [ebp - 0x108]
push ecx
push ebx
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x10002cb3
push 0x40
push str.Success
push str.File_uploaded_successfully.
jmp 0x10002ccd
push 0x10
push str.Error
push str.Failed_to_upload_the_file.
jmp 0x10002ccd
push 0x10
push str.Error
push str.Failed_to_create_the_directory_on_the_FTP_server.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4

Function at 0x100035f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10121a30]
cmp eax, 0x64
jle 0x10003611
mov eax, 1
jmp 0x10003612
inc eax
push eax
mov dword [0x10121a30], eax
lea eax, [ebp - 0x34]
push 0x10017960
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000366b
push 0x2d
lea edx, [ebp - 0x34]
push edx
push 1
push eax
mov eax, dword [ebp - 0x38]
push str.VolumeEffect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x10004230
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, eax
movzx eax, byte [esi + 4]
push edi
push eax
push str.r_jj
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xc
ja case.default.0x10004264
jmp dword [eax*4 + 0x10004434]
mov ecx, 0xe
push 0x1388
call fcn.10007da0
push eax
push 2
mov eax, 0x1012bc40
call fcn.10010e10
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov ecx, 0xf
jmp 0x10004270
mov ecx, 0x10
jmp 0x10004270
mov ecx, 0x11
jmp 0x10004270
mov ecx, 0x12
jmp 0x10004270
mov ecx, 0x13
jmp 0x10004270
mov ecx, 0x14
jmp 0x10004270
mov ecx, 0x16
jmp 0x10004270
mov ecx, 0x18
jmp 0x10004270
mov ecx, 0x19
jmp 0x10004270
push 0x7d0
mov ecx, 0x64
jmp 0x10004275
push 0x7d0
mov ecx, 0x21
jmp 0x10004275
mov ecx, 0x15
call fcn.10007da0
mov esi, eax
push esi
push 1
push 2
push 0x1001c098
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
add esp, 0x14
mov eax, dword [0x1012b9f4]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
je 0x1000434b
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1012c65c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012b9f4], 0
call ebx
mov eax, dword [0x1012bb1c]
test eax, eax
je 0x10004376
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1012c65c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012bb1c], 0
call ebx
mov eax, dword [0x1012bc44]
test eax, eax
je 0x100043a1
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012bc44], 0
call ebx
push 0x2b39c0
mov eax, esi
push 0x6a
mov esi, 0x1012bc40
call fcn.1000f250
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10010d70
push 0
push 0
mov dword [0x1012bc48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1012bc48]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x1012bc48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1012bc44]
test eax, eax
je 0x1000442d
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1012c65c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012bc44], 0
call ebx
call fcn.100109e0
mov edi, edi
mov al, byte [edx]
adc byte [ebx + 66], ch
add byte [eax], dl
mov es, word [edx]
adc byte [ebp - 1676672958], dl
inc edx
add byte [eax], dl
mov dword [0xaa100042], eax
inc edx
add byte [eax], dl
mov cl, 0x42
add byte [eax], dl
mov eax, 0xbf100042
inc edx
add byte [eax], dl
mov byte [edx], 0x10
int 66
add byte [eax], dl
fld dword [edx]
adc ah, cl
int3
Function at 0x100048a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, 0x15
call fcn.10007da0
push eax
push 1
push 2
push 0x1001c098
mov dword [ebp - 4], eax
call fcn.10010f90
add esp, 4
push eax
xor esi, esi
push esi
mov ecx, 0x10121ab8
call fcn.100078b0
mov eax, dword [0x1012b9f4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
cmp eax, esi
je 0x10004908
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x1012c65c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012b9f4], esi
call ebx
mov eax, dword [0x1012bb1c]
cmp eax, esi
je 0x1000492d
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012bb1c], esi
call ebx
mov eax, dword [0x1012bc44]
cmp eax, esi
je 0x10004953
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x1012c65c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012bc44], esi
call ebx
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x1012bc40
call fcn.1000f250
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10010d70
push 0
push 0
mov dword [0x1012bc48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1012bc48]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1012bc48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1012bc44]
test eax, eax
je 0x100049df
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012bc44], 0
call ebx
call fcn.100109e0
int3
Function at 0x10006dc0
Capabilities:
Check mutex on windows

Disassembly:
push edi
xor edi, edi
mov eax, 1
cmp dword [0x10121a3c], edi
jle 0x10006e2a
push ebx
xor ebx, ebx
push esi
mov eax, dword [0x10121a40]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x10006de3
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10006e19
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add ebx, 0x1c
cmp edi, dword [0x10121a3c]
jl 0x10006dd4
pop esi
pop ebx
mov eax, 1
pop edi
ret
inc edi
mov dword [0x10121a54], esi
pop esi
mov dword [0x10121a50], edi
xor eax, eax
pop ebx
pop edi
ret
Function at 0x10007500
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007553
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10007566
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x1000759d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100075db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100075d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100075d4
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x100075fb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100143c4
mov esp, ebp
pop ebp
ret 8
Function at 0x10007790
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10121cd0]
push ebx
push esi
push edi
test eax, eax
js 0x1000789d
cmp eax, 1
jge 0x1000789d
mov esi, eax
imul esi, esi, 0x214
add esi, 0x10121abc
push str.MUGuard
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x10121cd0], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000789d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10007878
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000789d
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x100078b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10007aa7
cmp eax, dword [ecx + 0x218]
jge 0x10007aa7
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10007aa7
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x10007936
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10007936
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x100079f3
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x812]
movzx ecx, word [ebp - 0x816]
movzx edx, word [ebp - 0x818]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x100079bd
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100079f3
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x408]
add esp, 0x40
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007a80
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x81c]
push edx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x10007b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007bd3
lea ecx, [ebp - 8]
push ecx
push 0x10121ce4
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10007bc9
push 0x10018154
push 0x10
push 0x10121ce4
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x10008070
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10008194
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000818d
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.10010a80
add esp, 4
test al, al
je 0x1000818d
lea edx, [ebp - 0x458]
push edx
lea ecx, [ebp - 0x210]
call fcn.100072d0
test al, al
jne 0x10008114
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10004650
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10007650
test al, al
jne 0x10008154
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10004650
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10005760
test al, al
jne 0x1000818d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10004650
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x10008770
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1594
call fcn.10014dd0
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x1590], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x150]
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x100087ca
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1590]
xor ecx, esp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
shr esi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
cmp esi, edi
jle 0x100088b8
lea eax, [esp + edi*4 + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x100088ab
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100088a4
push 0x104
lea edx, [esp + 0x118c]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100088a4
lea esi, [esp + 0x1188]
call fcn.10010d20
push eax
lea eax, [esp + 0x114c]
push 0x100179a0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x139c]
push ecx
mov ecx, esi
call fcn.10010a80
add esp, 0x10
test al, al
je 0x100088a0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, 8
lea esi, [esp + 0x1148]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1390]
push ecx
lea edx, [esp + 0x48]
push 0x100181d0
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
call fcn.10008d20
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [esp + 0x10], edi
cmp edi, esi
jl 0x100087e1
mov ecx, dword [esp + 0x159c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x100093d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10014dd0
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x1012c8d8], 2
push ebx
push esi
push edi
jne 0x10009407
push str.CheckProcess:_MEMORY_GUARD_NUMBER_INJECT
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
add esp, 8
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor esi, esi
push ecx
mov dword [ebp - 0x1010], esi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000943f
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1010]
shr eax, 2
mov dword [ebp - 0x100c], eax
cmp eax, esi
jle 0x10009503
mov edi, dword [ebp + esi*4 - 0x1008]
test edi, edi
je 0x100094fa
push 0x1012ccfc
mov dword [ebp - 0x1014], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [ebp - 0x1014]
lea eax, [ebp - 0x101c]
mov ecx, 0x1012cd14
call fcn.10009db0
mov eax, dword [ebp - 0x101c]
push 0x1012ccfc
cmp eax, dword [0x1012cd18]
je 0x100094b9
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1014], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100094f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call fcn.10009810
mov ecx, dword [ebp + esi*4 - 0x1008]
call fcn.10009520
test al, al
je 0x1000942c
mov edi, dword [ebp + esi*4 - 0x1008]
call fcn.10008070
test al, al
je 0x1000942c
mov eax, dword [ebp - 0x100c]
inc esi
cmp esi, eax
jl 0x10009456
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret

Function at 0x100095f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10014dd0
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10009641
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x100096a6
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x100096a1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10009698
test dl, dl
je 0x10009694
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10009698
add eax, 2
add ecx, 2
test dl, dl
jne 0x10009678
xor eax, eax
jmp 0x1000969d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100096ba
inc esi
cmp esi, edi
jl 0x10009650
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100143c4
mov esp, ebp
pop ebp
ret 4