joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f7bc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42f7d8
cmp dword [esi + 4], 0
je 0x42f805
test byte [ebx + 0x45], 1
jne 0x42f7f7
mov eax, ebx
call fcn.0042e6f4
test eax, eax
jne 0x42f7f7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42f915
mov edx, esi
mov eax, ebx
call fcn.0042f434
jmp 0x42f915
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42f90e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043178c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042c658
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042f7bc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043178c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f915
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a124
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a1fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46d090], 0
jne 0x43a1e0
lea eax, [ebp - 4]
mov edx, 0x43a214
call fcn.00458810
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00458bbc
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x43a1e0
mov eax, ebx
call fcn.00457560
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a1d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x43a1c3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43a224
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x43a1c3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x46d090], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a1e0
mov eax, dword [ebp - 0xc]
call fcn.00457578
ret
mov ebx, dword [0x46d090]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a203
lea eax, [ebp - 4]
call fcn.00458778
ret

Function at 0x44539c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x46d0b4], 0
jne 0x4453bf
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x445320
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x46d0b4], eax
ret

Function at 0x4531fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x453235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00458860
jmp 0x45323e
mov eax, ebx
mov edx, esi
call fcn.004587cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x453248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x453269
mov al, byte [esp]
jmp 0x45326b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x457804
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x457833
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00458860
jmp 0x457851
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0045772c
mov edi, eax
test ebx, ebx
je 0x457851
cmp dword [esi], 0
je 0x457851
dec ebx
jmp 0x45783a
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x457b58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4697dc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x457bf0
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x457bd0
xor eax, eax
push ebp
push 0x457bc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x457c0c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457bd0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4697dc]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4697dc], ax
mov esp, ebp
pop ebp
ret
Function at 0x45a088
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x45a244
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x45a0e9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x45a260
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x45a15b
xor eax, eax
push ebp
push 0x45a154
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00459ee0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x45a13d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x45a280
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a15b
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x45a23c
cmp byte [ebp - 0xd], 0
jne 0x45a19d
cmp byte [ebp - 0x12], 0
je 0x45a23c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x45a1b6
dec ebx
cmp byte [ebx], 0x2e
je 0x45a1c5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x45a1b5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x45a23c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x45a1f2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x45a23c
cmp byte [ebp - 0xd], 0
je 0x45a23c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x45a23c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x45a718
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x46d6e0], 1
jae 0x45a70a
xor eax, eax
mov dword [0x46d2ec], eax
xor eax, eax
mov dword [0x46d2f4], eax
xor eax, eax
mov dword [0x46d2f8], eax
mov byte [0x46d2fe], 2
mov byte [0x46d2ff], 2
mov byte [0x46d300], 3
mov word [0x46d6a8], 0
mov word [0x46d6b8], 1
mov word [0x46d6c8], 0xa
mov dword [0x46d6d0], 0x80020004
mov dword [0x46d69c], 0x459418
mov dword [0x46d6a0], 0x459410
mov dword [0x46d6a4], 0x459418
call fcn.00457b28
test al, al
je 0x45a6c9
call fcn.00457b58
call fcn.00457c1c
mov eax, 0x46d304
mov edx, 0x45a724
call fcn.004552b6
mov eax, 0x46d4d0
mov edx, 0x45a724
call fcn.004552b6
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x46d2e4], eax
call fcn.0045621c
mov dword [0x46d2e0], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x46d2d8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a71f
ret

Function at 0x46030c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x46036e
call fcn.004602bc
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045b1ec
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0045b1ec
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4603ec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46b490], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4604c6
cmp dword [0x46b48c], 0
jne 0x4604c6
cmp dword [0x46b670], 0
je 0x460480
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004601bc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x460466
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004601bc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x460466
lea ebx, [ebp - 0x84]
jmp 0x460467
inc ebx
call fcn.004603a8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x460501
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46b494
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045b1ec
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46b497
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x460501
cmp dword [0x46b48c], 0
je 0x4604e0
cmp dword [0x46b48c], 0xffffffff
je 0x460501
push esi
call dword [0x46b48c]
pop ecx
mov eax, dword [0x46b490]
test eax, eax
je 0x460501
cmp dword [0x46b490], 0xffffffff
je 0x460501
cmp byte [eax], 0
je 0x460501
push esi
push eax
call fcn.0046030c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460c98
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x46dfe4], 0
jne 0x460d19
cmp dword [0x46e004], 0
jne 0x460cc8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x46e004], eax
test eax, eax
jne 0x460cc8
push str.GetEnvironmentStrings_failed
call fcn.00460518
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x46e004]
jmp 0x460cdc
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0045b1ec
pop ecx
mov edi, eax
test eax, eax
jne 0x460cd4
lea edi, [ebp + 1]
push edi
call fcn.0045ac4c
pop ecx
mov ebx, eax
mov dword [0x46dfe8], ebx
test ebx, ebx
jne 0x460d06
xor eax, eax
jmp 0x460ddc
push edi
mov edx, dword [0x46e004]
push edx
push ebx
call fcn.0045b09c
add esp, 0xc
jmp 0x460d39
xor esi, esi
mov ebx, dword [0x46dfe4]
jmp 0x460d33
push eax
call fcn.0045b1ec
pop ecx
test eax, eax
jne 0x460d2f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x460d23
lea ebx, [esi + 4]
push 4
mov dword [0x46dfec], ebx
inc ebx
push ebx
call fcn.0045a728
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x460d5c
xor eax, eax
jmp 0x460ddc
cmp dword [0x46dfe4], 0
jne 0x460d8d
xor esi, esi
mov ebx, dword [0x46dfe8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x460d7e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0045b1ec
pop ecx
mov edi, eax
test eax, eax
jne 0x460d74
jmp 0x460dbe
xor esi, esi
mov ebx, dword [0x46dfe4]
mov eax, dword [esp]
mov edi, eax
jmp 0x460db8
push eax
call fcn.0045b1ec
pop ecx
test eax, eax
je 0x460dad
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x460db1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x460d9c
mov eax, dword [0x46dfe4]
test eax, eax
je 0x460dce
push eax
call fcn.0045ac5c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x46dfe4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x85e04a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x411960
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0xa18a5ba9]
mul dword [edi - 0x63]
push ebx
jmp 0x4119c8
mov ebp, es
invalid
xor ecx, dword [ecx - 0x76ccd508]
clc
sub eax, 0x29f88933
xor ecx, dword [ecx - 0x6f8cd608]
clc
sub dword [edi], esi
mov eax, edi
dec ebp
sub dl, byte [edx - 0x76ccd408]
clc
sub dword [ebx], esi
test eax, 0x894329f8
clc
sub dword [ebx], esi
cdq
clc
sub dword [ebx - 0x77], eax
clc
sub dword [ebx], esi
mov eax, edi
cmp dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
xor eax, 0xb5f88f9e
xor ecx, dword [ecx - 0x70fcd608]
clc
loope 0x4119af
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub dword [ebx], esi
mov eax, edi
sub ebx, esi
invalid
Function at 0x434100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [0x4466c0]
test ecx, ecx
je 0x43411e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x68], 0x41414141
mov eax, dword [0x43fb80]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x41414141
mov dword [ebp - 0x60], 0x41414141
mov dword [ebp - 0x48], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x5c], 0x41414141
mov dword [ebp - 0x58], 0x41414141
mov dword [ebp - 0x44], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x54], 0x41414141
mov dword [ebp - 0x50], 0x41414141
mov dword [ebp - 0x40], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x4c], 0x41414141
mov dword [ebp - 0x3c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x38], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x34], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x30], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x2c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x28], ax
mov dword [esp], esi
call dword [0x44720c]
movzx eax, ax
sub esp, 4
test eax, eax
mov dword [ebp - 0xbc], eax
jne 0x4342fc
mov dword [esp], 0x3c
call fcn.00437f30
test eax, eax
mov ebx, eax
je 0x434330
cld
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebx + 4], fcn.00410ad0
mov ecx, 1
mov dword [ebx + 8], 0x40cc50
mov eax, dword [0x446690]
mov dword [ebx], 0x3c
mov edx, dword [0x446694]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [0x43e190]
mov dword [ebx + 0x18], edx
mov edx, dword [0x43e194]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x4466a0]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x2c], eax
mov edx, dword [0x43e19c]
mov eax, dword [0x43e198]
mov dword [ebx + 0x38], edx
mov edx, 0x1f
mov dword [ebx + 0x34], eax
mov esi, esi
mov eax, ebx
and eax, ecx
cmp eax, 1
sbb eax, eax
and al, 0x20
add ecx, ecx
add al, 0x41
mov byte [edx + ebp - 0xb8], al
dec edx
jns 0x434250
mov eax, dword [0x43fb80]
mov dword [ebp - 0x98], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x94], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x90], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x88], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x84], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x80], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x7c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call dword [0x4471fc]
movzx edi, ax
sub esp, 4
test edi, edi
jne 0x434321
xor edx, edx
test edx, edx
jne 0x434303
mov dword [esp], ebx
call fcn.00437f20
mov dword [esp], esi
call dword [0x44720c]
sub esp, 4
movzx eax, ax
call fcn.00434060
mov ebx, eax
mov dword [0x4466c0], ebx
lea eax, [ebx + 4]
mov dword [0x4466b0], eax
lea eax, [ebx + 8]
mov dword [0x4466d0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.00434060
cmp eax, ebx
mov edx, edi
jne 0x4342df
jmp 0x4342e1
call fcn.00437ed0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x407eb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x462fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00457c26
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407f32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00455b3d
mov eax, dword [eax]
push 0x4871c0
push eax
call fcn.004489a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00457eb1
test bl, bl
je 0x407f32
push 0x4871c0
lea ecx, [esp + 0xc]
call fcn.00458241
push 0x48ad34
lea ecx, [esp + 0xc]
call fcn.00458241
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x407f6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00457eb1
jmp 0x408039
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x407ff2
lea edx, [esp + 0x7c]
push 0x48ad30
push edx
call fcn.004489a4
add esp, 8
test eax, eax
je 0x407ff2
lea eax, [esp + 0x7c]
push 0x48ad2c
push eax
call fcn.004489a4
add esp, 8
test eax, eax
je 0x407ff2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407f82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00457eb1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x408830
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408892
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4088a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46305b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4911d8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4089d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408906
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457eb1
xor eax, eax
jmp 0x408a4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00457fee
push esi
lea ecx, [esp + 0xc]
call fcn.0045827d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x408a2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00408830
test eax, eax
jne 0x408a2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00408830
test eax, eax
jne 0x408a2d
lea eax, [esp + 0x14]
push 0x48ad48
push eax
call fcn.004499e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x408a0c
lea ecx, [esp + 0x14]
push 0x48ad44
push ecx
call fcn.00449960
mov esi, eax
add esp, 8
test esi, esi
jne 0x408a0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x408a0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00457f9e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40891e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457eb1
xor eax, eax
jmp 0x408a4f
mov byte [esi], 0
push 0x48ad40
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00457eb1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4