joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495e10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4d2186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x51e4ec]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004c0f6d
mov edx, dword [0x51e4ec]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x495e6a
mov dword [esp + 0x1c], ebx
jmp 0x495e71
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004c30b6
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004bec12
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x495ec2
mov dword [esp + 0x14], ebx
jmp 0x495ec9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x495ee4
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x495ede
cmp eax, 2
jne 0x495ee4
mov dword [esp + 0x18], edi
jmp 0x495ee8
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x495ef6
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004c05a3
mov edi, eax
cmp edi, ebx
jne 0x495f06
xor eax, eax
jmp 0x495f09
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x495f31
mov ecx, esi
call fcn.004c30b6
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x495f4d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x495f6c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x495f6c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004beb25
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004beb25
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x499e58
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d258c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004c0178
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0x4f81d4
call fcn.0049ee50
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.0049ee50
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.0049ee50
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.0049ee50
mov dword [edi], 0x4f81cc
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.004bd009
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x4f829c
mov eax, dword [0x51e4ec]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.0049ee50
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.004bd009
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x499f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d2614
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.004bd032
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x4f81c8
call fcn.0049f050
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.004beb25
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.004c5aa3
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.004bd032
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x4f81c8
call fcn.0049f050
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x4f81c8
call fcn.0049f050
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4f81c8
call fcn.0049f050
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x4f81c8
call fcn.0049f050
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004bcba0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49b880
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x49b923
test eax, eax
jbe 0x49b923
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x49b923
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x49b8ce
xor esi, esi
jmp 0x49b8d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x49b8ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0042ae10
add esi, eax
push esi
mov ebx, esi
call fcn.0042ae10
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x49b8e0
pop ebp
test edi, edi
pop edi
jne 0x49b923
test ebx, ebx
je 0x49b923
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ade90
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x49ba65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49bb7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49bb7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c05ca
mov esi, eax
test esi, esi
je 0x49bb7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49bb7d
mov ecx, esi
call fcn.0049b9d0
cmp edi, eax
jge 0x49bb7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x49bb03
mov dword [esp + 0x34], 1
jmp 0x49bb5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49bb7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00498a00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4a1310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x4a1465
cmp di, 0x801
ja 0x4a1465
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4a1465
cmp bx, 0xc
ja 0x4a1465
mov al, byte [esp + 0x30]
test al, al
je 0x4a1364
push edi
call fcn.004a18a0
add esp, 4
cmp ax, bx
je 0x4a1364
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.004a1470
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004a1290
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4a1465
test ebx, ebx
jne 0x4a13f9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4a145b
test al, al
je 0x4a13ec
push 0xffffffffffffffe1
jmp 0x4a13ee
push 0x1f
push ebp
push edi
push esi
call fcn.004a1240
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004a1240
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.004a1470
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004a1290
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4a13c6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4a2af0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d2db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x547784
lea ecx, [esp + 4]
call fcn.004beb93
push 0x51df50
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004beb93
push 0x51df4c
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004beb93
push 0x51df48
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004beb93
push 0x51df44
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004beb93
push 0x51df40
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004beb93
push 0x51df3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004beb93
push 0x51df38
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004beb93
push 0x51df34
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004beb93
push 0x51df30
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004beb93
push 0x51df2c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004beb93
push 0x51df28
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004beb93
push 0x51df24
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004beb93
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4a2c20
cmp eax, 0xc
jle 0x4a2c20
mov ecx, dword [esp + 0x48]
push 0x547784
call fcn.004bec62
jmp 0x4a2c2e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004bec12
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004beb25
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004beb25
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004beb25
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004beb25
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004beb25
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004beb25
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004beb25
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004beb25
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004beb25
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004beb25
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004beb25
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004beb25
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004beb25
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4c0f6d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c0fa5
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.004bef80
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bef58
jmp 0x4c0fb1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4c27e5
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 0x4c2827
call fcn.004c8e03
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c2827
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c281e
xor eax, eax
jmp 0x4c282f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c2835
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c9333
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 0x4c9361
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c937f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c9299
jmp 0x4c937f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c937f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c9299
test edi, edi
mov eax, edi
jne 0x4c9369
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4cbc3d
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4cbc65
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4cbc76
push 2
call edi
test ax, ax
jge 0x4cbc76
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004c05a3
cmp dword [esi + 0x30], ebx
jne 0x4cbd50
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004c05a3
cmp eax, dword [esp + 0x34]
jne 0x4cbd50
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4cbcec
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4cbd31
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4cbd50
cmp eax, 0x205
je 0x4cbd50
cmp eax, 0x201
je 0x4cbd50
cmp eax, 0x204
je 0x4cbd50
cmp eax, ebx
jne 0x4cbd17
cmp dword [esp + 0x1c], 0x1b
je 0x4cbd50
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x54952c]
jbe 0x4cbd46
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4cbca9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x4232c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x605a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x14c000]
push edi
jmp 0x605a4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x605a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x605a40
mov eax, 1
add ebx, ebx
jne 0x605a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x605a74
jne 0x605a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x605a93
dec eax
add ebx, ebx
jne 0x605a80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x605a58
add ebx, ebx
jne 0x605a8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x605ae5
xor ecx, ecx
sub eax, 3
jb 0x605aab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x605b1a
sar eax, 1
mov ebp, eax
jmp 0x605ab6
add ebx, ebx
jne 0x605ab6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x605a84
inc ecx
add ebx, ebx
jne 0x605ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x605a84
add ebx, ebx
jne 0x605ad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x605ac6
jne 0x605ae2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x605ac6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x605b04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x605af6
jmp 0x605a46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x605b04
add edi, ecx
jmp 0x605a46
pop esi
mov edi, esi
mov ecx, 0xafe8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x605b22
cmp byte [edi], 0x2d
jne 0x605b22
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 0x605b27
lea edi, [esi + 0x1f2000]
mov eax, dword [edi]
or eax, eax
je 0x605b9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x206da0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x206f1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x605b54
mov ecx, edi
jns 0x605b83
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 + 0x206f20]
or eax, eax
je 0x605b99
mov dword [ebx], eax
add ebx, 4
jmp 0x605b71
call dword [esi + 0x206f30]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x605bd0
cmp al, 0xef
ja 0x605bc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x605ba5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x605bb2
mov ebp, dword [esi + 0x206f24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x605c04
sub esp, 0xffffff80
jmp 0x532429
Function at 0x4057c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46058b
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.00455498
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405842
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004533e7
mov eax, dword [eax]
push 0x13861c0
push eax
call fcn.004462e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455723
test bl, bl
je 0x405842
push 0x13861c0
lea ecx, [esp + 0xc]
call fcn.00455ab3
push 0x1389d08
lea ecx, [esp + 0xc]
call fcn.00455ab3
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 0x40587e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455723
jmp 0x405949
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 0x405902
lea edx, [esp + 0x7c]
push 0x1389d04
push edx
call fcn.004462e4
add esp, 8
test eax, eax
je 0x405902
lea eax, [esp + 0x7c]
push 0x1389d00
push eax
call fcn.004462e4
add esp, 8
test eax, eax
je 0x405902
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 0x405892
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.00455723
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 0x406140
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 0x4061a2
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