joyce8/EMBER2024-capa huggingface dataset:
Function at 0x552d30
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x552d3d
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x44
call fcn.00549520
mov edi, eax
test edi, edi
jne 0x552d57
pop edi
pop esi
pop ebx
ret
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.0054cf90
mov dword [edi], eax
mov ecx, dword [ebx + 8]
push ebp
push ecx
push esi
call fcn.00552ad0
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ebp
push eax
push esi
call fcn.0055a860
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push ebp
push edx
push esi
call fcn.0054cf90
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
push esi
call fcn.0055a860
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push ebp
push eax
push esi
call fcn.0054cf90
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov edx, dword [ebx + 0x1c]
push ebp
push edx
push esi
call fcn.00552d30
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ebp
push eax
push esi
call fcn.0055a860
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push ebp
push eax
push esi
call fcn.0055a860
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x38
mov dword [edi + 0x24], eax
or eax, 0xffffffff
pop ebp
and cx, 0xfff7
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x55c160
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x55c180
test edi, edi
mov al, byte [ebp + 0x607568]
mov byte [esp + 0x10], al
je 0x55c209
cmp byte [edi], 0
mov eax, edi
je 0x55c19d
add eax, 1
cmp byte [eax], 0
jne 0x55c195
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x190
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x55c1f1
xor eax, eax
test ebx, ebx
mov esi, ebx
mov edx, edi
jle 0x55c1e7
movzx edi, byte [edx]
movzx edi, byte [edi + 0x606cf8]
lea ebp, [eax*8]
xor edi, ebp
sub esi, 1
xor eax, edi
add edx, 1
test esi, esi
jg 0x55c1c0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x55c1f3
xor edx, edx
push edi
call fcn.0053f910
add esp, 4
test eax, eax
je 0x55c205
mov eax, dword [eax + 8]
jmp 0x55c210
xor eax, eax
jmp 0x55c210
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x55c220
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x55c243
add ebp, 1
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x55c180
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x562570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esi + 0x3c]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [edx], ebx
jne 0x5625a1
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x562682
mov ebx, eax
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x5625dd
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.005c2470
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
push ebp
push edi
nop
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x56267e
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x18]
ja 0x56266f
test byte [ebp + 0x14], 0x20
jne 0x56266f
mov ebx, dword [esi + 0x80]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.005c2470
mov ecx, dword [esi + 0x3c]
mov ebp, dword [ebp]
push edx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push ebx
push ebp
push ecx
call eax
add esp, 0x14
cmp edi, 1
mov dword [esp + 0xc], eax
jne 0x562651
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x18]
mov dword [esi + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x70], edx
cmp edi, dword [esi + 0x20]
jbe 0x562659
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [esi + 0x58]
call fcn.00560270
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
test ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
je 0x5625e0
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x59ade0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e0518
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
jl 0x59ae93
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x40], ebx
call fcn.0059ac40
test eax, eax
je 0x59ae77
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00407630
cmp dword [esp + 0x28], 0x10
jb 0x59aead
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005a1b1d
add esp, 4
jmp 0x59aead
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x38], 0xffffffff
jb 0x59ae93
mov edx, dword [esp + 0x14]
push edx
call fcn.005a1b1d
add esp, 4
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x63a990
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00408ea0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret 8
Function at 0x59ba60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e05fe
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
sub esp, 0x1c
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xe8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x38], ebx
mov byte [ecx + 4], bl
call fcn.00407630
mov ecx, esi
call fcn.0059b550
cmp eax, ebx
je 0x59baf3
cmp dword [esp + 0xd8], 0x10
jb 0x59baea
mov eax, dword [esp + 0xc4]
push eax
call fcn.005a1b1d
add esp, 4
mov eax, dword [esp + 0xc]
jmp 0x59bbcb
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.0040a750
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x34]
push 0x60d7e0
push edx
mov byte [esp + 0xc4], 1
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0xb8], 2
jb 0x59bb50
mov eax, dword [eax + 4]
jmp 0x59bb53
add eax, 4
push eax
push str.Sqlite3Db::CRunSqlRead::GetColindex
push 0x157
push str..commonRunSqlRead.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x2c], esi
jb 0x59bb87
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb8], bl
call fcn.00409510
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x80], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
cmp dword [esp + 0xd8], esi
jb 0x59bbc8
mov eax, dword [esp + 0xc4]
push eax
call fcn.005a1b1d
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xb0
ret 0x1c
Function at 0x59c390
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x5ddd96
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x600d4c
push 1
xor ebx, ebx
push ebx
push 0x600e1c
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x59c4bd
push 1
push 2
lea ecx, [esp + 0x34]
call fcn.0040a750
push esi
lea ecx, [esp + 0x30]
push str.CoCreateInstance:
push ecx
mov dword [esp + 0xc0], ebx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419b30
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0xb4], 1
jb 0x59c436
mov eax, dword [eax + 4]
jmp 0x59c439
add eax, 4
push eax
push str.BaseLib::CWMILocator::WbemLocator
push 0x13
push str..commonWMIInterface.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x28], esi
jb 0x59c46a
mov eax, dword [esp + 0x14]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0xb4], 0xffffffff
call fcn.00409510
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xac
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xac
ret
Function at 0x59cb90
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1074
call fcn.005c2160
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x1070], eax
push ebx
push esi
mov esi, dword [esp + 0x1080]
push edi
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x81]
push ebx
xor edi, edi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x88], bl
call fcn.005c0cf0
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x59ccc0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edi, [esp + 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x59cca6
push 0x40
lea edx, [esp + 0x44]
push 0
push edx
call fcn.005c0cf0
movsx eax, byte [edi]
push eax
lea ecx, [esp + 0x50]
push 0x602b18
push ecx
call fcn.005bd49b
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea edx, [esp + 0x58]
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x59cca6
push 0
lea eax, [esp + 0x20]
push eax
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0x560000
push esi
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x59cc9f
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1a4]
cmp eax, dword [esp + 0x28]
jne 0x59cc9f
push edi
call fcn.005071b0
add esp, 4
add dword [esp + 0x14], eax
adc ebx, 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [edi]
add edi, 1
test cl, cl
jne 0x59cca6
cmp byte [edi], cl
jne 0x59cc01
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
pop ebp
mov ecx, dword [esp + 0x107c]
mov dword [esi + 0x198], edi
shrd edi, ebx, 0xa
mov dword [esi + 0x19c], ebx
shr ebx, 0xa
mov dword [esi + 0x190], edi
pop edi
mov dword [esi + 0x194], ebx
pop esi
pop ebx
xor ecx, esp
call fcn.005bd2d7
add esp, 0x1074
ret 4

Function at 0x59cd00
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
je 0x59cdd6
push eax
lea eax, [esp + 0x18]
push eax
push 8
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x7405c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x59cdb6
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push 0
push 0x400
push ebx
push ebp
call fcn.005c24b0
push 0
push 0x400
push edx
push eax
call fcn.005c24b0
push 0
push 0x400
push edx
push eax
call fcn.005c24b0
mov dword [esi + 0x188], ebp
pop ebp
mov dword [esi + 0x18c], ebx
pop ebx
push edi
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7405c
push str.IOCTL_DISK_GET_LENGTH_INFO:_d_t_errno_d_n
call fcn.005c2e4e
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 8
ret 4
Function at 0x59f6b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5e0b31
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0059cde0
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0xb4], ebx
call fcn.0059ce00
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x18]
mov ecx, edi
mov byte [esp + 0xb4], 1
call fcn.0059ce20
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0xb4], 2
call fcn.00409110
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0xb4], 3
call fcn.00409110
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0x40]
mov edi, 1
mov dword [esi + 0x3c], edi
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x63a990
mov byte [esp + 0xbc], 4
mov byte [ecx + 4], bl
call fcn.00408ea0
push 0x94
lea eax, [esp + 0x18]
push ebx
push eax
mov byte [esp + 0xc0], 5
call fcn.005c0cf0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x59f7d9
mov ecx, esi
mov dword [esi + 0x3c], edi
call fcn.0059ebc0
mov edx, dword [esp + 0xbc]
push edx
mov ecx, esi
call fcn.0059e540
jmp 0x59f7e0
cmp eax, edi
jne 0x59f7e0
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005bd2d7
add esp, 0xa8
ret 4
Function at 0x5a0d80
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x5a15e0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
cmp edi, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
jle 0x5a1636
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [esp + 0x14]
push ebx
push ebp
push eax
push esi
mov ecx, esi
call fcn.005a1460
sub edi, 1
jne 0x5a1620
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
push esi
push ecx
mov ecx, esi
call fcn.005a1540
pop edi
pop esi
ret 0x14
Function at 0x5a2776
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x66d4f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x5a27b6
push 0x60e6e8
push 4
push eax
call fcn.005be4fe
push eax
call fcn.00420f00
add esp, 0x10
jmp 0x5a27c8
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x5a2836
push edi
call fcn.005bf2a9
mov edi, dword [eax]
call fcn.005bf2a9
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.005bd532
add esp, 0x18
mov ebx, eax
call fcn.005bf2a9
cmp dword [eax], 0
je 0x5a2816
call fcn.005bf2a9
push dword [eax]
call fcn.005a270a
pop ecx
jmp 0x5a281d
call fcn.005bf2a9
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x5a2836
cmp ebx, esi
jae 0x5a2836
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x5a2838
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005bd2d7
leave
ret
Function at 0x5a3fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x5a3fe6
call fcn.005abc11
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5a3fe6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x5a4029
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x5a4012
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x5a4012
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x5a4026
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5a51e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x5e0f96
call fcn.005c52d4
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.005abc11
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x5a5231
call fcn.005abc11
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x5a5242
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x5a524f
or eax, 0xffffffff
jmp 0x5a53ab
mov ecx, esi
call fcn.005a4d16
mov dword [ebp - 0x14], eax
call fcn.005a814a
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x5a52cd
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x5a52cd
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x5a52cd
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.005a1da5
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x5a52cd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x5a52cd
mov ecx, ebx
call fcn.005abdf3
test eax, eax
je 0x5a52cd
push 0
mov ecx, ebx
call fcn.005abe0e
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.005a9ae3
push dword [ebp - 0x14]
call fcn.005a80a2
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.005a4fee
xor edi, edi
cmp eax, edi
je 0x5a532a
test byte [esi + 0x3c], 0x10
je 0x5a5314
push 4
pop edi
mov ecx, esi
call fcn.005abd04
test ax, 0x100
je 0x5a530a
push 5
pop edi
push edi
mov ecx, esi
call fcn.005a7c38
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x5a532a
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.005abfbc
or dword [ebp - 4], 0xffffffff
jmp 0x5a5355
cmp dword [ebp - 0x28], edi
je 0x5a5363
push 1
mov ecx, ebx
call fcn.005abe0e
cmp dword [ebp - 0x2c], edi
je 0x5a5373
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x5a538c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x5a538c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.005a4d50
cmp dword [esi + 0x58], edi
je 0x5a53a8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.005c5379
ret
Function at 0x5a5415
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x5a5435
cmp dword [edi + 0x54], 0
jne 0x5a5435
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005abc11
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.005a53dc
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x5aac00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x5aac43
call fcn.005abc11
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5aac43
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5aac5e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.005aa7b7
test ebx, ebx
mov esi, eax
je 0x5aac5c
test edi, edi
je 0x5aac5c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x5ada01
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5ada2f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5ada4d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005ad96b
jmp 0x5ada4d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5ada4d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.005ad96b
test edi, edi
mov eax, edi
jne 0x5ada37
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x672d40]
test ecx, ecx
je 0x5adb10
jmp 0x5ada00
ret 8

Function at 0x5bd2d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x66d4f4]
jne 0x5bd2e1
repz ret
jmp fcn.005c7cae