joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401550
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [0x8150c8]
push esi
push edi
mov edi, ecx
test ebp, ebp
je 0x40167a
cmp dword [0x8150cc], 0
jne 0x401665
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], al
lea eax, [esp + 0x10]
push eax
push 0xf
push 0x4c7edc
call fcn.00403a30
push 0x200
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004018d0
mov edx, 0x7ffe0030
add esp, 0x18
xor ecx, ecx
lea esi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4015c0
sub edx, esi
sar edx, 1
je 0x40167a
mov esi, edi
lea ebx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x4015e0
sub esi, ebx
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x40167a
xor eax, eax
test edx, edx
je 0x401617
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401617
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401600
xor eax, eax
test edx, edx
je 0x401632
lea ecx, [ecx]
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401632
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401620
xor eax, eax
test edx, edx
je 0x40164f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + edi]
test bl, bl
je 0x40164f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401640
push 8
push 0
lea eax, [esp + 0x24]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push 0x800
push 0
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret
Function at 0x401aa0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x800
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x401afb
mov edi, ecx
lea edx, [edi + 2]
jmp 0x401ac0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x401ac0
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x401adc
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x418]
push eax
lea ebp, [edi + edi]
call fcn.00402520
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x410], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x401b1d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x401b96
mov esi, dword [ebx]
cmp esi, ebx
je 0x401b96
test esi, esi
je 0x401b96
cmp word [esi + 0x24], 2
jbe 0x401b90
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x401b90
cmp dword [esi + 0x18], 0
je 0x401b90
test ebp, ebp
je 0x401b45
cmp ebp, eax
jne 0x401b90
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.00402520
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x10], ax
mov eax, dword [esp + 0x818]
test eax, eax
je 0x401b6d
cmp eax, dword [esi + 0x18]
jne 0x401b90
cmp dword [esp + 0x814], 0
je 0x401ba3
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x414]
push eax
call fcn.00401bb0
add esp, 8
test eax, eax
je 0x401ba3
mov esi, dword [esi]
cmp esi, ebx
jne 0x401b23
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x800
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
Function at 0x402120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x100
lea eax, [esp]
mov dword [esp], 0x5e99e6ee
push 0x100
push eax
mov dword [esp + 0xc], 0x2eb4dee8
mov dword [esp + 0x10], 0x98173b57
mov dword [esp + 0x14], 0x50cf0b3b
mov dword [esp + 0x18], 0xc097e250
mov dword [esp + 0x1c], 0xfdaa9f5a
mov dword [esp + 0x20], 0x77a307e0
mov dword [esp + 0x24], 0x7f3be33
mov dword [esp + 0x28], 0x610961b
mov dword [esp + 0x2c], 0xa54f901e
mov dword [esp + 0x30], 0x45bb8cb7
mov dword [esp + 0x34], 0x40b4c65c
mov dword [esp + 0x38], 0x96d7708a
mov dword [esp + 0x3c], 0x33406103
mov dword [esp + 0x40], 0x9a22e759
mov dword [esp + 0x44], 0x3fbd5dec
mov dword [esp + 0x48], 0xe4b29a9b
mov dword [esp + 0x4c], 0x45938b29
mov dword [esp + 0x50], 0xea4d861e
mov dword [esp + 0x54], 0x76b368e4
mov dword [esp + 0x58], 0x502c2b7b
mov dword [esp + 0x5c], 0xa376c1ad
mov dword [esp + 0x60], 0x2e2ee29b
mov dword [esp + 0x64], 0x83277477
mov dword [esp + 0x68], 0x8e32d9f
mov dword [esp + 0x6c], 0x163bf7d5
mov dword [esp + 0x70], 0x2cb1a719
mov dword [esp + 0x74], 0x4a3f1845
mov dword [esp + 0x78], 0xf8b30630
mov dword [esp + 0x7c], 0xed4587d6
mov dword [esp + 0x80], 0x293d4e2d
mov dword [esp + 0x84], 0xe9001ea4
mov dword [esp + 0x88], 0xf472c626
mov dword [esp + 0x8c], 0xf87e66b6
mov dword [esp + 0x90], 0xad89dff9
mov dword [esp + 0x94], 0xdc2f752b
mov dword [esp + 0x98], 0x80c44910
mov dword [esp + 0x9c], 0xfd3ee382
mov dword [esp + 0xa0], 0x414c92e7
mov dword [esp + 0xa4], 0x40337bc3
mov dword [esp + 0xa8], 0x9c3b8026
mov dword [esp + 0xac], 0x6917335
mov dword [esp + 0xb0], 0x9e7bbad9
mov dword [esp + 0xb4], 0x381bb3f5
mov dword [esp + 0xb8], 0x21be922a
mov dword [esp + 0xbc], 0xc1e6f729
mov dword [esp + 0xc0], 0xef31298a
mov dword [esp + 0xc4], 0xca215c6d
mov dword [esp + 0xc8], 0xd704b792
mov dword [esp + 0xcc], 0x3f77780c
mov dword [esp + 0xd0], 0xdddc316d
mov dword [esp + 0xd4], 0x3a3d7b30
mov dword [esp + 0xd8], 0x9dc2c1e1
mov dword [esp + 0xdc], 0xbfeecd0b
mov dword [esp + 0xe0], 0xc7b516a1
mov dword [esp + 0xe4], 0x5960cd4f
mov dword [esp + 0xe8], 0xa1dba84
mov dword [esp + 0xec], 0x979ade18
mov dword [esp + 0xf0], 0x1c1a4ee6
mov dword [esp + 0xf4], 0x11fb00d3
mov dword [esp + 0xf8], 0x3d500b2f
mov dword [esp + 0xfc], 0x20059fad
mov dword [esp + 0x100], 0x1f12ba21
mov dword [esp + 0x104], 0x90c41d97
call fcn.004039e0
push 0x4c9050
push 0x100
lea eax, [esp + 0x10]
push eax
push 0x34b800
push 0x4c9050
call fcn.004038b0
mov eax, dword [esp + 0x120]
mov dword [eax], 0x4c9050
add esp, 0x11c
ret
Function at 0x403170
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x4031bb
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x4031ab
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x403191
jmp 0x4031b0
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40320b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x4031d0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4031d0
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x4031ec
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00402520
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40322d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x4032a0
mov esi, dword [ebx]
cmp esi, ebx
je 0x4032a0
test esi, esi
je 0x4032a0
cmp word [esi + 0x24], 2
jbe 0x40329a
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x40329a
cmp dword [esi + 0x18], 0
je 0x40329a
test ebp, ebp
je 0x403255
cmp ebp, eax
jne 0x40329a
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00402520
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40327a
cmp eax, dword [esi + 0x18]
jne 0x40329a
cmp dword [esp + 0x10], 0
je 0x4032ad
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401bb0
add esp, 8
test eax, eax
je 0x4032ad
mov esi, dword [esi]
cmp esi, ebx
jne 0x403233
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x4032f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x403318
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x403326
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40333f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40334d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x403366
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x403374
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x40338d
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x40339b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x4033e2
add dword [esp], 5
retf

Function at 0x403470
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x815208
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403599
cmp dword fs:[0xc0], eax
je 0x40349b
mov dword [0x815204], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x8150ec], eax
mov eax, dword [esi + 0xa8]
mov dword [0x8150f0], eax
movzx edx, word [esi + 0xac]
mov dword [0x8150f4], edx
mov eax, dword [esi + 0xb0]
mov dword [0x8150f8], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x4034fb
push 0x7f
push eax
push 0x8150fc
call fcn.00402520
mov edx, dword [0x8150f4]
add esp, 0xc
jmp 0x403503
xor eax, eax
mov word [0x8150fc], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x8151fc], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x8151fe], ax
movzx eax, word [0x7ffe02d0]
mov word [0x815200], ax
mov ecx, eax
mov byte [0x815202], 0
cmp byte [0x7ffe0268], 0
je 0x40354a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x815202], bl
cmp ebx, 1
pop ebx
jne 0x403564
and ecx, 0xffef
mov word [0x815200], cx
test edx, edx
jne 0x403599
call fcn.00403470
cmp dword [0x8150ec], 6
ja 0x403599
jb 0x403581
cmp dword [0x8150f0], 4
jae 0x403599
call fcn.00403470
cmp dword [0x8150ec], 0xa
jae 0x403599
mov dword [0x8150f4], 1
ret
Function at 0x4038b0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push ebp
push 0x100
push 0
push eax
call fcn.004018d0
add esp, 0xc
cmp dword [esp + 0x10c], 0
je 0x4039d1
cmp dword [esp + 0x114], 0
je 0x4039d1
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x4039d1
cmp dword [esp + 0x11c], 0
push edi
je 0x4039d0
xor eax, eax
jmp 0x403910
mov byte [esp + eax + 0xc], al
inc eax
cmp eax, 0x100
jb 0x403910
mov edi, dword [esp + 0x118]
push esi
xor esi, esi
xor ebp, ebp
push ebx
lea esp, [esp]
mov eax, esi
mov bl, byte [esp + esi + 0x14]
xor edx, edx
div ecx
movzx ecx, bl
movzx eax, byte [edx + edi]
add eax, ebp
add ecx, eax
movzx ebp, cl
mov ecx, dword [esp + 0x124]
mov al, byte [esp + ebp + 0x14]
mov byte [esp + esi + 0x14], al
inc esi
mov byte [esp + ebp + 0x14], bl
cmp esi, 0x100
jb 0x403930
mov esi, dword [esp + 0x11c]
xor ebx, ebx
mov edi, dword [esp + 0x128]
mov ebp, dword [esp + 0x118]
mov dword [esp + 0x10], ebx
test esi, esi
je 0x4039ce
sub ebp, edi
lea eax, [ebx + 1]
movzx ebx, al
lea edi, [edi + 1]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + ebx + 0x14]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [esp + 0x10], eax
movzx eax, byte [esp + eax + 0x14]
mov byte [esp + ebx + 0x14], al
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x14], cl
movzx eax, byte [esp + ebx + 0x14]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x14]
xor al, byte [edi + ebp - 1]
mov byte [edi - 1], al
sub esi, 1
jne 0x403985
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x104
ret

Function at 0x4039e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x403a13
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x403a12
lea eax, [esi - 1]
test eax, eax
je 0x403a0c
jmp 0x403a00
mov cl, byte [eax + edx - 1]
xor byte [eax + edx], cl
sub eax, 1
jne 0x403a00
mov al, byte [edx + esi - 1]
xor byte [edx], al
pop esi
ret
Function at 0x403a30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x108
push ebp
mov ebp, dword [esp + 0x110]
lea eax, [esp + 0xc]
push esi
push edi
push 0x100
push 0
lea esi, [ebp + 4]
push eax
mov dword [esp + 0x1c], esi
call fcn.004018d0
add esp, 0xc
xor edi, edi
test esi, esi
je 0x403b1e
test ebp, ebp
je 0x403b1e
push ebx
mov ebx, dword [esp + 0x124]
test ebx, ebx
je 0x403b1d
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x403a80
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + ebp]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x403a90
mov esi, dword [esp + 0x120]
xor edi, edi
mov dword [esp + 0x10], edi
add esi, 0xfffffffc
je 0x403b1d
mov ebp, dword [esp + 0x14]
sub ebp, ebx
lea eax, [edi + 1]
movzx edi, al
lea ebx, [ebx + 1]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + edi + 0x18]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [esp + 0x10], eax
movzx eax, byte [esp + eax + 0x18]
mov byte [esp + edi + 0x18], al
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x18], cl
movzx eax, byte [esp + edi + 0x18]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x18]
xor al, byte [ebx + ebp - 1]
mov byte [ebx - 1], al
sub esi, 1
jne 0x403ad4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x108
ret

Function at 0x403b30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x18]
xor ecx, ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x3c]
movzx eax, word [eax + 0x38]
shr eax, 1
lea eax, [edx + eax*2]
cmp eax, edx
jb 0x403b67
mov edi, edi
cmp word [eax], 0x5c
je 0x403b5e
sub eax, 2
inc ecx
cmp eax, edx
jae 0x403b50
cmp ecx, 0xb
jae 0x403c33
push ebx
push esi
mov esi, 0xfffffffd
mov edi, edi
mov bl, 1
xor edx, edx
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
add byte [edx + 0x815210], al
mov cl, byte [ecx + 0x815210]
add byte [edx + 0x815210], cl
inc edx
cmp edx, 0x100
jb 0x403b74
mov bl, 1
xor edx, edx
nop
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
xor byte [edx + 0x815210], al
mov cl, byte [ecx + 0x815210]
xor byte [edx + 0x815210], cl
inc edx
cmp edx, 0x100
jb 0x403ba0
mov bl, 1
xor edx, edx
jmp 0x403bd0
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
sub byte [edx + 0x815210], al
movzx eax, byte [edx + 0x815210]
sub al, byte [ecx + 0x815210]
mov byte [edx + 0x815210], al
inc edx
cmp edx, 0x100
jb 0x403bd0
mov bl, 1
xor eax, eax
movzx edx, bl
inc bl
movzx ecx, byte [edx + 0x815310]
xor byte [eax + 0x815210], cl
mov dl, byte [edx + 0x815210]
xor byte [eax + 0x815210], dl
inc eax
cmp eax, 0x100
jb 0x403c02
sub esi, 1
jne 0x403b70
pop esi
pop ebx
ret
Function at 0x403c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, 0x2000000
mov bl, 1
xor edx, edx
jmp 0x403c50
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
add byte [edx + 0x815210], al
mov cl, byte [ecx + 0x815210]
add byte [edx + 0x815210], cl
inc edx
cmp edx, 0x100
jb 0x403c50
mov bl, 1
xor edx, edx
jmp 0x403c80
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
xor byte [edx + 0x815210], al
mov cl, byte [ecx + 0x815210]
xor byte [edx + 0x815210], cl
inc edx
cmp edx, 0x100
jb 0x403c80
mov bl, 1
xor edx, edx
jmp 0x403cb0
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x815310]
sub byte [edx + 0x815210], al
movzx eax, byte [edx + 0x815210]
sub al, byte [ecx + 0x815210]
mov byte [edx + 0x815210], al
inc edx
cmp edx, 0x100
jb 0x403cb0
mov bl, 1
xor eax, eax
movzx edx, bl
inc bl
movzx ecx, byte [edx + 0x815310]
xor byte [eax + 0x815210], cl
mov dl, byte [edx + 0x815210]
xor byte [eax + 0x815210], dl
inc eax
cmp eax, 0x100
jb 0x403ce2
sub esi, 1
jne 0x403c47
pop esi
pop ebx
ret

Function at 0x41a932
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x41013e
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffffa5cf, 0xffffffffffffffe6
sub al, 0x7a
xor dword [edx - 0x1c], edi
dec esi
cmp al, 0xe6
dec ecx
invalid

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417e36
mov eax, dword [0x6377c0]
test eax, eax
je 0x417e2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
Function at 0x425083
Capabilities:
Encode data using xor

Disassembly:
push esi
and eax, 0x633b7cad
movsd dword es:[edi], dword [esi]
jbe 0x4250e8
inc edi
leave
call 0x4bf8b6c7
xor al, 0xc8
hlt
cmpsb byte [esi], byte es:[edi]
stosb byte es:[edi], al
sahf
nop
imul ebp, dword [esi + 5], 0xffffff89
xchg esi, eax
cld
wait
add eax, 0x19c61a7c
fmulp st(7)
sub ebp, dword [edx*4 - 0x7bd34551]
je 0x4250f4
jl 0x425110
invalid
test byte [ecx + esi*8 - 0x74], dh
lock add dword [ecx + ebx - 0x7365d347], eax
push 0xffffffffffffff98
nop
nop
invalid
xchg ebp, eax
pop ds
neg byte [edi + 0x46573db5]
cdq
xchg edx, eax
test eax, 0x8c008509
sub al, byte [esi - 0x6bcbc1a4]
xlatb
test ecx, ebp
xor al, 0xdb
or dword [edx + 0x450ea41c], edi
lds esp, es:[edx - 0x58abe2c0]
xchg esp, eax
lea ebp, [eax - 0x6eb9a06]
out 0x30, al
arpl dx, cx
add al, 0xa
mov byte [0x4d0bf9f2], al
inc esp
aas
inc esp
pop esp
mov ch, 0xf9
xchg ebp, eax
sbb al, 0x3a
out dx, al
bound ebx, qword [edx - 0x626a297d]
push esi
mov dword [eax + edx + 0x38], esi
sbb dword [ebx + 0x7f810418], edx
adc dword [ecx + 0xd], ebx
nop
jl 0x425100
movsd dword es:[edi], dword [esi]
ret 0x2f6c

Function at 0x62a431
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x634398
cmp edx, dword [eax]
je 0x62a453
add eax, 8
inc ecx
cmp eax, 0x634428
jl 0x62a444
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x634398]
jne 0x62a581
mov eax, dword [0x638d6c]
cmp eax, 1
je 0x62a55b
test eax, eax
jne 0x62a484
cmp dword [0x6342c0], 1
je 0x62a55b
cmp edx, 0xfc
je 0x62a581
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a4bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062ae10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b2a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a4fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b2a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fd54
push edi
call fcn.0062d170
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062ae10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062ae20
lea eax, [ebp - 0xa0]
push 0x62fd34
push eax
call fcn.0062ae20
push dword [esi + 0x63439c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062ae20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d0e4
add esp, 0x2c
pop edi
jmp 0x62a581
lea eax, [ebp + 8]
lea esi, [esi + 0x63439c]
push 0
push eax
push dword [esi]
call fcn.0062b2a0
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 0x40b57d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410920
cmp edx, dword [eax]
je 0x40b59f
add eax, 8
inc ecx
cmp eax, 0x4109b0
jl 0x40b590
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410920]
jne 0x40b6cd
mov eax, dword [0xf0f8b4]
cmp eax, 1
je 0x40b6a7
test eax, eax
jne 0x40b5d0
cmp dword [0x410248], 1
je 0x40b6a7
cmp edx, 0xfc
je 0x40b6cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b607
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004088e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408ab0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b64a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408ab0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f48c
push edi
call fcn.00409000
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004088e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004088f0
lea eax, [ebp - 0xa0]
push 0x40f46c
push eax
call fcn.004088f0
push dword [esi + 0x410924]
lea eax, [ebp - 0xa0]
push eax
call fcn.004088f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d753
add esp, 0x2c
pop edi
jmp 0x40b6cd
lea eax, [ebp + 8]
lea esi, [esi + 0x410924]
push 0
push eax
push dword [esi]
call fcn.00408ab0
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 0x432003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219