joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100325b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10084518
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x100325e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x100326fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x100325fd
mov eax, 0xffffffc7
jmp 0x100326fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1003260e
cmp dword [esi + 8], eax
jne 0x100325fd
cmp dword [esi + 8], eax
jne 0x10032627
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10032627
mov eax, 0xffffffc7
jmp 0x100326fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1003263b
push eax
mov ecx, ebx
call fcn.10031de0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.100046e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1003266c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.10004700
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10031550
test eax, eax
mov dword [esp + 0x38], eax
je 0x1003269f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1008b940
call fcn.100048e0
mov eax, dword [esp + 0x38]
jmp 0x100326fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10032410
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x100326e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10032430
mov esi, eax
test esi, esi
jne 0x10032713
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10032410
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x100326b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1008b940
call fcn.100048e0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1008b940
call fcn.100048e0
mov eax, esi
jmp 0x100326fe

Function at 0x10037120
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10037180
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10037180
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10037180
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10037180
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x100371c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10042ee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10084e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1007d9ea
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10042840
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1007d918
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1007a1bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1007a1bf
push 1
push 0
push 0
mov ecx, esi
call fcn.1007a167
push 1
push 0
push 1
mov ecx, esi
call fcn.1007a167
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007da5c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10043060
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10084e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1007d9ea
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10042840
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1007d918
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10043124
cmp dword [esp + 0x40], 1
jne 0x10043122
cmp ecx, eax
jge 0x10043124
mov eax, ecx
cmp eax, 0xc8
jge 0x10043130
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10042ee0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007da5c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10043940
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10084ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100785df
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1007dc92
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1007f1ae
test eax, eax
je 0x10043a5c
mov ecx, dword [esp + 0x3c]
call fcn.1007dcbf
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10043a20
push edi
mov ecx, esi
call fcn.1007b30a
mov ecx, esi
call fcn.10043c00
cmp dword [esp + 0x38], 1
jne 0x10043a55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1007b445
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10045c70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10045ca3
push esi
call fcn.10054040
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10045c9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10045d29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10045d12
mov eax, dword [esi + 8]
test eax, eax
je 0x10045cc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10045d0e
cmp eax, 2
je 0x10045d12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10045cba
cmp eax, 3
je 0x10045ced
cmp eax, 1
jne 0x10045cba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10045cba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10045cba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10045d50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10045d38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10045d50
add esp, 4
pop esi
ret

Function at 0x100465d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100465f1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100465f1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100465f1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10046a40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10046a4b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10046b4e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x1008d610]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008d610]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008d610]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008d610]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008d610]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008d610]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008d610]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1008d610]
xor eax, edx
inc ecx
dec edi
jne 0x10046a66
pop edi
test esi, esi
je 0x10046b70
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1008d610]
xor eax, edx
inc ecx
dec esi
jne 0x10046b52
pop esi
pop ebx
not eax
ret
Function at 0x10062890
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 0x100629e5
cmp di, 0x801
ja 0x100629e5
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x100629e5
cmp bx, 0xc
ja 0x100629e5
mov al, byte [esp + 0x30]
test al, al
je 0x100628e4
push edi
call fcn.10062e20
add esp, 4
cmp ax, bx
je 0x100628e4
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.100629f0
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.10062810
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x100629e5
test ebx, ebx
jne 0x10062979
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x100629db
test al, al
je 0x1006296c
push 0xffffffffffffffe1
jmp 0x1006296e
push 0x1f
push ebp
push edi
push esi
call fcn.100627c0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.100627c0
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.100629f0
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.10062810
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x10062946
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 0x10064070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10085488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x100c3f78
lea ecx, [esp + 4]
call fcn.1007709f
push 0x100b0074
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.1007709f
push 0x100b0070
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.1007709f
push 0x100b006c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.1007709f
push 0x100b0068
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.1007709f
push 0x100b0064
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.1007709f
push 0x100b0060
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.1007709f
push 0x100b005c
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.1007709f
push 0x100b0058
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.1007709f
push 0x100b0054
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.1007709f
push 0x100b0050
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.1007709f
push 0x100b004c
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.1007709f
push 0x100b0048
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.1007709f
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x100641a0
cmp eax, 0xc
jle 0x100641a0
mov ecx, dword [esp + 0x48]
push 0x100c3f78
call fcn.1007716e
jmp 0x100641ae
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.1007711e
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.10077031
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.10077031
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.10077031
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.10077031
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.10077031
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.10077031
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.10077031
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.10077031
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.10077031
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.10077031
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.10077031
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.10077031
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10077031
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x100793d5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007940d
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.1007748c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10077464
jmp 0x10079419
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x1007aac7
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 0x1007ab09
call fcn.10080594
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007ab09
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007ab00
xor eax, eax
jmp 0x1007ab11
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1007ab17
pop edi
pop esi
pop ebx
ret 4
Function at 0x40dafd
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push edi
mov ebx, edx
mov dword [ebp - 8], 0x403720
push eax
xor edx, edx
push ecx
inc edx
lea ecx, [ebp - 8]
call fcn.0040fd03
mov edi, eax
test edi, edi
je 0x40db35
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.0040fbba
mov edi, eax
cmp dword [ebp - 4], 0
je 0x40db4d
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4162db
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x20
push 0x41f7c8
call fcn.0041f5a8
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x28], edi
mov ebx, edi
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ntdll.dll_ZwQueryKey]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xc0000023
je 0x416326
test esi, esi
js 0x4163a4
mov esi, 0xc000000d
mov dword [ebp - 0x1c], esi
jmp 0x4163a4
push dword [ebp - 0x20]
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x416346
mov esi, 0xc000009a
jmp 0x416321
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ntdll.dll_ZwQueryKey]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
js 0x4163a4
mov eax, dword [ebx + 0xc]
add eax, 2
push eax
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x41633f
push dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0xc]
shr eax, 1
xor edx, edx
mov ecx, dword [ebp - 0x2c]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x30]
mov dword [eax], ecx
test ebx, ebx
je 0x4163b9
push ebx
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0xc000017d
jne 0x4163f5
mov dword [ebp - 4], edi
int3
mov eax, esi
call fcn.0041f5ed
ret
Function at 0x41ef70
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x41f828
call fcn.0041f50c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4203d4
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41eded
cmp eax, esi
jne 0x41ede0
xor esi, esi
inc esi
mov edi, esi
jmp 0x41edf0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41edc4
xor esi, esi
inc esi
cmp dword [0x4203d8], esi
jne 0x41ee02
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x41ee3c
cmp dword [0x4203d8], ebx
jne 0x41ee36
mov dword [0x4203d8], esi
push 0x401018
push 0x40100c
call fcn.0041ef1c
pop ecx
pop ecx
test eax, eax
je 0x41ee3c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41ef11
mov dword [0x420044], esi
cmp dword [0x4203d8], esi
jne 0x41ee5f
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4203d8], 2
test edi, edi
jne 0x41ee6c
xor eax, eax
mov ecx, 0x4203d4
xchg dword [ecx], eax
cmp dword [0x4203dc], 0
je 0x41ee98
push 0x4203dc
call fcn.0041f330
pop ecx
test eax, eax
je 0x41ee98
push ebx
push 2
push ebx
mov esi, dword [0x4203dc]
mov ecx, esi
call dword [0x421338]
call esi
push dword [0x420050]
push dword [0x42004c]
push dword [0x420048]
call 0x40a602
add esp, 0xc
mov dword [0x420040], eax
cmp dword [0x420058], 0
jne 0x41eef6
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x420044], 0
jne 0x41ef0a
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x420040]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041f554
ret
call fcn.0041f438
jmp 0x41eda8

Function at 0x41f21f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41f848
call fcn.0041f5a8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f27f
cmp eax, 0xffffffff
je 0x41f27f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41f278
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41f278
cmp edx, 0x10000000
jae 0x41f278
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41f275
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041f5ed
ret 4

Function at 0x41f2e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41f31e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41f316
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41f320
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41f306
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41f400
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x41f416
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x41f431
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x6276e5d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x6276e5e2
pushal
call 0x6276e5e8
pop ebp
sub ebp, 0x10
sub ebp, 0x39e5d8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x6276e60c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x6276e615
mov eax, 0x39e5d8
add eax, ebp
add eax, 0x63
mov ecx, 0x5ee
mov edx, 0xd7f35b51
xor byte [eax], dl
inc eax
dec ecx
jne 0x6276e62c
jmp 0x6276e63f
ficomp dword [edx + ebx*8 + 0x51516dd8]
push ecx
rcl byte [eax + 0x515151a9]
push edx
pushfd
jmp 0xb3c837a6