joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7dc3
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4e7e0d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7e0d
call fcn.004e767c
test eax, eax
je 0x4e7e0d
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.004025e0
xor eax, eax
inc eax
jmp 0x4e8025
cmp dword [ebx + 4], 0x100
push edi
jne 0x4e801c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4e7f0a
push 0x11
call edi
test ax, ax
jl 0x4e7f0a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7f0a
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4e7e7d
cmp eax, 0x20
jbe 0x4e7f0a
cmp eax, 0x24
jbe 0x4e7e70
cmp eax, 0x26
je 0x4e7e70
cmp eax, 0x28
jne 0x4e7f0a
call fcn.004e767c
test eax, eax
je 0x4e7f0a
mov ecx, esi
call fcn.0040da85
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004e767c
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4e7eb2
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004025e0
jmp 0x4e8017
call fcn.00412f49
test eax, eax
je 0x4e8017
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00412f81
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4e7ee0
xor edi, edi
jmp 0x4e7ee3
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.00412f49
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4e8017
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4e7fe6
sub eax, 0x12
je 0x4e7fbe
sub eax, 0xb
je 0x4e7f2c
dec eax
dec eax
jne 0x4e801c
push 0x12
call edi
test ax, ax
jl 0x4e801c
push 0x11
call edi
test ax, ax
jl 0x4e801c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e801c
call fcn.004e767c
test eax, eax
jne 0x4e8017
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004e75f6
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411bb7
test eax, eax
je 0x4e8017
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00411bb7
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4e8017
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7fd2
push 0
call fcn.004e75f6
mov ecx, esi
call fcn.004126cc
test eax, eax
je 0x4e801c
mov ecx, esi
call fcn.004126cc
jmp 0x4e8010
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411bb7
test eax, eax
je 0x4e801c
push dword [esi + 0x20]
call edi
push eax
call fcn.00411bb7
push 0
push esi
mov ecx, eax
call fcn.0040e562
mov ecx, eax
call fcn.0040da85
xor eax, eax
inc eax
jmp 0x4e8024
push ebx
mov ecx, esi
call fcn.0040fa0f
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f4bfa
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x528808
call fcn.00504594
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4f4cd0
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4f4cd0
cmp ebx, 0x43
je 0x4f4c3c
cmp ebx, 0x2d
jne 0x4f4cd0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f4cd0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00403090
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00403070
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401be0
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00474cd9
call fcn.0050466c
ret 4

Function at 0x4fcd92
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x4fcdd2
test edi, edi
jl 0x4fcdd2
cmp al, 0x20
je 0x4fcdc7
cmp word [ebp + 8], 0x71
jne 0x4fcdd2
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x501d3b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x572608]
jne 0x501d45
repz ret
jmp fcn.00508974
Function at 0x5171de
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.0050b902
and dword [ebp - 4], 0
cmp dword [0x579a40], 0
mov ebx, eax
jne 0x51728f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x517340
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5511ac
push edi
call esi
test eax, eax
je 0x517340
push eax
call fcn.0050b890
mov dword [esp], 0x55119c
push edi
mov dword [0x579a40], eax
call esi
push eax
call fcn.0050b890
mov dword [esp], 0x551188
push edi
mov dword [0x579a44], eax
call esi
push eax
call fcn.0050b890
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x579a48], eax
call esi
push eax
call fcn.0050b890
pop ecx
mov dword [0x579a50], eax
test eax, eax
je 0x51728f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0050b890
pop ecx
mov dword [0x579a4c], eax
mov eax, dword [0x579a4c]
cmp eax, ebx
je 0x5172e7
cmp dword [0x579a50], ebx
je 0x5172e7
push eax
call fcn.0050b90b
push dword [0x579a50]
mov esi, eax
call fcn.0050b90b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5172e7
test edi, edi
je 0x5172e7
call esi
test eax, eax
je 0x5172de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5172de
test byte [ebp - 0xc], 1
jne 0x5172e7
or dword [ebp + 0x10], 0x200000
jmp 0x517320
mov eax, dword [0x579a44]
cmp eax, ebx
je 0x517320
push eax
call fcn.0050b90b
pop ecx
test eax, eax
je 0x517320
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x517320
mov eax, dword [0x579a48]
cmp eax, ebx
je 0x517320
push eax
call fcn.0050b90b
pop ecx
test eax, eax
je 0x517320
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x579a40]
call fcn.0050b90b
pop ecx
test eax, eax
je 0x517340
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x517342
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x930250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35a000]
push edi
jmp 0x93026a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x930271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x930260
mov eax, 1
add ebx, ebx
jne 0x930283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x930294
jne 0x9302b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9302b3
dec eax
add ebx, ebx
jne 0x9302a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x930278
add ebx, ebx
jne 0x9302af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x930305
xor ecx, ecx
sub eax, 3
jb 0x9302cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x93033a
sar eax, 1
mov ebp, eax
jmp 0x9302d6
add ebx, ebx
jne 0x9302d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9302a4
inc ecx
add ebx, ebx
jne 0x9302e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9302a4
add ebx, ebx
jne 0x9302f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9302e6
jne 0x930302
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9302e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x930324
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x930316
jmp 0x930266
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x930324
add edi, ecx
jmp 0x930266
pop esi
mov edi, esi
mov ecx, 0xf571
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x930342
cmp byte [edi], 0x2a
jne 0x930342
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 0x930347
lea edi, [esi + 0x51c000]
mov eax, dword [edi]
or eax, eax
je 0x9303bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53b5f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53b744]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x930374
mov ecx, edi
jns 0x9303a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x53b748]
or eax, eax
je 0x9303b9
mov dword [ebx], eax
add ebx, 4
jmp 0x930391
call dword [esi + 0x53b758]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9303f0
cmp al, 0xef
ja 0x9303e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9303c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9303d2
mov ebp, dword [esi + 0x53b74c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x930424
sub esp, 0xffffff80
jmp 0x4ab310
Function at 0x4c9840
Capabilities:
Reference l3 dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402810
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], edi
call fcn.00424340
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp si, di
mov ebx, esi
jne 0x4c98c4
mov edx, 0x42a458
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x28]
push ecx
call fcn.004c3d00
lea ecx, [ebp - 0x28]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp si, 0xffff
jne 0x4c98c4
or ebx, 0xffffffff
cmp bx, di
jne 0x4c9953
mov edx, 0x42a46c
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x28]
push edx
call fcn.004c99a0
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 1
jl 0x4c9953
lea edx, [ebp - 0x58]
push 1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x68]
push ecx
push edx
mov dword [ebp - 0x60], 0x42328c
mov dword [ebp - 0x68], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x38]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp si, di
je 0x4c9953
or ebx, 0xffffffff
mov dword [ebp - 0x14], ebx
push 0x4c9984
jmp 0x4c997a
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
Function at 0x508d40
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x404936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x404118
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], 0x4008
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
call edi
mov dword [ebp - 0x7c], 0x427004
mov dword [ebp - 0x84], 8
push 1
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x84]
push eax
push esi
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov esi, eax
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], 0x4008
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x34]
push edx
call edi
sub si, 1
jo 0x508eb9
mov word [ebp - 0x3c], si
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
push 1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x64]
push ecx
call edi
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x508ea3
jmp 0x508ea2
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
Function at 0x401ee4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x402270
call fcn.004021a8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401f44
cmp eax, 0xffffffff
je 0x401f44
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401f3d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401f3d
cmp edx, 0x10000000
jae 0x401f3d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401f3a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401fb0
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 0x401fee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401fe6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401ff0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401fd6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4020c0
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 0x4020f1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4020f1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4020f1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40844a
Capabilities:
Encode data using xor

Disassembly:
call 0x4083c3
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4083f3
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x40840f
xor edx, 0
jmp 0x40841a
xor edx, edx
jmp 0x408431
jmp 0x40843d
xor eax, eax
push 0x8427d7c0
call 0x40844a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x408486
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40845f
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x40849d
add eax, 0
jno 0x4084a2
add esi, 0
ret 0x10
Function at 0x40920b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x40922d
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4093cf
cmp edi, dword [ebp + 0x10]
jb 0x4093cf
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00408cf7
inc edi
jmp 0x4092b6
jmp 0x4092c3
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00408cf7
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00408cf7
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x409317
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4092fb
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.00409345
add dword [eax], 0x39
jle 0x409321
sub al, 0xf5
mov ch, al
call fcn.0040935a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x40b032
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40b048
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40b059
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0040b09a
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x40d406
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x40d34f
add ebx, 0
push ecx
call 0x40d364
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7365e130
sub ebx, dword [0x7367d96f]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7367d95f
call fcn.00408e2e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040833c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40d4c2
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40d4c2
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x40d479
mov eax, 1
lock xchg dword [0x7367d96b], eax
push 0x3dd1fc71
call 0x40d406
push esi
add esp, 8
cmp eax, 0
jne 0x40d3ef
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40d415
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40d42a
cmp ecx, edx
cmp eax, 0
je 0x40d44f
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x40d439
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0040d468
dec eax
loope 0x40d46b
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7367d96b], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x40d49f
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40d4b4
jmp 0x40d4bf
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40d3ad

Function at 0x414527
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4147fd
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7366a5e3
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x736615a9
push 0xffffffffffffffff
call fcn.0040b727
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x414591
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.004145a9
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4147f1
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4147c5