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

Disassembly:
push 0xffffffffffffffff
push 0x4a9a43
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.0049cc9a
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 [0x4ab114]
push eax
mov ecx, edi
call fcn.004a2338
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a3854
test eax, eax
je 0x45095c
mov ecx, dword [esp + 0x3c]
call fcn.004a2365
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4ab5a4]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x450920
push edi
mov ecx, esi
call fcn.0049f9c5
mov ecx, esi
call fcn.00450b00
cmp dword [esp + 0x38], 1
jne 0x450955
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.0049fb00
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 0x452b40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x452b73
push esi
call fcn.00460dc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x452b6c
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 0x452bf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452be2
mov eax, dword [esi + 8]
test eax, eax
je 0x452b97
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 0x452bde
cmp eax, 2
je 0x452be2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x452b8a
cmp eax, 3
je 0x452bbd
cmp eax, 1
jne 0x452b8a
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 0x452b8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x452b8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00452c20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452c08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00452c20
add esp, 4
pop esi
ret
Function at 0x470b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00470700
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00470780
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00470780
lea ecx, [esi + 0xc]
call fcn.0049b64c
lea ecx, [esi + 0x10]
call fcn.0049b64c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00471d10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00471d10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00471d10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049b6c1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049b6c1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4750b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5228e8]
xor edx, edx
cmp eax, edx
jne 0x4750d6
xor eax, eax
mov byte [eax + 0x5227e8], al
inc eax
cmp eax, 0x100
jl 0x4750be
mov dword [0x5228e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5227e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x475167
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47513a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x475108
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4751e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x475233
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47521a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47bbe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa3ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047c500
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4cd074
call fcn.0049b402
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47bc73
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049b402
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47bc6c
push 0
mov ecx, eax
call fcn.00472ce0
mov dword [esi + 0xc], eax
jmp 0x47bc75
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47bc75
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x540c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x540d1c
test eax, eax
je 0x540d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x55bfe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x540d03
lea edi, [eax + 4]
jmp 0x540c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x540c7c
mov dword [ebp - 4], 2
jmp 0x540c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x540c93
mov dword [ebp - 4], 1
jmp 0x540c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x540d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x540cd6
mov byte [ecx], 0x3d
jmp 0x540ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x540ced
mov byte [ecx], 0x3d
jmp 0x540cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x540c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6aa1d2
Capabilities:
Execute anti-debugging instructions

Disassembly:
jne 0x6e7731
xor eax, eax
jmp 0x5af20e
sub eax, 1
jmp 0x6a12d9
jmp 0x5ec5b7
mov esp, ebp
movzx ebp, ax
pop ebp
jmp 0x71e340
mov dword [eax + 0x24], 1
cmovle ax, si
mov ecx, dword [ebp + 8]
rdtsc
cwde
mov edx, dword [ebp - 8]
mov dword [ecx + 0x28], edx
mov eax, 1
xchg si, bx
pop edi
pop esi
movsx ebx, cx
not ebx
mov bh, dh
pop ebx
jmp 0x5bdf52
jmp 0x71d488
mov eax, dword [ebp + 8]
movsx ecx, di
mov ecx, dword [eax + edx*4 + 0x10]
jmp 0x645d06
push dword [ebp - 0x10]
jmp 0x62376b
call fcn.004222d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jmp 0x574bf2
mov dword [ebp - 0x10], ecx
jmp 0x643781
mov edx, dword [ebp + 8]
movzx eax, ax
mov eax, dword [edx + 8]
cmovns edx, edx
cdq
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
jmp 0x7dffda
cmp dword [ebp - 0x14], 0
jl 0x75f3ff
mov edx, dword [ebp - 0x14]
jmp 0x636431
mov dword [ebp - 0x14], eax
jmp 0x6887e9
push ebp
mov ebp, esp
test esi, 0x16455b2
sub esp, 0x18
movsx ax, dl
cbw
push ebx
bswap eax
push esi
movsx eax, cx
not ax
bswap ax
push edi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
cdq
mov ecx, dword [eax + 0xc]
rdtsc
push ecx
jmp 0x670a18
mov eax, dword [edx + 0xc]
stc
jmp 0x5a41fd
push esi
btr ax, 0x66
btc eax, edi
push edi
bswap dx
mov edx, dword [ebp + 8]
jmp 0x6b05f4
mov ecx, dword [ebp - 0x14]
test bp, sp
clc
lea ecx, [ecx - 1]
test dh, 0x32
mov dword [ebp - 0x14], ecx
clc
jmp 0x6887e9
ret 4
call dword [ebp - 4]
pop edi
shr dl, 0xc6
adc esi, 0x285b583d
ror dh, 0xb
pop esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
adc edx, 0x740f4bb4
mov edx, dword [ebp - 0x18]
cmp bl, 0x82
mov dword [edx + 0x1e4], 0
test bx, 0x7234
cmp ecx, 0x221d3838
cmp dword [ebp - 0xc], 0
je 0x5ec5af
mov eax, dword [ebp + 8]
not dx
jmp 0x5ec598
push ecx
mov ecx, dword [ebp - 0x18]
jmp 0x6459e0
Function at 0x409f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x409f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409f20
mov eax, 1
add ebx, ebx
jne 0x409f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409f38
jne 0x409f54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409f38
xor ecx, ecx
sub eax, 3
jb 0x409f68
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409fda
mov ebp, eax
add ebx, ebx
jne 0x409f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409fa4
inc ecx
add ebx, ebx
jne 0x409f90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409f85
jne 0x409fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409f85
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409fc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409fb5
jmp 0x409f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409fc4
add edi, ecx
jmp 0x409f26
pop esi
mov edi, esi
mov ecx, 0x207
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409fe2
cmp byte [edi], 0
jne 0x409fe2
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 0x409fe7
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40a056
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a014
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa054]
or eax, eax
je 0x40a050
mov dword [ebx], eax
add ebx, 4
jmp 0x40a031
call dword [esi + 0xa064]
mov ebp, dword [esi + 0xa058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x40a08a
sub esp, 0xffffff80
jmp 0x40311f
Function at 0x58a420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x105000]
push edi
or ebp, 0xffffffff
jmp 0x58a442
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58a449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a438
mov eax, 1
add ebx, ebx
jne 0x58a45b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58a46c
jne 0x58a48b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a48b
dec eax
add ebx, ebx
jne 0x58a478
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58a450
add ebx, ebx
jne 0x58a487
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58a4dd
xor ecx, ecx
sub eax, 3
jb 0x58a4a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58a512
sar eax, 1
mov ebp, eax
jmp 0x58a4ae
add ebx, ebx
jne 0x58a4ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a47c
inc ecx
add ebx, ebx
jne 0x58a4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a47c
add ebx, ebx
jne 0x58a4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58a4be
jne 0x58a4da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58a4be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58a4fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58a4ee
jmp 0x58a43e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58a4fc
add edi, ecx
jmp 0x58a43e
pop esi
mov edi, esi
mov ecx, 0x5c3e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58a51a
cmp byte [edi], 0x21
jne 0x58a51a
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 0x58a51f
lea edi, [esi + 0x187000]
mov eax, dword [edi]
or eax, eax
je 0x58a58e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18f498]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18f574]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58a54c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18f578]
or eax, eax
je 0x58a588
mov dword [ebx], eax
add ebx, 4
jmp 0x58a569
call dword [esi + 0x18f580]
mov ebp, dword [esi + 0x18f57c]
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 0x58a5c2
sub esp, 0xffffff80
jmp 0x4c2aa0
Function at 0x401290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0x402000
mov dword [ebp - 0x60], sym.__Z15WindowProcedureP6HWND__jjl_16
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x68], 0x30
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x50], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x3c], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadCursorA
sub esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [esp], 1
call sub.GDI32.dll_GetStockObject
sub esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call sub.USER32.dll_RegisterClassExA
sub esp, 4
test ax, ax
jne 0x40134f
mov dword [ebp - 0x70], 0
jmp 0x40143d
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x177
mov dword [esp + 0x18], 0x220
mov eax, 0x80000000
mov dword [esp + 0x14], eax
mov eax, 0x80000000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], str.Windows_Example
mov dword [esp + 4], 0x402000
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 4], 0x1f5
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_LoadMenuA
sub esp, 8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.USER32.dll_SetMenu
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
je 0x401437
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sub.USER32.dll_DispatchMessageA
sub esp, 4
jmp 0x4013fd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
leave
ret 0x10
Function at 0x401630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00401b90
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401668
jmp 0x401706
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x401667
cmp cl, 0x22
je 0x4016c0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4016e0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4016e0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4016a0
jmp 0x4016e0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4016c0
cmp cl, 0x22
je 0x401742
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x401700
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x4016f0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x401724
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4016e0

Function at 0x401e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x4103c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4750bb
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.004696fe
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410442
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00467060
mov eax, dword [eax]
push 0x563200
push eax
call fcn.00459314
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00469989
test bl, bl
je 0x410442
push 0x563200
lea ecx, [esp + 0xc]
call fcn.00469d19
push 0x566d7c
lea ecx, [esp + 0xc]
call fcn.00469d19
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 0x41047e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00469989
jmp 0x410549
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 0x410502
lea edx, [esp + 0x7c]
push 0x566d78
push edx
call fcn.00459314
add esp, 8
test eax, eax
je 0x410502
lea eax, [esp + 0x7c]
push 0x566d74
push eax
call fcn.00459314
add esp, 8
test eax, eax
je 0x410502
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 0x410492
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.00469989
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 0x410d40
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 0x410da2
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