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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, 0x80010000
cmp dword [0x105521c], eax
jne 0x1025ccb
mov ecx, 0x1054568
call fcn.01003340
mov ecx, eax
call fcn.01002757
push eax
mov dword [ebp - 0xc], eax
call dword [fcn.010013e4]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100329a
pop ecx
mov edi, eax
push esi
push edi
push dword [ebp - 0xc]
xor eax, eax
mov word [edi], ax
call dword [fcn.010013e8]
mov eax, dword [0x1054300]
mov ecx, dword [eax + 0x10]
push esi
push edi
call fcn.010039b1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
shr eax, 0x10
push edi
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xf0]
call fcn.0102399e
mov esi, eax
test esi, esi
je 0x1025d38
push edi
call fcn.01001ff8
cmp dword [ebp - 4], 0
mov edi, dword [fcn.010015fc]
pop ecx
je 0x1023970
push dword [ebp - 4]
call edi
pop ecx
cmp dword [ebp - 8], 0
jne 0x1025d4d
cmp dword [0x105521c], 0
jne 0x1025d58
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025cdc
test al, al
jne 0x10238d9
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x10238d9
mov eax, dword [0x1055210]
mov esi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, ebx
cmp ecx, eax
jne 0x10238d9
cmp edx, esi
jne 0x10238d9
push 0x18
push 0x1025dc8
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.010321fa
jmp 0x10238d9
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 4
push esi
call dword [fcn.01001420]
jmp 0x1023957
push dword [ebp - 8]
call edi
pop ecx
jmp 0x102397a
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025d69
test al, al
jne 0x1023987
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x1023987
mov eax, dword [0x1055210]
mov edi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x1023987
cmp edx, edi
jne 0x1023987
push 0x19
push 0x1025dd8
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.010321fa
jmp 0x1023987

Function at 0x1023cd6
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x88]
call dword [fcn.010013f0]
push 0
push dword [esi + 0x80]
call dword [fcn.01001404]
push dword [esi + 0x80]
call dword [fcn.010013b4]
push 6
push dword [esi + 0x80]
call fcn.0100d5cb
mov edi, dword [fcn.010013ec]
push 1
push dword [esi + 0x88]
call edi
mov ecx, esi
call fcn.0100e35f
and dword [esi + 0x80], 0
mov ebx, dword [fcn.010013c0]
push 1
push 0x41b
add esi, 0x84
push dword [esi]
call ebx
push eax
call edi
push 1
push 0x41c
push dword [esi]
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x1023f58
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c674
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1024020
mov eax, dword [esi + 0x368]
mov edi, dword [fcn.01001404]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x1f0
call fcn.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x102401c
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xb4
push 0xaa
lea eax, [esi + 0x1b8]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.010241a2
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.0102402d
cmp dword [ebp + 8], 0
jne 0x1024014
mov ecx, dword [esi + 0xf0]
push 1
push dword [esi + 0x128]
call fcn.0100bfef
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x1023fe7
mov ecx, dword [esi + 0x128]
jmp 0x1023ff3

Function at 0x10329fe
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push 0
push dword [esi + 0x120]
call dword [fcn.01001404]
cmp dword [0x1054304], 3
jne 0x1032a2c
push dword [esi + 0xc]
call dword [fcn.010013b4]
push 0
mov ecx, esi
call fcn.0101515a
push 1
mov ecx, 0x1054210
call fcn.0100ecc9
mov ecx, 0x1054574
pop esi
jmp 0x10338c3
xor eax, eax
push eax
cmp byte [ecx + 8], al
je 0x10338d4
mov byte [ecx + 8], al
call fcn.0100d4d6
ret
mov byte [ecx + 8], 1
call fcn.01003349
ret

Function at 0x1033990
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push dword [esi + 0x410]
call dword [fcn.010013e8]
lea eax, [ebp - 0x88]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
call fcn.01003235
mov edi, eax
test edi, edi
jne 0x1033a0a
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 8]
add eax, eax
mov word [ebp + eax - 0x84], cx
xor ecx, ecx
mov word [ebp + eax - 0x82], cx
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0x410]
call dword [fcn.010013f8]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret 4

Function at 0x10357d1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push esi
mov edi, ecx
call dword [fcn.010013e8]
push esi
call dword [fcn.010013e4]
push eax
push esi
mov ecx, edi
call fcn.010044c2
lea eax, [ebp - 0xdc]
push eax
push esi
call dword [fcn.01001400]
push 2
lea eax, [ebp - 0xdc]
push eax
push dword [0x1054330]
push esi
call dword [fcn.010013b8]
push 0
lea eax, [ebp - 0xdc]
push eax
push dword [0x1054330]
call dword [fcn.01001300]
push dword [0x1054330]
mov edi, dword [0x100134c]
call edi
push esi
call edi
push esi
call dword [fcn.010013f0]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret 4
Function at 0x1038ee2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x580
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x57c], 0
push ebx
push esi
push edi
mov edi, dword [fcn.010013e8]
push 0x64
pop ebx
push ebx
lea eax, [ebp - 0xcc]
mov esi, ecx
push eax
push dword [esi + 0x80]
call edi
cmp word [ebp - 0xcc], 0
mov byte [ebp - 0x575], 0
jne 0x1038f41
cmp dword [ebp + 8], 0x2b
jne 0x1038f3a
mov ecx, esi
call fcn.01038b99
mov al, 1
jmp 0x10390ee
push ebx
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [0x1054300]
mov ecx, dword [eax + 0x10]
call fcn.010039b1
push dword [0x1054054]
lea eax, [ebp - 0xcc]
push 4
push ebx
push eax
call fcn.0100428a
mov dword [ebp - 0x580], eax
test eax, eax
jne 0x103908f
mov ecx, dword [0x1054300]
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.01035bac
test eax, eax
je 0x103908f
push ebx
lea eax, [ebp - 0xcc]
push eax
push dword [esi + 0x80]
call edi
cmp dword [ebp + 8], 0xd
mov edi, dword [fcn.010013cc]
je 0x1038fbc
cmp dword [ebp + 8], 9
jne 0x1038fca
cmp word [ebp - 0xcc], 0
je 0x103905d
push 0
push dword [esi + 0x90]
push 0x182
push dword [esi + 0x88]
call edi
cmp word [ebp - 0xcc], 0
je 0x103905d
mov eax, dword [0x1054300]
mov ecx, dword [eax + 0x10]
call fcn.0100e845
test eax, eax
je 0x103902f
push 0x54
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x57c]
push eax
push 0x2d
pop ecx
xor edx, edx
cmp cx, word [eax]
sete dl
push edx
push dword [0x1054050]
push 0x1055580
call fcn.0104275e
lea eax, [ebp - 0x174]
push eax
jmp 0x1039035
push dword [ebp - 0x57c]
push dword [esi + 0x90]
push 0x181
push dword [esi + 0x88]
call edi
push 0
push dword [esi + 0x90]
push 0x186
push dword [esi + 0x88]
jmp 0x103907d
mov ebx, dword [esi + 0x90]
mov ecx, esi
call fcn.01038965
push 0
cmp eax, ebx
jne 0x1039071
dec ebx
push ebx
push 0x186
push dword [esi + 0x88]
call edi
mov ecx, esi
call fcn.01038a4c
mov byte [ebp - 0x575], 1
jmp 0x10390db
xor eax, eax
cmp dword [ebp - 0x57c], eax
je 0x10390a1
push dword [ebp - 0x57c]
jmp 0x10390d4
cmp dword [ebp - 0x580], 0x77
push 0x200
lea ecx, [ebp - 0x574]
push ecx
jne 0x10390ba
push 0x77
jmp 0x10390bf
push 0xdd
push eax
call dword [int.01001194]
push eax
call dword [fcn.010013f4]
lea eax, [ebp - 0x574]
push eax
mov ecx, esi
call fcn.01038446
push dword [ebp - 0x57c]
call dword [fcn.010015fc]
mov al, byte [ebp - 0x575]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 4
Function at 0x10440c2
Capabilities:
Get common file path

Disassembly:
push 0x43c
mov eax, 0x104fd4e
call fcn.01001ea1
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x428], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
mov dword [ebp - 0x42c], esi
call fcn.01002043
add esp, 0xc
push 0x100247c
mov ecx, esi
call fcn.010127cb
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], 1
call dword [entry0]
test eax, eax
je 0x104420f
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.010127f7
push 0x1044220
mov ecx, esi
call fcn.0103c2e7
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x424], eax
call fcn.0103c04e
push 0x104421c
mov ecx, esi
call fcn.0103c2e7
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x104417b
mov eax, dword [edi]
jmp 0x104417d
mov eax, edi
push eax
call dword [0x100122c]
cmp eax, 0xffffffff
jne 0x10441a1
cmp dword [esi + 0x18], 8
jb 0x1044193
mov eax, dword [edi]
jmp 0x1044195
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
jne 0x10441e9
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x18], 8
jb 0x10441b2
mov eax, dword [eax + 4]
jmp 0x10441b5
add eax, 4
cmp dword [esi + 0x18], 8
jb 0x10441bd
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push edi
call dword [0x1001278]
push 0x100247c
mov ecx, esi
call fcn.010127f7
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.0103c2e7
jmp 0x104420f
lea ecx, [ebp - 0x448]
call fcn.010167e3
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.01017387
push ebx
push edi
lea ecx, [ebp - 0x448]
call fcn.0101212a
mov eax, esi
call fcn.01001f5c
ret 4
Function at 0x1046196
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x46c
mov eax, 0x1050474
call fcn.01001ea1
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x418], ax
xor esi, esi
lea eax, [ebp - 0x416]
push esi
push eax
mov ebx, ecx
call fcn.01002043
push 0x60
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x43c], esi
call fcn.01002286
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x1046225
add ebx, 0x1c
push ebx
call fcn.0101677e
mov dword [ebp - 0x41c], eax
jmp 0x104622b
mov dword [ebp - 0x41c], esi
lea eax, [ebp - 0x45c]
push eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x10463cd
cmp dword [ebp - 0x424], esi
je 0x10463ca
lea ecx, [ebp - 0x454]
call fcn.0101749f
mov dword [ebp - 4], 1
mov dword [ebp - 0x428], esi
cmp dword [ebp - 0x424], esi
jbe 0x1046381
lea eax, [ebp - 0x45c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x440], 0xff
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x1046369
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x478]
call fcn.010127cb
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 2
call fcn.01045aa5
push esi
push 1
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 1
call fcn.0101212a
mov ecx, dword [ebp - 0x41c]
call fcn.01046097
test eax, eax
je 0x1046342
mov ecx, dword [ebp - 0x41c]
call fcn.010438f4
test eax, eax
je 0x1046369
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ebx
push eax
lea ecx, [ebp - 0x454]
inc ebx
call fcn.01045715
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.010127f7
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x424]
jb 0x10462b7
xor edi, edi
cmp ebx, esi
jbe 0x10463bb
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x420], edi
call fcn.01045715
mov ecx, dword [ebp - 0x41c]
push eax
call fcn.01045aa5
mov ecx, dword [ebp - 0x41c]
call fcn.01045f80
inc edi
cmp edi, ebx
jb 0x1046387
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.01045092
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x41c]
cmp ecx, esi
je 0x10463de
push 1
call fcn.01018a85
mov eax, ebx
call fcn.01001f5c
ret 4
Function at 0x4451c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049a1f0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x445242
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00498010
mov eax, dword [eax]
push 0x4cc24c
push eax
call fcn.00489ef4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049a47b
test bl, bl
je 0x445242
push 0x4cc24c
lea ecx, [esp + 0xc]
call fcn.0049a80b
push 0x4cff04
lea ecx, [esp + 0xc]
call fcn.0049a80b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44527e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049a47b
jmp 0x445349
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x445302
lea edx, [esp + 0x7c]
push 0x4cff00
push edx
call fcn.00489ef4
add esp, 8
test eax, eax
je 0x445302
lea eax, [esp + 0x7c]
push 0x4cfefc
push eax
call fcn.00489ef4
add esp, 8
test eax, eax
je 0x445302
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x445292
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049a47b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x445b40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x445ba2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x445bb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d67d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x445ce8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x445c16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a47b
xor eax, eax
jmp 0x445d5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049a5b8
push esi
lea ecx, [esp + 0xc]
call fcn.0049a847
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4cff3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x445d3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00445b40
test eax, eax
jne 0x445d3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00445b40
test eax, eax
jne 0x445d3d
lea eax, [esp + 0x14]
push 0x4cff18
push eax
call fcn.0048b000
mov esi, eax
add esp, 8
test esi, esi
jne 0x445d1c
lea ecx, [esp + 0x14]
push 0x4cff14
push ecx
call fcn.0048af80
mov esi, eax
add esp, 8
test esi, esi
jne 0x445d1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x445d1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049a568
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x445c2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a47b
xor eax, eax
jmp 0x445d5f
mov byte [esi], 0
push 0x4cff10
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049a47b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x456200
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x45626e
cmp si, 0x69
ja 0x45626e
add esi, 0xffd0
cmp si, 0x11
je 0x45623e
push 0x11
call edi
test ax, ax
jge 0x45623e
or esi, 0x2000
cmp si, 0x10
je 0x456253
push 0x10
call edi
test ax, ax
jge 0x456253
or esi, 0x4000
cmp si, 0x12
je 0x456268
push 0x12
call edi
test ax, ax
jge 0x456268
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45627b
mov esi, 0xbd
jmp 0x45622f
cmp si, 0x6e
jne 0x456288
mov esi, 0xbe
jmp 0x45622f
cmp si, 0x6f
jne 0x456229
mov esi, 0xbf
jmp 0x45622f

Function at 0x457a30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e6f80]
xor edx, edx
cmp eax, edx
jne 0x457a56
xor eax, eax
mov byte [eax + 0x4e6e80], al
inc eax
cmp eax, 0x100
jl 0x457a3e
mov dword [0x4e6f80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e6e80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x457ae7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x457aba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x457a88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x457b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x457bb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x457b9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e5f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x45e788
cmp ebp, ebx
jle 0x45e788
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x45e64e
dec eax
or eax, 0xfffffff8
inc eax
je 0x45e655
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x45e664
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45e66b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0049a1bc
add esp, 4
cmp eax, ebx
je 0x45e68c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0049a1bc
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x45e77e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x45e765
mov al, byte [edx]
cmp al, 0xc0
jbe 0x45e751
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x45e746
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x45e754
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x45e754
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x45e6f0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x45e6e1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret