joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52b665
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push 0
push 0x20
push dword [esp + 0x4b8]
lea eax, [esp + 0x24]
push eax
call fcn.00551829
mov al, byte [esp + 0x37]
mov edx, dword [esp + 0x4a8]
and al, 0x3f
and byte [esp + 0x18], 0xf8
or al, 0x40
mov edi, dword [esp + 0x4ac]
mov ecx, edx
add ecx, 0x40
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x4a0]
mov ebx, edi
adc ebx, 0
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x49c]
test edi, edi
jb 0x52b6f4
ja 0x52b6d6
test edx, edx
je 0x52b6f4
mov ebp, dword [esp + 0x4a4]
mov al, byte [ecx + ebp]
mov byte [ebx + ecx + 0x40], al
add ecx, 1
adc esi, 0
cmp esi, edi
jb 0x52b6dd
ja 0x52b6f4
cmp ecx, edx
jb 0x52b6dd
xor ecx, ecx
lea esi, [ebx + 0x20]
xor ebp, ebp
mov al, byte [esp + ecx + 0x38]
mov byte [esi + ecx], al
add ecx, 1
adc ebp, 0
jne 0x52b70f
cmp ecx, 0x20
jb 0x52b6fb
push 0
pop ebp
add edx, 0x20
lea eax, [esp + 0x118]
adc edi, ebp
push edi
push edx
push esi
push eax
call fcn.00551829
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00551cea
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x29c]
push eax
call fcn.0055253d
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005524cf
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x58]
mov byte [ecx + ebx], al
add ecx, 1
adc edx, ebp
jne 0x52b77a
cmp ecx, 0x20
jb 0x52b767
push dword [esp + 0x10]
mov eax, dword [esp + 0x4b4]
push dword [esp + 0x18]
add eax, 0x20
push ebx
push eax
push ebx
lea eax, [esp + 0x16c]
push eax
call fcn.0052b96f
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00551cea
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00551ca9
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00551d1e
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00551c5b
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00551da4
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x78]
mov byte [esi + ecx], al
add ecx, 1
adc edx, ebp
jne 0x52b818
cmp ecx, 0x20
jb 0x52b805
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x488
ret 0x18

Function at 0x52dd88
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
push edi
mov edi, dword [esp + 0xc]
cmp esi, 4
jb 0x52ddb0
mov ecx, esi
shr ecx, 2
mov eax, dword [edi]
sub esi, 4
xor edx, eax
add edi, 4
rol edx, 0xd
sub ecx, 1
jne 0x52dd9e
test esi, esi
je 0x52ddc2
movzx ecx, byte [edi]
xor edx, ecx
inc edi
rol edx, 8
sub esi, 1
jne 0x52ddb4
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x53440d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x77af0c]
or edx, 0xffffffff
test esi, esi
jne 0x53443c
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp eax, 4
jb 0x53447b
shr eax, 2
mov ecx, dword [esi]
lea esi, [esi + 4]
crc32 edx, ecx
sub eax, 1
jne 0x53442b
jmp 0x53447b
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x53447b
push ebx
mov ebx, dword [esp + 0xc]
test bl, 7
je 0x534462
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x534449
test ecx, ecx
je 0x53447a
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x534466
pop ebx
not edx
mov eax, edx
pop esi
ret 8

Function at 0x534bd8
Capabilities:
Create directory

Disassembly:
mov eax, 0x67c3c0
call fcn.0062921c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x6aea48
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x14]
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x10], eax
call fcn.00423207
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x534c2e
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, esi
call fcn.00534f68
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x53616f
Capabilities:
Create thread

Disassembly:
mov eax, 0x67c4bf
call fcn.0062921c
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
je 0x53618e
mov dword [esi + 4], 0x6b6d6c
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi], method.std::_Facet_base.virtual_4
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6b6d34
mov dword [esi + 8], 0x68ea80
mov dword [esi + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esi], 0x6b6d4c
mov dword [esi + 8], 0x6b6d54
mov dword [ebp - 4], edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6b6d60
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x94]
mov dword [ecx + esi], eax
lea ecx, [esi + 0x28]
call fcn.00552d63
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00552d63
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x6b6d74
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x8c], edi
call fcn.00465f19
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x88]
push eax
push edi
push esi
push 0x53658b
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [esi + 0x90], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x536260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
or dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
lea eax, [esi + 0x10]
push eax
push ecx
push esi
push 0x536ab1
push ecx
push ecx
mov dword [esi + 4], ecx
mov dword [esi], 0x6b6d40
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x54538c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x67d551
call fcn.0062921c
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
and dword [edi + 4], 0
mov dword [edi + 8], 0x6a303c
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
mov dword [edi], 0x6b8aa0
mov dword [edi + 8], 0x6b8aac
push dword [esi + 0xd8]
mov byte [ebp - 4], 2
call fcn.004f978a
mov eax, dword [ebp + 0x18]
lea ecx, [edi + 0x38]
or dword [edi + 0x24], 0xffffffff
or dword [edi + 0x28], 0xffffffff
and dword [edi + 0x2c], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
lea eax, [ebp + 0xb]
push eax
mov dword [ebp + 8], ecx
lea eax, [ebp + 0x18]
fldz
push eax
fstp dword [ebp + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x30], esi
call fcn.00523f38
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x58]
call fcn.004951d5
lea ecx, [ebp + 0x20]
call fcn.00528a13
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40
Function at 0x547ea3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x67d789
call fcn.0062921c
sub esp, 0x18
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, ecx
push 8
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00547cc9
and dword [ebp - 4], 0
push 0x14
mov dword [ebx], 0x6b8c4c
call fcn.006291e1
pop ecx
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x547f05
push 0x6b8af4
push 8
mov ecx, eax
call fcn.005477fa
jmp 0x547f07
xor eax, eax
mov dword [ebx + 0x6c], eax
mov ebx, dword [eax + 0x10]
push 0x6b9250
push 0x20
mov byte [ebp - 4], 0
mov edi, dword [ebx + 0x20]
push edi
call fcn.005535f5
add esp, 0xc
add esi, 0x20
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], 0x17
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0xc]
mov byte [eax], 1
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00549ac2
mov eax, dword [ebx + 0x6c]
push 0x6b9250
push 0x20
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx + 0x4c]
push edi
call fcn.005535f5
add esp, 0xc
lea esi, [ebp - 0x24]
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x50], 0x17
pop edi
pop esi
mov eax, dword [ecx + 0x6c]
pop ebx
mov eax, dword [eax + 0xc]
mov byte [eax + 1], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x549ac2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x549acd
pop esi
ret 8
Function at 0x55da18
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [esp + 0xc]
mov ecx, dword [esp + 4]
neg edx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x20
sub esi, ecx
pop edi
mov eax, dword [esi + ecx]
xor eax, dword [ecx]
and eax, edx
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x55da2e
pop edi
pop esi
ret 0xc

Function at 0x55da44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x1e
pop edi
mov ebx, dword [esi + 0x7c]
mov ecx, edi
mov edx, ebx
xor edx, 0x7f
dec edx
shr edx, 0x1f
mov eax, dword [esi + ecx*4]
xor eax, 0xff
dec eax
shr eax, 0x1f
and edx, eax
dec ecx
test ecx, ecx
jg 0x55da5d
mov ecx, dword [esi]
mov ebp, 0xed
sub ecx, ebp
not ecx
shr ecx, 0x1f
and ecx, edx
neg ecx
mov eax, ecx
and eax, 0x7f
sub ebx, eax
movzx eax, cl
mov dword [esi + 0x7c], ebx
sub dword [esi + edi*4], eax
dec edi
test edi, edi
jg 0x55da8f
and ecx, ebp
sub dword [esi], ecx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x55e379
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov eax, esi
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
je 0x55e411
push edi
dec esi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
je 0x55e3a6
call dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push 8
pop eax
dec eax
mov dword [esp + 0x14], eax
call fcn.00644652
mov edi, eax
jmp 0x55e3be
xor ebp, 1
call fcn.00644652
cmp edi, eax
je 0x55e3bb
call fcn.00644652
mov edi, eax
call fcn.00644652
cmp edi, eax
jne 0x55e3e7
xor esi, 1
call fcn.00644652
cmp edi, eax
je 0x55e3d7
mov dword [esp + 0x10], esi
cmp ebp, esi
je 0x55e3b2
mov eax, dword [esp + 0x14]
add ebx, ebx
or ebx, ebp
test eax, eax
jne 0x55e3ad
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov byte [eax], bl
inc eax
xor ebx, ebx
mov dword [esp + 0x20], eax
test esi, esi
jne 0x55e396
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x55e4ec
Capabilities:
Create thread

Disassembly:
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
jmp 0x55e4ec
push 0
push 0x400
mov dword [0x7a9e78], 0
push 0x55e49f
mov dword [0x7a9e6c], 1
call fcn.0064480a
add esp, 0xc
push 0x10
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
mov dword [0x7a9e6c], 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x7a9e78]
mov ecx, dword [0x7a9e78]
shr eax, 3
xor ecx, eax
mov eax, dword [0x7a9e74]
shr ecx, 3
xor eax, ecx
xor dword [0x7a9e78], eax
and dword [0x7a9e78], 7
mov eax, dword [0x7a9e78]
mov dword [0x7a9e74], eax
mov eax, dword [0x7a9e70]
mov ecx, dword [0x7a9e78]
shl eax, 3
xor ecx, eax
mov dword [0x7a9e70], ecx
mov eax, dword [0x7a9e70]
ret

Function at 0x55f628
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
pop ecx
ret
Function at 0x564b22
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
ret 4
Function at 0x566a7f
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
push 3
pop ebp
mov ebx, dword [esp + 0x20]
lea eax, [edi + 2]
div ebp
lea eax, [eax*4 + 1]
cmp dword [ebx], eax
jae 0x566aaa
push 6
mov dword [ebx], eax
pop eax
jmp 0x566b9c
xor edx, edx
mov eax, edi
div ebp
push esi
mov esi, dword [esp + 0x20]
imul ecx, eax, 3
xor eax, eax
test ecx, ecx
je 0x566b35
xor edx, edx
lea eax, [ecx - 1]
div ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [0x7544c0]
inc eax
imul ecx, eax, 3
mov ebx, eax
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx]
shr ecx, 2
mov al, byte [ecx + ebp]
mov byte [esi], al
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl eax, 4
shr ecx, 4
add ecx, eax
and ecx, 0x3f
mov al, byte [ecx + ebp]
mov byte [esi + 1], al
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 1]
shr ecx, 6
lea eax, [ecx + eax*4]
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
add edx, 3
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 3], al
add esi, 4
sub ebx, 1
jne 0x566ad9
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x566b39
mov edx, dword [esp + 0x18]
cmp eax, edi
jae 0x566b90
movzx ebp, byte [edx]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jae 0x566b4f
movzx ecx, byte [edx + 1]
jmp 0x566b51
xor ecx, ecx
mov edx, dword [0x7544c0]
mov eax, ebp
shr eax, 2
shl ebp, 4
mov al, byte [eax + edx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, ebp
and eax, 0x3f
mov al, byte [eax + edx]
mov byte [esi + 1], al
cmp dword [esp + 0x24], edi
jae 0x566b83
and ecx, 0xf
movsx eax, byte [edx + ecx*4]
jmp 0x566b86
push 0x3d
pop eax
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
sub esi, dword [esp + 0x20]
xor eax, eax
mov dword [ebx], esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x56df14
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
mov esi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x56dfe7
call fcn.00596b53
test al, al
jne 0x56dfe7
call fcn.005c812e
cmp eax, 1
je 0x56dfe7
cmp byte [0x7a04d9], 0
je 0x56df6f
cmp byte [0x7a04e9], 0
je 0x56df6f
cmp byte [esi + 0x58], 0
je 0x56df6f
mov ecx, dword [0x7a12e4]
call fcn.005a5f77
test al, al
je 0x56dfe7
cmp byte [0x7a047c], 0
push edi
je 0x56dfab
call fcn.0045d84e
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add edi, 0x78
adc ecx, 0
cmp ecx, edx
ja 0x56dfab
jb 0x56df94
cmp edi, eax
ja 0x56dfab
cmp byte [esi + 0x54], 0
je 0x56dfab
inc dword [0x7a04f8]
call fcn.0045d84e
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
cmp byte [0x7a047d], 0
je 0x56dfe6
call fcn.0045d84e
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
add edi, 0x78
adc ecx, 0
cmp ecx, edx
ja 0x56dfe6
jb 0x56dfcf
cmp edi, eax
ja 0x56dfe6
cmp byte [esi + 0x54], 0
je 0x56dfe6
inc dword [0x7a04f4]
call fcn.0045d84e
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
pop edi
pop esi
pop ecx
ret
Function at 0x5701df
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x56f086
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [ebp - 4], 2
setle al
mov esp, ebp
pop ebp
ret

Function at 0x570203
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push edi
xor edi, edi
push edi
push dword [ebp + 8]
call fcn.00644d2a
pop ecx
pop ecx
test eax, eax
je 0x570225
xor al, al
jmp 0x5702e4
cmp dword [ebp + 0xc], edi
je 0x5702c8
push esi
push 0x230
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.0062e010
add esp, 0xc
lea eax, [ebp - 0x230]
mov esi, str.hh.exe
push 0x118
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea ecx, [ebp - 0x230]
lea ecx, [ecx + eax*2]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x570266
push dword [ebp + 0xc]
lea eax, [ebp - 0x668]
push dword [ebp + 8]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.0045fc27
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
push str.Opening_help_file:__S__S
call fcn.00409944
add esp, 0x20
lea eax, [ebp - 0x668]
push 1
push edi
push eax
lea eax, [ebp - 0x230]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
jmp 0x5702d7
push 1
push edi
push edi
push dword [ebp + 8]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
xor ecx, 1
mov al, cl
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x571054
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x10]
push esi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x76cae8], 0
push 0x1bc
push dword [esi + 4]
je 0x571091
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x14]
jmp 0x5710a5
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
lea edx, [esi + 0x94]
and dword [esi + 0x98], 0
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x6c]
pop esi
test eax, eax
je 0x5710dc
push edx
push dword [eax + 4]
call fcn.0057dbd7
mov esp, ebp
pop ebp
ret
Function at 0x57c381
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x67f2c1
call fcn.0062921c
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 8]
lea edi, [eax + 1]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x57c3b7
mov eax, dword [esi]
jmp 0x57c3b9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
call fcn.0043b1ae
cmp dword [esi + 0x14], 8
jb 0x57c3db
mov eax, dword [esi]
jmp 0x57c3dd
mov eax, esi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x57c3f2
mov ecx, dword [esi]
jmp 0x57c3f4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x57c3f7
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043b1ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x57c4a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push edi
push 5
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
je 0x57c529
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x57c528
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
push edi
push dword [esp + 0x18]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add ecx, ebx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x57c508
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x57c526
push ebx
push ebp
push edi
call fcn.0062bfc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57c524
mov dword [eax], ebx
mov eax, edi
pop ebp
pop ebx
pop esi
pop edi
ret 0x10
Function at 0x57e87c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x67f329
call fcn.0062921c
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x57e8a7
mov eax, dword [esi]
jmp 0x57e8a9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x6b7768
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov word [esi + 0x18], bx
call fcn.0046dfa2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x57e8d3
lea eax, [ebp - 0x28]
push 0x6dccd0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00468ecb
push eax
mov ecx, esi
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0042386b
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
jb 0x57e907
mov eax, dword [eax]
push 0x6dccd8
push eax
call fcn.0063a7e1
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040abbf
test edi, edi
je 0x57e94a
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.0063ad5b
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x57e943
mov byte [esi + 0x19], 1
push edi
call fcn.0063a233
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8