joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5641db
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov dword [ebp - 0x234], edx
mov esi, ecx
mov bl, byte [ebp + 8]
mov eax, dword [0x640100]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push 0xff
push eax
call fcn.00566f40
add esp, 0xc
mov dword [ebp - 0x22c], edi
lea eax, [ebp - 0x230]
mov dword [eax], 0xffffffff
movzx ecx, bl
mov edx, 0x80000002
sub edx, ecx
push eax
push 0x20219
push 0
push esi
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
je 0x56425f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056584e
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, str.location
mov ecx, str.EBWebView
mov edx, dword [ebp - 0x234]
mov esi, edx
test dl, dl
cmovne ecx, eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push ecx
push dword [ebp - 0x230]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x564308
cmp dword [ebp - 0x22c], 3
lea ebx, [ebp - 0x218]
jb 0x564308
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.005644d2
xor edi, edi
mov eax, esi
test al, al
je 0x564308
mov dword [ebp - 0x22c], 0x208
xor eax, eax
lea ecx, [ebp - 0x22c]
push ecx
push ebx
push eax
push eax
push 0x63128c
push dword [ebp - 0x230]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x564308
cmp dword [ebp - 0x22c], 3
jb 0x564308
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 0x630eb0
call fcn.0056459c
mov ecx, esi
push ebx
call fcn.0056459c
xor edi, edi
push dword [ebp - 0x230]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor ebx, ebx
test edi, edi
jne 0x564248
cmp dword [ebp - 0x22c], 3
jb 0x564248
mov ecx, dword [ebp + 0x10]
call fcn.00564686
push 0x5c
push eax
call fcn.00568ad4
add esp, 8
test eax, eax
je 0x564382
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [ebp - 0x228]
movdqu xmmword [edx], xmm0
mov ecx, edi
call fcn.00564108
test al, al
je 0x564382
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x56436d
push edi
call fcn.005644d2
lea ecx, [ebp - 0x228]
mov edx, dword [ebp + 0x10]
call fcn.00564389
mov ebx, eax
jmp 0x564248
xor ebx, ebx
jmp 0x564248

Function at 0x564389
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x631294]
cmp dword [ecx + eax], edx
ja 0x5643a7
jb 0x5643b2
add eax, 4
cmp eax, 0x10
jne 0x564392
push esi
call fcn.005633c6
add esp, 4
jmp 0x5643d6
mov edi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
push str.WebView2:_skipped_an_incompatible_version
call edi
mov ecx, esi
call fcn.00564686
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
push 0x630f16
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x564e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x640100]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x564e82
push ebx
push esi
call fcn.00564f30
add esp, 8
test al, al
je 0x564ede
mov ecx, ebx
call fcn.00564646
test al, al
jne 0x564ede
mov edx, dword [esi]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.00564b65
add esp, 4
mov bl, 1
jmp 0x564ee0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x564ef4
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push ebx
push eax
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x564f0f
mov ecx, edi
mov edx, ebx
push dword [ebp - 0x20]
push esi
call fcn.00564f30
add esp, 8
test al, al
je 0x564ede
mov eax, dword [esi]
test eax, eax
je 0x564f2c
push eax
call fcn.0056b59c
add esp, 4
cmp eax, 1
jmp 0x564f13
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056584e
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056584e
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00564f30
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov bl, 1
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x564ee0
mov byte [esi], 1
jmp 0x564ee0
xor eax, eax
jmp 0x564f16

Function at 0x564f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], ecx
mov eax, dword [0x640100]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, 0x208
xor ebx, ebx
lea edi, [ebp - 0x218]
push esi
push ebx
push edi
call fcn.00566f40
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], esi
push eax
push edi
push ebx
push 2
push dword [ebp - 0x220]
push ebx
push dword [ebp - 0x224]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x564fad
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.005644d2
mov ecx, edi
call fcn.00564686
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056584e
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x565da5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x565de4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x565de4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x565de4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x565de4
cmp dword [ecx + 0x74], 0xe
jbe 0x565de4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x56ff98
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 0x570035
push ebx
push esi
call fcn.0056ff61
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.0056fef5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x56ffe2
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x570034
push edi
push eax
call fcn.00570bb5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x570002
call fcn.0056ead8
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x570033
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0056fef5
add esp, 0x20
test eax, eax
jne 0x570021
push edi
call fcn.0056ead8
jmp 0x570029
push ebx
call fcn.0056ead8
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 0x571332
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x633ae0
push 0x633ad8
push str.FlsAlloc
push 0x1f
call fcn.005711f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x571366
push dword [ebp + 8]
mov ecx, esi
call dword [0x57d34c]
call esi
jmp 0x57136c
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5713b0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x633af0
push 0x633ae8
push str.FlsGetValue
push 0x21
call fcn.005711f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5713e7
push dword [ebp + 8]
mov ecx, esi
call dword [0x57d34c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]

Function at 0x5713ef
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x633af8
push 0x633af0
push str.FlsSetValue
push 0x22
call fcn.005711f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x571429
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x57d34c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsSetValue]
Function at 0x5763b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5763dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5763dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x579700
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x579781
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x5797bc
cmp dword [esp + 4], 0
je 0x5797a3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x5797df
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x640c44]
nop word cs:[eax + eax]
nop
mov dword [esi + 8], eax
lock cmpxchg dword [0x640c44], esi
jne 0x579760
mov byte [0x640c40], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x5797b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x579822
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x5797a7
mov edi, dword [esp]
jmp 0x5797b3
mov edi, dword [esi]
jmp 0x5797b2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x5fd6e8
push 0x5fd748
push eax
call fcn.00579860
add esp, 8
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x5fd738
mov dword [esp + 8], 0x5fd700
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
mov dword [esp + 0x14], 0
call fcn.005769a0
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x5fd700
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005798a0
ud2

Function at 0x579d40
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea ecx, [esp + 4]
push dword [esp + 0x44]
call fcn.00412a00
add esp, 4
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x579d80
mov eax, dword [0x5fc680]
mov edx, dword [0x5fc684]
cmp dword [esp + 8], 0
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], 1
jne 0x579def
jmp 0x579df9
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x579dd0
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
jmp 0x579de4
mov ecx, dword [esp]
movzx eax, word [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x579df9
mov ecx, edi
mov edx, 1
call fcn.00404040
add esp, 0x34
pop esi
pop edi
pop ebx
ret
Function at 0x401a40
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45bc085
jg 0x401a66
inc edi
cmp edi, 0x323bbf1
jl 0x401a4c
cmp dword [0x282841c], 0x400
jne 0x401aa6
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call fcn.00401ea1
push esi
call fcn.00401fe3
push esi
call fcn.00401ff2
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401ab7
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401add
inc edi
cmp edi, 0x263ff
jl 0x401aa8
mov eax, dword [0x43a564]
mov dword [0x282841c], eax
call fcn.004017c2
mov edi, 0x3078f
cmp dword [0x282841c], 0x51f
jne 0x401b09
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401af1
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10
Function at 0x4040eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403072
and dword [ebp - 0x14], 0
cmp dword [0x4450c0], 0
mov dword [ebp - 0x18], eax
jne 0x40419e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404246
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404246
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4450c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4450c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4450c8], eax
call edi
push eax
call esi
mov dword [0x4450d0], eax
test eax, eax
je 0x40419e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4450cc], eax
mov eax, dword [0x4450cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4041f7
cmp dword [0x4450d0], ecx
je 0x4041f7
push eax
call esi
push dword [0x4450d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4041f7
test ebx, ebx
je 0x4041f7
call edi
test eax, eax
je 0x4041ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4041ee
test byte [ebp - 8], 1
jne 0x4041f7
or dword [ebp + 0x10], 0x200000
jmp 0x40422a
mov eax, dword [0x4450c4]
cmp eax, dword [ebp - 0x18]
je 0x40422a
push eax
call esi
test eax, eax
je 0x40422a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40422a
mov eax, dword [0x4450c8]
cmp eax, dword [ebp - 0x18]
je 0x40422a
push eax
call esi
test eax, eax
je 0x40422a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4450c0]
call esi
test eax, eax
je 0x404246
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404248
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404456
leave
ret

Function at 0x404456
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420310]
jne 0x404460
repz ret
jmp fcn.00405329
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x1048815
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 3]
push esi
and eax, 0xfffffffc
or esi, 0xffffffff
cmp edx, 4
jb 0x104885c
sub ecx, eax
add edx, ecx
test edx, 0xfffffffc
je 0x1048858
rol esi, 5
add esi, dword [eax]
sub edx, 4
xor esi, 0x8bc5d801
add eax, 4
test edx, 0xfffffffc
jne 0x104883b
test esi, esi
je 0x104885c
mov eax, esi
jmp 0x104885f
or eax, 0xffffffff
pop esi
pop ebp
ret 8

Function at 0x105b3b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x105b47c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x105b3d1
cmp al, 0x6b
jne 0x105b47c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x105b43d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x105b3f1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x105b3f1
cmp al, 0xbb
jne 0x105b41a
inc ecx
cmp ecx, esi
jl 0x105b3e1
sub esi, ecx
test ecx, ecx
jne 0x105b440
push 0x8a
push 0x1007fa4
push 0x8a
push 0x80
push 4
call fcn.01050b60
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push 0x1007fa4
push 0x8a
push 0x80
push 4
call fcn.01050b60
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x105b469
push 0x93
push 0x1007fa4
push 0x8b
push 0x80
push 4
call fcn.01050b60
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.0104aa54
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push 0x1007fa4
push 0x89
push 0x80
push 4
call fcn.01050b60
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x105be20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x105be67
mov al, byte [edx]
test al, al
je 0x105be67
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x105be37
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10661e0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x10662c3
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x106625e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x1008cc0]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x1008cc0]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x1008cc0]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + 0x1008cc0]
mov byte [ecx], dl
jmp 0x10662b0
shl edx, 0x10
cmp edi, 2
jne 0x106626f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x1008cc0]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x1008cc0]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x106629d
lea edx, [edi + 0x3c]
jmp 0x10662aa
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x1008cc0]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x1066200
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x10846e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x10846f9
mov esi, edi
mov edi, eax
jmp 0x10846fb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x108470b
mov eax, ebx
jmp 0x1084715
push eax
push ebx
call fcn.01051690
add esp, 8
test eax, eax
jne 0x108471d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x1084739
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x1084724
cmp eax, dword [esi + 4]
jge 0x1084750
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x1084740
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x1084771
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x108476e
dec eax
test eax, eax
jg 0x1084760
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret