joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422a50
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x220], 0x104
xor esi, esi
mov dword [ebp - 0x21c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x422b21
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x422b14
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push esi
push 0x4b1f20
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422b14
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x214]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x422b08
test al, al
je 0x422b04
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x422b08
add ecx, 2
add edx, 2
test al, al
jne 0x422ae8
xor eax, eax
jmp 0x422b0d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x422b14
lea esi, [eax + 1]
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
Function at 0x423a20
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0x409a00
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov edi, 2
cmp dword [0x4c2a1c], edi
jne 0x423b58
mov eax, dword [0x4c2a20]
push esi
mov esi, dword [eax + 4]
mov ecx, str.__scrash
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x423a76
test dl, dl
je 0x423a72
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x423a76
add eax, edi
add ecx, edi
test dl, dl
jne 0x423a58
xor eax, eax
jmp 0x423a7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423a95
call fcn.00404c50
mov ecx, str.CRASH
call fcn.0042d5d0
push 0
call fcn.0046039b
mov ecx, str.__tcrash
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x423abe
test dl, dl
je 0x423aba
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x423abe
add eax, edi
add ecx, edi
test dl, dl
jne 0x423aa0
xor eax, eax
jmp 0x423ac3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423ac9
mov byte [eax], al
mov ecx, str.__cleancache
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x423aee
test dl, dl
je 0x423aea
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x423aee
add eax, edi
add ecx, edi
test dl, dl
jne 0x423ad0
xor eax, eax
jmp 0x423af3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423b03
call fcn.00404440
push 0
call fcn.0046039b
push 0xa
push str.__waitpid
push esi
call fcn.0045d3c3
add esp, 0xc
test eax, eax
jne 0x423b57
mov ecx, dword [0x4c2a20]
mov eax, dword [ecx + 4]
add eax, 0xa
push eax
call fcn.0045d634
add esp, 4
test eax, eax
je 0x423b57
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423b57
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push str.AdbybyMutextOne
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x423be5
push str.AdbybyMutextOne
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call fcn.004232e0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x423c20
mov dword [0x4c7004], edx
mov dword [0x4c7008], edi
call fcn.0045dd34
mov ecx, dword [ebp - 4]
add esp, 0xc
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4c2a1c]
mov edi, dword [0x4c2a20]
push eax
call fcn.004117d0
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x4c5d6c]
lea ecx, [ebp + 8]
push ecx
push 0x1f4
push edi
push 0
push 0
push edx
push 0xffff
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x104
mov esi, eax
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00463ac0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x10c]
push 0x5c
push edx
call fcn.0045e830
mov byte [eax], 0
lea eax, [ebp - 0x10c]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x423d18
mov ecx, dword [str._adbyby64.exe]
mov edx, dword [0x4b2470]
mov dword [eax], ecx
mov ecx, dword [0x4b2474]
mov dword [eax + 4], edx
mov dx, word [0x4b2478]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00460f5e
add esp, 8
test eax, eax
js 0x423d96
push esi
lea edx, [ebp - 0x170]
push 0x4ac714
push edx
call fcn.0045fdbb
add esp, 0xc
push 0
push 0x4ab595
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
Function at 0x426010
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
cmp dword [esi + 0x100ac], ebx
je 0x4260d0
cmp dword [esi + 0x7c], ebx
jbe 0x4260d0
mov eax, 0xffffff5c
sub eax, esi
lea edi, [esi + 0xa4]
mov dword [ebp - 4], eax
jmp 0x426050
movzx ecx, byte [edi]
mov eax, dword [esi + 0x100d0]
mov ebx, dword [esi + 0x100dc]
xor ecx, eax
mov edx, dword [esi + 0x100d8]
shr eax, 8
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [esi + 0x100d4]
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [ebx + eax*4]
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov dword [esi + 0x100d8], ecx
mov ecx, dword [ebp - 4]
shr eax, 8
xor byte [edi], al
inc edi
add ecx, edi
cmp ecx, dword [esi + 0x7c]
jb 0x426050
xor ebx, ebx
mov edi, dword [esi + 0x7c]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
push edi
lea eax, [esi + 0xa4]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, edi
je 0x4260f4
or eax, 0xffffffff
jmp 0x4260f7
mov eax, dword [ebp - 8]
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
pop edi
adc dword [esi + 0x100c4], ebx
add dword [esi + 0x100c8], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x7c], ebx
adc dword [esi + 0x100cc], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x428583
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4285fd
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00462140
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4285d1
sub eax, edi
jmp 0x4285d3
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4285c2
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4285f0
sub eax, edi
jmp 0x4285f2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4285e1
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x428729
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x428623
mov ebx, ecx
test ebx, ebx
je 0x428676
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x428645
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.0042acf0
jmp 0x42865e
cmp eax, 2
jne 0x428664
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x428657
xor eax, eax
jmp 0x428661
mov edx, ebx
call fcn.00427560
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00462140
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x42869e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x4286b2
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x428580
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x428729
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x4286f8
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x4286d9
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00463ac0
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x428729
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x428712
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.00463ac0
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42afd0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov edi, ecx
cmp byte [edi], 0x2a
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
je 0x42aff7
mov eax, 1
cmp dword [ebp + 0xc], eax
jne 0x42aff7
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
lea esp, [esp]
mov esi, ebx
mov edx, edi
mov al, byte [esi]
test al, al
je 0x42b0a6
mov cl, byte [edx]
cmp cl, 0x2a
je 0x42b070
cmp cl, 0x3f
je 0x42b06c
cmp cl, 0x5e
je 0x42b045
xor cl, al
test cl, 0xdf
je 0x42b06c
cmp byte [edx], 0
jne 0x42b031
cmp dword [ebp + 0x10], 0
jne 0x42b091
cmp dword [ebp - 4], 0
je 0x42b09d
inc ebx
cmp dword [ebp - 8], 0
jne 0x42b000
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
jmp 0x42b000
mov cl, al
and cl, 0xdf
cmp cl, 0x41
jb 0x42b054
cmp cl, 0x5a
jbe 0x42b031
cmp al, 0x30
jl 0x42b05c
cmp al, 0x39
jle 0x42b031
cmp al, 0x5f
je 0x42b031
cmp al, 0x2d
je 0x42b031
cmp al, 0x2e
je 0x42b031
cmp al, 0x25
je 0x42b031
inc esi
inc edx
jmp 0x42b004
cmp byte [edx + 1], 0
mov eax, 1
lea edi, [edx + 1]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, esi
jne 0x42b000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx], 0x2a
jne 0x42b0ac
inc edx
xor eax, eax
cmp byte [edx], al
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ba40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x10c]
push eax
push str.systemroot
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x42bae2
cmp eax, 0x104
jg 0x42bae2
lea eax, [ebp - 0x10c]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42ba84
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42ba91
mov edx, dword [str._system32ws2_32.dll]
mov dword [eax], edx
mov ecx, dword [0x4b2518]
mov dword [eax + 4], ecx
mov edx, dword [0x4b251c]
mov dword [eax + 8], edx
mov ecx, dword [0x4b2520]
mov dword [eax + 0xc], ecx
mov edx, dword [0x4b2524]
mov dword [eax + 0x10], edx
mov cl, byte [0x4b2528]
mov byte [eax + 0x14], cl
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
Function at 0x42bc10
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push accept
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, 0xffffffff
je 0x42bd61
push esi
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x42bd60
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x42bd56
push edi
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
mov esi, eax
test esi, esi
je 0x42bd4c
mov ecx, dword [esi + 0x78]
mov ebx, dword [sym.imp.dbghelp.dll_ImageRvaToVa]
push 0
push ecx
push edi
push esi
call ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x42bd49
mov edx, dword [eax + 0x1c]
push 0
push edx
push edi
push esi
call ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push 0
push ecx
push edi
push esi
call ebx
mov edx, dword [ebp - 4]
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x24]
push eax
push edi
push esi
call ebx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
jbe 0x42bd49
lea esp, [esp]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*4]
push 0
push ecx
push edi
push esi
call ebx
push str.connect
push eax
call fcn.004683a2
add esp, 8
test eax, eax
je 0x42bd13
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [edx + 0x18]
jb 0x42bce0
jmp 0x42bd49
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
movsx edx, word [eax + ecx*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*4]
push 0
push ecx
push edi
push esi
call ebx
mov esi, eax
test esi, esi
je 0x42bd49
push 6
call fcn.004605d5
mov edx, dword [esi]
mov dword [eax], edx
mov cx, word [esi + 4]
add esp, 4
mov dword [ebp - 0x10], eax
mov word [eax + 4], cx
mov ebx, dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x10]
pop esi
test ebx, ebx
je 0x42bd6c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c030
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491260
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov ebx, edx
push edi
mov esi, ecx
push 0x4ab595
mov ecx, ebx
mov dword [ebp - 0x480], edi
call fcn.00405560
push edi
push edi
push edi
push edi
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x47c], edi
test edi, edi
je 0x42c0be
push 0
push accept
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x484], esi
test esi, esi
jne 0x42c0c2
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x42c13a
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42c0d0
push 0x464
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00463ac0
add esp, 0xc
lea ecx, [ebp - 0x480]
push ecx
push 0x400
lea edx, [ebp - 0x478]
push edx
push esi
call edi
lea eax, [ebp - 0x478]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c105
sub eax, edx
push eax
lea eax, [ebp - 0x478]
push eax
mov ecx, ebx
call fcn.004057b0
cmp dword [ebp - 0x480], 0
ja 0x42c0d0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x47c]
push ecx
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret

Function at 0x42c5f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push esi
push str.SoftwareAdbyby
xor edi, edi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], edi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42c62e
mov edi, dword [ebp - 4]
push 0
call fcn.0045ec8e
mov ecx, eax
sub eax, edi
cdq
xor eax, edx
add esp, 4
sub eax, edx
pop edi
cmp eax, 0x3c
jge 0x42c64d
xor eax, eax
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push str.SoftwareAdbyby
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xc], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42c680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x16f]
push 0
push eax
mov byte [ebp - 0x170], 0
call fcn.00463ac0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x170]
push ecx
push 0
call edi
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 5
push 0x4ab595
push str.__scrash
lea edx, [ebp - 0x170]
push edx
push str.open
push 0
call ebx
mov esi, str.crtime
call fcn.0042c5f0
test eax, eax
je 0x42c756
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x68]
push str.__waitpid_d
push eax
call fcn.0045fdbb
push 0x104
lea ecx, [ebp - 0x277]
push 0
push ecx
mov byte [ebp - 0x278], 0
call fcn.00463ac0
add esp, 0x18
push 0x104
lea edx, [ebp - 0x278]
push edx
push 0
call edi
push 5
push 0x4ab595
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x278]
push ecx
push str.open
push 0
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
Function at 0x42d2b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x42d34e
push str..exe
push esi
call fcn.0045d4c0
add esp, 8
test eax, eax
jne 0x42d2f8
push 0x4b25f8
push esi
call fcn.0045d4c0
add esp, 8
test eax, eax
je 0x42d348
lea edx, [ebp - 0x108]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d302
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42d313
mov ecx, dword [str..ori]
mov dl, byte [0x4b2608]
mov dword [eax], ecx
mov byte [eax + 4], dl
push 1
lea eax, [ebp - 0x108]
push eax
push esi
call ebx
test eax, eax
je 0x42d348
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42d34e
push 5
push esi
push edi
call ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret

Function at 0x42d360
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fd58
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x42d3a3
lea eax, [ebp + 8]
push 0x104
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004608a0
lea ecx, [ebp - 0x118]
push 0x5c
push ecx
call fcn.0045e830
add esp, 0x14
lea edx, [ebp - 0x118]
push edx
mov byte [eax], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42d3f2
cmp dword [ebp + 0x1c], esi
jb 0x42d3eb
mov eax, dword [ebp + 8]
push eax
call fcn.0045d63f
add esp, 4
mov eax, 1
jmp 0x42d432
push 0
lea ecx, [ebp - 0x118]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
jne 0x42d41f
cmp dword [ebp + 0x1c], esi
jb 0x42d3eb
mov edx, dword [ebp + 8]
push edx
call fcn.0045d63f
add esp, 4
mov eax, 1
jmp 0x42d432
cmp dword [ebp + 0x1c], esi
jb 0x42d430
mov eax, dword [ebp + 8]
push eax
call fcn.0045d63f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
Function at 0x42d8c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491916
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x117]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x118], bl
call fcn.00463ac0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x118]
push 0x5c
push edx
call fcn.0045e830
mov byte [eax], bl
lea eax, [ebp - 0x118]
add esp, 8
mov dword [ebp - 0x348], 0xf
mov dword [ebp - 0x34c], ebx
mov byte [ebp - 0x35c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d952
sub eax, edx
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x35c]
call fcn.00405560
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ebx
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x42d978
mov ecx, dword [str._adhook.ini]
mov edx, dword [0x4ab8f8]
mov dword [eax], ecx
mov ecx, dword [0x4ab8fc]
mov dword [eax + 4], edx
push 0x209
lea edx, [ebp - 0x324]
push ebx
push edx
mov dword [eax + 8], ecx
call fcn.00463ac0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x208
lea ecx, [ebp - 0x324]
push ecx
push str.exrule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea esi, [ebp - 0x324]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d9d8
sub eax, edx
mov dword [ebp - 0x360], eax
cmp eax, ebx
je 0x42da66
mov eax, esi
mov dword [ebp - 0x32c], 0xf
mov dword [ebp - 0x330], ebx
mov byte [ebp - 0x340], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42da06
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x340]
call fcn.00405560
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 1
call fcn.0042b540
mov byte [ebp - 4], bl
cmp dword [ebp - 0x32c], 0x10
jb 0x42da46
mov edx, dword [ebp - 0x340]
push edx
call fcn.0045d63f
add esp, 4
mov eax, dword [ebp - 0x360]
lea esi, [esi + eax + 1]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42da55
sub eax, edx
mov dword [ebp - 0x360], eax
jne 0x42d9eb
cmp dword [ebp - 0x348], 0x10
jb 0x42da7e
mov ecx, dword [ebp - 0x35c]
push ecx
call fcn.0045d63f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret