joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a200
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48ff97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0047e57c
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0047e57c
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.0046ad20
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x46ad70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490070
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0048a0c7
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x46ada3
xor al, al
jmp 0x46aecf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x46adc5
xor al, al
jmp 0x46aecf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x46add8
xor al, al
jmp 0x46aecf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46adec
xor al, al
jmp 0x46aecf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0047e62c
test eax, eax
jne 0x46ae20
xor al, al
jmp 0x46aecf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x56420c
mov dword [esp + 0x20], ebp
call fcn.0048a0c7
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004870d1
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00487128
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x46aeb4
mov ax, word [ebx]
test ax, ax
je 0x46aea6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0046aef0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46ae8a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00487128
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46b430
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00488781
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46b476
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0046fad8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x57de24
push ecx
call fcn.0047114e
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x46bd90
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 0x46be33
test eax, eax
jbe 0x46be33
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46be33
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 0x46bdde
xor esi, esi
jmp 0x46bde4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46be0f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040bfa0
add esi, eax
push esi
mov ebx, esi
call fcn.0040bfa0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46bdf0
pop ebp
test edi, edi
pop edi
jne 0x46be33
test ebx, ebx
je 0x46be33
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00470540
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46bf75
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 0x46c08d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46c08d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00481cf6
mov esi, eax
test esi, esi
je 0x46c08d
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 0x46c08d
mov ecx, esi
call fcn.0046bee0
cmp edi, eax
jge 0x46c08d
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 0x46c013
mov dword [esp + 0x34], 1
jmp 0x46c06e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46c08d
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.0046b4d0
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 0x48269a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4826d2
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.0048073c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00480714
jmp 0x4826de
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x483e91
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 0x483ed3
call fcn.0048a0c7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x483ed3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x483eca
xor eax, eax
jmp 0x483edb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00483ee1
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a5f7
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 0x48a625
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48a643
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048a55d
jmp 0x48a643
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a643
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048a55d
test edi, edi
mov eax, edi
jne 0x48a62d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4032d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4032e0
pop dword [ebp - 0x48]
mov eax, 0x4032e0
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x48c0b
push 0
mov eax, 0x6a460fc8
add eax, 0x96005810
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x3440
xor ebx, ebx
add ebx, eax
mov edi, 0x80c0c3e2
sub edi, 0x8077e3e2
add edi, dword [ebp - 0x48]
mov edx, 0x54effde7
add edx, 0x16c7f36b
sub dword [ebp - 4], 0x84aec8f6
mov esi, dword [edi]
sub dword [ebp - 0xc], ebx
xor esi, edx
sub dword [ebp - 0x2c], 0xa40d42ac
mov dword [ebx], esi
sub dword [ebp - 8], esi
add ebx, 0x483029c5
sub ebx, 0x483029c1
add edi, 4
loop 0x403336
add eax, 0x8c2f916a
sub eax, 0x8c2ecd97
mov ebx, eax
add eax, 0x238a93ec
sub eax, 0x238a93e7
mov ecx, 0x1ff1b438
add ecx, 0xe04e4bc8
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d7cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40d7de
pop dword [ebp - 0x34]
mov eax, 0x40d7de
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3726b
push 0
mov eax, 0x8a5e4dba
add eax, 0x75e2931e
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x9ef6104
sub ecx, 0x9ef2144
xor edi, edi
add edi, eax
mov ebx, 0x6bdc4f90
add ebx, 0x9464ec34
add ebx, dword [ebp - 0x34]
mov edx, 0xc5d2b1a4
add edx, 0x8dbf376a
xor dword [ebp - 0x10], 0xf9317d8f
mov esi, dword [ebx]
xor dword [ebp - 0x24], 0x22a05b31
sub esi, edx
sub dword [ebp - 0x1c], 0xefe63fb0
mov dword [edi], esi
xor dword [ebp - 0x28], eax
add edi, 0x95ffd78f
sub edi, 0x95ffd78b
add ebx, 0xb2c667e
sub ebx, 0xb2c667a
loop 0x40d83a
add eax, 0x88e63172
sub eax, 0x88e53f9f
mov ebx, eax
add eax, 0x6343634b
add eax, 0x9cbc9cba
mov ecx, 0x4cc0e020
sub ecx, 0x4c80e020
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

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 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf

Function at 0x4d2ef5
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4855a37
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x7c79531e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40592b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xchg ecx, eax
and ebx, dword [esi + 0x61]
jae 0x40595d
arpl word [eax + 0x264ab70f], si
or eax, 0x5978d0fa
test ah, 0x61
mov dword [ecx + 0x4d6f5988], ecx

Function at 0x405dd7
Capabilities:
Encode data using xor

Disassembly:
invalid
call 0x405c8d
mov ecx, 0x1a3
call 0x405dd7
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x405dda
cli
push ebx
push edx
push edx
push ebx
in eax, dx
push es
pop es
or byte [ecx], cl
push eax
mov dh, ah
or byte [ecx + 0x40], cl
push edi
pop esi
jns 0x405dc6
adc al, 0x85
xchg byte [edi - 0x1b410e67], al
jecxz 0x405ddf
cmpsd dword [esi], dword es:[edi]
inc eax
mov eax, dword [0x6e12ad6e]
adc eax, 0x792ce5a5
jb 0x405dc6
scasd eax, dword es:[edi]
lds ebp, [edi]
pop edx
ret 0x6b6e

Function at 0x406042
Capabilities:
Encode data using xor

Disassembly:
mov dword [ecx], 0
pop ebp
sbb byte [eax], dl
add byte [ebx - 0x75], dl
test eax, 0x6d688f10
xor byte [edi + 0x67], ch
push ebx
call 0x3f8960
mov esi, dword [ebp - 0x75]
xor ecx, ecx
mov edx, edx
mov dword [eax + 4], ecx
mov edx, dword [esi]
xchg ecx, eax
jp 0x406073
in eax, 0xd5
push cs
cmp al, 0xbf
leave
sbb byte [ecx + 0x16], cl
push ss
shl edi, 2
mov dword [edx + 0xc], ecx
mov eax, dword [esi]
jno 0x4060d1
push ebx
mov dword [eax + 0xb71010], ecx
mov edx, dword [esi]
mov edx, ebp
adc al, 0xe9
xchg ecx, eax
add byte [ebx + 0x18888906], cl
xor byte [eax], al
jne 0x40607d
invalid
jne 0x406069
pop edi
pop esi
mov eax, 0xc
push es
pop ebp
ret 8

Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov byte [0x8b107d8b], al
xchg ecx, eax
nop
mov ecx, dword [esi + 0x14]
or eax, ecx
mov dword [ebp + 0x10], 0x92
jne 0x40b10d
mov al, byte [esi + 8]
test byte [edi + 0x568b6a74], ch
add al, 0x8d
inc esp
or byte [edx], ch
push ecx
push 0
push 0
push 0
push edx
jmp [edx]
mov ebx, dword [eax + 0x18c0858c]
and edi, dword [eax]
dec esi
or byte [ecx + ecx*8 + 0x4eb41c75], al
push eax
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x50]
mov edx, dword [esi - 0x13]
mov ecx, 0x6700002c
call 0xce5010
cmpsd dword [esi], dword es:[edi]
push esi
or al, 0x92
inc edx
or al, 0x2a
push 0xc
mov edx, dword [ebp + 0x18]
inc edi
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
add bl, byte [edx + edx*2]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xadd byte [edi + eax + 0x33], dh
shr cl, 0x2b
add dword [eax], eax
add byte [ebx + 0x40c0983d], cl
add bh, bh
xlatb
test eax, eax
je 0x71b319
call edi
popfd
daa
cld
or al, byte [eax]
cmp eax, 0xb0065
jne 0x114b24f
and byte [esi], 0x9c
xor al, 0x40
add byte [esi + ecx*2 + 0x10468bf9], bh
test ecx, ecx
jl 0x40b1a2
jg 0x40b192
test eax, eax
jbe 0x40b1aa
push 0
push 0xa90003e8
adc byte [eax - 0x18], 0xf0
add eax, dword [eax]
lock add eax, dword [eax]
and ch, bl
or eax, 0xf8c4c123
push dword [ebp + 4]
or eax, eax
jmp 0x40b19c
and eax, ecx
invalid
shr bl, 0xef
xor esp, dword [edx + 0x500c4e8b]
mov edx, dword [ecx + 0x10]
push edx
invalid
Function at 0x414ff0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47231b
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.00466af3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415072
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464a0a
mov eax, dword [eax]
push 0x48c1c0
push eax
call fcn.00457784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00466d7e
test bl, bl
je 0x415072
push 0x48c1c0
lea ecx, [esp + 0xc]
call fcn.0046710e
push 0x48fd2c
lea ecx, [esp + 0xc]
call fcn.0046710e
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 0x4150ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00466d7e
jmp 0x415179
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 0x415132
lea edx, [esp + 0x7c]
push 0x48fd28
push edx
call fcn.00457784
add esp, 8
test eax, eax
je 0x415132
lea eax, [esp + 0x7c]
push 0x48fd24
push eax
call fcn.00457784
add esp, 8
test eax, eax
je 0x415132
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 0x4150c2
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.00466d7e
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 0x4163d0
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 0x416432
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