joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0185
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52910c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
mov dword [ebp - 0x10], 0x531280
mov dword [0x531280], 0x50d298
mov dword [0x531294], 0
mov dword [0x531298], 0
mov dword [0x53129c], 0
mov dword [0x5312a0], 0
mov dword [0x5312a4], 0
call fcn.004a1864
add esp, 4
mov dword [0x531294], eax
test eax, eax
je 0x47bb50
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [0x531294]
mov dword [eax], 0x531294
push 0x5312a8
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push 8
mov dword [0x531290], eax
call fcn.004a1864
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
push 0
mov byte [ebp - 4], 2
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047c000
push 0
push 0
push 1
mov dword [esi], eax
mov byte [ebp - 4], 1
push 0
mov dword [0x53128c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0xffffffffffffffff
mov dword [0x531288], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
xor esi, esi
mov dword [0x531284], eax
cmp dword [0x531290], esi
jbe 0x47bc3a
nop dword [eax]
push 0
push 0
push 0x531280
push 0x47c030
push 0
push 0
call fcn.004cc9f0
mov edi, dword [0x53128c]
add esp, 0x18
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov ebx, dword [edi]
push eax
push dword [ebx + 4]
push ebx
call fcn.0047c2c0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x47bc53
lea ecx, [eax + 1]
inc esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
cmp esi, dword [0x531290]
jb 0x47bbe0
mov eax, 0x531280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0049e24e
int3

Function at 0x47cd60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x47cd79
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x47cdb6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x47cdb2
nop word [eax + eax]
cmp esi, edx
jae 0x47cdb6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x47cda0
cmp esi, edx
jb 0x47cdbd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x47d570
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0340
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x52910c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.0047d890
push ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0047e4f0
add esp, 4
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d5da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0047efc0
mov edi, eax
add esp, 4
test edi, edi
jne 0x47d5f3
xor esi, esi
jmp 0x47d6e7
push edi
mov edx, 0x47f400
lea ecx, [ebp - 0x24]
call fcn.0047e250
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
movups xmm0, xmmword [edi + 0x38]
push esi
movups xmmword [ebp - 0x34], xmm0
call fcn.0047d890
push 0
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x47d657
lea ecx, [edx - 1]
test ecx, ecx
js 0x47d71a
cmp ecx, edx
jg 0x47d71a
cmp word [eax + ecx*2], 0x5c
je 0x47d657
push 0x509d60
lea ecx, [ebp - 0x10]
call fcn.0047d840
xor esi, esi
cmp dword [ebp - 0x30], esi
jb 0x47d6bc
mov ebx, dword [ebp - 0x34]
ja 0x47d670
test ebx, ebx
je 0x47d6b9
nop word [eax + eax]
mov edx, dword [ebp - 0x10]
mov ecx, edi
call fcn.0047d170
test eax, eax
je 0x47d72c
mov ecx, dword [ebp - 0x30]
add ebx, 0xffffffff
mov eax, esi
adc ecx, 0xffffffff
cdq
cmp edx, ecx
ja 0x47d6a7
jb 0x47d698
cmp eax, ebx
jae 0x47d6a7
mov ecx, edi
call fcn.0047f9e0
test eax, eax
jne 0x47d72c
inc esi
mov eax, esi
cdq
cmp edx, dword [ebp - 0x30]
jb 0x47d724
ja 0x47d6b9
mov ebx, dword [ebp - 0x34]
cmp eax, ebx
jb 0x47d670
or ebx, 0xffffffff
mov esi, 1
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d6df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.0047e2e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47d706
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0047cc70
mov ebx, dword [ebp - 0x34]
jmp 0x47d670
xor esi, esi
or ebx, 0xffffffff
jmp 0x47d6c1
Function at 0x480540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
nop
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp - 4], edx
cmp dword [edi + 0x6c], eax
jb 0x4805cf
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.004ba6a0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x48059f
sub eax, esi
jmp 0x4805a1
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x480590
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x4805c0
sub eax, esi
jmp 0x4805c2
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x4805b1
mov edx, dword [ebp - 4]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x480703
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x4805fc
xor eax, eax
jmp 0x48064f
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x480619
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.00484550
jmp 0x480631
cmp eax, 2
jne 0x480637
mov edx, dword [ebx]
test edx, edx
jne 0x480628
xor eax, eax
jmp 0x480634
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.00481130
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebp - 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.004ba6a0
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x480677
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x48068b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x480550
mov edx, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp edx, ecx
jae 0x480703
mov esi, dword [edi + 0x6c]
add esi, ebx
cmp edx, esi
jae 0x4806d3
sub ecx, esi
mov eax, 0x102
cmp ecx, eax
cmova ecx, eax
mov eax, dword [edi + 0x38]
push ecx
add eax, esi
mov dword [ebp - 8], ecx
push 0
push eax
call fcn.004bac20
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, esi
mov dword [edi + 0x16c0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x102]
cmp edx, eax
jae 0x480703
mov eax, dword [edi + 0x38]
sub esi, edx
sub ecx, edx
add esi, 0x102
cmp esi, ecx
cmova esi, ecx
add eax, edx
push esi
push 0
push eax
call fcn.004bac20
add esp, 0xc
add dword [edi + 0x16c0], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481110
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x48111b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00481130
Function at 0x4a4aa1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4d6f1d
Capabilities:
Read file on windows

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

Function at 0x4dc234
Capabilities:
Set environment variable

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

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d293b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xa4]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004012c0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x5d9330
lea ecx, [ebp - 0x38]
call fcn.004012c0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00401ab0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
call fcn.00401360
mov esi, esp
push eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x5d932c
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.005b3c10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00401320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401320
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xa4
cmp ebp, esp
call fcn.005b3c10
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4011b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d296b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xa4]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004012c0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x5d9330
lea ecx, [ebp - 0x38]
call fcn.004012c0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00401ab0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
call fcn.00401360
mov esi, esp
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.005b3c10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00401320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401320
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xa4
cmp ebp, esp
call fcn.005b3c10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [0x604820], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x6047b4
push 0x604750
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x60481c], eax
cmp dword [0x60481c], 0
jne 0x404c15
xor eax, eax
jmp 0x404cbc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x60481c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [0x604820]
push ecx
push 0xddd7
mov edx, dword [0x60481c]
push edx
push 0x14
push 0x64
push 0x244
push 0xd2
push 0x50000001
push str.Run_Tools
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x603d18], eax
push 0
push 0
push 0x10
mov eax, dword [0x603d1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x44
push 0x2da
push 0x384
push 0
push 0
push 1
mov ecx, dword [0x60481c]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 4], 1
lea edx, [ebp - 4]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00404cd0
mov eax, dword [0x60481c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x414ddc
mov ecx, dword [ebp + 0xc]
shr ecx, 3
jecxz 0x414dda
mov esi, dword [ebp + 8]
movq mm2, qword [str.Build100]
movq mm0, qword [esi]
pxor mm0, mm2
movq mm1, mm0
psllq mm0, 0x3d
psrlq mm1, 3
por mm0, mm1
movq qword [esi], mm0
add esi, 8
loop 0x414dbe
emms
cmp dword [ebp + 0xc], 0
je 0x414e7f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
and edx, 0xf
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
ja case.0x414dfb.3
mov eax, dword [ebp - 0xc]
jmp dword [eax*4 + 0x414e8b]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00413de0
mov dword [ebp - 8], eax
jmp 0x414e72
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00413f50
mov dword [ebp - 8], eax
jmp 0x414e72
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004140a0
mov dword [ebp - 8], eax
jmp 0x414e72
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00414210
mov dword [ebp - 8], eax
jmp 0x414e72
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004147f0
mov dword [ebp - 8], eax
jmp 0x414e72
mov dword [ebp - 8], 0xf0000000
cmp dword [ebp - 8], 0
je 0x414e7a
jmp 0x414e7f
jmp 0x414ddc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x414efc
mov ecx, dword [ebp + 0xc]
shr ecx, 3
jecxz 0x414efa
mov esi, dword [ebp + 8]
movq mm2, qword [str.Build100]
movq mm0, qword [esi]
pxor mm0, mm2
movq mm1, mm0
psllq mm0, 0x3d
psrlq mm1, 3
por mm0, mm1
movq qword [esi], mm0
add esi, 8
loop 0x414ede
emms
cmp dword [ebp + 0xc], 0
je 0x414fa7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
and edx, 0xf
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
ja case.0x414f1b.3
mov eax, dword [ebp - 0xc]
jmp dword [eax*4 + 0x414fb3]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00413de0
mov dword [ebp - 8], eax
jmp 0x414f9a
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00413f50
mov dword [ebp - 8], eax
jmp 0x414f9a
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004140a0
mov dword [ebp - 8], eax
jmp 0x414f9a
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00414400
mov dword [ebp - 8], eax
jmp 0x414f9a
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004147f0
mov dword [ebp - 8], eax
jmp 0x414f9a
mov dword [ebp - 8], 0xf0000000
cmp dword [ebp - 8], 0
je 0x414fa2
jmp 0x414fa7
jmp 0x414efc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4154c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x50
call fcn.0048a090
mov ecx, eax
call fcn.00594960
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
and edx, 0xffff
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
shr eax, 0x10
push eax
push str.__d__d__d_
mov ecx, dword [ebp + 0xc]
sub ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005b6070
add esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov byte [eax - 1], 0
cmp dword [ebp - 0xc], 0
je 0x415606
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
cmp edx, dword [ebp + 0xc]
jbe 0x41557e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x415574
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.004159e0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 8]
mov dword [ecx + 0x10], edx
jmp 0x415548
mov eax, 0xfffffffc
jmp 0x41568b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0xc
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
push eax
call fcn.005b4f00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
cmp eax, dword [ebp + 0xc]
jbe 0x4155e6
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x4155dc
mov edx, dword [ebp - 8]
add edx, 0x10
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.004159e0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
jmp 0x4155b0
mov eax, 0xfffffffc
jmp 0x41568b
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0x3b
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x415531
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 7
test ecx, ecx
je 0x41563b
mov edx, dword [ebp - 0x10]
and edx, 7
mov eax, 8
sub eax, edx
push eax
push 0x5da454
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.005b4f00
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0x10]
add eax, 7
and al, 0xf8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x415688
mov ecx, dword [ebp - 0x10]
shr ecx, 3
jecxz 0x415686
mov esi, dword [ebp + 8]
movq mm2, qword [str.Build100]
movq mm0, qword [esi]
movq mm1, mm0
psllq mm0, 3
psrlq mm1, 0x3d
por mm0, mm1
pxor mm0, mm2
movq qword [esi], mm0
add esi, 8
loop 0x41566a
emms
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x430240
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d39f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [ebp - 0x10]
add edx, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.0043a320
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0043a320
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.0043a280
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.0043a280
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0043a280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430dd0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0
push 0
push 0x80
push 3
push 0
push 0
push connect
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x430e27
lea ecx, [ebp - 0x10]
push ecx
push str.No_File
mov ecx, dword [ebp + 8]
call fcn.004012c0
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
jmp 0x430eca
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [edx], eax
cmp dword [ebp - 8], 0
jne 0x430e6e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x14]
push edx
push 0x5d932c
mov ecx, dword [ebp + 8]
call fcn.004012c0
mov eax, dword [ebp - 0x20]
or al, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
jmp 0x430eca
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.005b4560
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.004012c0
mov ecx, dword [ebp - 0x20]
or ecx, 1
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret