joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f54
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x425100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42512d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42511e
and ecx, 3
je 0x425145
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x425132
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x425150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x425189
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x425171
pop esi
and esi, 3
je 0x4251ae
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42518f
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4251b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x4251e4
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x4251d5
and ecx, 3
je 0x4251fc
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x4251e9
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x425204
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x425210
pop edi
pop ebx
ret
Function at 0x425b2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00425784
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x91fc6b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x425bda
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x425b87
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x425c28
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402ca0
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x425c52
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x425c52
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x425c42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x91fc72
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00425920
ret

Function at 0x434434
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x434488
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x9e5780]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x9e5b80]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x9e5f80]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x9e6380]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x434443
pop edi
pop esi
pop ebx
ret
Function at 0x455d0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x455d12
ret

Function at 0x4602ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x95a45d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x95a474
call fcn.004047c8
mov eax, ebx
call fcn.00423a60
mov edi, eax
dec edi
test edi, edi
jl 0x460364
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423a34
mov edx, dword [0x96e5f0]
call fcn.00403730
test al, al
je 0x460360
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423a34
lea edx, [ebp - 0x14]
call fcn.004946b8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b6c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040483c
inc esi
dec edi
jne 0x460312
mov al, byte [0x95a478]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x95a484
mov eax, dword [ebp - 0xc]
call fcn.0040ec34
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404544
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004946b8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x95a474
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004946b8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x95a474
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x95a474
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x95a490
call fcn.0040a794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x95a464
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x14]
call fcn.004044ac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044d0
ret
Function at 0x49c518
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x9f8540]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x9966f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004946e8
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00495910
mov eax, dword [esi]
call fcn.0048303c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49c58a
mov eax, dword [esi]
call fcn.0048303c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00483048
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49c5ae
mov eax, dword [esi]
call fcn.00483048
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00483030
cmp eax, dword [ebp - 0x18]
jle 0x49c5c4
mov eax, dword [esi]
call fcn.00483030
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00483024
cmp eax, dword [ebp - 0xc]
jle 0x49c5da
mov eax, dword [esi]
call fcn.00483024
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call fcn.00407bd0
call fcn.00407130
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49c6a1
mov eax, ebx
call fcn.0040477c
cmp eax, 0x64
jge 0x49c6a1
cmp dword [0x9f2450], 0
je 0x49c6a1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407c20
cmp dword [ebp - 8], 0
je 0x49c6a1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407c20
cmp dword [ebp - 8], 0
je 0x49c664
mov bl, 2
jmp 0x49c67f
lea edx, [ebp - 0x20]
mov eax, dword [0xa0083c]
call fcn.0049f7b0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49c67d
xor ebx, ebx
jmp 0x49c67f
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x9f2558]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call dword [0x9f2450]
mov eax, dword [0x9f8370]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004985d4
push 4
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call fcn.00407c18
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9966f8
call fcn.00407130
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4bd604
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov eax, dword [eax + 0x78]
add eax, ebx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x4bd694
test esi, esi
jbe 0x4bd6b7
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040a138
test eax, eax
jne 0x4bd686
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd6b7
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
jmp 0x4bd6b7
add dword [ebp - 8], 2
add edi, 4
dec esi
test esi, esi
ja 0x4bd657
jmp 0x4bd6b7
mov esi, edx
sub esi, dword [eax + 0x10]
cmp esi, dword [eax + 0x14]
jae 0x4bd6b7
mov eax, esi
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd6b7
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c828c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x550e3b
jmp 0x4c8070

Function at 0x4c82ac
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54cf95
jmp 0x4c2154

Function at 0x4c8354
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54ed6a
jmp 0x4c73a4

Function at 0x4c835c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x546e5d
jmp 0x4c73ac

Function at 0x4c8364
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x550170
jmp 0x4c7620

Function at 0x4c836c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54cbf1
jmp 0x4c7c44
Function at 0x4cfaf4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x9c9d05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404bc8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4cfb2f
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4cfb48
lea eax, [ebp - 0xc]
mov edx, dword [0x9f8514]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404c28
jmp 0x4cfb5b
lea eax, [ebp - 0xc]
mov edx, dword [0x9f8514]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404c28
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x4cfb67
adc edx, 0
mov edx, dword [edx*4 + 0x9f6d54]
call fcn.00404e34
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00404e18
push eax
call fcn.00406e88
mov esi, eax
cmp esi, 0xffffffff
je 0x4cfcd7
mov eax, 0x40
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4cfcca
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.004072c0
mov eax, edi
call fcn.00402ab0
mov eax, 0x18
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4cfcca
add eax, 4
cmp byte [ebp - 1], 0
je 0x4cfc6e
cmp word [eax], 0x8664
jne 0x4cfc6e
mov eax, edi
call fcn.00402ab0
mov eax, 0xf0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cfcca
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
jmp 0x4cfcca
cmp byte [ebp - 1], 0
jne 0x4cfcca
cmp word [eax], 0x14c
jb 0x4cfcca
cmp word [eax], 0x150
ja 0x4cfcca
mov eax, edi
call fcn.00402ab0
mov eax, 0xe0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cfcca
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
mov eax, edi
call fcn.00402ab0
push esi
call fcn.00406e40
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404f44
jne 0x4cfcef
inc ebx
cmp ebx, 0x19
jne 0x4cfb21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9c9d0c
lea eax, [ebp - 0xc]
inc ebp
hlt
call fcn.00404bc8
ret
Function at 0x5033d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004fee94
xor ebx, ebx
cmp dword [0x52e0c0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5034a6
push 0x52af10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x503586
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x52af04
push edi
call esi
cmp eax, ebx
je 0x503586
push eax
call fcn.004fee26
mov dword [esp], 0x52aef4
push edi
mov dword [0x52e0c0], eax
call esi
push eax
call fcn.004fee26
mov dword [esp], 0x52aee0
push edi
mov dword [0x52e0c4], eax
call esi
push eax
call fcn.004fee26
mov dword [0x52e0c8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004fdc50
test eax, eax
pop ecx
pop ecx
je 0x503474
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ff700
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5034a6
push 0x52aec4
push edi
call esi
push eax
call fcn.004fee26
cmp eax, ebx
pop ecx
mov dword [0x52e0d0], eax
je 0x5034a6
push 0x52aeac
push edi
call esi
push eax
call fcn.004fee26
pop ecx
mov dword [0x52e0cc], eax
mov eax, dword [0x52e0cc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x50352b
cmp dword [0x52e0d0], ecx
je 0x50352b
push eax
call fcn.004fee9d
push dword [0x52e0d0]
mov esi, eax
call fcn.004fee9d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x50352b
cmp edi, ebx
je 0x50352b
call esi
cmp eax, ebx
je 0x5034f8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5034f8
test byte [ebp - 0x18], 1
jne 0x50352b
lea eax, [ebp - 0x10]
push eax
call fcn.004fdc87
test eax, eax
pop ecx
je 0x503513
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ff700
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x503522
or dword [ebp + 0x10], 0x200000
jmp 0x503566
or dword [ebp + 0x10], 0x40000
jmp 0x503566
mov eax, dword [0x52e0c4]
cmp eax, dword [ebp - 8]
je 0x503566
push eax
call fcn.004fee9d
cmp eax, ebx
pop ecx
je 0x503566
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x503566
mov eax, dword [0x52e0c8]
cmp eax, dword [ebp - 8]
je 0x503566
push eax
call fcn.004fee9d
cmp eax, ebx
pop ecx
je 0x503566
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52e0c0]
call fcn.004fee9d
cmp eax, ebx
pop ecx
je 0x503586
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x503588
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001160
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1002641c
push eax
mov esi, ecx
call fcn.10013081
mov ebx, eax
xor edi, edi
add esp, 8
cmp ebx, edi
je 0x10001283
mov ecx, dword [esp + 0x14]
push ebp
push edi
add ecx, 7
push ecx
push ebx
call fcn.10012f38
push ebx
push 1
push 4
push esi
call fcn.10012e91
push ebx
push 1
lea ebp, [esi + 8]
push 4
push ebp
call fcn.10012e91
mov eax, dword [ebp]
add esp, 0x2c
cmp eax, edi
je 0x100011c5
shl eax, 4
push eax
call fcn.10012b27
add esp, 4
mov dword [esi + 4], eax
mov dword [esp + 0x18], edi
cmp dword [ebp], edi
jbe 0x10001279
push ebx
push 1
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.10012e91
add esp, 0x10
cmp dword [esi], 0
je 0x100011f2
movzx eax, word [esp + 0x14]
inc eax
push eax
jmp 0x100011f9
movzx edx, word [esp + 0x14]
inc edx
push edx
call fcn.10012b27
mov ecx, dword [esi + 4]
mov dword [edi + ecx], eax
movzx edx, word [esp + 0x18]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi]
push ebx
push 1
push edx
push ecx
call fcn.10012e91
mov edx, dword [esi + 4]
movzx eax, word [esp + 0x28]
mov ecx, dword [edx + edi]
add esp, 0x14
push ebx
mov byte [eax + ecx], 0
mov edx, dword [esi + 4]
push 1
lea eax, [edx + edi + 4]
push 1
push eax
call fcn.10012e91
mov ecx, dword [esi + 4]
push ebx
push 1
lea edx, [ecx + edi + 8]
push 4
push edx
call fcn.10012e91
mov eax, dword [esi + 4]
push ebx
push 1
lea ecx, [eax + edi + 0xc]
push 4
push ecx
call fcn.10012e91
mov eax, dword [esp + 0x48]
inc eax
add esp, 0x30
add edi, 0x10
mov dword [esp + 0x18], eax
cmp eax, dword [ebp]
jb 0x100011d2
push ebx
call fcn.10012a5c
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
ret 8
Function at 0x10013098
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002eb48]
jne 0x100130a2
repz ret
jmp fcn.10019547

Function at 0x1002017e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001a985
and dword [ebp - 4], 0
cmp dword [0x10032724], 0
mov ebx, eax
jne 0x1002022f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100202e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10028ac0
push edi
call esi
test eax, eax
je 0x100202e0
push eax
call fcn.1001a913
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10032724], eax
call esi
push eax
call fcn.1001a913
mov dword [esp], 0x10028a9c
push edi
mov dword [0x10032728], eax
call esi
push eax
call fcn.1001a913
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003272c], eax
call esi
push eax
call fcn.1001a913
pop ecx
mov dword [0x10032734], eax
test eax, eax
je 0x1002022f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001a913
pop ecx
mov dword [0x10032730], eax
mov eax, dword [0x10032730]
cmp eax, ebx
je 0x10020287
cmp dword [0x10032734], ebx
je 0x10020287
push eax
call fcn.1001a98e
push dword [0x10032734]
mov esi, eax
call fcn.1001a98e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10020287
test edi, edi
je 0x10020287
call esi
test eax, eax
je 0x1002027e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002027e
test byte [ebp - 0xc], 1
jne 0x10020287
or dword [ebp + 0x10], 0x200000
jmp 0x100202c0
mov eax, dword [0x10032728]
cmp eax, ebx
je 0x100202c0
push eax
call fcn.1001a98e
pop ecx
test eax, eax
je 0x100202c0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100202c0
mov eax, dword [0x1003272c]
cmp eax, ebx
je 0x100202c0
push eax
call fcn.1001a98e
pop ecx
test eax, eax
je 0x100202c0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10032724]
call fcn.1001a98e
pop ecx
test eax, eax
je 0x100202e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100202e2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b64b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
sub ebx, ebx
add eax, 0x1e054003
call fcn.0043b693
add eax, ebx
xor dword [edx], esi
add ebx, 1
add ebx, ebx
add eax, 0xbd5667c2
add edx, 1
dec eax
add eax, 0xfdd5a100
sub ebx, 0x4e667031
cmp edx, ecx
jne fcn.0043b64b
and eax, eax
mov eax, ebx
ret
Function at 0x10001000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
cmp dword [ebp + 0xc], 1
jne 0x100010cb
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x28], eax
mov eax, 0x7d448bad
mov ecx, 0x55bbd2d3
movd xmm0, eax
mov eax, 0x1e95d86
mov ecx, 0x2ba53c76
mov esi, eax
mov dword [esp + 0x24], eax
mov edx, 0x7d448bc5
mov ebx, 0x55bbd2d3
mov edi, esp
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
pxor xmm0, xmmword [edi]
movd eax, xmm0
mov byte [esp + 0x1e], al
mov eax, 0x55bbd2d3
mov esi, 0x7d448b06
movd xmm0, esi
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0x1f], 0x10001240
pxor xmm0, xmmword [edi]
movd eax, xmm0
mov byte [esp + 0x23], al
mov esi, dword [esp + 0x28]
add esi, 0x1a6f
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x1e]
mov edx, esp
push edx
push 6
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100010da
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]