joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416337
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x110]
neg eax
sbb eax, eax
and eax, 6
add eax, 3
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push 0
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x416570
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x41659c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop esi
ret 0x10

Function at 0x417ba6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 0xc], ebx
je 0x417c86
cmp dword [ebp + 0x10], ebx
je 0x417c86
cmp dword [ebp + 0x14], ebx
je 0x417c86
push 0x434d74
lea ecx, [ebp - 8]
call fcn.0040b686
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x417c19
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.0040b653
lea ecx, [ebp - 8]
call fcn.00408148
jmp 0x417c93
inc eax
push edi
inc eax
mov dword [ebp - 4], eax
shr eax, 1
xor ecx, ecx
push 2
pop edx
mov edi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419a73
mov edi, eax
pop ecx
cmp edi, ebx
je 0x417c6f
push dword [ebp - 4]
push ebx
push edi
call fcn.00419dc0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push edi
lea ecx, [ebp - 8]
call fcn.0040a97c
push edi
call fcn.0041a503
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.0040b653
lea ecx, [ebp - 8]
call fcn.00408148
pop edi
jmp 0x417c93
mov ecx, dword [ebp + 8]
push 0x434d74
call fcn.0040b686
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x417ce2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x439028]
push esi
push edi
push 0x104
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004093f4
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x417d73
xor ecx, ecx
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
cmp ecx, eax
je 0x417d73
lea ecx, [ebp - 8]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417d73
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push edi
push str.Path
push dword [ebp - 8]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp ax, word [esi]
je 0x417d6c
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
call fcn.0041a94b
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040a36f
mov eax, dword [ebp - 4]
cmp dword [eax - 8], edi
jne 0x417da4
push edi
call fcn.0041664a
pop ecx
lea ecx, [ebp - 4]
test al, 0x20
je 0x417d9a
push str.team40default
jmp 0x417d9f
push str.default
call fcn.0040a97c
lea eax, [ebp - 0xc]
push eax
call fcn.00417c9a
pop ecx
push eax
push str.Config_newui_themes_
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004179d2
push eax
push dword [ebp + 8]
call fcn.004179a5
lea ecx, [ebp - 0x10]
call fcn.00408148
lea ecx, [ebp - 0xc]
call fcn.00408148
lea ecx, [ebp - 4]
call fcn.00408148
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x41963b
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x41964c
xor eax, eax
inc eax
jmp 0x419693
call fcn.00418f43
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00419069
test eax, eax
je 0x41968e
push edi
push edi
push 1
push edi
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x41962f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
cmp eax, edi
jne 0x419647
xor eax, eax
mov dword [esi + 8], edi
pop edi
pop esi
pop ecx
ret

Function at 0x419948
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x43d6e8], 0
push esi
jne 0x4198bb
call fcn.004197e1
test eax, eax
je 0x4198fe
mov eax, dword [0x43d6e8]
cmp eax, 1
jne 0x4198dc
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4198fe
pop esi
ret
push eax
call dword [0x43d6f0]
test eax, eax
jne 0x419946
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x419902
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x43d6e8]
call dword [0x43d6f0]
mov edi, eax
test edi, edi
je 0x419927
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x419943
mov edi, esi
add esi, 0xff0
push edi
push dword [0x43d6e8]
call dword [0x43d6ec]
add edi, 0x10
cmp edi, esi
jb 0x41992f
mov eax, edi
pop edi
pop esi
ret
jmp 0x4198a8

Function at 0x419db1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439c3c]
jne 0x419dbb
repz ret
jmp fcn.0041e319
Function at 0x42a354
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00420fc6
and dword [ebp - 4], 0
cmp dword [0x43e200], 0
mov ebx, eax
jne 0x42a405
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42a4b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42a4b6
push eax
call fcn.00420f54
mov dword [esp], 0x434c88
push edi
mov dword [0x43e200], eax
call esi
push eax
call fcn.00420f54
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43e204], eax
call esi
push eax
call fcn.00420f54
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43e208], eax
call esi
push eax
call fcn.00420f54
pop ecx
mov dword [0x43e210], eax
test eax, eax
je 0x42a405
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420f54
pop ecx
mov dword [0x43e20c], eax
mov eax, dword [0x43e20c]
cmp eax, ebx
je 0x42a45d
cmp dword [0x43e210], ebx
je 0x42a45d
push eax
call fcn.00420fcf
push dword [0x43e210]
mov esi, eax
call fcn.00420fcf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42a45d
test edi, edi
je 0x42a45d
call esi
test eax, eax
je 0x42a454
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42a454
test byte [ebp - 0xc], 1
jne 0x42a45d
or dword [ebp + 0x10], 0x200000
jmp 0x42a496
mov eax, dword [0x43e204]
cmp eax, ebx
je 0x42a496
push eax
call fcn.00420fcf
pop ecx
test eax, eax
je 0x42a496
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42a496
mov eax, dword [0x43e208]
cmp eax, ebx
je 0x42a496
push eax
call fcn.00420fcf
pop ecx
test eax, eax
je 0x42a496
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e200]
call fcn.00420fcf
pop ecx
test eax, eax
je 0x42a4b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42a4b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x535da0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd2000]
push edi
or ebp, 0xffffffff
jmp 0x535dc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x535dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535db8
mov eax, 1
add ebx, ebx
jne 0x535ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x535dec
jne 0x535e0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535e0b
dec eax
add ebx, ebx
jne 0x535df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x535dd0
add ebx, ebx
jne 0x535e07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x535e5d
xor ecx, ecx
sub eax, 3
jb 0x535e23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x535e92
sar eax, 1
mov ebp, eax
jmp 0x535e2e
add ebx, ebx
jne 0x535e2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535dfc
inc ecx
add ebx, ebx
jne 0x535e3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535dfc
add ebx, ebx
jne 0x535e49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x535e3e
jne 0x535e5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x535e3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x535e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x535e6e
jmp 0x535dbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x535e7c
add edi, ecx
jmp 0x535dbe
pop esi
mov edi, esi
mov ecx, 0x3ff5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x535e9a
cmp byte [edi], 0x24
jne 0x535e9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x535e9f
lea edi, [esi + 0x132000]
mov eax, dword [edi]
or eax, eax
je 0x535f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1367d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1368fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x535ecc
mov ecx, edi
jns 0x535efb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x136900]
or eax, eax
je 0x535f11
mov dword [ebx], eax
add ebx, 4
jmp 0x535ee9
call dword [esi + 0x136910]
mov ebp, dword [esi + 0x136904]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x535f4b
sub esp, 0xffffff80
jmp 0x44bb2b
Function at 0x10001000
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2b8]
sub eax, ebx
je 0x100011a6
dec eax
jne 0x100011e5
mov eax, dword [esp + 0x2b4]
mov ecx, 0x40
mov dword [0x1000b73c], eax
xor eax, eax
lea edi, [esp + 0x1ad]
mov byte [esp + 0x1ac], bl
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1ac]
stosw word es:[edi], ax
push 0x104
push ecx
push ebx
stosb byte es:[edi], al
call ebp
lea edx, [esp + 0x1ac]
push 0x5c
push edx
call fcn.10001e90
mov edi, eax
add esp, 8
inc edi
mov esi, 0x10008918
mov eax, dword [esi]
push eax
push edi
call fcn.100068f0
add esp, 8
test eax, eax
je 0x100010b9
add esi, 4
cmp esi, 0x100089e8
jb 0x1000108c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a0
ret 0xc
lea ecx, [esp + 0x118]
mov dword [esp + 0x118], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 0x128]
mov ecx, dword [0x1000b73c]
xor edx, edx
cmp esi, 2
lea eax, [esp + 0x14]
push 0x104
setne dl
push eax
push ecx
mov dword [0x1000b744], edx
call ebp
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.10001e90
mov byte [eax + 1], bl
mov edi, 0x10008c88
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
mov dword [0x1000b740], eax
jne 0x10001162
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x1000b740], eax
je 0x10001173
push 0x10008c78
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000b738], eax
cmp dword [0x1000b744], ebx
je 0x100011e5
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push 0x10001d80
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [0x1000b748], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a0
ret 0xc
mov eax, dword [0x1000b748]
mov dword [0x10008034], ebx
cmp eax, ebx
je 0x100011e5
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100011d2
mov eax, dword [0x1000b748]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x1000b748]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1000b748], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a0
ret 0xc
Function at 0x100013f0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
cmp eax, edi
mov eax, dword [section.Shared]
je 0x100014c7
cmp eax, edi
je 0x10001444
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
cmp dword [section.Shared], edi
je 0x10001444
mov eax, dword [0x1000c004]
push eax
call esi
cmp dword [section.Shared], edi
je 0x10001444
mov ecx, dword [0x1000c00c]
push ecx
call esi
cmp dword [section.Shared], edi
je 0x10001444
mov edx, dword [0x1000c008]
push edx
call esi
mov eax, dword [0x1000b73c]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push edi
push eax
push 0x10001540
push 7
call esi
mov ecx, dword [0x1000b73c]
push edi
push ecx
push 0x100017d0
push 2
mov dword [section.Shared], eax
call esi
mov edx, dword [0x1000b73c]
push edi
push edx
push 0x10001690
push 3
mov dword [0x1000c004], eax
call esi
mov dword [0x1000c00c], eax
mov eax, dword [0x1000b744]
cmp eax, edi
je 0x1000149e
push 1
call fcn.10001200
add esp, 4
cmp dword [section.Shared], edi
jne 0x10001530
cmp dword [0x1000c004], edi
jne 0x10001530
cmp dword [0x1000c00c], edi
jne 0x10001530
cmp dword [0x1000c008], edi
jne 0x10001530
pop edi
xor eax, eax
pop esi
ret
cmp eax, edi
je 0x10001506
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
cmp dword [section.Shared], edi
je 0x10001506
mov eax, dword [0x1000c004]
push eax
call esi
cmp dword [section.Shared], edi
je 0x10001506
mov ecx, dword [0x1000c00c]
push ecx
call esi
cmp dword [section.Shared], edi
je 0x10001506
mov edx, dword [0x1000c008]
push edx
call esi
mov eax, dword [0x1000b744]
mov dword [section.Shared], edi
cmp eax, edi
mov dword [0x1000c004], edi
mov dword [0x1000c00c], edi
mov dword [0x1000c008], edi
je 0x10001530
push edi
call fcn.10001200
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x10001850
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x1000b744]
sub esp, 0x418
test eax, eax
push ebx
push esi
push edi
je 0x100019a4
push 0x4000
call fcn.10002299
mov esi, dword [esp + 0x42c]
add esp, 4
mov ebx, eax
xor eax, eax
mov ecx, 0x1000
mov edi, ebx
push eax
push eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x18b
push esi
mov dword [esp + 0x1c], eax
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x100019a4
push ebp
push 0
push 0
push 0x18e
push esi
call edi
mov ebp, eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x100018d1
mov esi, dword [esp + 0x42c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x28]
push ecx
push ebp
push 0x189
push esi
call edi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
push 0x1a1
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10008d00
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x438]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
add ecx, eax
sub edx, esi
mov dword [esp + 0x10], ecx
cmp ecx, edx
jge 0x1000196a
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x100018c4
mov eax, dword [0x1000b738]
pop ebp
test eax, eax
je 0x1000199b
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
add eax, 2
push eax
call esi
push eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push eax
call dword [0x1000b738]
add esp, 0x14
push ebx
call fcn.1000228e
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x10003c3b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10008d80
cmp edx, dword [eax]
je 0x10003c5d
add eax, 8
inc ecx
cmp eax, 0x10008e10
jl 0x10003c4e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10008d80]
jne 0x10003d8b
mov eax, dword [0x1000b758]
cmp eax, 1
je 0x10003d65
test eax, eax
jne 0x10003c8e
cmp dword [0x1000b75c], 1
je 0x10003d65
cmp edx, 0xfc
je 0x10003d8b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003cc5
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100053f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100054e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10003d08
lea eax, [ebp - 0x1a4]
push eax
call fcn.100054e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100074e0
push edi
call fcn.100022b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100053f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10005400
lea eax, [ebp - 0xa0]
push 0x100074c0
push eax
call fcn.10005400
push dword [esi + 0x10008d84]
lea eax, [ebp - 0xa0]
push eax
call fcn.10005400
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000606f
add esp, 0x2c
pop edi
jmp 0x10003d8b
lea eax, [ebp + 8]
lea esi, [esi + 0x10008d84]
push 0
push eax
push dword [esi]
call fcn.100054e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x425870
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d01b
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.004818dc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4258f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047f120
mov eax, dword [eax]
push 0x4cbcac
push eax
call fcn.00471d54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00481b67
test bl, bl
je 0x4258f2
push 0x4cbcac
lea ecx, [esp + 0xc]
call fcn.00481ef7
push 0x4cbcb8
lea ecx, [esp + 0xc]
call fcn.00481ef7
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 0x42592e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00481b67
jmp 0x4259f9
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 0x4259b2
lea edx, [esp + 0x7c]
push 0x4cbcb4
push edx
call fcn.00471d54
add esp, 8
test eax, eax
je 0x4259b2
lea eax, [esp + 0x7c]
push 0x4cbcb0
push eax
call fcn.00471d54
add esp, 8
test eax, eax
je 0x4259b2
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 0x425942
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.00481b67
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 0x426200
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 0x426262
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 0x426270
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d4108]
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 0x4263a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4262d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481b67
xor eax, eax
jmp 0x42641f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00481ca4
push esi
lea ecx, [esp + 0xc]
call fcn.00481f33
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 0x4263fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00426200
test eax, eax
jne 0x4263fd
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 closesocket
mov ecx, edi
call fcn.00426200
test eax, eax
jne 0x4263fd
lea eax, [esp + 0x14]
push 0x4cbcc8
push eax
call fcn.00472d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4263dc
lea ecx, [esp + 0x14]
push 0x4cbcc4
push ecx
call fcn.00472d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4263dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4263df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00481c54
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4262ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481b67
xor eax, eax
jmp 0x42641f
mov byte [esi], 0
push 0x4cbcc0
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.00481b67
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