joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421170
Capabilities:
Get hostname

Disassembly:
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42117e
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 8]
push ebp
push ebx
call fcn.00421590
mov ebp, dword [esp + 0x28]
add esp, 4
cmp ebp, 0x493e0
mov dword [0x4500d4], 0
jb 0x4211ab
cmp ebp, 0x6ddd00
jbe 0x4211b0
mov ebp, 0x36ee80
push esi
push edi
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [ebx + 0x118], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x1d1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
mov byte [edx], 0
test edi, edi
je 0x421238
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx + 0x151]
push 0x80
push eax
mov byte [eax], 0
call sub.WSOCK32.dll_gethostname
lea esi, [ebx + 0x1e4]
push esi
call fcn.00420f40
push ebx
push 0x4212e0
mov dword [ebx], 0
call fcn.00420e90
push ebp
push esi
call fcn.00420f60
mov al, byte [ebx]
add esp, 0x14
test al, 2
pop edi
pop esi
mov dword [ebx], 0
je 0x4212bc
push ebp
push ebx
call fcn.00421410
mov ecx, dword [esp + 0x28]
add esp, 8
test ecx, ecx
je 0x421295
mov dword [ecx], eax
cmp eax, 1
jne 0x4212a8
mov eax, dword [ebx]
pop ebp
or al, 1
mov dword [ebx], eax
mov eax, 1
pop ebx
ret
push ebx
mov dword [ebx], 0
call fcn.00421590
add esp, 4
xor eax, eax
pop ebp
pop ebx
ret
push ebx
call fcn.00421590
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x4212d3
mov dword [eax], 2
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4217b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x18]
mov eax, edi
sub eax, esi
push ebx
lea ecx, [esi + ebp]
push eax
push ecx
push edx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x4217fa
test eax, eax
jl 0x4217fa
add esi, eax
cmp esi, edi
jge 0x421803
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x2023
mov dword [esp + 0x10], eax
jb 0x4217c7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x422aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
jne 0x422ab5
or eax, 0xffffffff
pop esi
mov dword [0x44acc0], eax
not eax
ret
mov esi, dword [esp + 0xc]
mov eax, dword [0x44acc0]
test esi, esi
je 0x422ae2
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44a8c0]
xor eax, edx
inc ecx
dec esi
jne 0x422ac3
pop ebx
mov dword [0x44acc0], eax
pop esi
not eax
ret

Function at 0x422cc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x2000
xor eax, eax
lea edi, [esi + 0x3efc0]
push 0x10000
rep stosd dword es:[edi], eax
lea edi, [esi + 0x1efc0]
mov eax, 0x80
xor ebx, ebx
push edi
push esi
mov dword [esi + 0x28], 0x10
mov dword [esi + 0x2c], 8
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
call fcn.00422af0
add esp, 0xc
cmp eax, 1
mov dword [esi + 0x20], eax
jge 0x422d22
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 0x106
mov dword [esi + 0x1c], ebx
jae 0x422d44
cmp dword [esi + 0x1c], ebx
jne 0x422d44
push esi
call fcn.00422d70
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, 0x106
jb 0x422d2c
mov dword [esi + 0xc], ebx
xor eax, eax
mov edx, dword [esi + 0xc]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x1ff
and ecx, 0x3fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0xc], ecx
jb 0x422d49
pop edi
pop esi
pop ebx
ret
Function at 0x428bc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00416750
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x428c8b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x428c8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x428c3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x428c49
or bh, 8
and edi, 0x8000000
je 0x428c64
mov eax, dword [0x4516fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x428c8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42908b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4290af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4290ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42c095
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42c0cd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042f433
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042f40b
jmp 0x42c0d9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x42d738
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42d77a
call fcn.004360b9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42d77a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42d771
xor eax, eax
jmp 0x42d782
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042d788
pop edi
pop esi
pop ebx
ret 4

Function at 0x436bc2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x436bf0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436c0e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00436b28
jmp 0x436c0e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x436c0e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00436b28
test edi, edi
mov eax, edi
jne 0x436bf8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002ea38
Capabilities:
Delete file
Read file on windows

Disassembly:
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 4
not si
push 0x3000
push 0x1000
cmovno si, bx
bswap esi
movsx esi, bx
push 0
xchg si, si
mov esi, 0x47b92789
mov esi, eax
jmp 0x1000f630
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x1000435c]
mov eax, dword [0x100043b8]
mov si, 0x3499
movsx esi, di
mov esi, dword [0x100043bc]
lea edi, [edx + eax - 0x1df]
mov ch, 0xe6
setae ch
movzx ecx, dx
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
jmp 0x10071139
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
movzx ecx, bp
mov ch, 0xb5
lea ecx, [ebp - 4]
jmp 0x10085347
push edi
jmp 0x1007d3b8
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x100205d4
mov esp, ebp
bswap ebp
pop ebp
jmp 0x100639af
pop edi
mov dword [0x10004364], ecx
pop esi
jmp 0x1003a0bf
push str.C:Windows_ff360.tmp
jmp 0x100769ec
push 0x80000000
jmp 0x1006d528
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
jmp 0x1000c15f
push 3
push 0
jmp 0x1005cbd7
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x100043bc]
jmp 0x1003b7c6
push 1
jmp 0x10043778
mov dword [0x100043bc], eax
jmp 0x1004adc1
ret
push str.C:Windows_ff360.tmp
jmp 0x100059f2
movsw word es:[edi], word [esi]
jmp 0x1003ebb5
push pe_nt_image_headers32
jmp 0x1004e9f3
movsb byte es:[edi], byte [esi]
jmp 0x10054155
call fcn.1008b0fb
push 0
jmp 0x10072e10
push ecx
push 0x203
push eax
jmp 0x10091e22
push esi
jmp 0x1005f9d1
Function at 0x1003cdd5
Capabilities:
Check mutex on windows

Disassembly:
jne 0x10065831
mov eax, dword [0x100043b8]
or dl, al
bt dx, 0x7f
add eax, 0x54abe
mov dx, bp
lea edx, [eax + 0x24]
jmp 0x1002fc70
push ecx
jmp 0x1003898f
push esi
jmp 0x1005ab16
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x1000401c], 0
jmp 0x100276fa
mov dword [0x100043c8], ecx
bsr ecx, ecx
inc ecx
lea ecx, [eax + 0x1e04f]
clc
test cx, 0x2107
jmp 0x10056a79
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x2710
push eax
mov dword [0x100043d0], eax
jmp 0x100187cd
jne 0x100278d8
push eax
jmp 0x1008f1ea
dec eax
jmp 0x1002519f
je 0x100278d8
mov eax, dword [0x100043d0]
jmp 0x100108e6
mov eax, 1
not bp
pop ebp
jmp 0x10049dd9
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x10004368], eax
rcl ecx, cl
mov eax, dword [0x100043b8]
lea ecx, [eax + 0x6f000]
mov dword [0x10004358], ecx
neg dh
btc dx, sp
lea ecx, [eax + 0x15aaa]
cdq
mov dword [0x10004640], ecx
mov dx, 0x463f
mov dword [0x10004644], ecx
bswap ecx
clc
sar edx, cl
lea ecx, [eax + 0x6f42c]
shl dx, cl
stc
shr dl, cl
lea edx, [eax + 0x6f330]
stc
jmp 0x1001f960
mov dword [0x1000435c], 0x54abe
mov dword [0x10004648], edx
mov dword [0x1000464c], eax
call fcn.1003e290
mov eax, dword fs:[0x20]
mov dword [ebp + 0xc], eax
cwde
mov eax, dword [ebp + 0xc]
jmp 0x10089c66
call fcn.1006634e
mov eax, dword fs:[0x18]
mov esi, ebp
mov eax, dword [eax + 0x30]
mov esi, edi
movzx edi, cx
jmp 0x1008b2e5
push ebp
lahf
mov ebp, esp
bswap ax
mov eax, dword [ebp + 0xc]
jmp 0x10025df8
mov dword [0x100043ac], 0x1b000
mov dword [0x10004370], edx
jmp 0x1008074a
ret 0xc
add eax, 0x46986
jmp 0x10043118
push edi
push eax
mov byte [0x1000401c], 0
jmp 0x10064cf9
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 8]
jmp 0x1000b5a8
lea esp, [esp]
push 0x3c
jmp 0x1006dbfc
call edi
cmp byte [esi], 0xe9
jmp 0x10005cc3
mov dword [0x10004620], ecx
mov dword [0x10004624], ecx
jmp loc.10001d26
push eax
push 0
jmp 0x1002c7ce
mov eax, dword [eax + 8]
movzx edi, sp
mov dword [0x10004380], eax
mov eax, dword [0x10004380]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x100043b8], eax
cmovg si, dx
lea esi, [eax + 0x6bb53]
jmp 0x1006582a
push eax
jmp 0x10020f79
Function at 0x1006634e
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [ecx + 4], edx
pop ebp
jmp 0x10034c09
jne 0x1009440d
mov dword [0x10004360], eax
mov ecx, dword [eax + 4]
cmovg dx, si
mov edx, dword [eax]
mov dword [ecx], edx
cbw
mov eax, dword [0x1000436c]
movzx edx, dx
jmp 0x10077071
ret 4
mov edx, dword [eax + 0xc]
jmp 0x1001a872
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movsx ecx, si
mov ecx, dword [eax + 0xc]
shld ax, dx, 0x36
rol al, cl
jmp 0x100943d3
mov ecx, dword [eax]
cmove ebp, edx
cwd
mov edx, dword [eax + 4]
setnp al
mov dword [ecx + 4], edx
bswap eax
movzx cx, dl
mov eax, dword [0x1000436c]
xchg dx, bp
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [ecx], edx
cmovns bp, bp
jmp 0x10093dd6
mov dword [ecx + 4], edx
mov eax, dword [0x1000436c]
mov ecx, dword [eax + 0xc]
cdq
mov edx, dword [eax + 8]
mov dword [ecx], edx
xchg dh, ch
mov eax, dword [0x1000436c]
mov ecx, dword [eax + 8]
jmp 0x10062532
mov eax, dword [0x1000436c]
mov bp, ax
cwd
cdq
mov ecx, dword [eax + 0x10]
cdq
mov edx, dword [eax + 0x14]
mov al, 0xa7
jmp 0x10092864
mov dword [0x1000439c], ecx
rcl cx, cl
mov eax, dword [0x1000439c]
mov ecx, dword [ebp + 8]
cmp di, ax
test cl, al
add eax, 0xc
mov dword [0x100043d4], eax
mov eax, dword [eax]
clc
mov dword [0x10004360], eax
cmp ebx, 0x2f37155d
mov dword [0x1000436c], eax
cmp ecx, dword [eax + 0x18]
je 0x1002f17f
mov eax, dword [eax]
cmp bx, sp
mov dword [0x1000436c], eax
cmp ecx, dword [eax + 0x18]
jmp 0x1002f174

Function at 0x100878a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jb 0x1000ae04
inc edx
test esi, esp
test dl, 0x4f
add eax, 0x28
cmp edx, esi
jb 0x1005ac3f
xor eax, eax
pop edi
movsx ebx, sp
pop esi
movsx bx, cl
pop ebx
movzx ebp, di
cmova ebp, esi
pop ebp
jmp 0x10065d9a
je 0x1000ae02
mov edi, dword [ebp + 0xc]
dec cx
bt ecx, 0xdf
mov ecx, dword [eax + 0xc]
cmc
cmp edi, ecx
jmp 0x10073411
ret
jb 0x1000adf1
mov ebx, dword [eax + 8]
cmp edx, ebx
add ebx, ecx
jmp 0x10075195
cmp edi, ebx
jmp 0x1000adeb
lea eax, [eax + ecx + 0x18]
test edx, 0x7ebe7bd7
cmc
test esi, esi
jmp 0x1005ac2f
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
bts ecx, ebx
sal ch, cl
xor ch, ah
mov ecx, dword [eax + 0x3c]
cmp ecx, 0x6822ecc
lea ecx, [ecx + eax]
movzx eax, word [ecx + 0x14]
clc
test ebx, esp
push ebx
push esi
movzx esi, dx
movzx esi, word [ecx + 6]
clc
sub edx, edx
stc
push edi
test cl, 0x2f
jmp 0x100871b9
Function at 0x101c6c20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101c6dfe
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd8000]
push edi
or ebp, 0xffffffff
jmp 0x101c6c4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101c6c51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c6c40
mov eax, 1
add ebx, ebx
jne 0x101c6c63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101c6c74
jne 0x101c6c93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c6c93
dec eax
add ebx, ebx
jne 0x101c6c80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101c6c58
add ebx, ebx
jne 0x101c6c8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101c6ce5
xor ecx, ecx
sub eax, 3
jb 0x101c6cab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101c6d1a
sar eax, 1
mov ebp, eax
jmp 0x101c6cb6
add ebx, ebx
jne 0x101c6cb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c6c84
inc ecx
add ebx, ebx
jne 0x101c6cc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c6c84
add ebx, ebx
jne 0x101c6cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101c6cc6
jne 0x101c6ce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101c6cc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101c6d04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101c6cf6
jmp 0x101c6c46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101c6d04
add edi, ecx
jmp 0x101c6c46
pop esi
mov edi, esi
mov ecx, 0xdd565
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101c6d3f
cmp byte [edi], 0x23
jne 0x101c6d24
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101c6d22
lea edi, [esi + 0x1be000]
mov eax, dword [edi]
or eax, eax
je 0x101c6d90
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d0304]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d0430]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101c6d45
mov ecx, edi
jns 0x101c6d74
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 + 0x1d0434]
or eax, eax
je 0x101c6d8a
mov dword [ebx], eax
add ebx, 4
jmp 0x101c6d62
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101c6dc1
cmp al, 0xef
ja 0x101c6db4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101c6d96
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101c6da3
mov ebp, dword [esi + 0x1d0438]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x101c6df5
sub esp, 0xffffff80
jmp 0x100a7a05
Function at 0x40b3e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4717fb
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.004664ad
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b462
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00463e8d
mov eax, dword [eax]
push 0x4e81e0
push eax
call fcn.00456484
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00466738
test bl, bl
je 0x40b462
push 0x4e81e0
lea ecx, [esp + 0xc]
call fcn.00466ac8
push 0x4ebd3c
lea ecx, [esp + 0xc]
call fcn.00466ac8
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 0x40b49e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00466738
jmp 0x40b569
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 0x40b522
lea edx, [esp + 0x7c]
push 0x4ebd38
push edx
call fcn.00456484
add esp, 8
test eax, eax
je 0x40b522
lea eax, [esp + 0x7c]
push 0x4ebd34
push eax
call fcn.00456484
add esp, 8
test eax, eax
je 0x40b522
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 0x40b4b2
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.00466738
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 0x40bd60
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 0x40bdc2
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