joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b19c8
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.005a5103
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.005320c0
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.005a5031
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.005a1625
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.005a1625
push 1
push 0
push 0
mov ecx, esi
call fcn.005a15cd
push 1
push 0
push 1
mov ecx, esi
call fcn.005a15cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005a5175
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x5328a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b19e8
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.005a5103
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.005320c0
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.005a5031
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 0x532964
cmp dword [esp + 0x40], 1
jne 0x532962
cmp ecx, eax
jge 0x532964
mov eax, ecx
cmp eax, 0xc8
jge 0x532970
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00532720
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.005a5175
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5330e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b1a53
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.0059fa11
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.005a53ab
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005a7eb4
test eax, eax
je 0x5331fc
mov ecx, dword [esp + 0x3c]
call fcn.005a53d8
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 0x5331c0
push edi
mov ecx, esi
call fcn.005a296e
mov ecx, esi
call fcn.00533360
cmp dword [esp + 0x38], 1
jne 0x5331f5
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.005a2b01
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 0x535c20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x535c53
push esi
call fcn.00538d10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x535c4c
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 0x535cd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x535cc2
mov eax, dword [esi + 8]
test eax, eax
je 0x535c77
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 0x535cbe
cmp eax, 2
je 0x535cc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x535c6a
cmp eax, 3
je 0x535c9d
cmp eax, 1
jne 0x535c6a
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 0x535c6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x535c6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00535d00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x535ce8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00535d00
add esp, 4
pop esi
ret

Function at 0x5427f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b1df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call fcn.00542170
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x542835
xor eax, eax
jmp 0x54283a
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00542e50
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x676820]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00541ef0
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x5428b8
mov al, byte [ecx - 1]
cmp al, bl
je 0x5428ae
cmp al, 0xff
je 0x5428ae
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0059e113
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x548e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b1ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00549200
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x6d024c
call fcn.0057d640
mov ecx, dword [0x676820]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00541ef0
mov esi, 0x6768ac
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x548eb7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x548eae
cmp al, 0xff
je 0x548eae
dec al
mov byte [ecx], al
jmp 0x548eb7
push ecx
call fcn.0059e113
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005998c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x548efd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x548ef4
cmp al, 0xff
je 0x548ef4
dec al
mov byte [ecx], al
jmp 0x548efd
push ecx
call fcn.0059e113
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0057d6c7
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x550650
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 0x5506f3
test eax, eax
jbe 0x5506f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5506f3
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 0x55069e
xor esi, esi
jmp 0x5506a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5506cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004ec410
add esi, eax
push esi
mov ebx, esi
call fcn.004ec410
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x5506b0
pop ebp
test edi, edi
pop edi
jne 0x5506f3
test ebx, ebx
je 0x5506f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0057c350
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x550815
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 0x55092d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x55092d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0059fe63
mov esi, eax
test esi, esi
je 0x55092d
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 0x55092d
Function at 0x562bc0
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 0x562d15
cmp di, 0x801
ja 0x562d15
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x562d15
cmp bx, 0xc
ja 0x562d15
mov al, byte [esp + 0x30]
test al, al
je 0x562c14
push edi
call fcn.00563150
add esp, 4
cmp ax, bx
je 0x562c14
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.00562d20
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.00562b40
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x562d15
test ebx, ebx
jne 0x562ca9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x562d0b
test al, al
je 0x562c9c
push 0xffffffffffffffe1
jmp 0x562c9e
push 0x1f
push ebp
push edi
push esi
call fcn.00562af0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00562af0
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.00562d20
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.00562b40
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x562c76
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 0x5643b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b2cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x6eace4
lea ecx, [esp + 4]
call fcn.0059e417
push 0x6a91f0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0059e417
push 0x6a91ec
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0059e417
push 0x6a91e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0059e417
push 0x6a91e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0059e417
push 0x6a91e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0059e417
push 0x6a91dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0059e417
push 0x6a91d8
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0059e417
push 0x6a91d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0059e417
push 0x6a91d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0059e417
push 0x6a91cc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0059e417
push 0x6a91c8
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0059e417
push 0x6a91c4
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0059e417
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x5644e0
cmp eax, 0xc
jle 0x5644e0
mov ecx, dword [esp + 0x48]
push 0x6eace4
call fcn.0059e532
jmp 0x5644ee
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0059e4e2
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0059e3a9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0059e3a9
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0059e3a9
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0059e3a9
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0059e3a9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0059e3a9
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0059e3a9
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0059e3a9
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0059e3a9
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0059e3a9
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0059e3a9
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0059e3a9
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0059e3a9
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x56c8f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x56c93c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x56c93c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x56c926
push eax
call ebp
test ax, ax
jl 0x56c934
inc esi
add edi, 4
cmp esi, 6
jb 0x56c918
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0056c5f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5705a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x570600
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x570600
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x570600
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x570600
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 0x570610
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 0x593f00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b4be0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00589072
mov eax, dword [0x67e910]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00588fa4
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00594a10
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x593fa7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x593f9e
cmp al, 0xff
je 0x593f9e
dec al
mov byte [ecx], al
jmp 0x593fa7
push ecx
call fcn.0059e113
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x593fd8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x593fcf
cmp al, 0xff
je 0x593fcf
dec al
mov byte [ecx], al
jmp 0x593fd8
push ecx
call fcn.0059e113
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x59f1ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005a95bf
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x59f220
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0059f233
pop edi
pop esi
pop ebx
ret 8

Function at 0x5a0807
Capabilities:
Get graphical window text

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

Function at 0x5a20f7
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 0x5a2139
call fcn.005a95bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a2139
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a2130
xor eax, eax
jmp 0x5a2141
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a2147
pop edi
pop esi
pop ebx
ret 4

Function at 0x5a9aef
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 0x5a9b1d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5a9b3b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005a9a55
jmp 0x5a9b3b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5a9b3b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005a9a55
test edi, edi
mov eax, edi
jne 0x5a9b25
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403bf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407c48
cmp edx, dword [eax]
je 0x403c13
add eax, 8
inc ecx
cmp eax, 0x407cd8
jl 0x403c04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407c48]
jne 0x403d41
mov eax, dword [0x408998]
cmp eax, 1
je 0x403d1b
test eax, eax
jne 0x403c44
cmp dword [0x407a34], 1
je 0x403d1b
cmp edx, 0xfc
je 0x403d41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403c7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004044b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004045a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403cbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004045a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406458
push edi
call fcn.004049e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004044b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004044c0
lea eax, [ebp - 0xa0]
push 0x406438
push eax
call fcn.004044c0
push dword [esi + 0x407c4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004044c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404955
add esp, 0x2c
pop edi
jmp 0x403d41
lea eax, [ebp + 8]
lea esi, [esi + 0x407c4c]
push 0
push eax
push dword [esi]
call fcn.004045a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x40231a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004024ca
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402418
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4023bb
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4023fe
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4023d2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4023ed
test al, 0x40
je 0x4023e4
mov ecx, dword [edi + 0x20]
jmp 0x4023eb
test al, 0x80
je 0x4023fe
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4023fe
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40238a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4182c8
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4182ff
mov esp, ebp
pop ebp
ret