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

Disassembly:
push 0x44
mov eax, 0x5a9c73
call fcn.00462cd6
lea edi, [ecx + 0x54]
mov eax, dword [edi]
test eax, eax
je 0x48fd8c
cmp dword [eax + 8], 0
je 0x48fd8c
add eax, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48fd7f
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], vtable.ClassPtr_struct_IFSManager_.0
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
call fcn.00484a26
test eax, eax
js 0x48fd68
mov ecx, dword [edi]
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.004094f1
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00409706
mov dword [ebp - 0x20], reloc.WS2_32.dll_accept
mov byte [ebp - 0x1c], bl
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0040aa69
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x48fd4c
int3
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x5b664c]
call esi
lea ecx, [ebp - 0x38]
call fcn.0040aa69
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], vtable.ClassPtr_struct_IFSManager_.0
call fcn.0040961e
xor ecx, ecx
xchg dword [edi], ecx
test ecx, ecx
je 0x48fd8c
call fcn.00415424
call fcn.00462c80
ret
Function at 0x490183
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x5a9cdb
call fcn.00462cd6
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x64]
push esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
inc eax
mov byte [ebp - 0x40], al
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], vtable.ClassPtr_struct_IFSManager_.0
mov byte [ebp - 4], al
test edi, edi
jne 0x4901e2
mov edi, 0x80004003
push 0x110
push str.d:dbs_shodct1116_102044cmd7clientonedrive_setup_standalonewebclientwebclient.cpp
push edi
call fcn.0048259a
jmp 0x4902fb
mov ecx, ebx
call fcn.0048eeb3
mov edi, eax
test edi, edi
jns 0x4901fc
je 0x4902fb
push 0x113
jmp 0x4901d2
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x49020f
mov edi, 0x8000ffff
push 0x116
jmp 0x4901d2
mov esi, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, dword [esi + 0x14]
push eax
call dword [0x5b664c]
call dword [esi + 0x14]
mov edi, eax
test edi, edi
jns 0x490245
je 0x4902f8
push 0x119
push str.d:dbs_shodct1116_102044cmd7clientonedrive_setup_standalonewebclientwebclient.cpp
push edi
call fcn.0048259a
jmp 0x4902f8
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x30], 0
mov dword [ecx], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4902f8
cmp dword [eax + 8], 0
je 0x4902f8
add eax, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4902f8
cmp dword [ebp - 0x14], 0
je 0x49027f
int3
lea eax, [ebp - 0x14]
push eax
call fcn.00484a26
test eax, eax
js 0x4902f8
mov ecx, dword [ebx + 0x54]
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004094f1
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x5c]
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.00409706
mov dword [ebp - 0x20], reloc.WS2_32.dll_accept
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0040aa69
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4902d8
int3
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b664c]
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040aa69
lea esi, [ebx + 0x64]
push ebx
push str.WebClient__p_:_Leaving_GetDownloadedData__
push str.WebClient
push edi
call fcn.00482bbb
add esp, 0x10
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], vtable.ClassPtr_struct_IFSManager_.0
call fcn.0040961e
xor eax, eax
inc eax
test al, al
je 0x490332
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
call fcn.00462c80
ret 4
Function at 0x498b80
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5aa7d8
call fcn.00462cd6
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x498c80
cmp byte [ebx + 0x3d], 0
je 0x498c80
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x498bba
xor al, al
jmp 0x498c82
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00414421
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x498c18
sub eax, 1
je 0x498c1c
dec eax
sub eax, 1
je 0x498c6e
xor bl, bl
jmp 0x498c70
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x498c54
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005804a7
add esp, 0x10
cmp esi, eax
jne 0x498c14
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x498c6e
test esi, esi
jne 0x498bde
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00415070
jmp 0x498bd8
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0049451f
mov al, bl
jmp 0x498c82
mov al, 1
call fcn.00462c80
ret
Function at 0x49b46a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x63800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
cmp dword [ebx + 0x10], ecx
je 0x49b5dc
cmp dword [ebx + 0x10], 0x20
jne 0x49b5dc
mov byte [ebp - 0xc], dl
lea edi, [ebp - 0xb]
xor eax, eax
mov dword [ebp - 0x18], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
cmp dword [ebx + 0x14], 0x10
jb 0x49b4cc
mov eax, dword [ebx]
jmp 0x49b4ce
mov eax, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.0049ce70
pop ecx
cmp eax, 0xffffffff
je 0x49b523
mov ecx, dword [ebp - 0x18]
shl ecx, 4
add ecx, eax
inc edi
mov dword [ebp - 0x18], ecx
cmp edi, 8
jl 0x49b4c2
jmp 0x49b51c
cmp dword [ebx + 0x14], 0x10
jb 0x49b4fb
mov eax, dword [ebx]
jmp 0x49b4fd
mov eax, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.0049ce70
pop ecx
cmp eax, 0xffffffff
je 0x49b523
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
add ecx, eax
inc edi
movzx ecx, cx
mov dword [ebp - 0x1c], ecx
cmp edi, 0xc
jl 0x49b4f1
jmp 0x49b559
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 1
jmp 0x49b5df
cmp dword [ebx + 0x14], 0x10
jb 0x49b538
mov eax, dword [ebx]
jmp 0x49b53a
mov eax, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.0049ce70
pop ecx
cmp eax, 0xffffffff
je 0x49b523
mov ecx, dword [ebp - 0x20]
shl ecx, 4
add ecx, eax
inc edi
movzx ecx, cx
mov dword [ebp - 0x20], ecx
cmp edi, 0x10
jl 0x49b52e
xor al, al
mov byte [ebp - 0xd], al
inc al
cmp edi, 0x20
jge 0x49b5bb
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], ecx
xor al, 1
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 0xe], al
jb 0x49b57f
mov eax, dword [ebx]
jmp 0x49b581
mov eax, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.0049ce70
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x49b523
mov al, byte [ebp - 0xd]
shl al, 4
add al, cl
cmp byte [ebp - 0xe], 0
mov byte [ebp - 0xd], al
je 0x49b5b2
mov ecx, dword [ebp - 0x24]
mov byte [ecx], al
xor al, al
inc ecx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x24], ecx
mov al, byte [ebp - 0xe]
inc edi
cmp edi, 0x20
jl 0x49b570
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 6], ax
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
jmp 0x49b5df
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462c5a
mov esp, ebp
pop ebp
ret
Function at 0x49babd
Capabilities:
Get common file path

Disassembly:
push 0x248
mov eax, 0x5aac4d
call fcn.00462cd6
mov esi, dword [ebp + 8]
xor edi, edi
push 0x5c1018
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], edi
call fcn.00492682
push 0x20a
xor ebx, ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x21c]
inc ebx
push edi
push eax
mov dword [ebp - 0x250], ebx
call fcn.00463cc0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49bba7
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x49bb4d
mov eax, edi
jmp 0x49bb5a
lea eax, [ebp - 0x21c]
push eax
call fcn.0047680e
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0049c47f
lea eax, [ebp - 0x234]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0049d6aa
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0041e583
push edi
push ebx
lea ecx, [ebp - 0x24c]
call fcn.0049451f
push edi
push ebx
lea ecx, [ebp - 0x234]
call fcn.0049c2a5
mov eax, esi
call fcn.00462c80
ret

Function at 0x49bc43
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
dec eax
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x49cf6a
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x63800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
xor eax, eax
push 0x14
push eax
mov bl, al
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x438]
push eax
call fcn.00463cc0
push 0x40c
lea eax, [ebp - 0x410]
mov dword [ebp - 0x438], 0x800c
push 0
push eax
call fcn.00463cc0
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
cmovae eax, dword [ebp + 0x10]
push ecx
push eax
lea eax, [ebp - 0x404]
mov word [ebp - 0x410], 0x208
push eax
mov dword [ebp - 0x40c], 0x6602
mov dword [ebp - 0x408], ecx
call fcn.00463e20
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
add esp, 0x24
xor eax, eax
inc eax
push 0xf0000000
push eax
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x418]
push eax
call esi
test eax, eax
jne 0x49d063
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x49d134
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push dword [0x638a98]
lea eax, [ebp - 0x418]
push eax
call esi
test eax, eax
je 0x49d134
lea eax, [ebp - 0x41c]
push eax
push 0x101
push 0
push 0x40c
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x49d134
lea eax, [ebp - 0x414]
push eax
push 0
push dword [ebp - 0x41c]
push 0x8009
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x49d134
push 0
lea eax, [ebp - 0x438]
push eax
push 5
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
je 0x49d134
push 0
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x49d134
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x420]
push 0
push eax
push 0
push 2
push dword [ebp - 0x414]
call esi
test eax, eax
je 0x49d134
cmp dword [ebp - 0x420], 0
je 0x49d134
push 0
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x424]
push 2
push dword [ebp - 0x414]
call esi
push 1
test eax, eax
movzx ebx, bl
pop esi
cmovne ebx, esi
jmp 0x49d137
xor esi, esi
inc esi
cmp dword [ebp - 0x41c], 0
je 0x49d14c
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x414], 0
je 0x49d161
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x418], 0
je 0x49d178
push 0
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
push esi
lea ecx, [ebp + 0x10]
call fcn.0049451f
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462c5a
mov esp, ebp
pop ebp
ret
Function at 0x4d8391
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b234c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x63800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x64]
mov dword [ebx], vtable.common::HttpClientManager.0
push edi
call fcn.00496fda
lea esi, [ebx + 0x30]
push esi
call fcn.00496fda
and dword [ebp - 4], 0
push esi
call fcn.00496ff9
push edi
mov dword [ebp - 4], 1
call fcn.00496ff9
add esp, 0x10
lea ecx, [ebx + 0xb0]
call fcn.004d8441
lea ecx, [ebx + 0xa0]
call fcn.004d82d4
lea ecx, [ebx + 0x94]
call fcn.004970c1
push edi
call fcn.00563055
push esi
call fcn.00563055
pop ecx
pop ecx
lea ecx, [ebx + 0x10]
call fcn.004962b4
lea ecx, [ebx + 8]
call fcn.004d8324
mov dword [ebx], vtable.Microsoft::Applications::Telemetry::PlatformAbstraction::RefCountedImpl_class_common::IHcmRequestCallback_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1dd7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x24]
pop edi
sub eax, 0
je 0x4e1e18
sub eax, 5
je 0x4e1e14
sub eax, 1
je 0x4e1e0f
sub eax, 3
je 0x4e1e0f
xor eax, eax
jmp 0x4e1e1b
push 2
pop eax
jmp 0x4e1e1b
push 3
jmp 0x4e1e11
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x51fc10
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
push edi
test eax, eax
je 0x51fd44
lea esp, [esp]
mov edx, dword [eax + 4]
movzx ecx, byte [eax]
test edx, 0x200
jne 0x51fd42
cmp ecx, 0x25
je 0x51fd37
cmp ecx, 0x9c
je 0x51fd37
cmp ecx, 0x5e
je 0x51fc6a
cmp ecx, 0x9d
jne 0x51fcb9
cmp byte [eax + 0x26], 0x5e
jne 0x51fcd6
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
push 0
movzx eax, byte [eax + 0x42]
push eax
push esi
call fcn.005253d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x51fd44
mov eax, dword [esi]
push dword [ebx]
push ebx
movzx eax, byte [eax + 0x42]
push eax
push esi
call fcn.005253d0
add esp, 0x10
test eax, eax
jne 0x51fd44
mov ecx, 1
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x9a
je 0x51fcd6
cmp ecx, 0x98
je 0x51fcd6
cmp ecx, 0x9d
je 0x51fcd6
cmp ecx, 0x3d
jne 0x51fcdc
cmp dword [eax + 0x2c], 0
jne 0x51fd54
test edx, 0x100
je 0x51fd42
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x51fcf8
test dword [ecx + 4], 0x100
je 0x51fcf8
mov eax, ecx
jmp 0x51fd3a
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
test edi, edi
je 0x51fd33
test edx, 0x800
jne 0x51fd33
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x51fd33
lea edx, [edi + 8]
mov eax, dword [edx]
test dword [eax + 4], 0x100
jne 0x51fd2c
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x51fd15
mov eax, ebx
jmp 0x51fd3a
lea eax, [ecx + ecx*2]
mov ebx, dword [edi + eax*8 + 8]
mov eax, ebx
jmp 0x51fd3a
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x51fc30
xor ebx, ebx
xor ecx, ecx
xor eax, eax
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [eax + 0x20]
test ecx, ecx
js 0x51fd42
mov eax, dword [eax + 0x2c]
add ecx, ecx
mov esi, dword [ebp - 4]
push 0
mov eax, dword [eax + 4]
push dword [eax + ecx*8 + 8]
movzx eax, byte [esi + 0x42]
push eax
push esi
call fcn.00521080
mov esi, dword [ebp + 8]
jmp 0x51fc80
Function at 0x521c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0x14], edx
jle 0x521cdb
push esi
lea esp, [esp]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x521cae
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x5df308]
movzx ecx, al
movzx ecx, byte [ecx + 0x5df308]
sub ecx, edx
jne 0x521c92
sub ebx, esi
test al, al
je 0x521ca7
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x5df308]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x5df308]
sub ecx, edx
je 0x521c71
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, dword [ebx + 0x14]
jl 0x521c30
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x521c92
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.004ff5b0
add esp, 0xc
test eax, eax
je 0x521cd4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x521c9e
jmp 0x521c98
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x521c98
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x521cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea esp, [esp]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x14], edi
jle 0x521dbb
mov edi, edi
mov ebx, dword [ebp + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x521d7f
mov edx, ecx
mov eax, ebx
mov ecx, dword [esi + 0x10]
add edx, edx
mov bl, byte [ebx]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x5df308]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x5df308]
sub esi, ecx
jne 0x521da9
sub edx, eax
mov dword [ebp - 4], edx
test bl, bl
je 0x521d78
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x5df308]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x5df308]
sub esi, edx
mov edx, dword [ebp - 4]
je 0x521d52
jmp 0x521da9
test esi, esi
jne 0x521da9
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
add eax, 8
push eax
call fcn.004ff5b0
add esp, 0xc
test eax, eax
je 0x521da9
mov eax, dword [eax + 8]
test eax, eax
jne 0x521e03
mov eax, dword [ebp + 8]
inc edi
mov esi, eax
cmp edi, dword [eax + 0x14]
jl 0x521d10
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
movzx eax, dl
movzx ecx, byte [eax + 0x5df308]
movzx eax, byte [0x63ce88]
movzx eax, byte [eax + 0x5df308]
sub ecx, eax
jne 0x521e01
mov esi, 0x63ce88
sub esi, ebx
test dl, dl
je 0x521e0a
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x5df308]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x5df308]
sub eax, ecx
je 0x521de0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x521e20
neg edx
sbb edx, edx
jmp 0x521e65
test edx, edx
je 0x521e01
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x5df308]
movzx eax, bl
movzx eax, byte [eax + 0x5df308]
sub eax, ecx
jne 0x521e63
sub edx, edi
test bl, bl
je 0x521e63
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x5df308]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x5df308]
sub eax, ecx
je 0x521e42
mov edx, eax
test edx, edx
jne 0x521e01
mov ebx, 0x63cf14
mov dword [ebp + 0xc], ebx
jmp 0x521d00
Function at 0x5354e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x63dae0], 0
je 0x535532
mov eax, dword [0x64eda8]
test eax, eax
je 0x53550a
push eax
call dword [0x63db38]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.005061e0
mov eax, dword [0x64eda8]
add esp, 8
test eax, eax
je 0x53552d
push eax
call dword [0x63db40]
mov esi, dword [ebp + 8]
jmp 0x53553c
mov esi, dword [ebp + 8]
jmp 0x53553f
push 0x14
call dword [0x63db08]
mov esi, eax
add esp, 4
test esi, esi
jne 0x53554a
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp dword [0x63dae4], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x535595
mov eax, dword [0x63dbe8]
test eax, eax
je 0x53556e
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x535595
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x535630
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.005811ae
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x5355a5
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x5355be
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x560e80
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00560e90

Function at 0x5821c3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00581e78

Function at 0x5821ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00581ffb

Function at 0x586c51
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