joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f2a4
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 0x43f2c0
cmp dword [esi + 4], 0
je 0x43f2ed
test byte [ebx + 0x45], 1
jne 0x43f2df
mov eax, ebx
call fcn.0043e1dc
test eax, eax
jne 0x43f2df
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f3fd
mov edx, esi
mov eax, ebx
call fcn.0043ef1c
jmp 0x43f3fd
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 0x43f3f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441274
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.0043c140
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f2a4
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.00441274
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f3fd
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 0x4483a0
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 0x448478
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48fb50], 0
jne 0x44845c
lea eax, [ebp - 4]
mov edx, 0x448490
call fcn.00461894
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00461c40
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x44845c
mov eax, ebx
call fcn.00460650
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x448455
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 0x44843f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4484a0
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x44843f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48fb50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44845c
mov eax, dword [ebp - 0xc]
call fcn.00460668
ret
mov ebx, dword [0x48fb50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44847f
lea eax, [ebp - 4]
call fcn.004617fc
ret

Function at 0x44e44c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x48fb74], 0
jne 0x44e46f
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44e3d0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x48fb74], eax
ret

Function at 0x45c260
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 0x45c299
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004618e4
jmp 0x45c2a2
mov eax, ebx
mov edx, esi
call fcn.00461850
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c2ac
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 0x45c2cd
mov al, byte [esp]
jmp 0x45c2cf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x460894
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 0x4608c3
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.004618e4
jmp 0x4608e1
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0046081c
mov edi, eax
test ebx, ebx
je 0x4608e1
cmp dword [esi], 0
je 0x4608e1
dec ebx
jmp 0x4608ca
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x460c04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48949c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x460c9c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x460c7c
xor eax, eax
push ebp
push 0x460c75
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 0x460cb8
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 0x460c7c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x48949c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48949c], ax
mov esp, ebp
pop ebp
ret
Function at 0x462d2c
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 0x462ee8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x462d8d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x462f04
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x462dff
xor eax, eax
push ebp
push 0x462df8
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.00462b84
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x462de1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x462f24
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 0x462dff
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 0x462ee0
cmp byte [ebp - 0xd], 0
jne 0x462e41
cmp byte [ebp - 0x12], 0
je 0x462ee0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x462e5a
dec ebx
cmp byte [ebx], 0x2e
je 0x462e69
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x462e59
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x462ee0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x462e96
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 0x462ee0
cmp byte [ebp - 0xd], 0
je 0x462ee0
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 0x462ee0
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 0x4632d4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4633bc
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4901e8], 1
jae 0x4633ae
xor eax, eax
mov dword [0x48fdf4], eax
xor eax, eax
mov dword [0x48fdfc], eax
xor eax, eax
mov dword [0x48fe00], eax
mov byte [0x48fe06], 2
mov byte [0x48fe07], 2
mov byte [0x48fe08], 3
mov word [0x4901b0], 0
mov word [0x4901c0], 1
mov word [0x4901d0], 0xa
mov dword [0x4901d8], 0x80020004
mov dword [0x4901a4], 0x4624c0
mov dword [0x4901a8], 0x4624b8
mov dword [0x4901ac], 0x4624c0
call fcn.00460bd4
test al, al
je 0x46336d
call fcn.00460c04
call fcn.00460cc8
mov eax, 0x48fe0c
mov edx, 0x4633c8
call fcn.0045e3a6
mov eax, 0x48ffd8
mov edx, 0x4633c8
call fcn.0045e3a6
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x48fdec], eax
call fcn.0045f30c
mov dword [0x48fde8], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x48fde0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4633c3
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x464fd8
call fcn.00466464
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x464ff4
test bl, 1
je 0x464ff4
call fcn.00469fa8
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4651d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00466000
test byte [ebp + 0xd], 0xc0
jne 0x4651fc
mov eax, dword [0x48a26c]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x465209
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x465236
je 0x465248
sub ecx, 0x100
je 0x465256
sub ecx, 0x100
je 0x46525d
sub ecx, 0x100
je 0x46524f
jmp 0x465264
sub ecx, 0x600
je 0x46525d
sub ecx, 0x100
je 0x465248
jmp 0x465264
mov edi, 1
jmp 0x465269
mov edi, 2
jmp 0x465269
mov edi, 4
jmp 0x465269
mov edi, 5
jmp 0x465269
mov edi, 3
test byte [ebp + 0xd], 1
je 0x465290
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x489ce4]
test al, 0x80
je 0x465289
mov ebx, 0x80
jmp 0x4652a2
mov ebx, 1
jmp 0x4652a2
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4652a2
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4652b4
je 0x4652bd
dec eax
je 0x4652c6
jmp 0x4652cf
mov dword [ebp - 4], 0x80000000
jmp 0x4652de
mov dword [ebp - 4], 0x40000000
jmp 0x4652de
mov dword [ebp - 4], 0xc0000000
jmp 0x4652de
push 1
call fcn.004663f8
pop ecx
mov ebx, eax
jmp 0x4653ce
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4652fa
sub eax, 0x10
je 0x465301
sub eax, 0x10
je 0x46530a
sub eax, 0x10
je 0x465313
jmp 0x465313
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x46531a
mov dword [ebp - 8], 1
jmp 0x46531a
mov dword [ebp - 8], 2
jmp 0x46531a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x465387
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x46537c
test byte [ebp + 0xd], 1
je 0x465377
mov ebx, 0x50
jmp 0x46537c
mov ebx, 2
push ebx
call fcn.004663f8
pop ecx
mov ebx, eax
jmp 0x4653ce
mov edi, esi
push edi
call fcn.0046513c
pop ecx
test eax, eax
je 0x46539b
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4653a7
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00466120
add esp, 8
mov ebx, eax
inc eax
jne 0x4653ce
push 4
call fcn.004663f8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00466034
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469f40
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 0x469fa2
call fcn.00469ef0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00463eb4
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.00463eb4
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 0x46a020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x48b10c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46a0fa
cmp dword [0x48b108], 0
jne 0x46a0fa
cmp dword [0x48b2ec], 0
je 0x46a0b4
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.00469df0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46a09a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00469df0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46a09a
lea ebx, [ebp - 0x84]
jmp 0x46a09b
inc ebx
call fcn.00469fdc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x46a135
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x48b110
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00463eb4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x48b113
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x46a135
cmp dword [0x48b108], 0
je 0x46a114
cmp dword [0x48b108], 0xffffffff
je 0x46a135
push esi
call dword [0x48b108]
pop ecx
mov eax, dword [0x48b10c]
test eax, eax
je 0x46a135
cmp dword [0x48b10c], 0xffffffff
je 0x46a135
cmp byte [eax], 0
je 0x46a135
push esi
push eax
call fcn.00469f40
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a8cc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x490af0], 0
jne 0x46a94d
cmp dword [0x490b10], 0
jne 0x46a8fc
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x490b10], eax
test eax, eax
jne 0x46a8fc
push str.GetEnvironmentStrings_failed
call fcn.0046a14c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x490b10]
jmp 0x46a910
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00463eb4
pop ecx
mov edi, eax
test eax, eax
jne 0x46a908
lea edi, [ebp + 1]
push edi
call fcn.004638f4
pop ecx
mov ebx, eax
mov dword [0x490af4], ebx
test ebx, ebx
jne 0x46a93a
xor eax, eax
jmp 0x46aa10
push edi
mov edx, dword [0x490b10]
push edx
push ebx
call fcn.00463d64
add esp, 0xc
jmp 0x46a96d
xor esi, esi
mov ebx, dword [0x490af0]
jmp 0x46a967
push eax
call fcn.00463eb4
pop ecx
test eax, eax
jne 0x46a963
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a957
lea ebx, [esi + 4]
push 4
mov dword [0x490af8], ebx
inc ebx
push ebx
call fcn.004633cc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x46a990
xor eax, eax
jmp 0x46aa10
cmp dword [0x490af0], 0
jne 0x46a9c1
xor esi, esi
mov ebx, dword [0x490af4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x46a9b2
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00463eb4
pop ecx
mov edi, eax
test eax, eax
jne 0x46a9a8
jmp 0x46a9f2
xor esi, esi
mov ebx, dword [0x490af0]
mov eax, dword [esp]
mov edi, eax
jmp 0x46a9ec
push eax
call fcn.00463eb4
pop ecx
test eax, eax
je 0x46a9e1
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x46a9e5
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a9d0
mov eax, dword [0x490af0]
test eax, eax
je 0x46aa02
push eax
call fcn.00463904
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x490af0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x470ebc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x470eea
mov eax, ebx
call fcn.00471960
cmp dword [ebx + 0x3c], 0
je 0x470ee3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x470f5b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x470f4d
cmp dword [ebx + 8], 0
je 0x470f0c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x470f1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470f4d
cmp dword [ebx + 8], 0
je 0x470eff
cmp eax, 3
je 0x470f31
dec eax
jne 0x470eff
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x470eff
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x470eff
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x470f79
cmp dword [ebx + 0x10], 0xcc
je 0x470f79
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00470f84
pop ebx
ret
Function at 0x407550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46245b
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.00457188
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4075d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004550d7
mov eax, dword [eax]
push 0x4771c0
push eax
call fcn.00447fd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00457413
test bl, bl
je 0x4075d2
push 0x4771c0
lea ecx, [esp + 0xc]
call fcn.004577a3
push 0x47ad20
lea ecx, [esp + 0xc]
call fcn.004577a3
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 0x40760e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00457413
jmp 0x4076d9
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 0x407692
lea edx, [esp + 0x7c]
push 0x47ad1c
push edx
call fcn.00447fd4
add esp, 8
test eax, eax
je 0x407692
lea eax, [esp + 0x7c]
push 0x47ad18
push eax
call fcn.00447fd4
add esp, 8
test eax, eax
je 0x407692
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 0x407622
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.00457413
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 0x407ed0
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 0x407f32
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 0x407f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4624db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4811b8]
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 0x408078
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407fa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457413
xor eax, eax
jmp 0x4080ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00457550
push esi
lea ecx, [esp + 0xc]
call fcn.004577df
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 0x4080cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00407ed0
test eax, eax
jne 0x4080cd
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.00407ed0
test eax, eax
jne 0x4080cd
lea eax, [esp + 0x14]
push 0x47ad34
push eax
call fcn.00449010
mov esi, eax
add esp, 8
test esi, esi
jne 0x4080ac
lea ecx, [esp + 0x14]
push 0x47ad30
push ecx
call fcn.00448f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4080ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4080af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00457500
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407fbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457413
xor eax, eax
jmp 0x4080ef
mov byte [esi], 0
push 0x47ad2c
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.00457413
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