joyce8/EMBER2024-capa huggingface dataset:
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, 0x7ff598
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403599
cmp dword fs:[0xc0], eax
je 0x40349b
mov dword [0x7ff594], 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 [0x7ff47c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x7ff480], eax
movzx edx, word [esi + 0xac]
mov dword [0x7ff484], edx
mov eax, dword [esi + 0xb0]
mov dword [0x7ff488], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x4034fb
push 0x7f
push eax
push 0x7ff48c
call fcn.00402520
mov edx, dword [0x7ff484]
add esp, 0xc
jmp 0x403503
xor eax, eax
mov word [0x7ff48c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x7ff58c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x7ff58e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x7ff590], ax
mov ecx, eax
mov byte [0x7ff592], 0
cmp byte [0x7ffe0268], 0
je 0x40354a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x7ff592], bl
cmp ebx, 1
pop ebx
jne 0x403564
and ecx, 0xffef
mov word [0x7ff590], cx
test edx, edx
jne 0x403599
call fcn.00403470
cmp dword [0x7ff47c], 6
ja 0x403599
jb 0x403581
cmp dword [0x7ff480], 4
jae 0x403599
call fcn.00403470
cmp dword [0x7ff47c], 0xa
jae 0x403599
mov dword [0x7ff484], 1
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 + 0x7ff6a0]
add byte [edx + 0x7ff5a0], al
mov cl, byte [ecx + 0x7ff5a0]
add byte [edx + 0x7ff5a0], cl
inc edx
cmp edx, 0x100
jb 0x403b74
mov bl, 1
xor edx, edx
nop
movzx ecx, bl
inc bl
movzx eax, byte [ecx + 0x7ff6a0]
xor byte [edx + 0x7ff5a0], al
mov cl, byte [ecx + 0x7ff5a0]
xor byte [edx + 0x7ff5a0], 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 + 0x7ff6a0]
sub byte [edx + 0x7ff5a0], al
movzx eax, byte [edx + 0x7ff5a0]
sub al, byte [ecx + 0x7ff5a0]
mov byte [edx + 0x7ff5a0], al
inc edx
cmp edx, 0x100
jb 0x403bd0
mov bl, 1
xor eax, eax
movzx edx, bl
inc bl
movzx ecx, byte [edx + 0x7ff6a0]
xor byte [eax + 0x7ff5a0], cl
mov dl, byte [edx + 0x7ff5a0]
xor byte [eax + 0x7ff5a0], 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 + 0x7ff6a0]
add byte [edx + 0x7ff5a0], al
mov cl, byte [ecx + 0x7ff5a0]
add byte [edx + 0x7ff5a0], 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 + 0x7ff6a0]
xor byte [edx + 0x7ff5a0], al
mov cl, byte [ecx + 0x7ff5a0]
xor byte [edx + 0x7ff5a0], 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 + 0x7ff6a0]
sub byte [edx + 0x7ff5a0], al
movzx eax, byte [edx + 0x7ff5a0]
sub al, byte [ecx + 0x7ff5a0]
mov byte [edx + 0x7ff5a0], al
inc edx
cmp edx, 0x100
jb 0x403cb0
mov bl, 1
xor eax, eax
movzx edx, bl
inc bl
movzx ecx, byte [edx + 0x7ff6a0]
xor byte [eax + 0x7ff5a0], cl
mov dl, byte [edx + 0x7ff5a0]
xor byte [eax + 0x7ff5a0], dl
inc eax
cmp eax, 0x100
jb 0x403ce2
sub esi, 1
jne 0x403c47
pop esi
pop ebx
ret

Function at 0x41cbb2
Capabilities:
Execute syscall

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

Disassembly:
push ebp
mov ebp, esp
xor dword [0x4473cc], 0x3df09ade
movzx eax, word [0x46d28a]
or eax, 0xa08c8806
mov word [0x46d28a], ax
movzx ecx, word [0x46bd72]
push esi
mov esi, dword [ebp + 8]
xor ecx, 0x81b5528e
mov word [0x46bd72], cx
push esi
call fcn.00422260
movzx edx, word [0x46a200]
sub edx, 0x3905601
mov word [0x46a200], dx
mov ecx, dword [0x43dcc8]
mov edx, dword [0x43ef9c]
sar ecx, 1
xor edx, ecx
mov ecx, dword [0x43f1cc]
or ecx, edx
add esp, 4
dec eax
cmp ecx, 0xb4759204
jne 0x403f13
mov ecx, dword [0x43d9d8]
mov edx, dword [0x43fafc]
sar ecx, 5
imul edx, ecx
imul edx, edx, 0x97b2965c
mov dword [0x43fafc], edx
cmp byte [eax + esi], 0x22
jne 0x403fe9
fld dword [0x47e0fc]
mov ecx, 0xf928dafb
fld qword [0x458db0]
fsub dword [0x47be10]
fadd dword [0x47b010]
fsubp st(1)
fstp dword [0x47e0fc]
fld qword [0x458db0]
fadd qword [0x43b0b0]
fstp qword [0x458db0]
mov byte [esi], 0x22
mov dword [0x4492ec], 0x8d070ca9
mov byte [eax + esi], 0
mov edx, dword [0x43da90]
imul edx, edx, 0x11b0ead3
sub ecx, edx
or dword [0x43fd44], ecx
mov ecx, 0xdc17e68f
mov edi, edi
mov edx, dword [0x44adf0]
not edx
add edx, 0x42f7501a
xor edx, 0x924c13e5
mov word [0x46cfdc], dx
dec eax
mov dword [0x43c6fc], ecx
cmp byte [eax + esi], 0x22
jne 0x403f80
mov ecx, dword [0x44a51c]
mov edx, dword [0x43d4dc]
not ecx
or edx, ecx
or edx, 0xfe7de681
mov dword [0x43d4dc], edx
movzx ecx, word [0x46f98e]
xor ecx, 0xf555abe4
mov word [0x46f98e], cx
or dword [0x43fa74], 0x98b7ef7e
lea eax, [eax + esi + 1]
pop esi
pop ebp
ret
mov dx, word [0x46bcda]
movsx ecx, dx
and ecx, 0x92a17f8b
xor ecx, 0xce5820d9
mov dword [0x43d1e4], ecx
mov edx, 0xffffffff
add word [0x46bcda], dx
mov byte [esi], 0x20
mov ecx, dword [0x4436f8]
or ecx, 0x1f15b9f9
mov word [0x470e24], cx
mov ecx, 0x1ffffbbf
lea esp, [esp]
fld dword [0x47a4ac]
dec eax
fadd qword [0x45bd20]
fstp qword [0x45b5b0]
and dword [0x4457a8], ecx
cmp byte [eax + esi], 0x20
jne 0x404030
mov ecx, dword [0x43fb48]
push edi
mov edi, dword [0x445770]
add dword [0x43fb48], edx
add ecx, 0xe7097162
and edi, ecx
cmp edi, 0x381e034
pop edi
jge 0x404095
movzx edx, word [0x46a402]
movsx ecx, dx
movzx edx, word [0x46d99e]
imul ecx, ecx, 0x14c8d62b
movsx edx, dx
and edx, ecx
or dword [0x44b278], edx
movzx ecx, word [0x46f3ec]
imul ecx, ecx, 0x21264317
mov word [0x46f3ec], cx
or dword [0x43fa74], 0x98b7ef7e
lea eax, [eax + esi + 1]
pop esi
pop ebp
ret
Function at 0x4117d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [0x46d014]
fld1
imul eax, eax, 0x6000008a
mov word [0x46d014], ax
mov cx, word [0x470df0]
movsx edx, cx
not edx
xor edx, 0x92a0c8d8
cmp edx, 0xf9d6bca8
jne 0x411828
fld dword [0x47a768]
fmul dword [0x47e370]
fmul qword [0x44f4e0]
fstp qword [0x44f4e0]
fld dword [0x47e370]
fsub st(1)
fstp dword [0x47e370]
fld qword [0x451078]
push edi
fsub dword [0x47f338]
mov edi, dword [ebp + 8]
xor eax, eax
fstp qword [0x451078]
test edi, edi
jle 0x4119da
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ebx
fld dword [0x47ea80]
fadd dword [0x477a9c]
fstp dword [0x47ea80]
cmp dword [ecx], eax
movzx ebx, word [0x469ef8]
sbb edx, edx
imul ebx, ebx, 0x4cf4e418
mov word [0x469ef8], bx
sub dword [ecx], eax
mov eax, dword [0x43ea44]
movzx ebx, word [0x46bf52]
imul eax, eax, 0x3ce32b4e
lea eax, [ebx + eax + 0x2fdc093f]
mov word [0x46bf52], ax
neg edx
mov ebx, 1
add dword [0x43ea44], ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
sbb eax, eax
neg eax
add eax, edx
mov edx, dword [0x440e28]
imul edx, edx, 0x1ea797e0
sub dword [0x445884], edx
add dword [0x440e28], ebx
mov edx, dword [esi]
sub dword [ecx], edx
mov edx, dword [0x43da38]
imul edx, edx, 0xeb9f359a
add esi, 4
add ecx, 4
sub edi, ebx
mov dword [0x43da38], edx
jne 0x411850
test eax, eax
je 0x4119d8
mov edi, 0xbebed6b6
mov esi, 0x1028a0b
fld dword [0x4792bc]
fmul dword [0x47c244]
fstp dword [0x4792bc]
cmp dword [ecx], eax
sbb edx, edx
add dword [0x43f81c], edi
sub dword [ecx], eax
fld dword [0x47feb8]
fsub qword [0x452208]
neg edx
fld dword [0x4797cc]
fadd dword [0x47a0e4]
fcompi st(1)
fstp st(0)
jbe 0x411952
fld dword [0x4765e8]
fadd dword [0x474674]
fstp dword [0x4765e8]
jmp 0x411991
fld dword [0x475230]
fld qword [0x44ec00]
fld dword [0x4742e4]
fmulp st(2)
fld dword [0x475230]
fsub st(3)
fstp dword [0x475230]
fcompi st(1)
fstp st(0)
jb 0x411991
mov eax, dword [0x441fdc]
not eax
add eax, 0x279968de
or eax, 0x71c490b4
and dword [0x43c320], eax
fld dword [0x47c018]
add ecx, 4
fsub qword [0x462c28]
mov eax, edx
fstp dword [0x47c018]
fld qword [0x462c28]
fsub st(1)
fstp qword [0x462c28]
movzx ebx, word [0x46df12]
imul ebx, ebx, 0xf04201dc
mov word [0x46df12], bx
xor dword [0x4457fc], esi
test edx, edx
jne 0x411900
pop ebx
pop esi
fld dword [0x47c42c]
pop edi
fmul dword [0x47d5fc]
fadd dword [0x4719ac]
fstp dword [0x47879c]
fld dword [0x47d5fc]
fsub st(1)
fstp dword [0x47d5fc]
fsubr dword [0x4719ac]
fstp dword [0x4719ac]
pop ebp
ret
Function at 0x426e50
Capabilities:
Hash data with md5

Disassembly:
or edx, 0xffffffff
add dword [0x440a3c], edx
mov eax, dword [0x440a3c]
add eax, 0x6ba13ca4
and dword [0x440f0c], eax
mov dword [ecx], 0
xor dword [0x441aa4], 0x67111d70
mov dword [ecx + 4], 0
mov eax, dword [0x43c084]
not eax
cmp eax, 0xdfe77b7f
push esi
jg 0x426ea9
mov eax, dword [0x44a5c8]
movzx esi, word [0x46afd6]
and eax, 0x969d2950
sub esi, eax
mov word [0x46afd6], si
mov dword [ecx + 8], 0x67452301
fld dword [0x47da50]
fld dword [0x4719f8]
fld qword [0x466e28]
fld qword [0x454090]
fmulp st(2)
fsubrp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jnp 0x426eeb
mov eax, dword [0x4424c8]
shl eax, 4
add eax, 0x90979b11
and dword [0x442c90], eax
mov dword [ecx + 0xc], 0xefcdab89
mov eax, dword [0x43fea4]
mov esi, dword [0x43f6d8]
or eax, esi
mov dword [0x43fea4], eax
add dword [0x43f6d8], edx
mov dword [ecx + 0x10], 0x98badcfe
movzx edx, word [0x46dd82]
movsx eax, dx
movzx edx, word [0x46f2c2]
or eax, 0x893b6e35
add edx, eax
mov word [0x46f2c2], dx
mov dword [ecx + 0x14], 0x10325476
add dword [0x441c94], 0x9768cca8
pop esi
ret
Function at 0x431a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
fld dword [0x4780fc]
push esi
fsub qword [0x44fe00]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
fstp dword [0x4780fc]
call fcn.00401d50
mov ecx, edi
mov esi, eax
call fcn.00416150
cmp esi, eax
je 0x431ad8
mov edi, edi
mov ecx, dword [0x447130]
mov eax, dword [0x43f168]
shl eax, 7
sar ecx, 9
xor eax, ecx
xor dword [0x43e228], eax
mov byte [esi], 0
mov eax, dword [0x43cf10]
add eax, 0x97542f07
xor dword [0x44ac68], eax
mov ecx, edi
inc esi
call fcn.00416150
cmp esi, eax
jne 0x431aa0
fld dword [0x47eccc]
pop edi
fld dword [0x4786f4]
pop esi
fmul qword [0x468d18]
fsubp st(1)
fstp dword [0x47eccc]
pop ebp
ret
Function at 0x436530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
dec word [0x46cb62]
mov dx, word [0x46cb62]
movsx edx, dx
and edx, 0xa0aeee31
push esi
mov esi, dword [0x4412d4]
xor esi, edx
or dword [0x444008], esi
mov edx, dword [0x446244]
imul edx, edx, 0x3de0e1e
add edx, 0x96faf7e6
and dword [0x43c64c], edx
push edi
fld dword [0x479b44]
fadd dword [0x474af8]
fmul qword [0x44c420]
fstp qword [0x44c420]
add dword [0x442324], 0xa6205607
mov edx, dword [0x44abbc]
mov esi, dword [0x443180]
xor edx, esi
mov dword [0x44abbc], edx
mov edx, dword [0x43d700]
shl edx, 4
or dword [0x449700], edx
cmp dword [ebp + 0xc], 0
je 0x43660d
movzx edx, word [0x46b16a]
and edx, 0xee839d7e
mov word [0x46b16a], dx
mov byte [ecx], 0x2d
inc ecx
fld dword [0x47d04c]
neg eax
fadd qword [0x4593f8]
fadd dword [0x477454]
fmul dword [0x471b70]
fstp dword [0x471b70]
inc dword [0x44ae8c]
mov edx, dword [0x44ae8c]
xor edx, 0x6800000
mov dword [0x44660c], edx
mov edx, dword [0x43fa60]
mov esi, dword [0x43ea14]
imul edx, edx, 0x650b211b
lea edx, [esi + edx + 0x6ebd665f]
mov dword [0x43ea14], edx
mov edx, 0xfffff2bb
mov esi, ecx
mov word [0x46e7be], dx
push ebx
jmp 0x436640
fld qword [0x45eae8]
xor edx, edx
div dword [ebp + 8]
fstp qword [0x45fb60]
mov edi, dword [0x4423ec]
add edi, 0x7e52bed
or dword [0x448b88], edi
fld dword [0x476de0]
fld dword [0x476278]
fsub dword [0x47dbe0]
fsubp st(1)
fstp dword [0x476de0]
cmp edx, 9
jbe 0x4366bc
mov edi, dword [0x4480c0]
mov ebx, dword [0x442730]
add dl, 0x57
xor edi, ebx
xor edi, 0x29c3b283
mov dword [0x4480c0], edi
mov byte [ecx], dl
mov dx, word [0x46aa2e]
movsx edx, dx
not edx
and edx, 0x48c61900
inc ecx
xor dword [0x43ed94], edx
jmp 0x4366d6
and dword [0x4416d0], 0x80ad85cc
add dl, 0x30
mov byte [ecx], dl
inc ecx
mov dword [0x43e680], 0xedffc5ff
add dword [0x44900c], 0xd066298a
test eax, eax
ja 0x436640
or dword [0x4415cc], 0xb6cf7c68
mov byte [ecx], 0
fld dword [0x47ac80]
fld dword [0x47c2a4]
dec ecx
fld dword [0x47ac80]
pop ebx
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x47ac80]
fxch st(1)
fcompi st(2)
fstp st(1)
jb 0x436757
fld dword [0x479168]
fadd qword [0x4574d8]
fsub dword [0x476c7c]
fadd dword [0x4761dc]
fstp dword [0x4761dc]
fld dword [0x476c7c]
fadd st(1)
fstp dword [0x476c7c]
fadd dword [0x479168]
fstp dword [0x479168]
jmp 0x436759
fstp st(0)
mov edi, 0xdb17e825
mov edi, edi
mov eax, dword [0x444464]
mov edx, dword [0x43ed8c]
xor eax, 0xb2bbac23
or edx, eax
mov word [0x46bc66], dx
inc dword [0x444464]
mov al, byte [ecx]
and dword [0x44a5b8], edi
mov dl, byte [esi]
mov byte [ecx], dl
fld dword [0x472040]
fsub qword [0x44da58]
dec ecx
inc esi
fstp dword [0x472040]
mov byte [esi - 1], al
fld dword [0x47b900]
fsub qword [0x455b18]
fadd dword [0x47fa3c]
fstp dword [0x47fa68]
mov eax, dword [0x44a84c]
imul eax, eax, 0x29345623
sub dword [0x4498c4], eax
movzx eax, word [0x469d92]
or eax, 0xfffadffb
mov word [0x469d92], ax
cmp esi, ecx
jb 0x436760
mov eax, dword [0x43d09c]
mov ecx, dword [0x43cd24]
add eax, 0xae09945
xor eax, 0xd5688cf4
imul ecx, eax
pop edi
mov dword [0x43cd24], ecx
pop esi
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x403a81
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447bb3
call fcn.00447ac0
sub esp, 0xf4
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x487314], eax
xor ebx, ebx
cmp dword [0x487314], 0x20a
jne 0x403b11
push edi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x402c08
push ebx
push 0x402c2c
push 0x402c54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.00403040
lea eax, [ebp - 0x38]
call fcn.00403d3b
push ebx
mov dword [ebp - 4], ebx
call fcn.00404bd0
push ebx
push ebx
push ebx
call fcn.004051cd
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea edi, [ebp - 0x38]
call fcn.00403d60
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403b22
inc eax
cmp eax, 0x736251e2
jl 0x403b13
push 0x45ab08
mov byte [0x45ab0d], 0x6c
mov byte [0x45ab0f], 0x32
mov byte [0x45ab10], 0x2e
mov byte [0x45ab0b], 0x6e
mov byte [0x45ab0c], 0x65
mov byte [0x45ab11], 0x64
mov byte [0x45ab0e], 0x33
mov byte [0x45ab12], 0x6c
mov byte [0x45ab13], 0x6c
mov byte [0x45ab14], bl
mov byte [0x45ab08], 0x6b
mov byte [0x45ab09], 0x65
mov byte [0x45ab0a], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x487314]
mov dword [0x487284], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x487314]
mov dword [0x487280], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x45503c]
xor esi, esi
mov dword [0x4873ec], eax
cmp dword [0x487314], ebx
jbe 0x403c14
mov eax, dword [0x4873ec]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x487280]
mov byte [ecx + esi], al
cmp dword [0x487314], 0x44
jne 0x403c0b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalShrink]
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
inc esi
cmp esi, dword [0x487314]
jb 0x403bc5
call fcn.004039c4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403c38
call fcn.00403a5b
inc esi
cmp esi, 0x286c535
jl 0x403c1b
push 0x7b
pop esi
cmp dword [0x487314], 0xd
jne 0x403c79
push 0x30
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 0x6c], ebx
call fcn.00405d70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402c98
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec esi
jne 0x403c44
call fcn.00403a75
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4059ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454168]
jne 0x4059b5
repz ret
jmp fcn.0040c75c
Function at 0x40c8ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4120a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408830
and dword [ebp - 0x14], 0
cmp dword [0x4139d4], 0
mov dword [ebp - 0x18], eax
jne 0x40c960
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ca08
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ca08
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4139d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4139d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4139dc], eax
call edi
push eax
call esi
mov dword [0x4139e4], eax
test eax, eax
je 0x40c960
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4139e0], eax
mov eax, dword [0x4139e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c9b9
cmp dword [0x4139e4], ecx
je 0x40c9b9
push eax
call esi
push dword [0x4139e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c9b9
test ebx, ebx
je 0x40c9b9
call edi
test eax, eax
je 0x40c9b0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c9b0
test byte [ebp - 8], 1
jne 0x40c9b9
or dword [ebp + 0x10], 0x200000
jmp 0x40c9ec
mov eax, dword [0x4139d8]
cmp eax, dword [ebp - 0x18]
je 0x40c9ec
push eax
call esi
test eax, eax
je 0x40c9ec
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c9ec
mov eax, dword [0x4139dc]
cmp eax, dword [ebp - 0x18]
je 0x40c9ec
push eax
call esi
test eax, eax
je 0x40c9ec
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4139d4]
call esi
test eax, eax
je 0x40ca08
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ca0a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004054ee
leave
ret

Function at 0x40fb91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40fb91
lcall 0x5de5, 0x8b10c483
jmp loc.0096a8f8