joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x43961e
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x43960d
jg 0x439588
test edx, edx
je 0x43960d
call fcn.00432b70
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x4395d6
jg 0x43959e
test esi, esi
je 0x4395d6
cmp ebx, eax
jg 0x4395ad
jl 0x4395a8
cmp edi, esi
jae 0x4395ad
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004dedf0
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4395fa
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x439607
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x439588
jl 0x439607
test edi, edi
jne 0x439588
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test edx, edx
je 0x439642
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x439647
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, edx
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], edx
test edi, edi
jl 0x4396a6
jg 0x43965a
test esi, esi
je 0x4396a6
test edx, edx
jl 0x4396a1
jg 0x439664
test eax, eax
je 0x4396a1
cmp edi, edx
jg 0x439676
jl 0x43966e
cmp esi, eax
jae 0x439676
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.004dedf0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add ebx, edx
mov ecx, dword [ebp - 4]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x4396a9
mov ebx, dword [ebp + 8]
jmp 0x4396b3
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x4396cc
jg 0x4396b3
test esi, esi
je 0x4396cc
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4396cc
push eax
push esi
push 1
push ebx
call fcn.004e52e2
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a1a60
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x5a8314]
xor eax, esp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4a1b3a
lea eax, [esp + 4]
push eax
push edi
push 2
call fcn.004ba0d0
add esp, 0xc
test eax, eax
jne 0x4a1b3a
lea eax, [esp + 8]
push eax
push edi
push 0x17
call fcn.004ba0d0
add esp, 0xc
test eax, eax
jne 0x4a1b3a
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a1ab5
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.004ba0a0
add esp, 0xc
test eax, eax
je 0x4a1ae9
sub eax, edi
push eax
push 0x2e
push edi
call fcn.004ba0a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4a1aeb
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [esi + edi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x4a1b24
mov al, byte [edi]
push eax
call fcn.004ae090
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x4a1b03
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00496b5c
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
xor ecx, esp
call fcn.00496b5c
add esp, 0x18
ret
Function at 0x4ab1d0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x610], 0
je 0x4ab214
push esi
push 1
push edi
call fcn.0049da50
push dword [edi + 0x5a4]
mov eax, dword [edi + 0x610]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0049da50
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x4ab24d
push dword [edi + 0x5a0]
lea eax, [eax + eax*2]
push 1
add eax, 0x589f34
push 2
push eax
call fcn.004e52e2
push dword [edi + 0x5a0]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004e52e2
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x4de820
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x5a8334]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4de847
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x4de892
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x4de896
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4de8f6
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x4de8b5
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4de927
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x5941fe
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x5941ff
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4de900
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4f8d72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f8be8

Function at 0x507330
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x50735d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x50735d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5b1bf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x5b1d52
cmp edi, esi
je 0x5b1d52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x5b1d42
add edi, 4
jmp 0x5b1ca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x5b1cb8
mov dword [ebp - 4], 2
jmp 0x5b1cd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x5b1ccf
mov dword [ebp - 4], 1
jmp 0x5b1cd9
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 0x5b1d52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x5b1d10
mov byte [ecx + 2], 0x3d
jmp 0x5b1d1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x5b1d2c
mov byte [ecx], 0x3d
jmp 0x5b1d32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x5b1ca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
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
Function at 0xa34180
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa341bf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa4c734
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a4c3b1

Function at 0xa52de5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a52c5b

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x713f71
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 3]
call 0x713f71
sbb ecx, dword [eax - 0x14fcdb9c]
dec edx
lea esp, [esp]
mov word [esp + 6], bx
mov byte [esp + 3], dh
lea esp, [esp + 3]
jmp 0x713f99
mov dword [esp + 0x28], ebp
call fcn.00713fe8

Function at 0x713fa2
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x70e156
call fcn.0070e15b
push dword [esp + 4]
push dword [esp + 6]
pop dword [esp + 8]
jmp 0x714812
je 0x71401d
sub eax, 0x10000
jmp 0x71407a
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x70df58
jne 0x713ff8
pop esi
fisttp qword [ebp + 0x14]
out 7, eax
test al, 0x2e
mov esp, 0xbadf36db
inc ebx
sal dword [esi + reloc.RASAPI32.dll_RasHangUpA], cl
lcall 0x21b1, 0x36e20cfd
inc eax
mov bl, 0x58
cmp byte [edx + 0x50b24720], dh
cmp dh, byte [edi + 0x18b14227]
and byte [eax + 0x7ca8593e], ch
dec esi
lds edx, [ebp + 0x3c]
iretd
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x713ff6
call 0x714299
pop eax
jmp 0x714077
mov eax, dword [eax + 8]
push eax
jmp 0x714294
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x7143d1
push word [esp + 0x17]
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
mov eax, dword fs:[0x30]
jmp 0x7144ea
lea esp, [esp + 2]
mov dword [esp + 0x50], esi
push edx
pushal
mov word [esp + 0x18], bx
push word [esp + 0x21]
jmp 0x71451e
pop dword [esp + 2]
mov word [esp + 4], di
push dword [esp + 6]
mov dword [esp + 7], ecx
pushal
mov dword [esp + 0x1f], eax
jmp 0x7147ce

Function at 0x713fe8
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
mov word [esp], bx
call fcn.00713fa2
Function at 0x754395e7
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1005
push dword [ebp + 8]
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x24], 0xf000
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x28]
pop edi
leave
ret 8

Function at 0x75439633
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1006
push dword [ebp + 8]
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x24], 0xf000
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
leave
ret 0xc

Function at 0x7543972e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x75479168]
push edi
push 0xd
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x63c]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 0x1004
lea eax, [ebp - 0x604]
push edx
mov dword [ebp - 0x608], edx
mov dword [ebp - 0x63c], 5
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x61c], edi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov dword [ebp - 0x638], eax
push 0x300
lea eax, [ebp - 0x604]
push eax
call fcn.75447c06
test eax, eax
je 0x75439817
push esi
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
mov dword [ebp - 0x624], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 9
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
je 0x75439816
lea eax, [esi + 8]
mov dword [esi], eax
push ebx
mov dword [ebp - 0x61c], esi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 0xc], edi
mov eax, dword [ebp + 8]
je 0x754397ed
inc eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x63c]
push eax
push dword [ebp - 0x608]
call fcn.75471987
push dword [ebp + 8]
push dword [ebp - 0x638]
push dword [ebp - 0x608]
call fcn.75439633
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.75431a20
leave
ret 8
Function at 0x75439a6a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 0xd
pop ecx
xor ebx, ebx
push ebx
push ebx
xor eax, eax
push 0x1004
push dword [ebp + 8]
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x24], 0xf000
call edi
mov esi, eax
dec esi
js 0x75439ace
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x1005
push dword [ebp + 8]
mov dword [ebp - 0x30], esi
dec esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x75439ad7
cmp esi, ebx
jge 0x75439aa6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x75439ad0

Function at 0x75439b66
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
pop ecx
xor eax, eax
push eax
push eax
push 0x1004
push dword [ebp + 0xc]
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
pop edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 4
js 0x75439bbe
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
call int.75471bcd
test eax, eax
je 0x75439bb9
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x75439bc4
dec dword [ebp - 0x30]
jns 0x75439b97
xor eax, eax
leave
ret 8
xor eax, eax
inc eax
jmp 0x75439bc0
Function at 0x75467929
Capabilities:
Encode data using xor

Disassembly:
call 0x7ab16ca9
push 0x2bdc21bd
jmp 0x303c8c65
and al, 0x1b
jno 0x7546785d
xchg edx, eax
mov al, byte [0xea02d91e]
push ss
in al, 0x8d
mov dl, 0x1c
scasb al, byte es:[edi]
insd dword es:[edi], dx
mov byte [edx + 0x3fb960da], 0x44
add edi, dword [edx + 0x6b]
salc
retf 0x7d98
in al, dx
jno 0x7546793b
loopne 0x75467906
sub dh, dl
cmp al, 0x10
jecxz 0x7546792c
sbb bh, byte [ecx]
and eax, 0xf453020b
cmpsb byte [esi], byte es:[edi]
inc ebx
test eax, 0x399cf707
outsd dx, dword [esi]
pop ss
mov dword [edx + eax*4], edi
ror dword [esi + 1], 1
aad 0x8e
inc esp
adc ah, al
mov byte [0x5339a891], al
xchg ecx, eax
test al, 0x39
push ebx
pop ebp
jne 0x754678ba
in al, dx
out dx, eax
clc
invalid
jge 0x7546797e
add al, 0x51
push ecx
jmp 0x754678df
sahf
cmp ebp, dword [esi - 0x3ba08e86]
mov esi, 0x345e83aa
iretd
sub dword [edi], ecx
arpl ax, si
sal bh, 1
add ch, byte [edi + 0x72336204]
xchg bl, bl
movsd dword es:[edi], dword [esi]
fild dword [edi + 0x7f]
lodsd eax, dword [esi]
popal
xchg ecx, eax
or ch, bl
test al, 0xbe
push ebp
cwde
sbb edi, ecx
adc eax, 0xe4ac8882
mov ch, 0xb2
movsb byte es:[edi], byte [esi]
adc byte [edx], dh
xor bl, byte [ecx]
cmp eax, edx
rcr dword [edi - 5], 0xee
rol dword [ebx + 0x3c49275e], 1
movsb byte es:[edi], byte [esi]
wait
xchg esp, eax
dec edi
mov byte [ecx + ebx*8 + 0x5e156f6c], 0x27
js 0x754679a2
push 0x27
mov dword [ebx - 0x29], eax
pop ebp
aam 0x6e
pop edx
lds edx, [edi]
add ecx, dword [ebp + 0x65c305ac]
fmul st(4), st(0)
jle 0x7546799d
pop es
inc edi
fcomi st(4)
pop esi
mov esp, dword [edi + 0x59]
cli
int 0x51
leave
in al, dx
cmp al, 0x50
out 0x95, al
mov esp, 0xa3c62e52
popal
sub cl, byte [eax - 0x6ec8962b]
and dword [esi - 0x30], 0x536a4694
xlatb
or al, 0xa6
or eax, 0x73764e69
retf
Function at 0x7546f163
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x75479168]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
lea edx, [ebp - 0x30]
push edx
push 1
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x7546f219
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push edi
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x7546f210
mov eax, dword [ebp - 0x34]
dec eax
je 0x7546f1df
sub eax, 3
jne 0x7546f209
cmp dword [ebp - 0x2c], 4
jne 0x7546f209
xor eax, eax
cmp dword [ebp - 0x24], eax
setne al
mov esi, eax
jmp 0x7546f210
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x7546f209
shr eax, 1
cmp byte [ebp + eax - 0x25], 0
jne 0x7546f209
lea eax, [ebp - 0x24]
push eax
push 0x7546f234
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
jmp 0x7546f210
mov dword [ebp - 0x28], 0xb
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x7546f21f
mov dword [ebx], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
call fcn.75431a20
leave
ret 0x14

Function at 0x75473907
Capabilities:
Encode data using xor

Disassembly:
push esi
cli
invalid
loope 0x75473855
invalid
pop es
mov esp, 0x4fd490e8
push edi
pushfd
xor eax, 0x159c19a2
mov byte [0xa4159c19], al
loop 0x754738c8
or al, 0xba
lock sbb byte [ecx + 0x60630186], al
invalid
xchg byte [ecx], al
arpl word [eax + 0x5d], sp
jae 0x75473888
mov eax, 0x443c3d19
outsb dx, byte gs:[esi]
cdq
in al, 0x9f
jae 0x75473933
mov eax, dword [ebx]
sbb al, 0x9f
mov esi, 0x5b158812
add ch, byte [ebp + 0x71338ec1]
invalid
xor esi, dword [ecx - 0x7a]
ret
dec eax
salc
xor byte [edx - 0x4d], al
mov edx, 0x7914b7c9
leave
mov bh, 0x14
jns 0x75473992
invalid
mov byte [0xc1ad025b], dl
fistp dword [ebx - 0x38]
pop esp
or eax, 0x8ec6416e
dec ebp
pop ecx
sbb esi, dword [edi + 0x4c764d76]
push ss
inc ebx
pop es
test esp, ecx
clc
fldenv [esi + 0xbe32bbd]
in eax, dx
invalid
sub esp, ebx
or ebp, ebp
pushal
jb 0x75473993
js 0x7547391f
dec ebx
mov esp, 0xdedd38d1
inc ebp
lds esp, [0xbf441971]
cmp ch, bl
fiadd word [ebp - 0x3b]
and eax, 0xbf441971
jae 0x75473976
out dx, al
ror dl, cl
dec edi
les ebp, [edi + 0x6a7f8c6f]
inc ebp
invalid
xor edi, eax
push ecx
pop ebx
xor dword [edi + ebx*8], ebp
mov dword [esi + 0x1a372ba6], esp
ret 0xa6cd
mov cl, 0xfe
adc eax, 0xb80dac3b
pop ebp
pop es
xor eax, 0x1a772e03
cmp bh, bh
jb 0x75473979
push eax
adc byte [ebp - 0xf], ch
fmul st(5)
invalid
Function at 0x402adc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404604
test esi, esi
jne 0x402b12
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004046f4
jmp 0x402b30
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f0
mov edi, eax
test esi, esi
je 0x402b30
cmp dword [ebx], 0
je 0x402b30
dec esi
jmp 0x402b19
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030e0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x491008], 0x8088405
inc edx
mov dword [ebx + 0x491008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x491024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403738
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403718
xor eax, eax
push ebp
push 0x403711
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403754
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403718
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x491024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x491024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49404c], 0
je 0x404465
cmp word [0x494220], 0xd7b2
jne 0x40442d
cmp dword [0x494228], 0
jbe 0x40442d
mov eax, 0x49421c
call dword [0x494238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x491074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40448c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x491034], 0
jne 0x404481
push 0
push 0x49106c
push 0x491074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4045b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027b4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49404d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404580
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc