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

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc3ad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xc3ad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc3ad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xc3ad94
push eax
push esi
call fcn.00c3d20b
add esp, 8
pop esi
ret 0x10

Function at 0xc3ada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc3ae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xc3ae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xc53320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c3cdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xc3adda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xc3ae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc3aec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xc3aeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xc53320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c3cdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xc3aeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xc3ae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xc3b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xc3b131
push esi
call fcn.00c3e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00c2d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xc3b131
push 0
push ebp
call fcn.00c2d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00c2d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xc3b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00c2d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xc3b121
push 0xc53918
push edi
call fcn.00c3c3f0
push eax
push ebx
push esi
call fcn.00c3af60
push 0xc538f8
push edi
call fcn.00c3c3f0
push eax
push ebx
push esi
call fcn.00c3af60
push 0xc538d8
push edi
call fcn.00c3c3f0
push eax
push ebx
push esi
call fcn.00c3af60
push 0xc538c0
push edi
call fcn.00c3c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00c3af60
push 0xc538a0
push edi
call fcn.00c3c3f0
push eax
push ebx
push esi
call fcn.00c3af60
push 0xc53888
push edi
call fcn.00c3c3f0
push eax
push ebx
push esi
call fcn.00c3af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xc3c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c3c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c3c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c3c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c3c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc3cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc3cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc4e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc3cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc3cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x26272630
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, str.ae
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1bc42a61
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4078b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x7b], 0
jne 0x4078e3
call ebx
sub eax, dword [esi + 0x3e8]
cmp eax, 0x64
jb 0x40796c
call fcn.00468b04
xor edx, edx
mov ecx, 0x1f4
div ecx
push 4
and eax, 3
pop edi
cmp eax, edi
cmovl edi, eax
test edi, edi
jle 0x407924
push 0x690fe0
call fcn.004064c5
pop ecx
push eax
push 0x690fe0
lea ecx, [esi + 0x60]
call fcn.00405e50
sub edi, 1
jne 0x407900
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xb4]
lea edi, [esi + 0x60]
push str.bootstrap_text
call fcn.00409573
add eax, 0x64
cmp eax, edi
je 0x40794a
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00406123
cmp byte [esi + 0x7b], 0
je 0x407954
mov byte [esi + 0x7b], 0
call ebx
push 0
push 0
push dword [esi + 0x3c4]
mov dword [esi + 0x3e8], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
movss xmm0, dword [esi + 0x24]
mov ecx, dword [esi + 0xb4]
cvtps2pd xmm0, xmm0
push str.bootstrap_progress
movsd qword [esp + 0x14], xmm0
call fcn.00409573
movsd xmm0, qword [esp + 0x10]
pop edi
pop esi
movsd qword [eax + 0x50], xmm0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407ed3
Capabilities:
Terminate process

Disassembly:
mov eax, 0x60b0b4
call fcn.00609528
sub esp, 0x290
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], eax
push dword [ebx + 0x18c]
mov dword [ebp - 0x20], eax
push dword [ebx + 0x184]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x180]
push dword [ebx + 0x188]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x17c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebx + 0x3c8], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0
mov dword [ebx + 0x3cc], eax
call esi
push 1
mov edi, eax
call esi
sub eax, dword [ebx + 0x3c8]
cdq
push 3
pop ecx
idiv ecx
sub edi, dword [ebx + 0x3cc]
mov ecx, eax
mov dword [ebp - 0x28], 0xf
mov eax, edi
cdq
sub eax, edx
test ecx, ecx
mov esi, eax
push 0x32
pop eax
cmovs ecx, eax
sar esi, 1
mov dword [ebp - 0x24], ecx
cmovs esi, eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x3c], al
mov dword [ebp - 4], eax
mov ecx, ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.00407d20
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
test eax, eax
je 0x407fc3
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00467617
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
jmp 0x407fc5
xor eax, eax
push ebx
push dword [ebx + 0x170]
push 0
push 0
push dword [ebx + 0x3c8]
push dword [ebx + 0x3cc]
push dword [ebp - 0x24]
push esi
push dword [ebx + 0x188]
push eax
lea eax, [ebx + 0x1c4]
push eax
push dword [ebx + 0x18c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
test byte [ebp - 0x10], 1
mov dword [ebx + 0x3c4], eax
je 0x408020
lea eax, [ebp - 0x294]
cmp dword [ebp - 0x298], eax
je 0x408020
push dword [ebp - 0x298]
call fcn.0052c08b
pop ecx
pop edi
xor eax, eax
cmp dword [ebx + 0x3c4], eax
pop esi
pop ebx
jne 0x408047
push 0x10
push str.Error_
push str.Window_creation_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.0054d388
push eax
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040637e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420fc1
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_OptionsAgent.exe
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x420ffd
push edi
push edi
push edi
push edi
push str.Debugger
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
test esi, esi
jne 0x421046
lea eax, [ebp - 4]
push eax
push 2
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_OptionsAgent.exe
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x421039
push str.Debugger
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
push dword [ebp - 4]
call edi
test esi, esi
je 0x421046
xor al, al
jmp 0x421048
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421468
Capabilities:
Set registry value

Disassembly:
mov eax, 0x60ae9b
call fcn.00609528
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push str.SoftwareBlizzard_Entertainment_
lea ecx, [ebp - 0x28]
call fcn.004064e2
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00405db1
push 0x10
pop esi
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4214e9
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421515
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], esi
jb 0x4214f6
mov eax, dword [eax]
cmp dword [edi + 0x14], esi
jb 0x4214fd
mov edi, dword [edi]
push ecx
push eax
push 1
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040637e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x421531
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x60bc32
call fcn.00609528
sub esp, 0x220
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push str.SoftwareBlizzard_Entertainment_
lea ecx, [ebp - 0x2c]
call fcn.004064e2
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00405db1
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4215f5
push 0x200
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], 0x1ff
push ebx
push eax
call fcn.00544d60
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x4215b1
mov edi, dword [edi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x22c]
mov esi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4215d3
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040644c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040637e
mov ecx, dword [ebp - 0xc]
test esi, esi
pop edi
pop esi
sete al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42970b
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x60dbac
call fcn.00609528
sub esp, 0xf0
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x30]
push ebx
push esi
push edi
push dword [0x718d68]
call fcn.004298bf
and dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [0x718c80]
mov esi, dword [eax + 8]
add esi, eax
cmp dword [0x718d68], ebx
jbe 0x4297a2
mov edi, dword [ebp - 0x30]
push ecx
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00410cbe
push ecx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.0042991b
mov edx, esi
mov ecx, eax
call fcn.0040e54e
push edi
lea ecx, [ebp - 0xfc]
call fcn.0042993a
mov ecx, esi
call fcn.00467469
inc eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
add esi, eax
call fcn.0040ff10
inc ebx
add edi, 2
cmp ebx, dword [0x718d68]
jb 0x42974b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov edx, eax
mov dword [ebp - 0x20], eax
and edx, 0x3ff
mov dword [ebp - 0x34], 0xf
and dword [ebp - 0x38], 0
mov dword [ebp - 0x10], edx
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 2
mov edi, dword [0x718d08]
mov esi, dword [edi]
jmp 0x42984c
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
movzx ecx, byte [eax + 0xd]
cmp byte [eax + 0xe], bl
jbe 0x42984a
mov edx, dword [ebp - 0x30]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
movzx ecx, word [ecx]
cmp cx, word [ebp - 0x20]
je 0x429895
mov dword [ebp - 0x24], 0x400
cmp cx, word [ebp - 0x24]
jae 0x429832
cmp cx, dx
jne 0x429832
lea ebx, [eax + 4]
push ebx
call fcn.004064c5
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040644c
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
inc ebx
movzx eax, byte [eax + 0xe]
add ecx, 2
cmp ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jb 0x4297f6
mov esi, dword [esi]
cmp esi, edi
jne 0x4297d6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00405f3a
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0040637e
lea ecx, [ebp - 0x30]
call fcn.0042a2d2
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
add eax, 4
push eax
call fcn.004064e2
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0040637e
lea ecx, [ebp - 0x30]
call fcn.0042a2d2
mov eax, dword [ebp + 8]
jmp 0x429882
Function at 0x42b854
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
push 3
mov ebx, ecx
xor edx, edx
pop ecx
lea eax, [edi + 2]
div ecx
shl eax, 2
cmp dword [esi], eax
jae 0x42b879
xor al, al
jmp 0x42b99c
and dword [esi], 0
cmp edi, ecx
jb 0x42b905
mov eax, edi
xor edx, edx
div ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
sub edi, 3
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
mov ecx, dword [esi]
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + ecx], al
mov eax, edx
inc dword [esi]
mov ecx, dword [esi]
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, edx
inc dword [esi]
and edx, 0x3f
mov ecx, dword [esi]
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, dword [ebp + 8]
inc dword [esi]
add eax, 3
sub dword [ebp + 0xc], 1
mov dword [ebp + 8], eax
jne 0x42b890
jmp 0x42b908
mov eax, dword [ebp + 8]
sub edi, 1
je 0x42b95f
sub edi, 1
jne 0x42b99a
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
mov ecx, dword [esi]
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + ecx], al
mov eax, edx
inc dword [esi]
mov ecx, dword [esi]
shr eax, 0xc
and eax, 0x3f
shr edx, 6
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
and edx, 0x3f
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
jmp 0x42b990
movzx edx, byte [eax]
mov ecx, dword [esi]
shl edx, 0x10
mov eax, edx
shr edx, 0xc
shr eax, 0x12
and edx, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + ecx], al
inc dword [esi]
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
mov eax, dword [esi]
mov byte [eax + ebx], 0x3d
inc dword [esi]
mov eax, dword [esi]
mov byte [eax + ebx], 0x3d
inc dword [esi]
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4335ae
Capabilities:
Get file version info

Disassembly:
mov eax, 0x60e79d
call fcn.00609528
sub esp, 0x26c
xor eax, eax
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00460bd9
cmp eax, 1
je 0x4335de
xor al, al
jmp 0x43368f
push esi
lea ecx, [ebp - 0x278]
call fcn.00467617
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x433608
xor esi, esi
jmp 0x433611
push edi
call fcn.0052c2c8
pop ecx
mov esi, eax
push esi
push edi
push 0
push dword [ebp - 0x274]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x433666
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6950f8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x433666
cmp dword [ebp - 0x10], 0x34
jb 0x433666
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xa]
mov dword [ebx], eax
movzx eax, word [ecx + 8]
mov dword [ebx + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [ebx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [ebx + 0xc], eax
xor ebx, ebx
inc ebx
jmp 0x433668
xor bl, bl
test esi, esi
je 0x433673
push esi
call fcn.0052c08b
pop ecx
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x274], eax
je 0x43368d
push dword [ebp - 0x274]
call fcn.0052c08b
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437d1d
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60b0b4
call fcn.00609528
sub esp, 0x30
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x14], esi
sete al
test al, al
je 0x437d4c
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x437eaf
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x437d7b
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x437d7b
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x437eae
cmp dword [esi + 0x4c], 0
je 0x437eac
mov ecx, esi
call fcn.00437ff9
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x437dab
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.0043735e
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x437eac
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x3c], cl
lea ecx, [ebp - 0x3c]
push 8
mov byte [ebp - 0x10], al
mov dword [ebp - 0x28], 0xf
call fcn.00413f53
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmp edi, 0x10
lea edx, [ebp - 0x3c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [edi + 0x1c]
test eax, eax
js 0x437ea0
cmp eax, 1
jg 0x437e85
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x20], edx
je 0x437e56
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x3c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00558d61
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp edx, eax
jne 0x437ea0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x24], eax
jne 0x437e80
test edx, edx
jne 0x437dd6
cmp dword [ebp - 0x2c], 0x20
jae 0x437ea0
push edx
push 8
lea ecx, [ebp - 0x3c]
call fcn.00408eb4
jmp 0x437dd3
mov ebx, dword [ebp + 8]
jmp 0x437ea0
cmp eax, 3
jne 0x437ea0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4c]
push dword [ebp - 0x10]
call fcn.0043735e
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040637e
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4