joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427e19
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61df64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20c], ebx
test ebx, ebx
jne 0x427e42
push 0xfffffffffffffffd
pop eax
jmp 0x427f8a
cmp dword [ebp + 0xc], 0
jg 0x427e4c
push 0xfffffffffffffffc
jmp 0x427e3c
cmp dword [ebp + 0x10], 0
jne 0x427e56
push 0xfffffffffffffffb
jmp 0x427e3c
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jg 0x427e62
push 0xfffffffffffffffa
jmp 0x427e69
cmp dword [ebp + 0xc], edi
jge 0x427e6f
push 0xfffffffffffffff9
pop eax
jmp 0x427f89
push esi
xor esi, esi
mov edx, esi
mov ecx, esi
mov al, byte [edx + str.C6642F75_8DBE_473d_A98B_940F84EF702C]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
mov dword [ebp - 0x208], 0x26
idiv dword [ebp - 0x208]
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x427e76
mov ebx, esi
mov edi, esi
mov dl, byte [ebp + edi - 0x104]
movzx eax, byte [ebp + edi - 0x204]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x427ed1
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + ebx - 0x104]
mov byte [ebp + ebx - 0x104], dl
mov byte [ebp + edi - 0x104], al
inc edi
cmp edi, 0x100
jl 0x427eab
mov edi, dword [ebp + 0x14]
mov eax, esi
mov ebx, dword [ebp - 0x20c]
test edi, edi
jle 0x427f86
mov edx, dword [ebp + 0x10]
sub edx, ebx
inc eax
and eax, 0x800000ff
jns 0x427f16
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x208], eax
movzx eax, byte [ebp + eax - 0x104]
add esi, eax
and esi, 0x800000ff
jns 0x427f36
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp + esi - 0x104]
mov al, byte [ebp + eax - 0x104]
mov byte [ebp + esi - 0x104], al
mov eax, dword [ebp - 0x208]
mov byte [ebp + eax - 0x104], cl
movzx eax, byte [ebp + esi - 0x104]
movzx ecx, cl
add ecx, eax
movzx eax, cl
mov al, byte [ebp + eax - 0x104]
xor al, byte [edx + ebx]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 0x208]
sub edi, 1
jne 0x427f07
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00567f8c
mov esp, ebp
pop ebp
ret
Function at 0x42e7d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x62b5b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42e824
push 8
call fcn.00438444
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x42e804
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x42e806
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0042edc0
push dword [ebp - 4]
push dword [0x62b5b8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x430930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
cmp edx, 9
jne 0x4309ad
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push ecx
mov ecx, dword [edi + 4]
call fcn.004305a0
test eax, eax
jne 0x4309a8
push ebx
mov ebx, dword [edi + 4]
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x43099d
mov ecx, dword [esi + 0x18]
mov eax, ecx
shr eax, 2
not eax
test al, 1
jne 0x430996
mov eax, dword [esi]
and ecx, 0xfffffffb
mov dword [esi + 0x18], ecx
mov ecx, esi
push 0
call dword [eax + 0x58]
test byte [esi + 0x18], 0x80
je 0x430996
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x430996
mov ecx, dword [ecx]
lea eax, [esi + 4]
push 0
push eax
call fcn.00431910
mov dword [ebx + 0x54], 0
push ecx
mov ecx, dword [edi + 4]
call fcn.004305a0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [edi + 4]
pop edi
mov dword [ebp + 8], edx
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0x30]
Function at 0x434410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 0x10], 1
jb 0x43445f
mov ecx, dword [esi]
test ecx, ecx
je 0x43442e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], edi
mov ecx, dword [0x61eda0]
test ecx, ecx
jne 0x434447
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov dword [0x61eda0], ecx
movzx eax, word [ebp + 8]
push 0x5faae4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x434469
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push eax
push dword [0x61eda0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x43448f
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4344b1
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 8]
push dword [0x61eda0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.004342c0
mov dword [esi], eax
test eax, eax
je 0x4344f6
mov ecx, eax
call fcn.0042f010
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
call fcn.0042f040
mov dword [esi + 0x14], eax
mov edi, 1
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x437280
Capabilities:
Read file via mapping

Disassembly:
push esi
push str.GlobalFA6FBBB1_8C8E_43b1_B8EC_35573A94C231
push 0
push 6
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi], eax
test eax, eax
je 0x4372bc
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x4372c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xor eax, eax
pop esi
ret
mov dword [esi + 8], eax
mov eax, 1
pop esi
ret

Function at 0x4373a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x62b738], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43741b
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push 0
push 0
push str.EnableLogToView
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437412
movzx eax, byte [0x62b738]
mov ecx, 1
cmp dword [ebp - 8], ecx
cmove eax, ecx
mov byte [0x62b738], al
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x437790
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61df64]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [edi], 0
call fcn.0056c4b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x103
push eax
push str._APPDATA_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43782b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43782b
push esi
lea eax, [ebp - 0x20c]
push eax
lea esi, [edi + 4]
push 0x103
push esi
call fcn.0057b9fe
push 0xffffffffffffffff
push str.ErrLogFile.log
push 0x104
push esi
call fcn.0057d090
add esp, 0x1c
mov eax, edi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00567f8c
mov esp, ebp
pop ebp
ret
push 0x103
push str.C:ErrLogFile.log
lea eax, [edi + 4]
push 0x103
push eax
call fcn.0057ce6a
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00567f8c
mov esp, ebp
pop ebp
ret

Function at 0x437860
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43788d
push 0
push 0x20
push 4
push 0
push 3
push 0xc0000000
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
test eax, eax
je 0x4378ea
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4378ea
cmp eax, 0x2800
ja 0x4378ea
push edi
push 2
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 8], 0
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4378d0
push 0
lea eax, [ebp - 8]
sub ecx, edi
push eax
push ecx
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43e582
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0043ea72
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43e5be
call fcn.0043e7a4
mov dword [esi + 0xc], 1
jmp 0x43e5c3
call fcn.0043e7a4
cmp dword [esi], 0
je 0x43e60c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43e5e6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00439465
jmp 0x43e5f7
push 0xff
mov ecx, esi
call fcn.00410e00
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00422c00
jmp 0x43e630
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43e630
push dword [esi]
push dword [ebp - 4]
call fcn.0043dad3
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43e6f9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043e7a4
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43e741
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00439465
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00422c00
jmp 0x43e74c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043dad3
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43eb28
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5b223b
call fcn.00568a99
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x43eb4e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ebad
call fcn.00439267
push eax
lea ecx, [ebp - 0x10]
call fcn.00411510
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00568a5c
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057ce6a
push eax
call fcn.00410680
add esp, 0x14
test esi, esi
je 0x43eba0
push esi
call fcn.0057d2cf
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00411540
mov eax, ebx
call fcn.00568a62
ret 8
Function at 0x442401
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x442446
call fcn.00439d08
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x442446
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x442462
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044ccb2
mov ebx, eax
test edi, edi
je 0x442460
test esi, esi
je 0x442460
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x442e4b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x442f09
cmp dword [esi + 0x20], 0
je 0x442f09
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442f09
cmp dword [ebp + 8], 0
je 0x442f09
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00439d08
push 0x5b7918
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x442eda
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x442f09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0044d88e
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x442efa
test edi, edi
je 0x442efa
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x442f05
mov ecx, esi
call fcn.00442bee
mov eax, ebx
jmp 0x442f0b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x449c85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x449cb0
cmp dword [ebx + 0x80], 0
jne 0x449cb0
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00439d08
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00449f43
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x449cea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00439d08
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x449d21
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00449d42
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44f387
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x44f3a1
mov edi, dword [esi + 0xc]
jmp 0x44f3e1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44f3ba
call fcn.00448704
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44f3cf
call fcn.00448704
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x44f3e1
call fcn.00448704
call fcn.00439d08
cmp dword [eax + 0x3c], 0
je 0x44f3f6
push edi
mov ecx, ebx
call fcn.0044ea1b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0044f5d3
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x44f41f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x44f42b
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455423
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00454b45
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00454b90
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00454b45
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
jmp dword [ebx - 0x3e37a3a]
invalid
inc dword [ecx - 0x3e27a3a]
invalid
dec dword [edx - 0x3e17a3a]
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.00454b90
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00454b45
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00454b80
jge 0x4555cd
xor dword [eax - 0x80], esi
movsd dword es:[edi], dword [esi]
int3
Function at 0x470b6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x470b85
call fcn.00439d08
mov esi, dword [eax + 0xc]
push 0x5be668
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x470bdb
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x470bda
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x470bbb
xor esi, esi
jmp 0x470bd1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00470be3
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x505e76
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5aec1a
call fcn.00568acd
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004130f0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5f12ac
call fcn.0043f026
cmp eax, 0xffffffff
jne 0x505f41
push 0
push 0x5f7bc8
lea ecx, [ebp - 0x4d0]
call fcn.0043f026
cmp eax, 0xffffffff
jne 0x505f41
push 0
push 0x5b6c24
lea ecx, [ebp - 0x4d0]
call fcn.0043f026
cmp eax, 0xffffffff
jne 0x505f41
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004130f0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x505f1e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00568a5c
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00411540
jmp 0x505f79
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00411030
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00411540
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x505f67
mov edi, dword [ebp - 0x4cc]
jmp 0x505f79
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00568a5c
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00411540
mov eax, edi
call fcn.00568a77
ret

Function at 0x583577
Capabilities:
Read file on windows

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

Function at 0x588553
Capabilities:
Set environment variable

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

Function at 0x58d3a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1000119f
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1003278b
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp dword [edi + 0x408], ebx
jne 0x10032840
mov esi, dword [esp + 0x18]
test esi, esi
js 0x10032840
push 2
push ebx
push esi
call sym.CoreFoundation.dll__NS_lseek
mov ebp, eax
mov eax, dword [esp + 0x28]
push esi
push ebp
push edi
mov dword [edi + 0x414], eax
call fcn.100305b2
push esi
mov dword [edi + 0x40c], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 0x1c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [esp + 0x28]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
je 0x10032847
push dword [edi + 0x40c]
push ebp
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10032847
mov dword [edi + 0x408], eax
mov bl, 1
mov eax, dword [esp + 0x14]
mov dword [edi + 0x424], esi
mov dword [edi + 0x428], eax
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret
xor al, al
jmp 0x10032842