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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x54719d
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x44
call fcn.0053d980
mov edi, eax
test edi, edi
jne 0x5471b7
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.005413f0
mov dword [edi], eax
mov ecx, dword [ebx + 8]
push ebp
push ecx
push esi
call fcn.00546f30
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ebp
push eax
push esi
call fcn.0054ecc0
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push ebp
push edx
push esi
call fcn.005413f0
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
push esi
call fcn.0054ecc0
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push ebp
push eax
push esi
call fcn.005413f0
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.00547190
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ebp
push eax
push esi
call fcn.0054ecc0
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push ebp
push eax
push esi
call fcn.0054ecc0
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 0x5505c0
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 0x5505e0
test edi, edi
mov al, byte [ebp + 0x5fa388]
mov byte [esp + 0x10], al
je 0x550669
cmp byte [edi], 0
mov eax, edi
je 0x5505fd
add eax, 1
cmp byte [eax], 0
jne 0x5505f5
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x190
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x550651
xor eax, eax
test ebx, ebx
mov esi, ebx
mov edx, edi
jle 0x550647
movzx edi, byte [edx]
movzx edi, byte [edi + 0x5f9b18]
lea ebp, [eax*8]
xor edi, ebp
sub esi, 1
xor eax, edi
add edx, 1
test esi, esi
jg 0x550620
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x550653
xor edx, edx
push edi
call fcn.00533d60
add esp, 4
test eax, eax
je 0x550665
mov eax, dword [eax + 8]
jmp 0x550670
xor eax, eax
jmp 0x550670
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x550680
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x5506a3
add ebp, 1
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x5505e0
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 0x5569d0
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 0x556a01
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 0x556ae2
mov ebx, eax
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x556a3d
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.005b71a0
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 0x556ade
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x18]
ja 0x556acf
test byte [ebp + 0x14], 0x20
jne 0x556acf
mov ebx, dword [esi + 0x80]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.005b71a0
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 0x556ab1
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 0x556ab9
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [esi + 0x58]
call fcn.005546d0
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
test ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
je 0x556a40
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x58f240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d4718
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x65d4e4]
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 0x58f2f3
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.0058f0a0
test eax, eax
je 0x58f2d7
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.00407e40
cmp dword [esp + 0x28], 0x10
jb 0x58f30d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00595eb8
add esp, 4
jmp 0x58f30d
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x38], 0xffffffff
jb 0x58f2f3
mov edx, dword [esp + 0x14]
push edx
call fcn.00595eb8
add esp, 4
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x62b600
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00409790
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.005b1988
add esp, 0x30
ret 8
Function at 0x58fec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d483e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
mov eax, dword [0x65d4e4]
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.00407e40
mov ecx, esi
call fcn.0058f9b0
cmp eax, ebx
je 0x58ff53
cmp dword [esp + 0xd8], 0x10
jb 0x58ff4a
mov eax, dword [esp + 0xc4]
push eax
call fcn.00595eb8
add esp, 4
mov eax, dword [esp + 0xc]
jmp 0x59002b
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.0040b040
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x34]
push 0x600600
push edx
mov byte [esp + 0xc4], 1
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0xb8], 2
jb 0x58ffb0
mov eax, dword [eax + 4]
jmp 0x58ffb3
add eax, 4
push eax
push str.Sqlite3Db::CRunSqlRead::GetColindex
push 0x157
push str..commonRunSqlRead.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x2c], esi
jb 0x58ffe7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb8], bl
call fcn.00409e00
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x80], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
cmp dword [esp + 0xd8], esi
jb 0x590028
mov eax, dword [esp + 0xc4]
push eax
call fcn.00595eb8
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 0x590760
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1074
call fcn.005b6f10
mov eax, dword [0x65d4e4]
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.005b5540
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x590890
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 0x590876
push 0x40
lea edx, [esp + 0x44]
push 0
push edx
call fcn.005b5540
movsx eax, byte [edi]
push eax
lea ecx, [esp + 0x50]
push 0x5f5980
push ecx
call fcn.005b1b4c
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 0x590876
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 0x59086f
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1a4]
cmp eax, dword [esp + 0x28]
jne 0x59086f
push edi
call fcn.004ffd00
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 0x590876
cmp byte [edi], cl
jne 0x5907d1
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.005b1988
add esp, 0x1074
ret 4

Function at 0x5908d0
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 0x5909a6
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 0x590986
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push 0
push 0x400
push ebx
push ebp
call fcn.005b71e0
push 0
push 0x400
push edx
push eax
call fcn.005b71e0
push 0
push 0x400
push edx
push eax
call fcn.005b71e0
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.005b505f
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 8
ret 4
Function at 0x593280
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5d4cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.005909b0
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.005909d0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x18]
mov ecx, edi
mov byte [esp + 0xb4], 1
call fcn.005909f0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0xb4], 2
call fcn.00409a00
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0xb4], 3
call fcn.00409a00
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 0x62b600
mov byte [esp + 0xbc], 4
mov byte [ecx + 4], bl
call fcn.00409790
push 0x94
lea eax, [esp + 0x18]
push ebx
push eax
mov byte [esp + 0xc0], 5
call fcn.005b5540
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 0x5933a9
mov ecx, esi
mov dword [esi + 0x3c], edi
call fcn.00592790
mov edx, dword [esp + 0xbc]
push edx
mov ecx, esi
call fcn.00592110
jmp 0x5933b0
cmp eax, edi
jne 0x5933b0
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.005b1988
add esp, 0xa8
ret 4
Function at 0x5936e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x5d47f6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x5f3cec
push 1
xor ebx, ebx
push ebx
push 0x5f3dbc
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x59380d
push 1
push 2
lea ecx, [esp + 0x34]
call fcn.0040b040
push esi
lea ecx, [esp + 0x30]
push str.CoCreateInstance:
push ecx
mov dword [esp + 0xc0], ebx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.00419bb0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0xb4], 1
jb 0x593786
mov eax, dword [eax + 4]
jmp 0x593789
add eax, 4
push eax
push str.BaseLib::CWMILocator::WbemLocator
push 0x13
push str..commonWMIInterface.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x28], esi
jb 0x5937ba
mov eax, dword [esp + 0x14]
push eax
call fcn.00595eb8
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.00409e00
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.005cdcde
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 0x595120
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 0x595980
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 0x5959d6
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.00595800
sub edi, 1
jne 0x5959c0
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
push esi
push ecx
mov ecx, esi
call fcn.005958e0
pop edi
pop esi
ret 0x14
Function at 0x5963fe
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x65d4e4]
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 0x59643e
push 0x601460
push 4
push eax
call fcn.005b2535
push eax
call fcn.00421a50
add esp, 0x10
jmp 0x596450
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x5964be
push edi
call fcn.005b3649
mov edi, dword [eax]
call fcn.005b3649
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.005b1be3
add esp, 0x18
mov ebx, eax
call fcn.005b3649
cmp dword [eax], 0
je 0x59649e
call fcn.005b3649
push dword [eax]
call fcn.00596379
pop ecx
jmp 0x5964a5
call fcn.005b3649
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x5964be
cmp ebx, esi
jae 0x5964be
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x5964c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005b1988
leave
ret
Function at 0x5975e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x5d50ca
call fcn.005b9693
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.0059f7bf
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x59762c
call fcn.0059f7bf
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 0x59763d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x59764a
or eax, 0xffffffff
jmp 0x5977a6
mov ecx, esi
call fcn.00597111
mov dword [ebp - 0x14], eax
call fcn.0059c3f9
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x5976c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x5976c8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x5976c8
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.005963c9
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x5976c8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x5976c8
mov ecx, ebx
call fcn.0059f9c0
test eax, eax
je 0x5976c8
push 0
mov ecx, ebx
call fcn.0059f9db
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0059ddb3
push dword [ebp - 0x14]
call fcn.0059c351
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.005973e9
xor edi, edi
cmp eax, edi
je 0x597725
test byte [esi + 0x3c], 0x10
je 0x59770f
push 4
pop edi
mov ecx, esi
call fcn.0059f8d1
test ax, 0x100
je 0x597705
push 5
pop edi
push edi
mov ecx, esi
call fcn.0059bee7
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x597725
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0059fb89
or dword [ebp - 4], 0xffffffff
jmp 0x597750
cmp dword [ebp - 0x28], edi
je 0x59775e
push 1
mov ecx, ebx
call fcn.0059f9db
cmp dword [ebp - 0x2c], edi
je 0x59776e
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x597787
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x597787
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.0059714b
cmp dword [esi + 0x58], edi
je 0x5977a3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.005b9738
ret
Function at 0x597810
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 0x597830
cmp dword [edi + 0x54], 0
jne 0x597830
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0059f7bf
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.005977d7
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 0x5993c9
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 0x59940f
call fcn.0059f7bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x59940f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x599452
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 0x59943b
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 0x59943b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x59944f
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 0x59eed0
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 0x59ef13
call fcn.0059f7bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x59ef13
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x59ef2e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0059ea87
test ebx, ebx
mov esi, eax
je 0x59ef2c
test edi, edi
je 0x59ef2c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x5a214b
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 0x5a2179
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5a2197
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005a20b5
jmp 0x5a2197
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5a2197
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.005a20b5
test edi, edi
mov eax, edi
jne 0x5a2181
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x662b80]
test ecx, ecx
je 0x5a225a
jmp 0x5a214a
ret 8

Function at 0x5b1988
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65d4e4]
jne 0x5b1992
repz ret
jmp fcn.005bc7d8