joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035ec
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x59e120], 0x400
push edi
jne 0x40365e
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll__hwrite]
push esi
push esi
call fcn.00403b12
push esi
push esi
call fcn.00403b12
push esi
call fcn.00403cdc
add esp, 0x14
push esi
push esi
push esi
call fcn.004045b3
pop ecx
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.0040309f
fstp st(0)
push esi
call fcn.00404638
pop ecx
push esi
call fcn.004043ca
pop ecx
push esi
push esi
call fcn.00403a06
pop ecx
pop ecx
mov eax, dword [0x42ab54]
mov dword [0x59e120], eax
mov eax, dword [0x42ab2c]
mov dword [0x59e124], eax
call fcn.004033ce
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x10], ebx
jle 0x4036c5
cmp dword [esp + 0x18], 0x785074d5
jne 0x4036d3
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x403680
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x402f40
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f8c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, ebx
jle 0x403702
cmp dword [esp + 0x18], 0x785074d5
jne 0x40370b
inc edi
cmp edi, 0x11915
jl 0x4036d5
mov eax, dword [0x59d074]
mov dword [0x59d6b4], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404fb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4290e8]
jne 0x404fba
repz ret
jmp fcn.0040ade2
Function at 0x40ab05
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.004077c2
and dword [ebp - 4], 0
cmp dword [0x42b420], 0
mov ebx, eax
jne 0x40abb6
push 0x401bb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ac67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401ba8
push edi
call esi
test eax, eax
je 0x40ac67
push eax
call fcn.00407750
mov dword [esp], 0x401b98
push edi
mov dword [0x42b420], eax
call esi
push eax
call fcn.00407750
mov dword [esp], 0x401b84
push edi
mov dword [0x42b424], eax
call esi
push eax
call fcn.00407750
mov dword [esp], 0x401b68
push edi
mov dword [0x42b428], eax
call esi
push eax
call fcn.00407750
pop ecx
mov dword [0x42b430], eax
test eax, eax
je 0x40abb6
push 0x401b50
push edi
call esi
push eax
call fcn.00407750
pop ecx
mov dword [0x42b42c], eax
mov eax, dword [0x42b42c]
cmp eax, ebx
je 0x40ac0e
cmp dword [0x42b430], ebx
je 0x40ac0e
push eax
call fcn.004077cb
push dword [0x42b430]
mov esi, eax
call fcn.004077cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ac0e
test edi, edi
je 0x40ac0e
call esi
test eax, eax
je 0x40ac05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ac05
test byte [ebp - 0xc], 1
jne 0x40ac0e
or dword [ebp + 0x10], 0x200000
jmp 0x40ac47
mov eax, dword [0x42b424]
cmp eax, ebx
je 0x40ac47
push eax
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ac47
mov eax, dword [0x42b428]
cmp eax, ebx
je 0x40ac47
push eax
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b420]
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ac69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419ff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x415015
lea edi, [esi - 0x14015]
push edi
or ebp, 0xffffffff
jmp 0x41a012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a008
mov eax, 1
add ebx, ebx
jne 0x41a02b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a020
jne 0x41a03c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a020
xor ecx, ecx
sub eax, 3
jb 0x41a050
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a0c2
mov ebp, eax
add ebx, ebx
jne 0x41a05b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a068
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a08c
inc ecx
add ebx, ebx
jne 0x41a078
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a06d
jne 0x41a089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a06d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a0ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a09d
jmp 0x41a00e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a0ac
add edi, ecx
jmp 0x41a00e
pop esi
mov edi, esi
mov ecx, 0x79
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a0ca
cmp byte [edi], 2
jne 0x41a0ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41a0cf
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41a13e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a0fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a044]
or eax, eax
je 0x41a138
mov dword [ebx], eax
add ebx, 4
jmp 0x41a119
call dword [esi + 0x1a040]
mov ebp, dword [esi + 0x1a048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1a199]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41a18a
sub esp, 0xffffff80
jmp 0x401480
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x408b0d
pop dword [ebp - 0x10]
mov eax, 0x5a5918f1
add eax, 0xa5e7721c
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3646c
push 0
mov eax, 0xa839419d
add eax, 0x58079f3b
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x898aa7ab
add ecx, 0x767594a2
xor edx, edx
add edx, eax
mov ebx, 0x2384e5d9
add ebx, 0xdcbc55eb
add ebx, dword [ebp - 0x10]
mov edi, 0xf99c3c90
add dword [ebp - 4], ebx
mov esi, dword [ebx]
sub dword [ebp - 4], edi
xor esi, edi
mov dword [edx], esi
add edx, 0x270fb91f
sub edx, 0x270fb91b
add ebx, 0x1f916b62
sub ebx, 0x1f916b5e
loop 0x408b68
add eax, 0x63c37241
add eax, 0x9c3d71c6
xor ebx, ebx
add ebx, eax
add eax, 0x42a13853
sub eax, 0x42a1384e
mov ecx, 0xce4ac7a
add ecx, 0xf35b5386
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10c6000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x10c600a
jmp 0x10c800f
jmp fcn.00d36058
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40d74e
pop dword [ebp - 0x28]
mov eax, 0xe36da9d8
sub eax, 0xe32cd28a
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3634b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x45c65e35
sub ecx, 0x45c62238
mov edx, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x28]
mov esi, 0x2cf5edb8
add esi, 0xfff5b975
xor dword [ebp - 8], esi
mov edi, dword [ebx]
sub dword [ebp - 0x18], ebx
add edi, esi
add dword [ebp - 4], 0x1f40b171
mov dword [edx], edi
add dword [ebp - 0x20], esi
add edx, 4
add ebx, 0x8e3e6a31
sub ebx, 0x8e3e6a2d
loop 0x40d7a2
add eax, 0xe2c7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbd6c37ec
add ecx, 0x42d3c814
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40596d
pop dword [ebp - 0x10]
mov eax, 0xb595c45f
add eax, 0x4aaa950e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xaa58a8c7
add dword [ebp - 0x20], 0xa3f99c84
mov dword [ebp - 0x1c], 0x6adc2406
sub dword [ebp - 0x1c], 0x38a8d7c1
mov dword [ebp - 0x18], 0x33991082
sub dword [ebp - 0x18], 0xe74ccc54
mov dword [ebp - 0x14], 0x61427c7d
sub dword [ebp - 0x14], 0x61427c7d
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe79ade43
add eax, 0x18a5921d
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x877531f9
add dword [ebp - 0x20], 0xecfd375d
mov dword [ebp - 0x1c], 0xdb681894
add dword [ebp - 0x1c], 0x660448e1
mov dword [ebp - 0x18], 0x32070348
sub dword [ebp - 0x18], 0xce9796dc
mov dword [ebp - 0x14], 0xcdc80f36
add dword [ebp - 0x14], 0x3237f0ca
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x1584b773
add eax, 0xeabbb98d
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x396ab
push 0
call eax
mov ecx, 0x2641834
sub ecx, 0x263c567
mov edx, eax
mov ebx, 0x47851155
sub ebx, 0x47441155
add ebx, dword [ebp - 0x10]
mov esi, 0xa27a83b5
xor dword [ebp - 4], 0x1ed9e31
mov edi, dword [ebx]
mov dword [ebp - 0xc], 0xe65e02a3
add edi, esi
sub dword [ebp - 0xc], esi
mov dword [edx], edi
mov dword [ebp - 8], 0x6445e57
add edx, 4
add ebx, 4
loop 0x405a89
add eax, 0xb100a9cf
sub eax, 0xb0ff6bc8
xor ebx, ebx
add ebx, eax
add eax, 0xfaa095d
sub eax, 0xfaa0958
mov ecx, 0xc41270a8
add ecx, 0x3c2d8f58
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40152a
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x124]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x124], 0x14
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x120]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x401586
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040152a
test eax, eax
jne 0x401620
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4020b6
sub eax, 0x401654
mov dword [esp], 0x401654
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401620
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401420
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014a3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401db9
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x410340
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4103e0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x410392
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4d06fc]
xor eax, edx
inc esi
cmp esi, edi
jl 0x410373
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4103bb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4d06fc]
xor eax, edx
inc esi
cmp esi, edi
jl 0x41039e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x414d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4d0b90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [0x4d25a4], 0
push 0x4d2648
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, 0x27
mov esi, 0x4d2648
mov edi, 0x4d25a8
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4d26b4], 0x500
jb 0x414d87
cmp dword [0x4d26b8], 0x2d0
jae 0x414da8
push 0
mov ecx, 0x489f1d0
call fcn.00411310
push eax
push 0x4c3930
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004a1571
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x414ddd
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
jmp 0x414db2
mov eax, dword [ebp - 0xa8]
add eax, 1
xor ecx, ecx
mov edx, 0x9c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049d760
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], 0
imul ecx, dword [ebp - 0xa8], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x414e50
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x414e1b
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xac], 0
jmp 0x414e75
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa8]
jge 0x414f76
imul eax, dword [ebp - 0xac], 0x9c
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + eax + 0x6c], 0x500
jne 0x414f71
imul edx, dword [ebp - 0xac], 0x9c
mov eax, dword [ebp - 0xa4]
cmp dword [eax + edx + 0x70], 0x2d0
jne 0x414f71
imul ecx, dword [ebp - 0xac], 0x9c
mov edx, dword [ebp - 0xa4]
cmp dword [edx + ecx + 0x68], 0x20
jne 0x414f71
push 0x4d2648
imul eax, dword [ebp - 0xac], 0x9c
add eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414f71
push 2
imul ecx, dword [ebp - 0xac], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x414f71
imul esi, dword [ebp - 0xac], 0x9c
add esi, dword [ebp - 0xa4]
mov ecx, 0x27
mov edi, 0x4d2648
rep movsd dword es:[edi], dword [esi]
mov dword [0x4d2644], 1
cmp dword [ebp - 0xa4], 0
je 0x414f6f
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0049d75b
add esp, 4
mov dword [ebp - 0xa4], 0
jmp 0x414fa4
jmp 0x414e66
cmp dword [ebp - 0xa4], 0
je 0x414fa4
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.0049d75b
add esp, 4
mov dword [ebp - 0xa4], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d498
mov esp, ebp
pop ebp
ret
Function at 0x43b360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x4d0b90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1b4], ecx
push 0x64
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x234]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0xc8
jae 0x43b3d8
jmp 0x43b3dd
call fcn.0049d88a
mov eax, dword [ebp - 0x1a4]
mov byte [ebp + eax - 0xcc], 0
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x1b8]
jge 0x43b4f0
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x194]
and eax, 0xff
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x81
jl 0x43b42e
cmp dword [ebp - 0x1a0], 0xfe
jle 0x43b44e
cmp dword [ebp - 0x1a0], 0xe0
jl 0x43b4dc
cmp dword [ebp - 0x1a0], 0xfc
jg 0x43b4dc
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x198]
mov al, byte [ebp + edx - 0x194]
mov byte [ebp + ecx - 0xcc], al
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x198]
add edx, 1
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp + ecx - 0x194]
mov byte [ebp + eax - 0xcc], dl
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0xc8
jae 0x43b4c9
jmp 0x43b4ce
call fcn.0049d88a
mov edx, dword [ebp - 0x1a8]
mov byte [ebp + edx - 0xcc], 0
mov eax, dword [ebp - 0x198]
add eax, 1
mov dword [ebp - 0x198], eax
jmp 0x43b3eb
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x43b503
jmp 0x43b544
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x64
jle 0x43b544
mov eax, 1
imul ecx, eax, 0x64
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0xc8
jae 0x43b531
jmp 0x43b536
call fcn.0049d88a
mov edx, dword [ebp - 0x1ac]
mov byte [ebp + edx - 0xcc], 0
mov ecx, 0x4d2930
call fcn.0041f770
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0xcc]
push eax
imul ecx, dword [ebp + 8], 0x3c998
mov edx, dword [ebp - 0x1b0]
lea eax, [edx + ecx + 9]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43b579
jmp 0x43b5a2
lea ecx, [ebp - 0xcc]
push ecx
imul edx, dword [ebp + 8], 0x3c998
mov eax, dword [ebp - 0x1b0]
lea ecx, [eax + edx + 9]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x4d2930
call fcn.0046e310
mov ecx, dword [ebp - 0x1b4]
call fcn.00439170
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d498
mov esp, ebp
pop ebp
ret 4