joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a76ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
call fcn.0046a990
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.00462910
add esp, 4
mov dword [ebp - 4], 0
call fcn.00462c40
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 1
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 3
ja case.default.0x42a0b3
mov edx, dword [ebp - 0x58]
jmp dword [edx*4 + 0x42a268]
push 0x860aec
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00429f60
mov dword [ebp - 0x6c], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.res.xml
call fcn.00405de0
mov ecx, dword [ebp - 0x6c]
call fcn.00472e70
jmp case.default.0x42a0b3
push 0x860b08
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00429f60
mov dword [ebp - 0x70], eax
push 0x860b1c
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.IDR_RES
call fcn.00405de0
mov ecx, dword [ebp - 0x70]
call fcn.00472e70
jmp case.default.0x42a0b3
push 0
push 1
push 0x8aa1c0
call fcn.0046aa40
add esp, 0xc
call fcn.00429f60
mov dword [ebp - 0x74], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x860b28
call fcn.00405de0
mov ecx, dword [ebp - 0x74]
call fcn.00472e70
jmp case.default.0x42a0b3
push str.skinADMonSetup_
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00441130
mov dword [ebp - 0x60], eax
push 0x860b4c
push 0x69
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je case.default.0x42a0b3
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x42a235
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jbe 0x42a235
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0046a9a0
add esp, 0xc
call fcn.00429f60
mov dword [ebp - 0x78], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.skin_res.xml
call fcn.00405de0
mov ecx, dword [ebp - 0x78]
call fcn.00472e70
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0046f680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x42a280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a76f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00406290
lea ecx, [ebp - 0x4d4]
call fcn.0040db50
mov dword [ebp - 4], 0
push 0x8aa1c0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, 0x8aa1c0
add eax, 0xffffffff
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x4d5], dl
add dword [ebp - 0x4dc], 1
cmp byte [ebp - 0x4d5], 0
jne 0x42a2e1
mov edi, dword [ebp - 0x4dc]
mov eax, dword [str.skin.zip]
mov dword [edi], eax
mov ecx, dword [0x860b64]
mov dword [edi + 4], ecx
mov dl, byte [0x860b68]
mov byte [edi + 8], dl
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42a341
mov ecx, dword [ebp + 8]
push ecx
push str.https:__download.88gog.com_setup_channel__s_debug_skin.zip
lea edx, [ebp - 0x410]
push edx
call fcn.004055c0
add esp, 0xc
jmp 0x42a359
mov eax, dword [ebp + 8]
push eax
push str.https:__download.88gog.com_setup_channel__s_release_skin.zip
lea ecx, [ebp - 0x410]
push ecx
call fcn.004055c0
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push str.download_skin:__s_n
call fcn.004054e0
add esp, 8
push 1
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.00441e60
push 0x8aa1c0
lea ecx, [ebp - 0x4d4]
call fcn.00442a90
movzx ecx, al
test ecx, ecx
je 0x42a3bb
mov byte [ebp - 0x4d6], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.004064f0
mov al, byte [ebp - 0x4d6]
jmp 0x42a42d
lea ecx, [ebp - 0x4d4]
call fcn.004062a0
sub esp, 0x18
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
mov dword [edx + 0x14], eax
push str.download_skin_error:__s_n
call fcn.004054e0
add esp, 0x1c
mov byte [ebp - 0x4d7], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.004064f0
mov al, byte [ebp - 0x4d7]
jmp 0x42a42d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x42a450
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x860c18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a4a3
push 0
push 0x860c2c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42a49c
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x42a66d
push 0
call fcn.00404c80
add esp, 4
call fcn.00406330
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00401cf0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x42a4d9
xor eax, eax
jmp 0x42a66d
push 0x6bc
call fcn.0075c186
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42a4fc
mov ecx, dword [ebp - 0x2c]
call fcn.00409650
mov dword [ebp - 0x30], eax
jmp 0x42a503
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.0042a030
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 0x20]
call fcn.00405af0
mov dword [ebp - 0x40], eax
movzx ecx, byte [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042a280
add esp, 8
movzx eax, al
test eax, eax
jne 0x42a558
push 0x30
push 0x860c40
push 0x860c4c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x42a66d
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046a510
add esp, 4
call fcn.0042a050
push str.d3d9.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x42a58c
push 0x30
push 0x860c74
push 0x860c80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x20], 0
jne 0x42a599
xor eax, eax
jmp 0x42a66d
mov ecx, dword [ebp - 0x20]
call fcn.00405af0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403610
push 0x860cac
lea ecx, [ebp - 0x1c]
call fcn.0040e6e0
call fcn.00406330
mov ecx, eax
call fcn.00401cb0
movzx edx, al
test edx, edx
je 0x42a60d
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push 0xfffffc18
push 0xfffffc18
push 0
push 0x10cf0000
lea ecx, [ebp - 0x1c]
call fcn.00403470
push eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004710e0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42a650
push 0
push 0x258
push 0x384
push 0
push 0
push 0
push 0x10cf0000
lea ecx, [ebp - 0x1c]
call fcn.00403470
push eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004710e0
mov ecx, dword [ebp - 0x20]
call fcn.00470ee0
push 5
mov ecx, dword [ebp - 0x20]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004678a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x1c]
call fcn.00403560
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43e1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8a85
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push edi
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00443890
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
mov dword [ebp - 0x20], ecx
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00443890
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.00441c40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.0040db50
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x1a8
call fcn.00403740
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
add edx, 0x1c0
mov dword [ebp - 0x24], edx
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00443890
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0x1d0
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.00443890
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x1e0
mov dword [ebp - 0x2c], ecx
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00443890
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
add edx, 0x1f0
mov dword [ebp - 0x30], edx
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00443890
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x200], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x204], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x208], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x20c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x314], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x318
call fcn.0043fb30
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
add edx, 0x20e
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp - 0x14]
add eax, 0x20d
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xd], dl
add dword [ebp - 0x18], 1
cmp byte [ebp - 0xd], 0
jne 0x43e321
mov edi, dword [ebp - 0x18]
mov eax, dword [0x861530]
mov dword [edi], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x20e
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043f9c0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x20d], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x440f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x314], 0
lea eax, [ebp - 0x314]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x440f89
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x8618ac
lea edx, [ebp - 0x108]
push edx
call fcn.004055c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x8618b4
lea edx, [ebp - 0x310]
push edx
call fcn.004055c0
add esp, 0x10
push 1
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x85fbc9
mov ecx, dword [ebp + 8]
push ecx
call fcn.00440b40
add esp, 0x24
movzx edx, al
test edx, edx
je 0x441001
lea eax, [ebp - 0x310]
jmp 0x441010
push 0x8618bc
call fcn.004054e0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret

Function at 0x441020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x314], 0
lea eax, [ebp - 0x314]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x441079
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x10]
push ecx
push str._s.lnk
lea edx, [ebp - 0x108]
push edx
call fcn.004055c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x8618e0
lea edx, [ebp - 0x310]
push edx
call fcn.004055c0
add esp, 0x10
push 1
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
push 0
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00440b40
add esp, 0x24
movzx eax, al
test eax, eax
je 0x4410f0
lea eax, [ebp - 0x310]
jmp 0x4410ff
push str.GenerateNormalIcon_faile__n
call fcn.004054e0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x4d9e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9e45
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 4]
jne 0x4d9e36
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
xor eax, eax
jmp 0x4d9ebd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 8], eax
jmp 0x4d9e12
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x390], 0
jne 0x4d9eab
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x388
push eax
push 0
push 0x466
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x390], 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
call fcn.004d9ef0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4e19a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7acb80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00470ea0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004e1b30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.DuiLib::INotifyUI.0
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.DuiLib::IDialogBuilderCallback.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DuiLib::CMenuWnd.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], vtable.DuiLib::CMenuWnd.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], vtable.DuiLib::CMenuWnd.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], vtable.DuiLib::CMenuWnd.3.0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x861b3b
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0045fb90
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x568], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x56c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x570], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ee980
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
sub edx, 0x21
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0xd
ja case.0x4ee9e5.8
mov eax, dword [ebp - 0x110]
jmp dword [eax*4 + 0x4eea7c]
mov ecx, dword [ebp - 0x10c]
or ecx, 0x100
mov dword [ebp - 0x10c], ecx
cmp dword [ebp + 0x10], 0
je 0x4eea16
mov edx, dword [ebp - 0x10c]
or edx, 0x1000000
mov dword [ebp - 0x10c], edx
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00774aa0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
call fcn.0046f4e0
mov ecx, dword [ebp - 0x114]
or ecx, 1
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ee9ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
sub edx, 0x21
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0xd
ja case.0x4ee9e5.8
mov eax, dword [ebp - 0x110]
jmp dword [eax*4 + 0x4eea7c]
mov ecx, dword [ebp - 0x10c]
or ecx, 0x100
mov dword [ebp - 0x10c], ecx
cmp dword [ebp + 0x10], 0
je 0x4eea16
mov edx, dword [ebp - 0x10c]
or edx, 0x1000000
mov dword [ebp - 0x10c], edx
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00774aa0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
call fcn.0046f4e0
mov ecx, dword [ebp - 0x114]
or ecx, 1
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55cb30
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x8a5c78], 0
jne 0x55cbc9
push 0x190
push 0
push 0x8a5c80
mov dword [0x8a5c78], 1
call fcn.00774aa0
add esp, 0xc
push 0x8a5c80
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x55cbc9
call fcn.0055b2b0
push str.BIO_sock_init
push 0x92
push str.crypto_bio_bio_sock.c
call fcn.0055b3b0
add esp, 0xc
push str.calling_wsastartup__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.0055b460
call fcn.0055b2b0
push str.BIO_sock_init
push 0x94
push str.crypto_bio_bio_sock.c
call fcn.0055b3b0
push 0
push 0x7a
push 0x20
call fcn.0055b460
add esp, 0x24
or eax, 0xffffffff
ret
mov eax, 1
ret

Function at 0x55cbd0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x55cc25
call fcn.0055b2b0
push str.BIO_socket_ioctl
push 0xcf
push str.crypto_bio_bio_sock.c
call fcn.0055b3b0
add esp, 0xc
push str.calling_ioctlsocket__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.0055b460
add esp, 0xc
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x570910
Capabilities:
Hash data using sha1

Disassembly:
mov eax, 0x40
call fcn.0075cd80
mov eax, dword [0x8a0204]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x48], 0x1d
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x58]
je 0x57094c
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0075c173
add esp, 0x40
ret
test esi, esi
je 0x570a5b
cmp dword [esp + 0x54], 0x30
jne 0x570a5b
push 0x30
push edi
push esi
call fcn.00570830
add esp, 0xc
test eax, eax
jle 0x570a5b
movaps xmm0, xmmword [str.6666666666666666_]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.00570830
add esp, 0xc
test eax, eax
je 0x570a5b
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00570690
add esp, 8
test eax, eax
je 0x570a5b
push 0x4c
lea eax, [esi + 0x14]
push 0
push eax
call fcn.00774aa0
push 0x30
push edi
push esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.00570830
add esp, 0x18
test eax, eax
jle 0x570a5b
movaps xmm0, xmmword [0x7eae00]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.00570830
add esp, 0xc
test eax, eax
je 0x570a5b
push 0x14
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00570830
add esp, 0xc
test eax, eax
je 0x570a5b
lea eax, [esp + 0x30]
push 0x14
push eax
call fcn.0055bf70
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0075c173
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0075c173
add esp, 0x40
ret
Function at 0x5af8b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push ebp
call fcn.0053ac20
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x5af8ca
xor eax, eax
jmp 0x5af8cd
lea eax, [ebx - 1]
push 0x121
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x20]
push str.cryptopropertyproperty_parse.c
push eax
call fcn.0053bb20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5af94b
push ebp
call fcn.0053ada0
and dword [esi + 4], 0xfffffffe
add esp, 4
xor ebp, ebp
test ebx, ebx
jle 0x5af949
push edi
lea edi, [esi + 0x14]
nop word [eax + eax]
push ebp
push dword [esp + 0x18]
call fcn.0053ade0
inc ebp
lea edi, [edi + 0x18]
add esp, 8
movups xmm0, xmmword [eax]
movups xmmword [edi - 0x24], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi - 0x14], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [edi - 0x18]
or ecx, eax
xor ecx, eax
and ecx, 1
xor ecx, eax
mov dword [esi + 4], ecx
cmp ebp, ebx
jl 0x5af910
pop edi
mov dword [esi], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
ret