joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0x3c
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x118], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x454da0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40ffa1
sar edx, 1
lea edi, [esi + 0x104]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x44fa60]
xor eax, eax
jmp 0x410690
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4237c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov ecx, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x4237e0
cmp eax, 0xffffffdd
jge 0x4237f7
mov eax, 0xffffffff
jmp 0x4237fa
add eax, 0x22
push eax
call fcn.0040cbc0
add esp, 4
mov esi, eax
mov dword [esp + 0x18], 0x21ab27c0
mov dword [esp + 0x1c], 0xddb323ac
mov dword [esp + 0x20], 0xd93ddf4e
mov dword [esp + 0x24], 0xd545db41
mov dword [esp + 0x28], 0xd14ad730
mov dword [esp + 0x2c], 0xcd4cd34f
mov dword [esp + 0x30], 0xc941cf2f
mov dword [esp + 0x34], 0xc546cb5c
mov dword [esp + 0x38], 0xc7c4
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x23
ja 0x42388b
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x18]
push dword [esp + 4]
push eax
call fcn.00424670
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x24
jb 0x423860
mov ecx, dword [ebx + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x4238b1
add ecx, 2
mov eax, esi
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4238a0
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x4238e1
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4238d0
mov word [eax], 0
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x719f0fa3
mov dword [esp + 0x1c], 0x751d73ea
mov dword [esp + 0x20], 0x79ee77d3
mov dword [esp + 0x24], 0x7ddd7bec
mov dword [esp + 0x28], 0x61eb7fd2
mov dword [esp + 0x2c], 0x65f363cb
mov dword [esp + 0x30], 0x690b67ca
mov dword [esp + 0x34], 0x6d076b05
mov dword [esp + 0x38], 0x51d06f06
mov dword [esp + 0x3c], 0x55c753c7
mov dword [esp + 0x40], 0x59c457f3
mov dword [esp + 0x44], 0x5dcb5b1d
mov dword [esp + 0x48], 0x41ca5ff2
mov dword [esp + 0x4c], 0x45da43e7
mov dword [esp + 0x50], 0x490d47d0
mov dword [esp + 0x54], 0x4d154bec
mov dword [esp + 0x58], 0xb14e4f26
mov dword [esp + 0x5c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x47
ja 0x4239c6
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.004246e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x48
jb 0x4239a0
lea eax, [esp + 4]
lea ecx, [esp + 0x18]
push eax
push 0x423cc0
push ecx
push esi
call fcn.004248e0
add esp, 0x10
jmp dword [0x451068]

Function at 0x42b7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 4]
call fcn.0042b7d0
add esp, 4
test al, al
je 0x42c0f0
mov al, 1
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
xor edi, edi
mov esi, 0x20219
mov eax, 1
jmp dword [eax*4 + 0x452060]
Function at 0x42b7d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x460
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0xe97eeb71
mov dword [esp + 0x60], 0xed49ef43
mov dword [esp + 0x64], 0xd180d37f
mov dword [esp + 0x68], 0xd54ed77b
mov dword [esp + 0x6c], 0xd9dadb7f
mov word [esp + 0x70], 0
mov byte [esp + 0x72], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x16
ja 0x42b87b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x30]
movzx eax, byte [esp + eax + 0x5c]
push dword [esp + 0x30]
push eax
call fcn.0042f3a0
add esp, 8
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x5c], al
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cmp eax, 0x17
jb 0x42b850
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x4c]
push eax
call fcn.00442980
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x451fb8]
Function at 0x42e910
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [0x4560d8]
mov dword [esp + 0x18], 0x145072b
mov dword [esp + 0x1c], 0xd720370
mov dword [esp + 0x20], 0x96d0f40
mov dword [esp + 0x24], 0x15690b74
mov dword [esp + 0x28], 0x1172173b
mov dword [esp + 0x2c], 0x1d631346
mov dword [esp + 0x30], 0x19711f60
mov dword [esp + 0x34], 0x25791b68
mov dword [esp + 0x38], 0x21132748
mov dword [esp + 0x3c], 0x2d462315
mov dword [esp + 0x40], 0x29412f51
mov dword [esp + 0x44], 0x35572b55
mov dword [esp + 0x48], 0x3147375f
mov dword [esp + 0x4c], 0x3d043346
mov dword [esp + 0x50], 0x39493f44
mov dword [esp + 0x54], 0x453a3b4c
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x3f
ja 0x42e9d6
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00431220
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x40
jb 0x42e9b0
lea esi, [esp + 0x8c]
lea eax, [esp + 0x18]
push esi
push 0
push 0
push 0x1f
push eax
push 0
call edi
mov edi, dword [esp + 0x8c]
test edi, edi
jns 0x42e9ff
mov eax, 0xffffffff
jmp 0x42ea02
lea eax, [edi + edi]
push eax
call fcn.0040cbc0
add esp, 4
mov ebp, eax
mov ebx, dword [0x4560d8]
mov dword [esp + 0x18], 0x692d6b4f
mov dword [esp + 0x1c], 0x6d1e6f18
mov dword [esp + 0x20], 0x71157328
mov dword [esp + 0x24], 0x75117704
mov dword [esp + 0x28], 0x79267b5f
mov dword [esp + 0x2c], 0x7d0f7f2a
mov dword [esp + 0x30], 0x81e98308
mov dword [esp + 0x34], 0x85e187f0
mov dword [esp + 0x38], 0x89a78be0
mov dword [esp + 0x3c], 0x8dd28fa5
mov dword [esp + 0x40], 0x91f993f9
mov dword [esp + 0x44], 0x95e397e5
mov dword [esp + 0x48], 0x99eb9bfb
mov dword [esp + 0x4c], 0x9dac9fea
mov dword [esp + 0x50], 0xa1d1a3e4
mov dword [esp + 0x54], 0xa5a6a7cc
mov word [esp + 0x58], 0
mov byte [esp + 0x5a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x42
ja 0x42ead6
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00431290
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x43
jb 0x42eab0
push esi
push edi
push ebp
push 0x1f
lea eax, [esp + 0x28]
push eax
push 0
call ebx
lea eax, [esp + 0x78]
push 0x60
push 3
push 0x120089
push eax
push ebp
call fcn.00449730
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x452370]
jmp 0x4523b5
in eax, dx
inc edx
add byte [ecx], al
Function at 0x4379d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
call fcn.0041c320
sub esp, 0x10
mov esi, esp
jmp 0x4379e5
push eax
mov edi, esp
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
jmp 0x4379fc
cmp eax, 0
setne al
jmp 0x437a04
jmp 0x437a06
xor ebx, ebx
test al, 1
jne 0x437a11
jmp 0x437b44
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
jmp 0x437a3d
cmp eax, 0
setne cl
xor ebx, ebx
test cl, 1
jne 0x437a4f
jmp 0x437b3c
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [ebp - 0x18], eax
mov dword [esp], eax
call fcn.0040cd80
add esp, 4
mov edx, eax
xor ebx, ebx
cmp edx, 0
je 0x437b2b
mov al, byte [edi]
mov byte [ebp - 0x14], al
mov byte [esi], 0xc1
mov byte [esi + 1], 0x67
mov byte [esi + 2], 0x65
mov byte [esi + 3], 0x69
mov byte [esi + 4], 0x5e
mov byte [esi + 5], 0x6e
mov byte [esi + 6], 0x59
mov byte [esi + 7], 0x6b
mov byte [esi + 8], 0x58
mov byte [esi + 9], 0x21
mov byte [esi + 0xa], 0x66
mov byte [esi + 0xb], 0x79
mov byte [esi + 0xc], 0x64
mov byte [esi + 0xd], 0xf7
mov eax, 0xe
mov byte [esi + eax], 0
add eax, 1
cmp eax, 0x10
jne 0x437abd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jae 0x437b07
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [esi + ecx]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
mov edi, edx
call fcn.0043bbd0
mov edx, edi
add esp, 8
mov ecx, dword [ebp - 0x10]
mov byte [esi + ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x437ad0
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esp], esi
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040d950
mov bl, al
and bl, 1
jmp 0x437b27
jmp 0x437b29
jmp 0x437b2b
sub esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x437b3c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x437b44
and bl, 1
movzx eax, bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x446c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x3c]
movzx esi, word [edi]
mov dword [esp + 4], 0x4f4ea7b5
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x446ce6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00447250
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x446cc0
xor ecx, ecx
cmp dword [esp + 4], esi
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x4546d0]
mov esi, dword [edi + 0x3c]
mov edi, dword [edi + esi]
mov dword [esp + 4], 0x33327c60
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x446d56
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004472e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x446d30
xor ecx, ecx
cmp edi, dword [esp + 4]
setne cl
xor eax, eax
mov edi, dword [esp + 0x3c]
jmp dword [ecx*4 + 0x4546d8]
mov ebp, dword [edi + esi + 0x78]
cmp dword [edi + esi + 0x7c], 0
sete al
test ebp, ebp
sete cl
or cl, al
movzx eax, cl
mov dword [esp + 0x14], ebp
jmp dword [eax*4 + 0x4546e0]
mov eax, dword [edi + ebp + 0x20]
add eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [edi + ebp + 0x24]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [edi + ebp + 0x1c]
add eax, edi
mov dword [esp + 0x1c], eax
mov ebx, dword [0x4560e0]
xor eax, eax
test ebx, ebx
sete al
jmp dword [eax*4 + 0x4546f8]
mov ecx, dword [case.0x446d65.1]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
jmp ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40628f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b3
xor eax, eax
test eax, eax
je 0x4062c5
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062c5
xor ecx, ecx
jmp 0x4062c8
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x4063eb
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063c5
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40641c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x4063fe
pop edi
not eax
pop esi
ret 0xc
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1a1f2020
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x535336ed
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x419677
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, 1
je 0x4196a7
cmp esi, 2
je 0x4196a7
cmp esi, 4
je 0x4196a7
cmp esi, 8
je 0x4196a7
cmp esi, 0x18
je 0x4196a7
cmp esi, 0x20
je 0x4196a7
xor eax, eax
jmp 0x419871
mov ecx, dword [0x2d8c0b4]
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x41986d
mov edx, dword [esp + 0x28]
mov eax, dword [edi*4 + 0x2d8c2c0]
cmp dword [eax], edx
je 0x4196da
inc edi
mov dword [esp + 0x10], edi
cmp edi, ecx
jl 0x4196c1
jmp 0x41986d
cmp dword [esp + 0x38], 0x20
jne 0x419844
mov eax, dword [eax + 8]
test eax, eax
je 0x41971a
cmp esi, 0x20
je 0x4196f6
cmp esi, 0xffffffff
jne 0x41971a
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
jmp 0x41986b
mov eax, dword [esp + 0x2c]
inc eax
imul ebp, eax, 3
and ebp, 0xfffffffc
mov eax, ebp
mov dword [esp + 0x14], ebp
imul eax, dword [esp + 0x30]
push eax
push 0
push dword [0x2d8b04c]
call dword [0x2d88e4c]
mov dword [esp + 0x18], eax
test eax, eax
je 0x41986d
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x41980f
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov esi, edx
test eax, eax
jle 0x4197ef
mov ebp, ecx
mov edi, eax
mov ecx, 0xff
movzx eax, byte [esi + 2]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 2], al
movzx eax, byte [esi + 1]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 1], al
movzx eax, byte [esi]
lea esi, [esi + 4]
sub eax, ecx
movzx ecx, byte [esi - 1]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp], al
lea ebp, [ebp + 3]
dec edi
jne 0x419780
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x34]
add ecx, ebp
dec dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
jne 0x41976d
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x2d8c2c0]
push esi
push dword [esp + 0x44]
mov esi, dword [esp + 0x20]
push dword [esp + 0x44]
push ebp
push ebx
push dword [esp + 0x40]
push esi
push dword [esp + 0x3c]
call dword [eax + 4]
push esi
push 0
push dword [0x2d8b04c]
mov ebx, eax
call dword [0x2d88e50]
jmp 0x41986d
cmp dword [esp + 0x38], 0x18
jne 0x41986d
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [eax + 4]
mov ebx, eax
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x28
Function at 0x4577d9
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x45788f
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x45786f
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x45784a
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x457884
add edi, dword [esp + 0x14]
jmp 0x457888
add edi, dword [esp + 0x24]
test edx, edx
jne 0x457828
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x457b9a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x457c74
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x457c4a
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x457c12
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x457c61
add edi, ecx
jmp 0x457c65
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x457be8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x458294
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x458349
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x45832a
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x458305
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x45833f
add edx, dword [esp + 0x14]
jmp 0x458343
add edx, dword [esp + 0x24]
test esi, esi
jne 0x4582e3
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x4017ec
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40182b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40182b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40182b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40182b
cmp dword [ecx + 0x74], 0xe
jbe 0x40182b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret