joyce8/EMBER2024-capa huggingface dataset:
Function at 0x544466
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56cff8]
jne 0x544470
repz ret
jmp fcn.005463e9

Function at 0x54977f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00545466
and dword [ebp - 4], 0
cmp dword [0x56ec78], 0
mov ebx, eax
jne 0x549830
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5498e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5498e1
push eax
call fcn.005453f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56ec78], eax
call esi
push eax
call fcn.005453f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x56ec7c], eax
call esi
push eax
call fcn.005453f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x56ec80], eax
call esi
push eax
call fcn.005453f4
pop ecx
mov dword [0x56ec88], eax
test eax, eax
je 0x549830
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005453f4
pop ecx
mov dword [0x56ec84], eax
mov eax, dword [0x56ec84]
cmp eax, ebx
je 0x549888
cmp dword [0x56ec88], ebx
je 0x549888
push eax
call fcn.0054546f
push dword [0x56ec88]
mov esi, eax
call fcn.0054546f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x549888
test edi, edi
je 0x549888
call esi
test eax, eax
je 0x54987f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x54987f
test byte [ebp - 0xc], 1
jne 0x549888
or dword [ebp + 0x10], 0x200000
jmp 0x5498c1
mov eax, dword [0x56ec7c]
cmp eax, ebx
je 0x5498c1
push eax
call fcn.0054546f
pop ecx
test eax, eax
je 0x5498c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5498c1
mov eax, dword [0x56ec80]
cmp eax, ebx
je 0x5498c1
push eax
call fcn.0054546f
pop ecx
test eax, eax
je 0x5498c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x56ec78]
call fcn.0054546f
pop ecx
test eax, eax
je 0x5498e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5498e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54a44e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x56cf94]
add edx, 0xfffff84d
mov dword [0x56cf94], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x70
mov edi, edx
add edi, esi
add edi, 0x60
mov esi, dword [edi]
imul edi, eax, 0x70
add edx, edi
add edx, 0x3c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x448
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x54a485
lea eax, [0x54d19d]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov esi, dword [0x56cf98]
add esi, 0x996
mov dword [0x56cf94], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.0054af52
mov eax, dword [0x56cf98]
add eax, 0xffffde88
mov dword [0x56cf98], eax
mov dword [0x56cf94], 0xc09
call fcn.0054ad99
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.0054b73e
mov ecx, eax
mov dword [0x56cfb4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x70
mov edi, edx
add edi, esi
add edi, 0x60
mov esi, dword [edi]
imul edi, eax, 0x70
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x70
add edx, ebx
add edx, 0x3c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.0054b0cc
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x448
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x54a592
lea eax, [0x54d1ab]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x25b91
mov edi, dword [ebp - 0x148]
add edi, 0x5840e
mov dword [0x56cf98], 0x1ed
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.0054aaa3
mov eax, dword [0x56cf94]
add eax, 0xfffff7bb
mov dword [0x56cf94], eax
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.0054b17e
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov dword [ecx + 4], 0x138c00
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f50
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x54a6f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x56cf94]
add eax, 0xfffffdcf
mov dword [0x56cf94], eax
call fcn.0040108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x54a7b4
jmp 0x54a89a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x54a89a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov dword [0x56cf98], 0x2382
mov ecx, dword [esp + 0x20]
add ecx, 0x50
add eax, ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov dword [0x56cf94], 0x17e8
mov edx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0054b41a
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x56cf94]
add ecx, 0xfffff71a
mov dword [0x56cf94], ecx
mov dword [esp + 0x28], eax
jmp 0x54a72d
lea eax, [esp + 0x30]
mov dword [0x56cf98], 0xcff
mov dword [esp + 0x18], eax
call fcn.0054ac03
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x54a7f1
jmp 0x54a72d
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
je 0x54a862
jmp 0x54a883
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.0054a44e
lea ecx, [0x54b9ab]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], 0x138c00
mov edx, dword [0x56cf80]
mov dword [esp + 0x34], edx
mov edx, dword [0x56cf84]
mov dword [esp + 0x5c], edx
mov edx, dword [0x56cf88]
mov dword [esp + 0x30], edx
mov edx, dword [0x56cf8c]
mov dword [esp + 0x48], edx
mov edx, dword [0x56cf90]
mov dword [esp + 0x7c], edx
mov dword [0x56cf94], 0xfffff70e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x54a7dd
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0x4550
je 0x54a73a
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x54a7dd
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x54a93c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x56cf94]
add ecx, 0x4b29
mov dword [0x56cf94], ecx
mov dword [ebp - 0x10], eax
call fcn.0054b530
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x56cf98], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x56cf94], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x54a9cd
jmp 0x54a9d8
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], edx
jb 0x54a9f2
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x660
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0x24f8
mov dword [0x56cf94], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x54aa6f
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x54aa1e
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x54aa7b
jmp 0x54a9a3
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x56cf94], 0xc39
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x54a9cd
Function at 0x54aaa3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x56cfa0], 0
mov byte [0x56cfa4], 0
mov dword [0x56cf94], 0x2002
mov dword [0x56cf98], 0xf6c
mov dword [0x56cf9c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x54abb5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x56cfa8], 0
mov edx, dword [0x56cfa0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x56cfa8], edi
mov dword [0x56cf98], 0x232c
mov eax, edi
cdq
idiv ecx
mov dword [0x56cfa0], edx
mov dword [0x56cf94], 0x347
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x56cfa4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x56cfa4]
mov edx, dword [0x56cfa0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x56cf9c]
add edx, 1
mov dword [0x56cf9c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x54aaf7
mov eax, dword [0x56cf98]
add eax, 0xffffeb75
mov dword [0x56cf98], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x56cf94], 0x142c
mov eax, dword [0x56cf9c]
add eax, 1
mov dword [0x56cf9c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x54abb5
xor eax, eax
mov dword [0x56cf98], 0x1a2c
mov dword [0x56cf9c], 0
mov dword [ebp - 0x20], eax
jmp 0x54aaf7
Function at 0x54ac03
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x56cf98]
mov edi, esi
add edi, 0xffffde83
mov dword [0x56cf94], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x54acf7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x54ad35
jmp 0x54ad7d
mov eax, 1
mov ecx, 0xadf
mov dword [0x56cf94], 0xadf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x54ad8f
jmp 0x54ad7d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x64
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
je 0x54ad5a
jmp 0x54ad7d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x54ac9e
jmp 0x54ad7d
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], eax
jge 0x54ad0d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
jne 0x54ace0
mov eax, dword [ebp - 0x38]
mov dword [0x56cf98], 0x9f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x54ac4e
jmp 0x54ad7d
mov dword [0x56cf98], 0x1815
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x54acc6
jmp 0x54ad7d
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [0x56cf94], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
je 0x54ac6c
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x56cf98], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add esp, 0x30
pop esi
pop edi
pop ebp
ret
Function at 0x54b17e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x56cf9c], 0
mov dword [0x56cfa0], 0
mov dword [0x56cfac], 0
mov dword [0x56cf98], 0x14e0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x54b20a
mov dword [0x56cf98], 0xe7d
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x56cfa0]
mov ecx, dword [0x56cf9c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov dword [0x56cf94], 0xb69
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x56cf9c], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x56cfa0], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x56cfa4], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x56cf94], 0x226c
mov cl, byte [0x56cfa4]
mov edx, dword [0x56cfa0]
mov byte [ebx + edx], cl
mov edx, dword [0x56cf9c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x56cfa0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x56cfac], ecx
mov dword [0x56cf94], 0x11c5
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x54b1e1
jmp 0x54b1f3
Function at 0x54b41a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x54d19d]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.0054af52
mov eax, dword [0x56cf94]
add eax, 0xffffe70f
mov dword [0x56cf94], eax
call fcn.0054ad99
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.0054b73e
cmp eax, 0
mov dword [ebp - 0x3c], eax
jne 0x54b48c
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x56cf94]
mov ecx, dword [ebp - 0x3c]
add eax, 0x1acf
mov dword [0x56cf94], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.0054b2d7
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x10], ecx
mov dword [0x56cf94], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x48], ecx
add ecx, 0x2544
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x54b526
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x705ca690
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.705d92d0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.705d92d0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x705ca6f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x706e7054]
test esi, esi
jle 0x705ca810
mov eax, dword [0x706e7058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x705ca724
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x705ca7a7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x705ca710
mov dword [esp], ebx
call fcn.705caee0
mov edi, eax
test eax, eax
je 0x705ca837
mov eax, dword [0x706e7058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.705cb020
mov edx, dword [0x706e7058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x705ca817
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x705ca7a0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x705ca7b0
add dword [0x706e7054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x706e7058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x705ca7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.705ca690
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x705ca72e
mov eax, dword [0x706e7058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.705ca690
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.705ca690
lea esi, [esi]
nop
Function at 0x705cab50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x706e7064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x706e705c]
sub esp, 4
test ebx, ebx
je 0x705caba5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x705cab9e
test esi, esi
je 0x705cab9e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x705cab80
mov dword [esp], 0x706e7064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x705caee0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x705c0000], 0x5a4d
jne 0x705caf05
mov ecx, dword [0x705c003c]
cmp dword [ecx + 0x705c0000], 0x4550
lea edx, [ecx + 0x705c0000]
je 0x705caf10
ret
cmp word [ecx + 0x705c0018], 0x10b
jne 0x705caf05
push esi
movzx eax, word [ecx + 0x705c0014]
push ebx
movzx esi, word [ecx + 0x705c0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x705c0000
test si, si
je 0x705caf58
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x705caf4e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x705caf5a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x705caf40
xor eax, eax
pop ebx
pop esi
ret

Function at 0x705d0290
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x706e70c0], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
sub esp, 0x10
mov dword [0x706e70c4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x705d0300
mov dword [esp + 4], 0x705d01a0
mov dword [esp], eax
mov dword [0x706e70bc], eax
call fcn.705d9b50
test eax, eax
jne 0x70696d79
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x705d02ea
Function at 0x705d9b70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x706e702c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp], 1
mov ebx, dword [esp + 0x40]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
sub esp, 4
test eax, eax
je 0x705d9bad
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
jne 0x705d9be0
mov dword [esp], 0x7069f176
mov ecx, ebx
call fcn.70662e80
sub esp, 4
mov eax, dword [esp + 0x2c]
sub eax, dword [0x706e702c]
jne 0x705d9c53
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov esi, eax
test eax, eax
je 0x705d9c48
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
test eax, eax
je 0x705d9c48
mov dword [esp], eax
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.70662e80
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp], edi
mov ecx, ebx
call fcn.70662790
mov ecx, edi
sub esp, 4
call fcn.70663660
jmp 0x705d9bbe
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x705d9bad
call fcn.705c1590
nop
nop
nop
nop
nop
nop
nop
nop