joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5648f4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x564995
cmp dword [esi + 0x10], 0
je 0x564995
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x564995
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00507810
mov ebx, esp
test ebx, ebx
je 0x564995
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
mov edi, 0xe0
push ebx
add ecx, edi
call fcn.0042e677
test eax, eax
je 0x564995
mov ecx, dword [esi + 0x10]
push ebx
add ecx, edi
call fcn.0041421f
mov edx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
lea ecx, [edx + 8]
lea eax, [edx + 8]
neg edx
push str.textchanged
sbb edx, edx
and edx, eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, eax
call fcn.00533ccf
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x564a30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x564a5a
add ecx, 8
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
call fcn.005345e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x564aac
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00507810
mov eax, esp
test eax, eax
je 0x564aac
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5ad021
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005acc26

Function at 0x5ad02c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005acda7

Function at 0x5b5f00
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b56da

Function at 0x5b5f0b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b5915

Function at 0x5b69e4
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b67d8
Function at 0x406615
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0040d530
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x406633
xor al, al
jmp 0x4067bd
push ebx
push edi
push esi
call fcn.004062b2
push esi
call fcn.0040d4ba
pop ecx
push esi
mov ebx, eax
call fcn.00406551
test al, al
je 0x4066dd
push esi
call fcn.004062b2
test al, al
je 0x40668a
add ebx, 4
cmp dword [ebp + 0x10], ebx
jbe 0x4067b9
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0040e5ff
push esi
add edi, 8
push edi
call fcn.0040d502
add esp, 0x14
jmp 0x4067b5
cmp word [esi], 0x5c
jne 0x4067b9
add esi, 2
cmp word [esi], 0x5c
jne 0x4067b9
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x4067b9
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0040e5ff
lea eax, [edi + 8]
push 0x41a618
push eax
call fcn.0040d502
push esi
add edi, 0xe
push edi
call fcn.0040d502
add esp, 0x1c
jmp 0x4067b5
lea eax, [ebp - 0x1000]
push eax
mov edi, 0x7ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4067b9
cmp eax, edi
ja 0x4067b9
movzx eax, word [esi]
push eax
call fcn.004061a6
test al, al
je 0x40674a
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x4067b9
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0040e5ff
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.0040e5ff
push esi
add edi, 0xc
push edi
call fcn.0040d502
add esp, 0x20
jmp 0x4067b5
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.004061be
lea eax, [ebp - 0x1000]
push eax
call fcn.0040d4ba
lea eax, [eax + ebx + 4]
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x4067b9
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0040e5ff
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.0040d502
add esp, 0x14
cmp word [esi], 0x2e
jne 0x4067ab
movzx eax, word [esi + 2]
push eax
call fcn.004061a6
test al, al
je 0x4067ab
add esi, 4
push dword [ebp + 0x10]
push esi
push edi
call fcn.0040b755
mov al, 1
jmp 0x4067bb
xor al, al
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x415020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jne 0x415045
push 0x57
jmp 0x4150d2
push 0x1c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movdqu xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call dword [0x43207c]
test eax, eax
je 0x4150d8
push 0
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
push edi
call dword [0x432030]
test eax, eax
je 0x4150d8
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x4150cd
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x5c]
ja 0x4150cd
cmp eax, 0x40
jb 0x4150cd
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [0x432030]
test eax, eax
je 0x4150d8
cmp dword [ebx], 0x4550
jne 0x4150cd
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 4
push 0xc1
call dword [0x432084]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 4
Function at 0x415d60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 4
push 0x1000
push 0x1230
mov edi, ecx
mov dword [ebp - 0x1cc], eax
push 0
push edi
call dword [0x432070]
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x415fca
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1c4], 0
push 0
push eax
call fcn.0041c100
mov ebx, dword [0x43202c]
add esp, 0xc
mov eax, 0x5a4d
mov dword [ebp - 0x8c], 0x40
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x40
jne 0x415fca
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.0041c100
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0xf8
jne 0x415fca
mov eax, dword [0x44b2dc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], eax
add esi, 0xf8
mov eax, dword [0x44b2e0]
mov dword [ebp - 0x40], eax
mov eax, esi
sub eax, dword [ebp - 0x1c8]
add eax, 0x28
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1c4]
push eax
push 0x28
lea eax, [ebp - 0x44]
push eax
push esi
movdqu xmmword [ebp - 0x34], xmm0
push edi
mov dword [ebp - 0x34], 0x10d0
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x28
jne 0x415fca
push 0x40
lea eax, [ebp - 0x88]
add esi, 0x28
push 0
push eax
call fcn.0041c100
add esp, 0xc
mov dword [ebp - 0x88], 0x40
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x10d0
push eax
push 0x40
lea eax, [ebp - 0x88]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x40
jne 0x415fca
lea eax, [ebp - 0x1c4]
xorps xmm0, xmm0
push eax
push 0x18
movdqu xmmword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
add esi, 0x40
movq qword [ebp - 0xc], xmm0
movdqu xmm0, xmmword [0x44af5c]
push eax
push esi
push edi
mov dword [ebp - 0x1c], 0x1090
mov dword [ebp - 0x18], 0
movdqu xmmword [ebp - 0x14], xmm0
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x18
jne 0x415fca
lea eax, [ebp - 0x1c4]
push eax
push 0x1078
push dword [ebp - 0x1cc]
lea ecx, [esi + 0x18]
push ecx
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x1078
jne 0x415fca
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 8
Function at 0x416100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44f4e0
push 0x423e00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x41615e
push ecx
call dword [0x432064]
mov edx, eax
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x41615e
push 0xc0
call dword [0x432084]
jmp 0x4162f0
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x416179
push 0xc1
jmp 0x4162e3
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x41618f
push 0xbf
jmp 0x4162e3
cmp word [eax + edx + 0x14], 0
je 0x4162de
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x4162bf
lea ebx, [eax + edx]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4162de
jmp 0x4161c0
mov ecx, dword [ebx]
test ecx, ecx
je 0x416284
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4162de
lea esi, [eax + edx]
test esi, esi
je 0x4162de
lea eax, [ecx + edx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4161f1
add eax, edx
jmp 0x4161f3
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
call fcn.00415ff0
mov ecx, fcn.004115e0
test ecx, ecx
je 0x416212
push esi
push eax
push edi
call fcn.004115e0
test eax, eax
je 0x416284
xor esi, esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41626d
mov edi, edi
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41626a
xor eax, eax
test ecx, ecx
js 0x41623b
add ecx, 2
je 0x416239
mov eax, dword [ebp - 0x20]
add eax, ecx
jmp 0x41623b
xor eax, eax
mov ecx, 0x411640
test ecx, ecx
je 0x41627b
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ecx + esi*4]
test edi, edi
je 0x41626a
test eax, eax
je 0x41626a
cmp byte [edi], 0
je 0x41627b
push dword [edi + 0xc]
push eax
call fcn.0041a60c
add esp, 8
test eax, eax
jne 0x41627b
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x20]
jmp 0x4161c0
inc esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
jmp 0x416220
mov eax, fcn.004115e0
test eax, eax
je 0x416297
push 0
push 0
push edi
call fcn.004115e0
push 0
call dword [0x432084]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x1c], 0
jmp 0x4162de
push 0xc0
call dword [0x432084]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4013d6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0040112f
test eax, eax
push 2
mov dword [ebp - 4], eax
pop esi
jne 0x4013fe
mov ecx, esi
call section..text
and word [eax], 0
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401209
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x40141f
mov ecx, esi
call section..text
mov ebx, eax
and word [ebx], 0
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x20
mov edi, eax
pop ecx
jmp 0x40142e
add edi, esi
cmp word [edi], cx
je 0x40142c
cmp word [edi], 0x22
jne 0x40144d
add edi, esi
movzx eax, word [edi]
test ax, ax
je 0x401460
add edi, esi
cmp ax, 0x22
jne 0x40143b
jmp 0x401460
movzx eax, word [edi]
test ax, ax
je 0x401460
add edi, esi
cmp ax, cx
jne 0x40144d
jmp 0x401460
add edi, esi
cmp word [edi], cx
je 0x40145e
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push ebx
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 8]
push dword [ebp - 4]
lea ebx, [ecx + eax]
call esi
mov ecx, dword [ebp + 0xc]
add eax, ebx
lea eax, [eax + ecx + 0x20]
lea esi, [eax + eax]
mov ecx, esi
call section..text
mov edx, dword [ebp - 4]
mov ebx, eax
lea esi, [esi + ebx - 2]
push esi
call fcn.00401080
mov edx, dword [ebp + 8]
mov word [eax], 0x20
push esi
add eax, 2
call fcn.00401080
mov word [eax], 0x20
push esi
add eax, 2
mov edx, edi
call fcn.00401080
mov ecx, dword [ebp - 4]
call fcn.00401010
mov ecx, dword [ebp + 8]
call fcn.00401010
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x40180b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x40181e
xor eax, eax
jmp 0x401854
mov eax, dword [esi + 4]
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov edi, 0x10000
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401857
mov eax, dword [ebp - 4]
test eax, eax
je 0x40185f
add dword [esi + 0xc], eax
sub edi, eax
jne 0x40182d
xor eax, eax
pop edi
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401853
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
sbb eax, eax
and eax, 0xffffffda
add eax, 0x26
jmp 0x401853

Function at 0x401948
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
mov dword [esi + 8], eax
jmp 0x40197b
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40198b
mov eax, dword [ebp - 4]
test eax, eax
je 0x401993
add dword [esi + 8], eax
sub edi, eax
jne 0x40195b
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
xor eax, eax
pop edi
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401987
push 0x27
pop eax
jmp 0x401987
Function at 0x509810
Capabilities:
Get number of processors

Disassembly:
add esp, 4
jmp 0x509819
and ebx, 0xf98
pop ebx
push ebx
xor ebx, 0x13abf
or ebx, 0x4f52
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x50984b
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x5098a5
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x509773
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x509773
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x50988f
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x509899
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x5098ee
push ecx
and ecx, 0x851b
call 0x5098c5
add byte [eax + 0x38], cl
cmp esi, dword [esi]
aas
inc ebp
inc esi
push eax
dec eax
add esp, 4
pop ecx
push eax
jmp 0x5098d3
or eax, 0x1665
add eax, 0xb8a1
pop eax
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x509956
push esi
xor esi, 0xed19
pop esi
push eax
and eax, 0xaac8
sub eax, 0x11954
pop eax
push esi
push edi
add esp, 4
xor esi, 0x2c98
jmp 0x509914
jmp 0x509919
or esi, 0x14ece
pop esi
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x50994c
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x509717
mov dword [ebp - 0x2a8], 0

Function at 0x5098c5
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
add esp, 4
jmp 0x509819
and ebx, 0xf98
pop ebx
push ebx
xor ebx, 0x13abf
or ebx, 0x4f52
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x50984b
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x5098a5
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x509773
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x509773
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x50988f
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x509899
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x5098ee
push ecx
and ecx, 0x851b
call 0x5098c5
add byte [eax + 0x38], cl
cmp esi, dword [esi]
aas
inc ebp
inc esi
push eax
dec eax
add esp, 4
pop ecx
push eax
jmp 0x5098d3
or eax, 0x1665
add eax, 0xb8a1
pop eax
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x509956
push esi
xor esi, 0xed19
pop esi
push eax
and eax, 0xaac8
sub eax, 0x11954
pop eax
push esi
push edi
add esp, 4
xor esi, 0x2c98
jmp 0x509914
jmp 0x509919
or esi, 0x14ece
pop esi
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x50994c
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x509717
mov dword [ebp - 0x2a8], 0
Function at 0x5297bc
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x529901
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x40
call fcn.00402e44
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
call fcn.0040ec54
mov eax, dword [ebx + 0x388]
mov eax, dword [eax + 0x194]
xor edx, edx
call fcn.004a3660
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x388]
call fcn.004a3db8
lea ecx, [ebp - 0x50]
mov edx, 0x529918
mov eax, dword [ebx + 0x3d4]
call fcn.0051684c
push dword [ebp - 0x50]
push 0x529928
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x38]
sbb edx, dword [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x54]
call fcn.0051d7bc
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004047a4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x370]
call fcn.004548f0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetPhysicallyInstalledSystemMemory
push 0
push 0x400
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004055f8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x5c]
mov edx, 0x529934
mov eax, dword [ebx + 0x3d4]
call fcn.0051684c
push dword [ebp - 0x5c]
push 0x529928
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0x60]
call fcn.0051d7bc
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.004047a4
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x36c]
call fcn.004548f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529908
lea eax, [ebp - 0x60]
mov edx, 6
call fcn.00404438
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c004]
jne 0x40100a
repz ret
jmp fcn.00401728

Function at 0x4064a8
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.00402451
and dword [ebp - 4], 0
cmp dword [0x43dde4], 0
mov ebx, eax
jne 0x406559
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40660a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40660a
push eax
call fcn.004023df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43dde4], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43dde8], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ddec], eax
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x43ddf4], eax
test eax, eax
je 0x406559
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x43ddf0], eax
mov eax, dword [0x43ddf0]
cmp eax, ebx
je 0x4065b1
cmp dword [0x43ddf4], ebx
je 0x4065b1
push eax
call fcn.0040245a
push dword [0x43ddf4]
mov esi, eax
call fcn.0040245a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4065b1
test edi, edi
je 0x4065b1
call esi
test eax, eax
je 0x4065a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4065a8
test byte [ebp - 0xc], 1
jne 0x4065b1
or dword [ebp + 0x10], 0x200000
jmp 0x4065ea
mov eax, dword [0x43dde8]
cmp eax, ebx
je 0x4065ea
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x4065ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4065ea
mov eax, dword [0x43ddec]
cmp eax, ebx
je 0x4065ea
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x4065ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43dde4]
call fcn.0040245a
pop ecx
test eax, eax
je 0x40660a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40660c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437b30
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x43c004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x437b5e
lea eax, [esp + 0xc]
push eax
push str.tuzudinuyodawiz_xivizevobikotuletife
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x437b92
cmp edi, 0x19f
jne 0x437b92
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.wofoyamev_wexededukocoh
push str.vazew_xajinoguwumofeforupatetonaxoc_vasufadogenanajeyu_wiwarerimefozenodav
push str.besudufawocugiforacir_nawiyay_yirideculaxabafulewasu_seyihet_zazadubavoxuyucawitiwituzunacare
push str.bemoxaxoyuguxejoxipavav_damilagorifoki_meyogupusosojezogayihasawuzerebu_moyeta
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437c02
lea esp, [esp]
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.00437b20
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x437bfd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437ba0
pop esi
cmp edi, 0x2d
jne 0x437c1c
mov dword [0x2b3c000], 0xa62e7790
mov dword [0x2b3c004], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret