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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x467074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x38], 0
je 0x40b13b
cmp byte [ebx + 0x3e], 0
je 0x40b13b
push 0xffff
call fcn.0040a610
mov ecx, 0xffff
cmp cx, ax
je 0x40b0f1
push edi
mov edi, dword [ebx + 0x38]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [0x452268]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x40b103
sub eax, 1
je 0x40b107
sub eax, 2
je 0x40b13b
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x40b124
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.00433943
add esp, 0x10
cmp esi, eax
jne 0x40b0f1
cmp byte [ebx + 0x3e], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret

Function at 0x40b310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fc30
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x467074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x45fd60
call fcn.0042b405
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00414624
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c400
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40c418
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov word [eax], cx
lea ecx, [ebx + 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x40c440
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x40c439
mov eax, dword [eax]
push edx
push eax
call fcn.00401470
lea esi, [ebx + 0x20]
mov dword [ebx + 0x1c], 2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c454
mov eax, dword [esi]
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [eax], cx
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 8
mov dword [ebx], 0
call fcn.0042b405
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebx + 4]
mov dword [eax], 0x40c7f0
push 0
push 4
push eax
push 0x403d40
push 0
push 0
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x40c4ec
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ebx], eax
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40c4c8
push 0x33
push str.Code_signing_certificate_validation_timed_out__2_2_
jmp 0x40c500
cmp edi, esi
je 0x40c4e0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x40c4d7
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.00401470
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 8
push dword [ebp - 8]
call fcn.0042b435
add esp, 8
push 0x33
push str.Code_signing_certificate_validation_timed_out__1_2_
mov ecx, edi
call fcn.00401470
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411030
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x467074]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x411059
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [eax], cx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat_EOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41112a
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareEasyAntiCheat_EOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41112f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegDeleteKeyW_failed_with__i
push eax
call fcn.0040e6a0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x4110eb
mov ecx, esi
call fcn.00401220
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x4111c5
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4111d9
jmp 0x4111bb
cmp eax, 2
jne 0x411148
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.0040e6a0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x41118d
mov ecx, esi
call fcn.00401220
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x4111c5
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4111de
push edx
push ecx
call fcn.0042b435
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
call fcn.0043012a
call fcn.0043012a
int3
Function at 0x4133a0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x467074]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4133c7
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
test edi, edi
jne 0x4133f9
push 0x12
push 0x4616e4
mov ecx, esi
call fcn.00401470
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4134bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
je 0x4134bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.DeleteService_failed_with__i
push eax
call fcn.0040e6a0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x413470
mov ecx, esi
call fcn.00401220
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x4134be
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41349e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4134d2
push edx
push ecx
call fcn.0042b435
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
mov bl, 1
mov ecx, dword [esp + 0x44]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
call fcn.0043012a
int3
Function at 0x413e90
Capabilities:
Create directory
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov byte [ebp - 1], dl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x413eab
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
lea edi, [esi + 0x10]
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push ecx
push 0x8000
push 0x4529b0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x413f1a
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ee0
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00401470
push 0x4600ec
mov ecx, esi
call fcn.00402120
push str.EasyAntiCheat_EOS
mov ecx, esi
call fcn.00402120
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [edi], 0
je 0x413ff5
cmp byte [ebp - 1], 0
je 0x413f93
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x413f33
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x413f49
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x413f5a
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x413f93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x413f93
cmp dword [esi + 0x14], 8
jb 0x413f7c
mov esi, dword [esi]
xor eax, eax
mov dword [edi], 0
mov word [esi], ax
cmp dword [edi], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x413fb3
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
cmp edx, 8
jb 0x413faa
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x5c
jmp 0x413fc4
push 0x5c
mov byte [ebp - 0xc], 0
push dword [ebp - 0xc]
push ecx
mov ecx, esi
call fcn.00402a10
sub ebx, 0
je 0x413fe6
sub ebx, 1
jne 0x413ff2
push str.EasyAntiCheat_EOS.sys
mov ecx, esi
call fcn.00402120
cmp dword [edi], ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push str.EasyAntiCheat_EOS.exe
mov ecx, esi
call fcn.00402120
cmp dword [edi], 0
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x414011
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push 0x4529c0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x41407a
mov edx, dword [ebp - 4]
mov ecx, edx
push edi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414040
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00401470
push 0x4600ec
mov ecx, esi
call fcn.00402120
push str.EasyAntiCheat_EOS
mov ecx, esi
call fcn.00402120
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
cmp dword [esi + 0x10], 0
pop esi
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4413a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441055

Function at 0x4413af
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004411df

Function at 0x4470a8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00446d25
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401c66
pop dword [ebp - 0x44]
mov eax, 0x903effd2
add eax, 0x70011c94
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x507b5411
add dword [ebp - 0x54], 0xfdd6f13a
mov dword [ebp - 0x50], 0xb3ad38fd
add dword [ebp - 0x50], 0x7e861348
mov dword [ebp - 0x4c], 0x37a792bb
sub dword [ebp - 0x4c], 0xeb5b4e8d
mov dword [ebp - 0x48], 0xedb0dc63
sub dword [ebp - 0x48], 0xedb0dc63
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xa6553e51
sub dword [ebp - 0x54], 0x31e2d4fb
mov dword [ebp - 0x50], 0x52510fc7
sub dword [ebp - 0x50], 0x10e4ae52
mov dword [ebp - 0x4c], 0xa2b6bf07
sub dword [ebp - 0x4c], 0x3f47529b
mov dword [ebp - 0x48], 0x4704a5d4
sub dword [ebp - 0x48], 0x4704a5d4
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x35ec6
push 0
call eax
mov ecx, 0x496c721d
sub ecx, 0x496c2c58
xor esi, esi
add esi, eax
mov edx, 0x3524aef4
sub edx, 0x34e43ef4
add edx, dword [ebp - 0x44]
mov edi, 0xce3f075d
sub edi, 0xc431e706
sub dword [ebp - 0x20], esi
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0x1a95c8b3
add ebx, edi
sub dword [ebp - 0x34], edi
mov dword [esi], ebx
xor dword [ebp - 0x30], 0xdfb5be38
add esi, 0xa53e04d8
add esi, 0x5ac1fb2c
add edx, 4
loop 0x401d80
add eax, 0x109e7
mov ebx, eax
add eax, 0xf1ad453b
add eax, 0xe52baca
mov ecx, 0x8b3aed7d
sub ecx, 0x8afaed7d
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x2a30dd20
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a353dc6
call fcn.2a302657
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30de11
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30ddca
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30ddc7
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30dd8e
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30ddf1
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30de46
test di, di
jne 0x2a30de43
push esi
push dword [ebx + 0x18]
call fcn.2a33e233
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30de46
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a33e233
xor ecx, ecx
jmp 0x2a30de46
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30decd
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a33e233
mov edi, dword [0x2a36bb18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36bb0c]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35835c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35835c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a33e233
cmp dword [ebp - 0x14], 0
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a33e233
test al, al
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a33ed32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a33e233
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30def1
mov eax, dword [0x2a36b7ac]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35835c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30df25
push eax
mov eax, dword [0x2a36bb38]
cmp word [ebx + 0x196], cx
je 0x2a30df0f
mov esi, dword [eax + 0x124]
jmp 0x2a30df15
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35835c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302bc2
ret
Function at 0x2a32caab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35572a
call fcn.2a304215
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32cccc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a33e233
add esp, 0x10
test eax, eax
js 0x2a32ccc6
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32cb4f
push edi
call fcn.2a32df9a
pop ecx
test al, al
je 0x2a32cb4f
mov eax, edi
call fcn.2a352aa0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32cb61
push edi
lea ecx, [ebp - 0x424]
call fcn.2a33e233
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a33e233
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32ccc6
push 0x60
push ebx
push eax
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32cbb9
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32cbb9
call fcn.2a32b317
mov ebx, eax
jmp 0x2a32cc95
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32cbe0
call fcn.2a32b317
jmp 0x2a32cc88
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32cbd6
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32cc13
mov ebx, 0x8007000e
jmp 0x2a32cc8a
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a33e233
jmp 0x2a32cc39
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32cc0c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a33e233
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a33e233
mov ebx, eax
test edi, edi
je 0x2a32cc95
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32ccae
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccbe
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32ccb4
mov eax, ebx
jmp 0x2a32ccfa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32cce1
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccf1
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32cce7
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30424f
ret 0x10
Function at 0x2a33e233
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x2a33e242
pop dword [ebp - 0x4c]
mov eax, 0x2a33e242
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x9fc6e104
sub dword [ebp - 0x5c], 0x51749bb9
mov dword [ebp - 0x58], 0xff1e7b0c
add dword [ebp - 0x58], 0x3314d139
mov dword [ebp - 0x54], 0x1e123306
sub dword [ebp - 0x54], 0xd1c5eed8
mov dword [ebp - 0x50], 0xb93eb584
add dword [ebp - 0x50], 0x46c14a7c
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x2e1ccd9a
sub dword [ebp - 0x5c], 0xb9aa6444
mov dword [ebp - 0x58], 0x682ce5e0
sub dword [ebp - 0x58], 0x26c0846b
mov dword [ebp - 0x54], 0xbf06cea0
add dword [ebp - 0x54], 0xa4689dcc
mov dword [ebp - 0x50], 0x313eff3f
add dword [ebp - 0x50], 0xcec100c1
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x79596ad
sub eax, 0xdd601621
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4b15c
push 0
call eax
mov ecx, 0x4a8e
xor esi, esi
add esi, eax
mov edi, 0xca4c69c5
add edi, 0x5feb8c3b
add edi, dword [ebp - 0x4c]
mov edx, 0x9d96151a
sub edx, 0x31e001cb
mov dword [ebp - 0x44], 0xf496f95f
mov ebx, dword [edi]
add dword [ebp - 0x38], 0x4416faee
add ebx, edx
add dword [ebp - 0x38], eax
mov dword [esi], ebx
xor dword [ebp - 0x44], ecx
add esi, 0xbee98fd9
add esi, 0x4116702b
add edi, 4
loop 0x2a33e356
add eax, 0xd32816ee
sub eax, 0xd326f9e3
xor ebx, ebx
add ebx, eax
add eax, 0x5a5c38ff
sub eax, 0x5a5c38fa
mov ecx, 0x8d796fc5
add ecx, 0x9cb6903b
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x422b51
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48a334]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov edi, ecx
mov ebx, 0x47ed48
mov esi, 0x48a334
jne 0x422c13
push eax
push 0x47ed5c
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00445d42
add esp, 0x10
mov ecx, esi
push eax
call fcn.00401522
lea ecx, [ebp - 4]
call fcn.0040139c
mov eax, dword [0x48a334]
cmp dword [eax - 8], 0
jne 0x422c13
lea ecx, [ebp - 0x10]
call fcn.0045bcee
push dword [edi + 4]
lea ecx, [ebp - 0x10]
push 0x1a
call fcn.0045c448
lea eax, [ebp - 8]
push str.Q_DirFavoriten_
push eax
lea ecx, [ebp - 0x10]
call fcn.0045c25b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00408569
lea ecx, [ebp - 8]
call fcn.0040139c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x422bf8
test al, 0x10
je 0x422bf8
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00401522
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0045bcda
mov eax, dword [0x48a334]
cmp dword [eax - 8], 0
je 0x422c4a
mov edi, 0x47ec6c
mov eax, edi
test eax, eax
je 0x422c25
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00401658
push esi
call fcn.0044ae5e
push 0
push dword [0x48a334]
push 0x47ed5c
push ebx
call fcn.00445d21
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret