joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545fb8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0049cee0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.0040d180
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545fb8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0049cee0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.0040d180
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x545a99
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x57a924
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.0042f940
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x58c85c
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.004a60bb
int3
Function at 0x437930
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5b0970], 0
push ebx
je 0x43795e
mov al, byte [0x5b0971]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0x28
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4379dc
lea ecx, [ebp - 0x20]
push ecx
push 0x57b9a8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4379dc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
mov ebx, 1
push edx
mov byte [0x5b0970], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4379dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4379dc
mov byte [0x5b0971], bl
mov eax, dword [ebp - 0x18]
mov bl, byte [0x5b0971]
test eax, eax
je 0x4379f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049cc86
mov esp, ebp
pop ebp
ret

Function at 0x437a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, 1
mov dword [ebp - 4], 0
call fcn.00437930
test edi, edi
je 0x437a4d
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x437a50
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
mov eax, dword [ebp - 4]
test esi, esi
setne bl
test eax, eax
je 0x437a60
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437ab0
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544a48
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x44
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x84]
push ebx
push eax
mov esi, ecx
mov edi, edx
call fcn.004a6110
add esp, 0xc
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x54], cx
xor edx, edx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040d880
push 1
push 0x57b9cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040d6a0
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004112b0
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x437b62
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x84]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x437bea
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov bl, 1
lea ecx, [ecx]
push 0x64
call esi
test bl, bl
je 0x437ba8
mov eax, dword [ebp - 0x38]
push eax
push 0x437a70
call edi
test eax, eax
setne bl
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x30], 0x103
je 0x437b90
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x3c]
push ecx
call esi
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x30]
jb 0x437be6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049cf83
add esp, 4
mov eax, esi
jmp 0x437bfe
cmp dword [ebp - 0x18], esi
jb 0x437bfb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049cf83
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret
Function at 0x438100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5ac5fc], 0
mov dword [ebp - 0x214], 0
jne 0x4381a2
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004a6110
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4381a2
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438170
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, 0x5ac5ec
call fcn.0040d980
push 1
push 0x579154
mov ecx, 0x5ac5ec
call fcn.0040d6a0
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
push 0x5ac5ec
mov ecx, esi
call fcn.0040d880
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0049cc86
mov esp, ebp
pop ebp
ret

Function at 0x438260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [0x5ac688], eax
jne 0x438381
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov edi, 0x105
lea esi, [ebp - 0x5c]
call fcn.00434530
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x5c]
push edi
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jne 0x43836b
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4382f0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d980
lea edx, [ebp - 0x2c]
push edx
mov edx, 0x579154
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00416e70
add esp, 4
push eax
mov ecx, 0x5ac678
mov byte [ebp - 4], 2
call fcn.0040d620
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x438346
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049cf83
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x43836b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049cf83
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43837f
push edi
call fcn.0049cf83
add esp, 4
xor eax, eax
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
push eax
mov word [ebx], cx
push 0x5ac678
mov ecx, ebx
call fcn.0040d880
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret
Function at 0x4388e0
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5440e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, esi
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
call fcn.004034c0
cmp al, bl
jne 0x438935
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x43893f
mov eax, dword [esi]
jmp 0x438941
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, ebx
je 0x438974
push ebx
push esi
mov byte [ebp - 4], 1
call fcn.0049ad40
add esp, 8
mov dword [ebp - 4], ebx
jmp 0x438974
mov eax, esi
call fcn.004034c0
test al, al
sete al
test al, al
jne 0x4389bd
jmp 0x43899f
cmp byte [ebp + 0xc], 0
je 0x4389bd
cmp dword [esi + 0x14], 8
jb 0x4389ad
mov esi, dword [esi]
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
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 0x4389d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548e56
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov eax, esi
mov dword [ebp - 4], 0
call fcn.004034c0
test al, al
je 0x438aee
cmp dword [esi + 0x14], 8
jb 0x438a21
mov eax, dword [esi]
jmp 0x438a23
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x438aee
push 0
push esi
mov byte [ebp - 4], 1
call fcn.0049ad40
add esp, 8
jmp 0x438aee
mov ecx, 8
cmp dword [esi + 0x14], ecx
jb 0x438afa
mov esi, dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ecx
jb 0x438b04
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
neg eax
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 0x43a020
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x20a
push eax
lea ecx, [ebp - 0x21a]
mov dword [ebp - 0x220], 0
push ecx
mov dword [ebp - 0x224], esi
mov word [ebp - 0x21c], ax
call fcn.004a6110
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], dx
push edx
push 0x2a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edx
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push eax
push edx
mov dword [ebp - 0x220], 1
call edi
test eax, eax
jne 0x43a0c2
push eax
push 0x26
lea ecx, [ebp - 0x21c]
push ecx
push eax
call edi
test eax, eax
je 0x43a0ee
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
jmp 0x43a0d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a0d0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call fcn.0040d980
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret
Function at 0x43a110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x546a78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
mov edi, 0x800
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
call fcn.00434530
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea ecx, [ecx]
mov eax, dword [ebp + 8]
mov esi, ebx
sub esi, edi
sar esi, 1
cmp dword [eax + 0x14], 8
jb 0x43a181
mov eax, dword [eax]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x43a1cf
cmp eax, esi
jbe 0x43a1f1
inc eax
mov dword [esp + 0x10], 0
cmp eax, esi
jbe 0x43a1b2
lea ecx, [esp + 0x10]
push ecx
sub eax, esi
push ebx
lea ecx, [esp + 0x1c]
call fcn.0043a250
jmp 0x43a165
jae 0x43a170
lea esi, [edi + eax*2]
cmp esi, ebx
je 0x43a170
push 0
push ebx
push esi
call fcn.0049cfa0
mov ebx, esi
add esp, 0xc
mov dword [esp + 0x18], ebx
jmp 0x43a170
test edi, edi
je 0x43a1dc
push edi
call fcn.0049cf83
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [edi + eax*2]
cmp ecx, 8
jb 0x43a203
mov edx, dword [esi]
jmp 0x43a205
mov edx, esi
mov ebx, dword [esi + 0x10]
lea edx, [edx + ebx*2]
cmp ecx, 8
jb 0x43a214
mov ecx, dword [esi]
jmp 0x43a216
mov ecx, esi
mov ebx, dword [esp + 0x10]
push ebx
push eax
push edi
push edx
push ecx
call fcn.0043a430
test edi, edi
je 0x43a231
push edi
call fcn.0049cf83
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ac80
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x5b0978]
mov edx, dword [0x5b097c]
mov eax, dword [0x5b0974]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x5b0984]
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov eax, dword [0x5b0980]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x84], 0x5b0974
mov dword [ebp - 0x14], eax
call fcn.0043a4f0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x84]
call fcn.0043a4f0
push 0
call fcn.0049dc3d
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0043a4f0
call fcn.004a16db
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0043a4f0
call fcn.004a1743
mov dword [ebp - 0x18], eax
call fcn.004a1743
mov dword [ebp - 0x14], eax
call fcn.004a1743
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043a4f0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43ad8b
push eax
push 0x14
lea ecx, [ebp - 0x20]
push 1
push ecx
call fcn.004a19ae
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
call fcn.0043a4f0
push 4
call fcn.0049d40e
lea ecx, [eax + 4]
add esp, 4
push ecx
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0043a4f0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043a4f0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049cf83
add esp, 4
lea ecx, [edi + 0x14]
push ecx
mov ecx, edi
call fcn.0043a4f0
lea edx, [ebp - 0x20]
push edx
call fcn.0043aab0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x20]
xor dword [eax], ecx
xor dword [edi], ecx
mov ecx, dword [ebp - 0x1c]
xor dword [eax + 4], ecx
xor dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
xor dword [eax + 8], ecx
xor dword [edi + 8], ecx
mov ecx, dword [ebp - 0x14]
xor dword [eax + 0xc], ecx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x10]
xor dword [eax + 0x10], ecx
xor dword [edi + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049cc86
mov esp, ebp
pop ebp
ret

Function at 0x43b0a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [eax], 0x1571
mov dword [eax + 0x9c0], 1
push ebx
mov ecx, dword [eax + 0x9c0]
mov edx, dword [eax + ecx*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, ecx
mov dword [eax + ecx*4], ebx
inc dword [eax + 0x9c0]
cmp dword [eax + 0x9c0], 0x270
jb 0x43b0b1
pop ebx
ret
Function at 0x43b570
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
sub edi, ebx
jne 0x43b58a
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
cmp edi, 0xffffffff
jne 0x43b5a1
mov esi, dword [ebp + 8]
call fcn.0043ba30
pop esi
pop edi
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
jbe 0x43b614
xor ecx, ecx
lea eax, [edi + 1]
xor edx, edx
div ecx
mov esi, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov ebx, 1
mov dword [ebp - 4], eax
lea ebx, [ebx]
cmp dword [ebp - 4], ebx
jae 0x43b5f0
mov byte [ebp - 8], 0
mov edx, dword [ebp - 8]
push edx
push edi
push 0
push esi
call fcn.0043b570
add esp, 0x10
cmp eax, 0xffffffff
ja 0x43b5c0
cmp eax, edi
ja 0x43b5c0
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043ba30
imul eax, ebx
add dword [ebp + 0x10], eax
mov eax, edi
sub eax, ebx
inc eax
neg ebx
cmp ebx, eax
je 0x43b60a
xor ebx, ebx
jmp 0x43b5f0
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
xor edx, edx
lea ecx, [edi + 1]
div ecx
mov ebx, eax
cmp edx, edi
jne 0x43b625
inc ebx
mov esi, dword [ebp + 8]
jmp 0x43b630
cmp dword [esi + 0x9c0], 0x270
jne 0x43b643
mov ecx, esi
call fcn.0043baa0
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [esi + 0x9c0], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
cmp eax, edi
ja 0x43b630
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4825b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, eax
test esi, esi
je 0x4826af
cmp edi, 2
jle 0x48262a
jmp 0x4825d0
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, 4
lea ebx, [ebx]
mov edx, eax
and edx, 0x3f
mov dl, byte [edx + 0x57db00]
dec ecx
shr eax, 6
mov byte [ebp + ecx - 4], dl
test ecx, ecx
jg 0x4825f0
lea eax, [ebp - 4]
push 4
push eax
mov ecx, ebx
call fcn.00480be0
add esp, 8
test eax, eax
jne 0x4826b8
sub edi, 3
add esi, 3
cmp edi, 2
jg 0x4825d0
test edi, edi
jle 0x4826af
xor ecx, ecx
xor eax, eax
test edi, edi
jle 0x482654
mov edx, edi
mov eax, edi
mov edi, edi
movzx ebx, byte [esi]
shl ecx, 8
or ecx, ebx
inc esi
dec edx
jne 0x482640
mov ebx, dword [ebp + 8]
cmp edi, 3
jge 0x482666
mov edx, 3
sub edx, eax
add eax, edx
lea ecx, [ecx]
shl ecx, 8
dec edx
jne 0x482660
inc eax
test eax, eax
jle 0x482687
jmp 0x482670
mov edx, ecx
and edx, 0x3f
mov dl, byte [edx + 0x57db00]
dec eax
shr ecx, 6
mov byte [ebp + eax - 4], dl
test eax, eax
jg 0x482670
mov eax, 3
cmp edi, eax
jge 0x48269b
mov cl, 0x3d
mov byte [ebp + eax - 4], cl
dec eax
cmp eax, edi
jg 0x482692
lea eax, [ebp - 4]
push 4
push eax
mov ecx, ebx
call fcn.00480be0
add esp, 8
test eax, eax
jne 0x4826b8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x191b0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret