joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x48b66b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x48b76e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4f4d64]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4f4d64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4f4d64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4f4d64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4f4d64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4f4d64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4f4d64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4f4d64]
xor eax, edx
inc ecx
dec edi
jne 0x48b686
pop edi
test esi, esi
je 0x48b790
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4f4d64]
xor eax, edx
inc ecx
dec esi
jne 0x48b772
pop esi
pop ebx
not eax
ret

Function at 0x48bfa0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x48bfe1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48bfd6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x48bff4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x48cf30
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x48cfe5
cmp dword [ebp + 4], 0xffffffff
jne 0x48cfe5
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x515d90
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x48cfad
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x48cfad
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.0048bd30
add esp, 0x10
test eax, eax
jne 0x48cfd0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.0048c270
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x48d440
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x48d508
mov al, byte [ecx]
test al, al
je 0x48d508
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x48d46b
cmp al, 0x5c
jne 0x48d46d
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48d463
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x48d4a4
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.004a8616
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.0048d440
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x490980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x546ce8]
xor edx, edx
cmp eax, edx
jne 0x4909a6
xor eax, eax
mov byte [eax + 0x546be8], al
inc eax
cmp eax, 0x100
jl 0x49098e
mov dword [0x546ce8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x546be8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x490a37
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 0x490a0a
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 0x4909d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x490a40
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 0x490a93
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 0x490a7a
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 0x497450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c62de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00497d70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4f53b4
call fcn.004b6901
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4974e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b6901
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4974dc
push 0
mov ecx, eax
call fcn.0048e5c0
mov dword [esi + 0xc], eax
jmp 0x4974e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4974e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4a85d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a85f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a6cda
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4a8613
test byte [esp + 8], 2
je 0x4a8613
call fcn.004a6d4d
mov dword [eax], 0xd
call fcn.004a6d56
mov dword [eax], 5
jmp 0x4a85ec
xor eax, eax
ret

Function at 0x4b8f67
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b8f9f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b701b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b6ff3
jmp 0x4b8fab
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ba659
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ba69b
call fcn.004c03cf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ba69b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ba692
xor eax, eax
jmp 0x4ba6a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ba6a9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c08ff
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c092d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c094b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c0865
jmp 0x4c094b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c094b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c0865
test edi, edi
mov eax, edi
jne 0x4c0935
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403203
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
push 1
xor edi, edi
push edi
push dword [esp + 0x14]
push str.iexplore.exe
push edi
push edi
call esi
cmp eax, 0x20
ja 0x40322e
push 1
push edi
push edi
push dword [esp + 0x18]
push edi
push edi
call esi
pop edi
pop esi
ret
Function at 0x413722
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
add ecx, 0x3bc
jmp fcn.00416c20

Function at 0x418ce0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be118
push eax
mov dword fs:[0], esp
push ebx
xor ebx, ebx
cmp byte [0x50969c], bl
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
mov dword [esi], vtable.lang::Object.0
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 1
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
jne 0x418d30
push 0x509678
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x50969c], 1
mov dword [esp + 0x14], ebx
push 0x4d366e
mov dword [esi], vtable.lang::String.0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x34], eax
add eax, 0x10
and eax, 0xfff0
cmp edi, eax
mov dword [esi + 0x30], eax
jle 0x418d63
add edi, 0xf
and edi, 0xfff0
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x30]
push eax
call fcn.00481acb
add esp, 4
push 0x4d366e
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x418f10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be118
push eax
mov dword fs:[0], esp
push ebx
xor ebx, ebx
cmp byte [0x50969c], bl
push esi
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.lang::Object.0
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 1
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
jne 0x418f5d
push 0x509678
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x50969c], 1
mov dword [esp + 0x10], ebx
push 0x10
mov dword [esi], vtable.lang::String.0
mov dword [esi + 0x34], 1
mov dword [esi + 0x30], 0x10
call fcn.00481acb
mov cl, byte [esp + 0x20]
mov dword [esi + 0x2c], eax
mov byte [eax], cl
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
add esp, 4
mov eax, esi
mov byte [edx + 1], bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8

Function at 0x418fb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4be0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp byte [0x50969c], bl
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.lang::Object.0
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 1
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
jne 0x419002
push 0x509678
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x50969c], 1
fld qword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
push 9
mov dword [esp + 0x28], ebx
sub esp, 8
fstp qword [esp]
mov dword [esi], vtable.lang::String.0
call fcn.004829b7
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00419720
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x4192b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bdde8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [vtable.lang::Object.0]
mov edx, dword [eax]
push ebp
push esi
mov ecx, 0x4f1888
mov dword [esp + 8], 0x4f1888
mov byte [esp + 0xc], 0
call edx
mov eax, dword [vtable.lang::Object.0]
mov edx, dword [eax + 8]
mov ecx, 0x4f1888
call edx
mov esi, dword [esp + 0x20]
add esi, 0xf
and esi, 0xfff0
push esi
mov dword [esp + 0x1c], 0
call fcn.00481acb
mov ebp, eax
mov eax, dword [edi + 0x2c]
add esp, 4
test eax, eax
je 0x419340
mov ecx, dword [edi + 0x34]
add ecx, 1
push ecx
push eax
push ebp
call fcn.00483b90
add esp, 0xc
cmp dword [edi + 0x30], 0
jle 0x419344
mov eax, dword [edi + 0x2c]
push eax
call fcn.00481932
add esp, 4
jmp 0x419344
mov byte [ebp], 0
mov dword [esp + 0x18], 0xffffffff
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x30], esi
mov edx, dword [vtable.lang::Object.0]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f1888
call eax
mov edx, dword [vtable.lang::Object.0]
mov eax, dword [edx + 4]
mov ecx, 0x4f1888
call eax
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 4

Function at 0x419510
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push 2
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0xf
push 0x400
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test ebx, ebx
mov byte [esp + 0x27], 0
lea esi, [edi + 0x12]
jne 0x419544
mov byte [esp + 0x26], 0x30
lea esi, [edi + 0x11]
jmp 0x419598
jle 0x419598
test edi, edi
jle 0x41956c
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, edi
sub edx, ecx
jne 0x41956c
mov al, byte [esp + 0x10]
mov byte [esp + esi + 0x14], al
sub esi, 1
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dl, 0xa
imul dl
sub bl, al
add bl, 0x30
mov byte [esp + esi + 0x14], bl
mov ebx, ecx
sub esi, 1
add edi, 1
test ebx, ebx
jg 0x419546
mov ecx, dword [esp + 0x2c]
lea eax, [esp + esi + 0x15]
push eax
call fcn.00419720
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x41ad00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf9a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x4d6190
mov esi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call fcn.004199b0
test al, al
je 0x41ad58
push 0x3c
call fcn.00481acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
cmp ecx, edi
mov byte [ebp - 4], 1
je 0x41ada9
push esi
call fcn.00421c50
jmp 0x41adab
mov eax, dword [esi + 0x2c]
cmp eax, edi
jne 0x41ad64
mov eax, 0x4d366e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41ad8a
mov eax, dword [ebp + 8]
mov byte [eax + 0x45], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x30
call fcn.00481acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
cmp ecx, edi
mov byte [ebp - 4], 2
je 0x41ada9
push esi
call fcn.00421760
jmp 0x41adab
xor eax, eax
push 0x2000
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], 0x2000
call fcn.00481acb
mov ebx, eax
mov dword [ebp - 0x1c], ebx
add esp, 4
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
sub esi, edi
push esi
push edi
push ebx
call eax
test eax, eax
jle 0x41ae11
add edi, eax
cmp eax, esi
jne 0x41adcb
mov esi, dword [ebp - 0x14]
add esi, esi
push esi
call fcn.00481acb
add esp, 4
push edi
push ebx
push eax
mov dword [ebp - 0x20], eax
call fcn.00483b90
add esp, 0xc
push ebx
mov dword [ebp - 0x14], esi
call fcn.00481932
mov ebx, dword [ebp - 0x20]
jmp 0x41adc5
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push edi
mov edi, dword [ebp + 8]
push ebx
call fcn.0041aaf0
mov dword [ebp - 4], 0xffffffff
jmp 0x41ae5a
push ebx
call fcn.00481932
mov ecx, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b710
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bdd58
push eax
mov dword fs:[0], esp
push ebx
xor ebx, ebx
cmp byte [0x50969c], bl
push esi
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.lang::Object.0
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 1
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
jne 0x41b75d
push 0x509678
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x50969c], 1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x10], ebx
mov dword [esi], vtable.util::Hashtable::HTEnum.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00481acb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], eax
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x41b880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bdde8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ebx
push ebp
push edi
mov ecx, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], 1
call edx
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x30]
mov dword [esp + 0x14], eax
add eax, eax
add eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x10], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00481acb
mov dword [esi + 0x30], eax
xor eax, eax
add esp, 4
cmp dword [esi + 0x2c], eax
jle 0x41b912
jmp 0x41b900
mov ecx, dword [esi + 0x30]
mov dword [ecx + eax*4], 0
add eax, 1
cmp eax, dword [esi + 0x2c]
jl 0x41b900
xor ebp, ebp
cmp dword [esp + 0xc], ebp
jle 0x41b959
mov edi, dword [ebx + ebp*4]
test edi, edi
je 0x41b950
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + 8]
call eax
cdq
idiv dword [esi + 0x2c]
test edx, edx
jge 0x41b937
neg edx
test ebx, ebx
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + edx*4]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x30]
mov dword [ecx + edx*4], edi
mov edi, ebx
jne 0x41b921
mov ebx, dword [esp + 0x10]
add ebp, 1
cmp ebp, dword [esp + 0xc]
jl 0x41b91a
mov edx, dword [esp + 0x14]
push ebx
mov dword [esi + 0x34], edx
call fcn.00481932
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret

Function at 0x41d350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add dword [eax + 0x48], 1
mov ecx, dword [eax + 0x48]
add dword [eax + 0x44], ecx
push ebx
push esi
xor edx, edx
push edi
nop
mov esi, dword [eax + 0x3c]
mov edi, dword [esi + edx*4]
mov ecx, edx
and ecx, 3
cmp ecx, 3
ja case.default.0x41d370
jmp dword [ecx*4 + 0x41d3fc]
mov ecx, dword [eax + 0x40]
mov ebx, ecx
shl ebx, 0xd
jmp 0x41d39f
mov ecx, dword [eax + 0x40]
mov ebx, ecx
ror ebx, 6
jmp 0x41d39f
mov ecx, dword [eax + 0x40]
lea ebx, [ecx*4]
jmp 0x41d39f
mov ecx, dword [eax + 0x40]
mov ebx, ecx
ror ebx, 0x10
xor ebx, ecx
mov dword [eax + 0x40], ebx
lea ecx, [edx - 0x80]
and ecx, 0xff
mov ecx, dword [esi + ecx*4]
add dword [eax + 0x40], ecx
mov ebx, dword [eax + 0x40]
mov ecx, edi
sar ecx, 2
and ecx, 0xff
mov ecx, dword [esi + ecx*4]
add ecx, ebx
add ecx, dword [eax + 0x44]
add edx, 1
mov dword [esi + edx*4 - 4], ecx
mov esi, dword [eax + 0x3c]
sar ecx, 0xa
and ecx, 0xff
mov ecx, dword [esi + ecx*4]
mov esi, dword [eax + 0x38]
add ecx, edi
cmp edx, 0x100
mov dword [eax + 0x44], ecx
mov dword [esi + edx*4 - 4], ecx
jl 0x41d360
pop edi
pop esi
pop ebx
ret
Function at 0x41d760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
cmp byte [0x50969c], bl
push ebp
mov ebp, 1
push esi
mov esi, ecx
mov dword [esp + 0xc], vtable.lang::Object.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x34], bl
jne 0x41d7b6
push 0x509678
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x50969c], 1
mov dword [esp + 0x48], ebx
push 0x100
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.lang::IntArray.0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00416cb0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ebp
push eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
call fcn.0048207a
add esp, 4
call fcn.00482087
mov ecx, eax
cmp ecx, ebx
jge 0x41d7ff
neg ecx
mov eax, 0x97247453
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
add ecx, eax
cmp ecx, ebx
push edi
jle 0x41d829
mov edi, ecx
nop
call fcn.00482087
sub edi, ebp
jne 0x41d820
xor edi, edi
jmp 0x41d830
mov ecx, dword [esp + 0x3c]
lea ebp, [edi + ecx]
call fcn.00482087
add edi, 4
cmp edi, 0x400
mov dword [ebp], eax
jl 0x41d830
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [esp + 0x10]
mov dword [esi + 0x30], eax
call fcn.0041d2d0
mov dword [esp + 0x10], vtable.lang::IntArray.0
mov dword [esp + 0x4c], 2
mov edx, dword [esp + 0x3c]
push edx
call fcn.00481932
add esp, 4
cmp byte [esp + 0x38], bl
mov dword [esp + 0x10], vtable.lang::Object.0
pop edi
je 0x41d893
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x2c]
pop esi
pop ebp
cmp eax, ebx
pop ebx
je 0x41d8a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 4