joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47779f
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x104c]
mov eax, 0x104c
call fcn.00592460
push 0xfffffffffffffffe
push 0x5ec1e0
push 0x586b40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x606c40]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1048], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x1058]
mov eax, dword [ebp + 0x1054]
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
lea eax, [ebx + ebx]
push eax
push 0
push edi
call fcn.005847c0
push 7
mov esi, str.file:__
push esi
push dword [ebp - 0x1c]
call fcn.0057ed47
add esp, 0x18
test eax, eax
jne 0x477837
push esi
push 0x5c86e0
dec ebx
push ebx
push edi
call fcn.0057d72e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x47794a
push 6
mov esi, str.res:__
push esi
push dword [ebp - 0x1c]
call fcn.0057ed47
add esp, 0xc
test eax, eax
je 0x47781e
push 0x3c
pop esi
push esi
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.005847c0
add esp, 0xc
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x477873
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x5c]
push ecx
mov edi, 0x10000000
push edi
push eax
push dword [ebp - 0x1c]
mov esi, dword [0x61e868]
call esi
test eax, eax
jne 0x477930
mov word [ebp], ax
push 0x1046
push eax
lea eax, [ebp + 2]
push eax
call fcn.005847c0
push dword [ebp - 0x1c]
push str.http:___s
push 0x823
lea eax, [ebp]
push eax
call fcn.0057d72e
add esp, 0x1c
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4778d1
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x5c]
push ecx
push edi
push eax
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x477930
lea eax, [ebp]
push eax
push 0x5c86e0
dec ebx
push ebx
push dword [ebp - 0x20]
call fcn.0057d72e
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
jmp 0x477948
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x477948
cmp word [eax], 0
jne 0x47782f
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1048]
xor ecx, ebp
call fcn.0057d6ce
add ebp, 0x104c
leave
ret
Function at 0x47a2e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x606c40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x5b13d0]
push edi
push str.kernel32.dll
call esi
push str.GetSystemDefaultUILanguage
push eax
call dword [0x5b10b0]
xor edi, edi
cmp eax, edi
je 0x47a31b
call eax
jmp 0x47a3ae
call dword [0x5b1234]
mov dword [ebp - 0x28], edi
test eax, eax
jns 0x47a38b
lea eax, [ebp - 0x2c]
push eax
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x47a3aa
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47a380
cmp dword [ebp - 0x34], 1
jne 0x47a380
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push 0x5d8674
push eax
call fcn.005823d4
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47a3aa
push str.ntdll.dll
call esi
cmp eax, edi
je 0x47a3aa
lea ecx, [ebp - 0x28]
push ecx
push 0x47a2cd
push 1
push 0x10
push eax
call dword [0x5b1238]
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057d6ce
leave
ret

Function at 0x47cd66
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x47ce66
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x47ce57
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x47ce57
cmp dword [ebp + 0x14], edi
je 0x47ce54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x47ce57
push edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47ce57
push 0x20a
call fcn.0057c3f0
pop ecx
mov esi, eax
cmp dword [ebp - 8], edi
jbe 0x47ce4d
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x47ce40
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.0047cd66
add esp, 0x10
jmp 0x47ce47
cmp eax, 0x103
je 0x47ce4d
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x47ce19
push esi
call fcn.0057db06
pop ecx
xor ebx, ebx
inc ebx
pop esi
cmp dword [ebp - 4], edi
je 0x47ce66
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4a2bc7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4a2c1c
push dword [esi + 0xc]
call dword [0x5b1794]
test eax, eax
jne 0x4a2c6a
lea ebx, [esi + 8]
cmp dword [0x61cd58], edi
jne 0x4a2bf6
mov dword [0x61cd58], edi
lea eax, [ebx + 0x20]
push eax
push 0x61cd28
call fcn.004143c9
movzx eax, ax
push eax
push edi
push edi
push 0x80000000
push edi
xor eax, eax
push eax
push 0xfffffffffffffffd
call fcn.0041415b
jmp 0x4a2c6a
lea ebx, [esi + 0x2c]
cmp dword [ebx], edi
jne 0x4a2c6a
push edi
push edi
push edi
push edi
call dword [0x5b1374]
push ebx
push edi
push esi
push 0x4a2c71
push edi
push edi
mov dword [esi + 0x30], eax
call fcn.0057e701
mov ebx, dword [0x5b13a0]
add esp, 0x18
mov dword [ebp + 8], eax
cmp eax, edi
je 0x4a2c62
push 0x12c
push dword [esi + 0x30]
call dword [0x5b1380]
push dword [ebp + 8]
call ebx
push dword [esi + 0x30]
call ebx
mov dword [esi + 0x30], edi
pop edi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4d9ace
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, eax
xor eax, eax
push esi
push edi
mov word [ebp - 0x10], ax
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
call dword [0x5b1124]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
push str._04d_02d_02d_02d_02d_02d_03d
mov esi, 0x103
push esi
push ebx
call fcn.0057d72e
add esp, 0x28
mov edi, str.1.0.0.1
push edi
push ebx
push 0x5e2078
call fcn.00403ab6
push eax
push str._s_s_s_ver_s_.jzs
lea eax, [ebx + 0x208]
push esi
push eax
call fcn.0057d72e
push edi
push esi
add ebx, 0x410
push ebx
call fcn.0057d72e
add esp, 0x28
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x4e8155
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
push edi
push 0x5cba38
push dword [esp + 0x14]
call fcn.00581375
pop ecx
pop ecx
mov edi, eax
xor esi, esi
push 3
pop ebp
cmp edi, esi
jne 0x4e817a
mov eax, ebp
jmp 0x4e8219
push ebx
push 2
push esi
push edi
call fcn.00581469
push edi
call fcn.0058168b
push esi
push esi
push edi
mov ebx, eax
call fcn.00581469
add esp, 0x1c
cmp ebx, esi
jle 0x4e820f
lea ebp, [ebx + 2]
push ebp
call fcn.0057df80
mov esi, eax
pop ecx
test esi, esi
jne 0x4e81b0
push 3
pop eax
jmp 0x4e8218
push ebp
push 0
push esi
call fcn.005847c0
push edi
push 1
push ebx
push esi
call fcn.00581999
movzx ax, byte [esi + 1]
movzx cx, byte [esi]
shl ax, 8
or ax, cx
movzx ebp, ax
mov eax, 0xbbef
add esp, 0x1c
cmp bp, ax
jne 0x4e81e9
cmp byte [esi + 2], 0xbf
je 0x4e81f4
push ebx
push esi
call fcn.004e8107
test eax, eax
je 0x4e81f9
push 2
pop ebp
jmp 0x4e8208
xor ecx, ecx
mov eax, 0xfeff
cmp bp, ax
sete cl
mov ebp, ecx
push esi
call fcn.0057e04a
pop ecx
push edi
call fcn.00581c11
pop ecx
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4e821f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.004e7ff5
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x4e8371
push edi
push 0x5cba38
push dword [ebp + 0xc]
call fcn.00581375
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
cmp edi, ebx
je 0x4e8370
push esi
push 2
push ebx
push edi
call fcn.00581469
push edi
call fcn.0058168b
push ebx
mov esi, eax
push ebx
push edi
mov dword [ebp - 8], esi
call fcn.00581469
inc esi
push esi
call fcn.0057c3f0
add esp, 0x20
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4e8368
push esi
push ebx
push eax
call fcn.005847c0
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0xc], 2
jne 0x4e82d7
push edi
push 1
lea eax, [ebp + 0xf]
push 1
push eax
call fcn.00581999
add esp, 0x10
jmp 0x4e82d1
push edi
call fcn.00583cb5
pop ecx
test eax, eax
jne 0x4e82d7
push edi
push 1
lea eax, [ebp + 0xf]
push 1
push eax
call fcn.00581999
add esp, 0x10
inc esi
cmp byte [ebp + 0xf], 0x3c
jne 0x4e82b4
push ebx
push esi
push edi
call fcn.00581469
mov eax, dword [ebp - 8]
push edi
push 1
sub eax, esi
push eax
push dword [ebp - 4]
call fcn.00581999
mov esi, dword [ebp - 8]
imul esi, esi, 3
xor ecx, ecx
push 2
lea edi, [esi + 1]
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057c3f0
add esp, 0x20
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x4e835c
push edi
push ebx
push eax
call fcn.005847c0
add esp, 0xc
cmp dword [ebp - 0xc], 2
push esi
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp - 4]
push ebx
jne 0x4e833b
push 0xfde9
jmp 0x4e833c
push ebx
call dword [0x5b13d8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e799f
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.0057db06
pop ecx
push dword [ebp - 4]
call fcn.0057db06
mov edi, dword [ebp - 0x14]
pop ecx
push edi
call fcn.00581c11
pop ecx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
pop ebx
leave
ret 0xc
Function at 0x4ebfae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aaaa5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x606c40]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 8]
call fcn.0053a083
test al, al
jne 0x4ebff4
xor eax, eax
jmp 0x4ec1f5
mov eax, dword [ebp + 8]
call fcn.00539b07
and dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
test eax, eax
jbe 0x4ec1f2
push dword [esp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.00539b57
mov ebx, eax
call fcn.0053a095
test al, al
je 0x4ec1d5
mov edx, 0x5d5034
mov ecx, ebx
call fcn.00539d84
cmp byte [eax + 8], 4
jne 0x4ec1d5
mov eax, dword [eax]
push str.folder
push eax
call fcn.00581d9b
neg eax
pop ecx
sbb eax, eax
inc eax
pop ecx
mov ecx, ebx
je 0x4ec0fc
mov edx, str.name
call fcn.00539d84
mov esi, eax
cmp byte [esi + 8], 4
jne 0x4ec1d5
lea edi, [esp + 0x2c]
call fcn.004e4bb0
and dword [esp + 0x90], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 1
push dword [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.0047be04
pop ecx
pop ecx
lea edi, [esp + 0x48]
mov byte [esp + 0x90], 1
call fcn.00409e19
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040758d
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax]
test eax, eax
je 0x4ec1e9
mov edx, str.children
mov ecx, ebx
call fcn.00539d84
push dword [esp + 0x44]
mov ecx, esi
push eax
call fcn.004ebfae
lea esi, [esp + 0x3c]
jmp 0x4ec1c8
mov edx, 0x5cbd9c
call fcn.00539d84
mov edx, str.name
mov ecx, ebx
mov esi, eax
call fcn.00539d84
cmp byte [esi + 8], 4
mov ebx, eax
jne 0x4ec1d5
cmp byte [ebx + 8], 4
jne 0x4ec1d5
lea edi, [esp + 0x58]
call fcn.004e4bb0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x90], 2
and dword [esp + 0x6c], 0
mov dword [esp + 0x68], eax
push dword [esi]
lea eax, [esp + 0x20]
push eax
call fcn.0047be04
pop ecx
pop ecx
lea edi, [esp + 0x78]
mov byte [esp + 0x90], 3
call fcn.00409e19
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040758d
push dword [ebx]
lea eax, [esp + 0x24]
push eax
call fcn.0047be04
pop ecx
pop ecx
lea edi, [esp + 0x74]
mov byte [esp + 0x90], 4
call fcn.00409e19
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0040758d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
call dword [eax]
lea esi, [esp + 0x68]
test eax, eax
je 0x4ec1ed
or dword [esp + 0x90], 0xffffffff
call fcn.004e4bf6
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jb 0x4ec00d
jmp 0x4ec1f2
lea esi, [esp + 0x3c]
call fcn.004e4bf6
xor eax, eax
inc eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ef60d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
xor edx, edx
sub ebx, dword [ebp + 0xc]
push esi
je 0x4ef632
mov ecx, dword [ebp + 8]
mov esi, edi
sub ecx, edi
mov dword [ebp + 0xc], ebx
mov edx, ebx
mov bl, byte [ecx + esi]
xor byte [esi], bl
inc esi
dec dword [ebp + 0xc]
jne 0x4ef627
cmp edx, eax
jae 0x4ef649
mov esi, dword [ebp + 8]
sub esi, edi
lea ecx, [edx + edi]
sub eax, edx
mov dl, byte [ecx + esi]
mov byte [ecx], dl
inc ecx
dec eax
jne 0x4ef640
pop esi
pop ebx
pop ebp
ret
Function at 0x4f0844
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 8]
push 0x4f0892
push 0
push 0
call fcn.0057e701
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4f088d
push 0xffffffffffffffff
push esi
call dword [0x5b1164]
push esi
call dword [0x5b1154]
push 0xffffffffffffffff
push esi
call dword [0x5b1380]
push esi
call dword [0x5b13a0]
pop esi
leave
ret 4
Function at 0x4f2b5a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x4f2ba5
push 0
push 0
call fcn.0057e701
add esp, 0x18
test eax, eax
je 0x4f2b88
push eax
call dword [0x5b13a0]
inc edi
cmp edi, 5
jbe 0x4f2b61
mov eax, dword [ebp + 8]
call fcn.004f3672
mov dword [0x6b2918], 1
pop edi
leave
ret 4

Function at 0x4f3698
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x1c4]
sub esp, 0x244
mov eax, dword [0x606c40]
xor eax, ebp
mov dword [ebp + 0x1c0], eax
mov eax, dword [ebp + 0x1cc]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x44], ebx
cmp edi, ebx
je 0x4f378a
cmp word [edi], bx
je 0x4f378a
lea esi, [eax + 0xac]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4f378a
xor eax, eax
push 0x1fe
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.005847c0
push 0x38
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.005847c0
add esp, 0x18
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push edi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], 0xff
call dword [0x61e868]
test eax, eax
je 0x4f378a
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
test eax, eax
jbe 0x4f3785
push edi
call fcn.004048a3
cmp dword [eax + 0x18], 8
jb 0x4f375a
mov eax, dword [eax + 4]
jmp 0x4f375d
add eax, 4
push eax
lea eax, [ebp - 0x40]
call fcn.00425af1
pop ecx
test eax, eax
jne 0x4f377e
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jb 0x4f3749
jmp 0x4f3785
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
jmp 0x4f378c
xor eax, eax
mov ecx, dword [ebp + 0x1c0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057d6ce
add ebp, 0x1c4
leave
ret 4

Function at 0x4f728f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, eax
push esi
call dword [0x5b1794]
test eax, eax
jne 0x4f72aa
xor eax, eax
jmp 0x4f733a
mov dword [ebx + 0x10], esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [0x5b1374]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0xc]
push eax
push esi
push ebx
push 0x4f7384
push 0x200000
push esi
call fcn.0057e701
add esp, 0x18
cmp eax, esi
je 0x4f72a3
push edi
push eax
call dword [0x5b13a0]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
mov edi, dword [0x5b177c]
jmp 0x4f730a
lea eax, [ebp - 0x1c]
push eax
call dword [0x5b1778]
lea eax, [ebp - 0x1c]
push eax
call dword [0x5b1774]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x4f72f6
push 0xff
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x14]
push eax
push 1
call dword [0x5b1770]
cmp eax, esi
je 0x4f7336
cmp eax, 0xffffffff
jne 0x4f730a
mov eax, dword [ebx + 4]
pop edi
pop esi
leave
ret
Function at 0x52f7d7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x52f7e2
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x52f894
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x5bf420]
inc ecx
sub edi, 8
dec esi
jne 0x52f7f9
pop ebx
test edi, edi
je 0x52f8ad
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x5bf420]
inc ecx
dec edi
jne 0x52f898
pop esi
not eax
pop edi
ret

Function at 0x53275a
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
lea eax, [ebx - 1]
push edi
mov esi, ecx
cmp eax, 7
jbe 0x532773
mov dword [esi + 0x6afa4], str.bad_pack_level
xor edi, edi
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
mov dword [eax], edi
cmp dword [ecx], edi
jne 0x532793
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.005847c0
mov eax, ebx
shl eax, 3
movzx ecx, word [eax + 0x5bdbc2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x5bdbc0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x5bdbc4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x5bdbc6]
add esp, 0xc
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x5327f6
mov eax, dword [esp + 0x10]
or word [eax], 4
jmp 0x532803
cmp ebx, 8
jl 0x532803
mov eax, dword [esp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x53286b
cmp eax, 0xffffffff
je 0x53286b
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x532843
call fcn.00532a03
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
inc edi
mov dword [esi + 0x6af7c], eax
cmp edi, 2
jb 0x532849
jmp 0x53287b
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x532b1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x532d1c
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x532b99
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x532bdc
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x532bdc
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x532bc1
mov dword [eax], ecx
push dword [ebp - 4]
mov ecx, esi
call fcn.0053287f
mov ebx, eax
mov eax, dword [esi + 0x6af90]
add esp, 4
cmp ebx, eax
jbe 0x532bdc
mov ebx, eax
cmp ebx, 3
jb 0x532c9c
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.00532185
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x532c6a
cmp eax, 3
jb 0x532c6a
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x532c18
jmp 0x532cbc
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea edx, [eax + esi]
movzx ecx, byte [edx + 0x1af70]
lea eax, [esi + 0x6af7c]
mov dword [eax], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [eax], edx
jmp 0x532cc2
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.00532185
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x532cfd
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x532cdb
lea edx, [ecx + esi + 0x1af70]
jmp 0x532cdd
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.00531f94
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x532d0e
call fcn.00532a03
cmp dword [esi + 0x6af90], 0
jne 0x532b49
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x532d2f
lea edx, [ecx + esi + 0x1af70]
jmp 0x532d31
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.00531f94
pop ecx
pop ecx
pop esi
pop ebx
leave
ret