joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402369
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x423018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x98], eax
push edi
mov edi, ecx
cmp esi, 0xd
jae 0x402399
or eax, 0xffffffff
jmp 0x40253f
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x40234d
push eax
xor ebx, ebx
mov dword [ebp - 0x8c], 0x40235b
push ecx
mov edx, edi
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], ebx
call fcn.00406440
mov ecx, dword [edi + 5]
xor eax, eax
inc eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x30], eax
sub esi, 0xd
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 9]
add edi, 0xd
push ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], esi
call fcn.0041879b
add esp, 0xc
mov dword [ebp - 0x88], ebx
mov esi, eax
lea eax, [ebp - 0x88]
mov edx, esi
mov dword [ebp - 0xa0], esi
push eax
push ecx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.004062e2
mov ecx, dword [ebp - 0x8c]
add esp, 0x14
mov edi, eax
push dword [ebp - 0x6c]
cmp ecx, 0x40235b
jne 0x40244c
call fcn.004185b1
jmp 0x402456
lea eax, [ebp - 0x90]
push eax
call ecx
pop ecx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], ebx
pop ecx
push dword [ebp - 0x68]
cmp eax, 0x40235b
jne 0x402471
call fcn.004185b1
jmp 0x40247b
lea ecx, [ebp - 0x90]
push ecx
call eax
pop ecx
mov dword [ebp - 0x68], ebx
pop ecx
test edi, edi
je 0x40248b
or esi, 0xffffffff
jmp 0x402531
mov edx, dword [esi]
lea ecx, [esi + 4]
mov eax, dword [ecx]
push 4
mov dword [ebp - 0x94], eax
pop eax
add ecx, eax
mov dword [ebp - 0x84], edx
push edx
mov ebx, dword [ecx]
add ecx, eax
mov edi, dword [ecx]
add ecx, eax
mov esi, dword [ecx]
add ecx, eax
mov dword [ebp - 0x80], ecx
call fcn.0041879b
pop ecx
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x94]
mov edx, ecx
push eax
push esi
mov dword [ebp - 0x88], eax
lea esi, [edi + ebx]
mov eax, dword [ebp - 0x80]
add esi, ecx
add esi, eax
push esi
lea esi, [ebx + ecx]
push edi
add esi, eax
add eax, ecx
mov ecx, dword [ebp - 0x80]
push esi
push ebx
push eax
call fcn.004064b6
mov edi, dword [ebp - 0x88]
add esp, 0x20
xor esi, esi
test eax, eax
je 0x4024ff
inc esi
jmp 0x40252a
mov ebx, dword [ebp - 0x84]
lea eax, [ebp - 0x9c]
push esi
push eax
push ebx
push edi
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402527
cmp dword [ebp - 0x9c], ebx
je 0x40252a
or esi, 0xffffffff
push edi
call fcn.004185b1
pop ecx
push dword [ebp - 0xa0]
call fcn.004185b1
pop ecx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407182
leave
ret
Function at 0x402604
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x423018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
lea ecx, [ebp - 0x214]
call fcn.00402b50
lea ecx, [ebp - 0x214]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
call fcn.00402f5f
test esi, esi
jne 0x4026d9
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00407760
add esp, 0xc
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4026d9
cmp eax, edi
jae 0x4026d9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareBraveSoftwarePromo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4026d9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push str.StubInstallerPath
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4026d9
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00407182
leave
ret

Function at 0x40344a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.004034e2
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4034da
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x4034d3
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
je 0x4034ca
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4034ca
mov ecx, dword [ebp - 0x10]
mov al, 1
mov dword [esi + 0x10], ecx
jmp 0x4034dc
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.004034e2
xor al, al
pop edi
pop esi
leave
ret 4

Function at 0x403520
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x403543
push edi
lea ecx, [esi + 0xc]
call fcn.004028df
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x10]
jne 0x40352c
lea ecx, [esi + 0xc]
call fcn.00402904
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.00402f5f
Function at 0x403555
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40228
call fcn.004184f0
mov eax, dword [0x423018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40218]
xor ebx, ebx
mov dword [ebp - 0x40214], 1
push ebx
push eax
mov esi, ecx
lea eax, [ebp - 0x4020c]
push 0x200
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403768
cmp dword [ebp - 0x40218], 0x200
jne 0x403768
push 4
lea eax, [ebp - 0x4010b]
push 0x41fd94
push eax
call fcn.00418874
add esp, 0xc
test eax, eax
jne 0x4035d7
inc eax
mov byte [edi], al
jmp 0x40376a
push 5
lea eax, [ebp - 0x4010b]
push str.ustar
push eax
call fcn.00418874
add esp, 0xc
test eax, eax
jne 0x403768
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00402f7a
add eax, 0x10
lea ecx, [ebp - 0x40210]
push 0x41fdc8
mov dword [ebp - 0x40210], eax
call fcn.0040377b
lea eax, [ebp - 0x4020c]
push eax
lea ecx, [ebp - 0x40210]
call fcn.0040377b
push ebx
push 0x100
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x40210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40224], eax
cmp eax, 0xffffffff
je 0x403759
push 8
lea eax, [ebp - 0x40190]
push ebx
push eax
call fcn.00419ad4
add esp, 0xc
mov dword [ebp - 0x40220], eax
push 1
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x40220]
mov edi, ecx
neg edi
add eax, ecx
and edi, 0x1ff
add edi, eax
test ecx, ecx
je 0x403706
mov eax, 0x40000
mov dword [ebp - 0x4021c], eax
cmp ecx, eax
jae 0x4036a8
mov eax, ecx
mov dword [ebp - 0x4021c], ecx
push ebx
lea ecx, [ebp - 0x40218]
push ecx
push eax
lea eax, [ebp - 0x4000c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403700
push ebx
lea eax, [ebp - 0x40218]
push eax
push dword [ebp - 0x4021c]
lea eax, [ebp - 0x4000c]
push eax
push dword [ebp - 0x40224]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403700
mov ecx, dword [ebp - 0x40220]
sub ecx, dword [ebp - 0x4021c]
mov dword [ebp - 0x40220], ecx
jne 0x403691
jmp 0x403706
mov byte [ebp - 0x40214], bl
push dword [ebp - 0x40224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x40214], bl
je 0x403742
cmp byte [esi + 8], bl
je 0x40372e
lea eax, [ebp - 0x40210]
push eax
lea ecx, [esi + 0xc]
call fcn.0040293d
mov eax, dword [esi + 0x18]
test eax, eax
je 0x403742
push dword [ebp - 0x40210]
push dword [esi + 0x1c]
call eax
pop ecx
pop ecx
cmp edi, 0xffffffff
je 0x403753
push ebx
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov bl, byte [ebp - 0x40214]
lea ecx, [ebp - 0x40210]
call fcn.00402f5f
mov al, bl
jmp 0x40376a
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407182
leave
ret 4
Function at 0x4037e2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov ecx, dword [ecx]
push ebx
push esi
push edi
sub ecx, 0x10
mov dword [ebp - 8], edx
call fcn.00402f7a
push 0x44
xor ebx, ebx
push ebx
lea esi, [eax + 0x10]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
push eax
call fcn.00407760
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 0x30], 0x81
xor eax, eax
inc eax
mov word [ebp - 0x2c], ax
cmp dword [esi - 4], eax
jle 0x403843
push dword [esi - 0xc]
lea ecx, [ebp - 4]
call fcn.004030d0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push 0x400
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40386e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4038a4
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 8]
test eax, eax
je 0x403891
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jmp 0x403894
xor ebx, ebx
inc ebx
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 4]
call fcn.00402f5f
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x40f24c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40f2e9
push ebx
push esi
call fcn.0040f215
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040f15e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f296
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f2e8
push edi
push eax
call fcn.0040fae8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f2b6
call fcn.0040dd6e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f2e7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f15e
add esp, 0x20
test eax, eax
jne 0x40f2d5
push edi
call fcn.0040dd6e
jmp 0x40f2dd
push ebx
call fcn.0040dd6e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4104cc
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c200
push 0x41c1f8
push str.FlsAlloc
push 0x1e
call fcn.004103ea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410500
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d4]
call esi
jmp 0x410506
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41054a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c210
push 0x41c208
push str.FlsGetValue
push 0x20
call fcn.004103ea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410581
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x48194d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x481a22
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x481a22
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x481a22
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4819a8
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x481a22
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4819ed
test dl, dl
je 0x4819e9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4819ed
add ecx, 2
add eax, 2
test dl, dl
jne 0x4819cd
xor eax, eax
jmp 0x4819f2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x481a04
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x481a0f
inc esi
cmp esi, ebp
jae 0x481a22
mov edx, dword [esp + 0x10]
jmp 0x4819c3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x481c86
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x481c91
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x481ca5
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x481ca9
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x481ce2
cmp dword [edi + ecx], 0x4550
jne 0x481ce2
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x481ce2
test byte [edi + ecx + 0x16], 2
je 0x481ce2
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x481ce7
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x481d23
xor eax, eax
jmp 0x481d06
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x481d2c
inc edx
movzx eax, dx
cmp eax, edi
jl 0x481d06
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x481d32
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x481d6a
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x481d78
add edx, 0x20
cmp eax, edx
jne 0x481d89
test bx, bx
je 0x481dbe
add esi, 2
add edi, 2
jmp 0x481d5a
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x481d97
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x481da5
add edx, 0x20
sub ecx, edx
je 0x481dbe
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x481d53
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4826ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x48276f
test ecx, ecx
je 0x48276f
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x48276f
test ebx, ebx
je 0x48276f
mov ebx, eax
add ebx, edx
je 0x48276f
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x48276f
cmp dword [edx + eax + 0x14], 0
je 0x48276f
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x48276f
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x48275f
test dl, dl
je 0x48275b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x48275f
add edi, 2
add esi, 2
test dl, dl
jne 0x48273f
xor eax, eax
jmp 0x482764
sbb eax, eax
or eax, 1
test eax, eax
je 0x48277b
inc ebp
cmp ebp, dword [esp + 4]
jb 0x48272c
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4a3d3a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x558ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0054d713
xor ebp, ebp
mov dword [esi], 0x6a6fe8
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.004ba610
call fcn.00491d40
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0054b1ee
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00491d40
mov dword [ebx], 0x6a6b14
mov dword [edi], 0x6a6f00
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x6a6288
lea ecx, [esi + 0xb0]
call fcn.00491d40
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x6a6fdc
mov byte [esp + 0x38], 5
mov dword [esi], 0x6a6f08
mov dword [esi + 0xac], ebp
call fcn.00555ee5
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [0x55e594]
push eax
mov ecx, edi
call fcn.00552da9
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [0x55e154]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4a3ed0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x558b45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6a6f08
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x6a634c
mov byte [esp + 0x18], 4
call fcn.00552e00
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x6a60f0
call fcn.00491f40
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x6a634c
mov byte [esp + 0x18], 5
call fcn.00552e00
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x6a60f0
call fcn.00491f40
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0054b221
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x6a60f0
call fcn.00491f40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.005541fc
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b6f90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e6bb8]
xor edx, edx
cmp eax, edx
jne 0x4b6fb6
xor eax, eax
mov byte [eax + 0x6e6ab8], al
inc eax
cmp eax, 0x100
jl 0x4b6f9e
mov dword [0x6e6bb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e6ab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b7047
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4b701a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4b6fe8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b7050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4b70a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4b708a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret