joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cd1e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.005cdf0c
test byte [ebp + 0xd], 0xc0
jne 0x5cd204
mov eax, dword [0x626dc0]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x5cd211
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x5cd23e
je 0x5cd250
sub ecx, 0x100
je 0x5cd262
sub ecx, 0x100
je 0x5cd26b
sub ecx, 0x100
je 0x5cd259
jmp 0x5cd274
sub ecx, 0x600
je 0x5cd26b
sub ecx, 0x100
je 0x5cd250
jmp 0x5cd274
mov dword [ebp - 8], 1
jmp 0x5cd27b
mov dword [ebp - 8], 2
jmp 0x5cd27b
mov dword [ebp - 8], 4
jmp 0x5cd27b
mov dword [ebp - 8], 5
jmp 0x5cd27b
mov dword [ebp - 8], 3
test byte [ebp + 0xd], 1
je 0x5cd2a2
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x626838]
test al, 0x80
je 0x5cd29b
mov ebx, 0x80
jmp 0x5cd2b4
mov ebx, 1
jmp 0x5cd2b4
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5cd2b4
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x5cd2c6
je 0x5cd2cf
dec eax
je 0x5cd2d8
jmp 0x5cd2e1
mov dword [ebp - 4], SysStringLen
jmp 0x5cd2f0
mov dword [ebp - 4], 0x40000000
jmp 0x5cd2f0
mov dword [ebp - 4], 0xc0000000
jmp 0x5cd2f0
push 1
call fcn.005ce324
pop ecx
mov ebx, eax
jmp 0x5cd3f0
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x5cd30c
sub eax, 0x10
je 0x5cd310
sub eax, 0x10
je 0x5cd317
sub eax, 0x10
je 0x5cd31e
jmp 0x5cd31e
xor edi, edi
jmp 0x5cd323
mov edi, 1
jmp 0x5cd323
mov edi, 2
jmp 0x5cd323
mov edi, 3
test byte [ebp + 0xc], 4
je 0x5cd33b
cmp dword [ebp - 4], 0x80000000
jne 0x5cd339
mov edi, 1
jmp 0x5cd33b
xor edi, edi
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
and edx, 0x80
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 0xc], ecx
push 0
push ebx
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0x14]
push eax
push edi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x5cd3a9
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x5cd39e
test byte [ebp + 0xd], 1
je 0x5cd399
mov ebx, 0x50
jmp 0x5cd39e
mov ebx, 2
push ebx
call fcn.005ce324
pop ecx
mov ebx, eax
jmp 0x5cd3f0
mov edi, esi
push edi
call fcn.005cd144
pop ecx
test eax, eax
je 0x5cd3bd
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x5cd3c9
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.005ce04c
add esp, 8
mov ebx, eax
inc eax
jne 0x5cd3f0
push 4
call fcn.005ce324
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.005cdf40
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d1998
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.005cbcd8
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.005cbd88
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005cbd88
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x627aed
lea ecx, [ebp - 0x200]
push ecx
call fcn.005cbcd8
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.005cbd88
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.005d2e80
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5d1aa9
push esi
call fcn.005cbd88
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.005cbd88
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005cadd4
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5d1a80
xor eax, eax
jmp 0x5d1b30
push esi
call fcn.005cbd88
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.005cbd88
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.005cbc07
add esp, 0xc
jmp 0x5d1ae9
mov edi, dword [ebx + 0x24]
push edi
call fcn.005cbd88
pop ecx
push eax
push esi
call fcn.005cbd88
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005cbd88
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005cadf4
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5d1ae9
xor eax, eax
jmp 0x5d1b30
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005cbcd8
add esp, 8
push 0x627aef
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005cbcd8
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.005cbcd8
add esp, 8
push 0x627af1
mov edx, dword [ebx + 0x24]
push edx
call fcn.005cbcd8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d5724
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x5d5751
jmp 0x5d5788
call fcn.005d56d4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.005cbd88
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.005cbd88
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5d580c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x6281b0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5d58e6
cmp dword [0x6281ac], 0
jne 0x5d58e6
cmp dword [0x628440], 0
je 0x5d58a0
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005d51dc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5d5886
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005d51dc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5d5886
lea ebx, [ebp - 0x84]
jmp 0x5d5887
inc ebx
call fcn.005d57c4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x5d5921
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x6281b4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005cbd88
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x6281b7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x5d5921
cmp dword [0x6281ac], 0
je 0x5d5900
cmp dword [0x6281ac], 0xffffffff
je 0x5d5921
push esi
call dword [0x6281ac]
pop ecx
mov eax, dword [0x6281b0]
test eax, eax
je 0x5d5921
cmp dword [0x6281b0], 0xffffffff
je 0x5d5921
cmp byte [eax], 0
je 0x5d5921
push esi
push eax
call fcn.005d5724
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d62a8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x630a44], 0
jne 0x5d6329
cmp dword [0x630a74], 0
jne 0x5d62d8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x630a74], eax
test eax, eax
jne 0x5d62d8
push 0x62830c
call fcn.005d5938
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x630a74]
jmp 0x5d62ec
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.005cbd88
pop ecx
mov edi, eax
test eax, eax
jne 0x5d62e4
lea edi, [ebp + 1]
push edi
call fcn.005cadd4
pop ecx
mov ebx, eax
mov dword [0x630a48], ebx
test ebx, ebx
jne 0x5d6316
xor eax, eax
jmp 0x5d63ec
push edi
mov edx, dword [0x630a74]
push edx
push ebx
call fcn.005cba3c
add esp, 0xc
jmp 0x5d6349
xor esi, esi
mov ebx, dword [0x630a44]
jmp 0x5d6343
push eax
call fcn.005cbd88
pop ecx
test eax, eax
jne 0x5d633f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5d6333
lea ebx, [esi + 4]
push 4
mov dword [0x630a4c], ebx
inc ebx
push ebx
call fcn.005cad38
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x5d636c
xor eax, eax
jmp 0x5d63ec
cmp dword [0x630a44], 0
jne 0x5d639d
xor esi, esi
mov ebx, dword [0x630a48]
mov eax, dword [esp]
mov ebp, eax
jmp 0x5d638e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.005cbd88
pop ecx
mov edi, eax
test eax, eax
jne 0x5d6384
jmp 0x5d63ce
xor esi, esi
mov ebx, dword [0x630a44]
mov eax, dword [esp]
mov edi, eax
jmp 0x5d63c8
push eax
call fcn.005cbd88
pop ecx
test eax, eax
je 0x5d63bd
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5d63c1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5d63ac
mov eax, dword [0x630a44]
test eax, eax
je 0x5d63de
push eax
call fcn.005cade4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x630a44], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5d6484
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x630a54], 0
jne 0x5d6510
cmp dword [0x630a88], 0
jne 0x5d64b4
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x630a88], eax
test eax, eax
jne 0x5d64b4
push str.GetEnvironmentStrings_failed
call fcn.005d5938
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x630a88]
jmp 0x5d64cd
lea eax, [edi + 1]
add edi, edi
add edi, 2
add ebp, eax
inc esi
add ebx, edi
push ebx
call fcn.005cc08c
pop ecx
mov edi, eax
test eax, eax
jne 0x5d64c0
lea edi, [ebp + 1]
mov eax, edi
add eax, eax
push eax
call fcn.005cadd4
pop ecx
mov ebx, eax
mov dword [0x630a58], ebx
test ebx, ebx
jne 0x5d64fb
xor eax, eax
jmp 0x5d65d7
add edi, edi
mov edx, dword [0x630a88]
push edi
push edx
push ebx
call fcn.005cba3c
add esp, 0xc
jmp 0x5d6530
xor esi, esi
mov ebx, dword [0x630a54]
jmp 0x5d652a
push eax
call fcn.005cc08c
pop ecx
test eax, eax
jne 0x5d6526
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5d651a
lea ebx, [esi + 4]
push 4
mov dword [0x630a5c], ebx
inc ebx
push ebx
call fcn.005cad38
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x5d6553
xor eax, eax
jmp 0x5d65d7
cmp dword [0x630a54], 0
jne 0x5d6588
xor esi, esi
mov ebx, dword [0x630a58]
mov eax, dword [esp]
mov ebp, eax
jmp 0x5d6579
mov dword [ebp], ebx
add edi, edi
add ebp, 4
add edi, 2
inc esi
add ebx, edi
push ebx
call fcn.005cc08c
pop ecx
mov edi, eax
test eax, eax
jne 0x5d656b
jmp 0x5d65b9
xor esi, esi
mov ebx, dword [0x630a54]
mov eax, dword [esp]
mov edi, eax
jmp 0x5d65b3
push eax
call fcn.005cc08c
pop ecx
test eax, eax
je 0x5d65a8
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5d65ac
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5d6597
mov eax, dword [0x630a54]
test eax, eax
je 0x5d65c9
push eax
call fcn.005cade4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x630a54], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5d7114
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x5d713a
test esi, esi
je 0x5d713a
call fcn.005d5790
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x5d71ac
call fcn.005d6e18
mov ebx, eax
test eax, eax
jne 0x5d7155
call fcn.005d5790
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x5d71ac
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x58], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x5d7070
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x5d71a0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x5d7199
push 0x59
call fcn.005ce324
pop ecx
jmp 0x5d71ac
call fcn.005ce390
jmp 0x5d71ac
mov dword [ebx + 8], eax
test edi, edi
je 0x5d71ac
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5d9eac
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.005374a4
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x51b999
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x51b993
test ah, 4
je 0x51b993
test al, 0x10
je 0x51b993
mov eax, esi
call fcn.005374a4
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x51b999
push edi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
jmp 0x51b944

Function at 0x5daaac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov eax, 0x629ad4
call fcn.005cc11c
mov word [ebp - 0x14], 0xc
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx + 0x30], ebx
push 0x20
push 0
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.005cbc07
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4098f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409946
test eax, edx
je 0x409949
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409909
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40992f
add ecx, 4
js 0x40991f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40992c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409955
test edx, edx
jne 0x4098fc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426cc4
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 0x426cca
ret
Function at 0x4412b0
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44146b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004059f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x441484
call fcn.00405584
mov eax, ebx
call fcn.00422258
mov edi, eax
dec edi
test edi, edi
jl 0x441368
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042222c
mov edx, dword [0x433138]
call fcn.004044f4
test al, al
je 0x441364
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0042222c
lea edx, [ebp - 0x14]
call fcn.00450e74
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004059f0
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405600
inc esi
dec edi
jne 0x441316
movzx eax, byte [0x441488]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x441494
mov eax, dword [ebp - 8]
call fcn.0040f474
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405304
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00450e74
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x441484
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00450e74
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x441484
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x441484
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4414a0
call fcn.0040b4cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441472
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405290
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405290
lea eax, [ebp - 0x14]
call fcn.0040526c
lea eax, [ebp - 0x10]
call fcn.0040526c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405290
ret
Function at 0x47a824
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428a98
cmp ebx, dword [ebp - 8]
jge 0x47a887
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428ec0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428ec0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428eec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47a84d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47a890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428a98
cmp ebx, dword [ebp - 8]
jge 0x47a8f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428ec0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428ec0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428eec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47a8b9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4942b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4942c0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4944b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4944c8
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004052c0
lea ecx, [ebp - 0x10]
mov edx, 0x4944dc
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004052c0
lea ecx, [ebp - 0x14]
mov edx, 0x4944f4
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004052c0
lea ecx, [ebp - 0x18]
mov edx, 0x494510
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004052c0
lea ecx, [ebp - 0x1c]
mov edx, 0x49452c
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004052c0
lea ecx, [ebp - 0x24]
mov edx, 0x494544
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409bd0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a02c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x49455c
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x28]
call fcn.004850e0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x49456c
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x2c]
call fcn.004850e0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x494584
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040a02c
inc eax
je 0x494455
lea ecx, [ebp - 0x34]
mov edx, 0x494584
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x34]
call fcn.00409ff0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
call fcn.0040bdb8
fstp qword [ebp - 0x3c]
wait
call fcn.0040c120
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x494470
lea ecx, [ebp - 0x40]
mov edx, 0x494584
mov eax, esi
call fcn.00487638
mov eax, dword [ebp - 0x40]
call fcn.004850e0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x494594
mov eax, esi
call fcn.00487638
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004052c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4944b9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00405290
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00405290
ret

Function at 0x499158
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403b20
ret
Function at 0x49bd58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004056ec
xor eax, eax
push ebp
push 0x49be54
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.0049b4f8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049971c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049ca0c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004996c4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049ca84
lea eax, [ebx + 0x50]
call fcn.0040526c
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49be5b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405290
ret