joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9d3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x28]
mov dword [esi], 0x4dd614
mov dword [edi], 0x4dd620
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.004aab30
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004c44a0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d19b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4bf6d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d9e4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d1900
lea ebp, [esi + 0x28]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004c4470
mov dword [esi + 0x2c], 0x4dc564
mov dword [esi + 0x30], 0x64
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 2
call fcn.004aaaf0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.004aaaf0
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 4
call fcn.004aaaf0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 5
call fcn.004aaaf0
or eax, 0xffffffff
mov dword [esi + 0x34], edi
mov dword [esi + 0xac], edi
mov word [esi + 0xa04], di
mov word [esi + 0xa44], di
mov word [esi + 0x984], di
mov word [esi + 0x9c4], di
mov dword [esi + 0xb8], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x980], edi
mov dword [esi + 0xa88], edi
mov dword [esi + 0xa90], edi
mov dword [esi + 0xa94], edi
mov dword [esi + 0xa98], edi
mov dword [esi + 0xa9c], edi
mov dword [esi + 0xaa4], eax
mov dword [esi + 0xaac], eax
mov dword [esi + 0xab4], eax
mov dword [esi + 0xabc], edi
mov ecx, 0x220
xor eax, eax
lea edi, [esi + 0xc0]
mov dword [esi], 0x4dd6b8
mov dword [ebp], 0x4dd6b4
mov dword [esi + 0x2c], 0x4dd6ac
mov dword [esi + 0xa84], 6
mov dword [esi + 0xaa0], 1
mov dword [esi + 0xa8c], 5
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4cc7c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4da35a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004c4470
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004d1900
mov dword [esi + 0x2c], 0x4dc564
mov dword [esi + 0x30], 0x64
lea ebp, [esi + 0x34]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.004d07f0
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 3
call fcn.004a6f60
lea ecx, [esi + 0x2f8]
mov byte [esp + 0x1c], 4
call fcn.004aaaf0
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x354], edi
lea ecx, [esi + 0x620]
mov byte [esp + 0x1c], 5
call fcn.004aaaf0
lea ecx, [esi + 0x638]
mov byte [esp + 0x1c], 6
call fcn.004aaaf0
lea ecx, [esi + 0x650]
mov byte [esp + 0x1c], 7
call fcn.004aaaf0
lea ecx, [esi + 0x668]
mov byte [esp + 0x1c], 8
call fcn.004aaaf0
lea ecx, [esi + 0x680]
mov byte [esp + 0x1c], 9
call fcn.004aaaf0
mov dword [esi], 0x4dd7f0
mov dword [ebx], 0x4dd7e4
mov dword [esi + 0x2c], 0x4dd7dc
or eax, 0xffffffff
mov dword [ebp], 0x4dd7d8
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0xa8], edi
mov ecx, 0xa
mov dword [esi + 0x414], 0x808080
mov dword [esi + 0x400], ecx
mov dword [esi + 0x404], ecx
mov dword [esi + 0x84], edi
mov dword [esi + 0x38], edi
mov ecx, 1
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], edi
mov word [esi + 0xe4], di
mov word [esi + 0x124], di
mov word [esi + 0x35c], di
mov dword [esi + 0x3e8], edi
mov dword [esi + 0x3ec], edi
mov dword [esi + 0x3f0], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0x618], edi
mov dword [esi + 0x61c], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0x3f4], edi
mov dword [esi + 0x3f8], edi
mov dword [esi + 0x3fc], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x318], eax
mov dword [esi + 0x310], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x410], ecx
mov dword [esi + 0xc0], 0x64
mov dword [esi + 0xa4], ecx
mov dword [esi + 0x40c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4d2018
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dde30
push 0x4d2f34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [0x4db36c]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x4d209e
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x4d2076
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x4d20a4
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x4d206e
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x4d206e
mov al, 1
jmp 0x4d2070
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d279e
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x7ff80000
mov ebx, 0x10000
jbe 0x4d27c2
lea eax, [esi - 0x7ff80000]
mov dword [ebp + 8], eax
jmp 0x4d27c5
mov dword [ebp + 8], ebx
cmp esi, 0x80000000
jae 0x4d27d8
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4d27df
mov dword [ebp - 4], 0xfff80000
mov eax, dword [0x6dfd3c]
mov ecx, dword [0x6dfd38]
test eax, eax
jne 0x4d27f9
test ecx, ecx
je 0x4d280e
mov eax, ecx
mov dword [0x6dfd3c], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4d280e
cmp edx, dword [ebp + 8]
jb 0x4d280e
cmp edx, dword [ebp - 4]
jbe 0x4d2967
mov eax, ecx
test ecx, ecx
mov dword [0x6dfd3c], eax
je 0x4d283e
test eax, eax
je 0x4d2832
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4d2832
cmp ecx, dword [ebp + 8]
jb 0x4d2832
cmp ecx, dword [ebp - 4]
jbe 0x4d2967
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x6dfd3c], eax
jne 0x4d281d
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp + 8]
mov edi, esi
jbe 0x4d28a6
cmp edi, 0x70000000
jb 0x4d2863
cmp edi, 0x80000000
ja 0x4d2863
mov edi, 0x6fff0000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push edi
call dword [0x4db36c]
test eax, eax
je 0x4d28a6
cmp dword [ebp - 0x10], ebx
jne 0x4d287e
cmp dword [ebp - 0x14], ebx
jae 0x4d288e
mov eax, dword [ebp - 0x1c]
lea edi, [eax - 0x10000]
cmp edi, dword [ebp + 8]
ja 0x4d284e
jmp 0x4d28a6
push 0x40
push 0x3000
push ebx
push edi
call dword [0x4db270]
test eax, eax
mov dword [0x6dfd3c], eax
jne 0x4d291d
cmp esi, dword [ebp - 4]
jae 0x4d298e
cmp esi, 0x70000000
jb 0x4d28c4
cmp esi, 0x80000000
ja 0x4d28c4
mov esi, 0x80010000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [0x4db36c]
test eax, eax
je 0x4d298e
cmp dword [ebp - 0x10], ebx
jne 0x4d2912
cmp dword [ebp - 0x14], ebx
jb 0x4d2912
mov ecx, esi
and ecx, 0xffff
je 0x4d28fa
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0x40
push 0x3000
push ebx
push esi
call dword [0x4db270]
test eax, eax
mov dword [0x6dfd3c], eax
jne 0x4d291d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx]
jmp 0x4d28a6
mov dword [eax], 0x52727464
mov eax, dword [0x6dfd3c]
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [0x6dfd3c]
mov edx, dword [0x6dfd38]
mov dword [eax + 4], edx
mov eax, dword [0x6dfd3c]
mov dword [0x6dfd38], eax
add eax, 0xffe0
mov edx, 0x7fd
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec edx
jne 0x4d294f
mov eax, dword [0x6dfd3c]
mov dword [eax + 8], ecx
mov eax, dword [0x6dfd3c]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
jb 0x4d298e
cmp esi, dword [ebp - 4]
ja 0x4d298e
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.004d3390
add esp, 0xc
mov eax, esi
jmp 0x4d2990
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d2995
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dde40
push 0x4d2f34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [0x4db36c]
test eax, eax
je 0x4d2a0a
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x4d2a06
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x4d2a06
cmp word [eax + 0x14], 0
jne 0x4d29fb
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x4d2a0c
mov eax, ecx
jmp 0x4d29f5
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408515
Capabilities:
Parse pe header

Disassembly:
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7b
mov eax, dword [ebp + 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x7c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
invalid
inc ebp
cld
jg 0x4085a8
invalid
Function at 0x409ee0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a86b
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.0045efd0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409f62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045cd7d
mov eax, dword [eax]
push 0x48c1d0
push eax
call fcn.0044f204
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f25b
test bl, bl
je 0x409f62
push 0x48c1d0
lea ecx, [esp + 0xc]
call fcn.0045f5eb
push 0x48fd44
lea ecx, [esp + 0xc]
call fcn.0045f5eb
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 0x409f9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f25b
jmp 0x40a069
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 0x40a022
lea edx, [esp + 0x7c]
push 0x48fd40
push edx
call fcn.0044f204
add esp, 8
test eax, eax
je 0x40a022
lea eax, [esp + 0x7c]
push 0x48fd3c
push eax
call fcn.0044f204
add esp, 8
test eax, eax
je 0x40a022
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 0x409fb2
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.0045f25b
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 0x40a860
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 0x40a8c2
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 0x40a8d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a8eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4966c0]
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 0x40aa08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a936
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f25b
xor eax, eax
jmp 0x40aa7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f398
push esi
lea ecx, [esp + 0xc]
call fcn.0045f627
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40aa5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a860
test eax, eax
jne 0x40aa5d
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.0040a860
test eax, eax
jne 0x40aa5d
lea eax, [esp + 0x14]
push 0x48fd58
push eax
call fcn.00450240
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa3c
lea ecx, [esp + 0x14]
push 0x48fd54
push ecx
call fcn.004501c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40aa3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f348
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a94e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f25b
xor eax, eax
jmp 0x40aa7f
mov byte [esi], 0
push 0x48fd50
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.0045f25b
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 0x41bdd0
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 0x41be3e
cmp si, 0x69
ja 0x41be3e
add esi, 0xffd0
cmp si, 0x11
je 0x41be0e
push 0x11
call edi
test ax, ax
jge 0x41be0e
or esi, 0x2000
cmp si, 0x10
je 0x41be23
push 0x10
call edi
test ax, ax
jge 0x41be23
or esi, 0x4000
cmp si, 0x12
je 0x41be38
push 0x12
call edi
test ax, ax
jge 0x41be38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41be4b
mov esi, 0xbd
jmp 0x41bdff
cmp si, 0x6e
jne 0x41be58
mov esi, 0xbe
jmp 0x41bdff
cmp si, 0x6f
jne 0x41bdf9
mov esi, 0xbf
jmp 0x41bdff

Function at 0x41d4b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a6db8]
xor edx, edx
cmp eax, edx
jne 0x41d4d6
xor eax, eax
mov byte [eax + 0x4a6cb8], al
inc eax
cmp eax, 0x100
jl 0x41d4be
mov dword [0x4a6db8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a6cb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d567
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 0x41d53a
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 0x41d508
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d5e0
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 0x41d633
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 0x41d61a
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 0x424070
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 0x424208
cmp ebp, ebx
jle 0x424208
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 0x4240ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x4240d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4240e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4240eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045ef9c
add esp, 4
cmp eax, ebx
je 0x42410c
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.0045ef9c
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 0x4241fe
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 0x4241e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4241d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4241c6
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 0x4241d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4241d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x424170
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 0x424161
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
Function at 0x427260
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bea8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x427299
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0046694f
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0046699b
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00427320
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004669d8
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24