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

Disassembly:
push 0xffffffffffffffff
push 0x47ef09
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x18], ebx
mov ax, word [esp + 0x3c]
push 3
lea edx, [esp + 0x24]
push edx
push 2
mov word [esp + 0x48], ax
lea eax, [esp + 0x48]
push eax
push ebx
xor ecx, ecx
push 0xfde9
mov dword [esp + 0x48], ebx
mov word [esp + 0x56], cx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
call fcn.0042b780
mov edx, dword [esp + 0x19]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 1
call fcn.0042b780
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.004028e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0042b780
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 2
call fcn.004028e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b93e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x432680
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43268b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x432769
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48a090]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4326a5
pop edi
test edx, edx
je 0x43278b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48a090]
inc ecx
sub edx, 1
jne 0x432770
not eax
pop esi
ret

Function at 0x432790
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movsx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48a090]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x48a090]
mov dword [edx + 8], ecx
ret

Function at 0x432d20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x432d62
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432d56
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x432d73
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0045e750
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x433fb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x4a3e28]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x424]
test esi, esi
je 0x433ff0
push esi
call ebp
cmp eax, 0xffffffff
jne 0x433ff0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x4340d6
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x43400f
cmp ax, 0x5c
jne 0x434011
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x434003
push edi
cmp ecx, ebx
je 0x434054
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.0045e750
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push esi
mov word [esp + edi + 0x22c], cx
call fcn.00433fb0
add esp, 0x14
xor eax, eax
mov word [esp + 0x10], ax
test esi, esi
je 0x43407f
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x434070
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x434070
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434083
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4340a0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4340a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebp
pop edi
cmp eax, 0xffffffff
jne 0x4340d6
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045bdbc
add esp, 0x414
ret
Function at 0x435850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x43586a
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x43585f
cmp dword [edi + 0x7c], ebx
je 0x43587d
push edi
call fcn.00433810
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00433630
add esp, 0x10
test eax, eax
je 0x4358a4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.0045d91a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4358e5
push 0x4000
call fcn.0045d91a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x4358f1
push esi
call fcn.0045d9e4
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x43593d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00432a40
add esp, 4
test eax, eax
jne 0x43593d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x435967
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x435970
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
movzx ecx, byte [esi + 0x6c]
neg ecx
sbb ecx, ecx
push ebp
mov ebp, dword [esp + 0x20]
and ecx, 0xc
lea ebx, [esi + 0x70]
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebp, ebp
je 0x4359b7
mov edi, edi
movzx eax, byte [ebp]
test al, al
je 0x4359b7
push eax
push ebx
call fcn.00432790
add esp, 8
add ebp, 1
jne 0x4359a0
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x435c40
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x435d15
cmp dword [ebx + 4], 0xffffffff
jne 0x435d15
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435c70
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x435ca9
cmp ax, 0x2f
je 0x435ca9
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x435c96
mov eax, dword [0x483af4]
mov dword [edi], eax
mov edi, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
cmp edi, 1
jne 0x435cd4
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x435cd4
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00432af0
add esp, 0x10
test eax, eax
jne 0x435cf6
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.00435680
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x4364b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f828
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0043889a
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x160]
push ecx
mov ecx, edi
mov dword [esp + 0x40], 0
call edx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_LPtoDP]
push 1
lea eax, [esp + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x24]
push 1
lea edx, [esp + 0x18]
push edx
push eax
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004388ee
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x43edf7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x43ee3e
call fcn.00437f1a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43ee3e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43ee5a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043e96f
mov esi, eax
test edi, edi
je 0x43ee58
test ebx, ebx
je 0x43ee58
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43f81a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x43f83e
cmp dword [edi + 0x54], 0
jne 0x43f83e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00437f1a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0043f7db
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x440058
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47fd40
call fcn.0045ec3e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44007d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4400c3
lea ecx, [ebp - 0x10]
call fcn.004021a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004574f1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012e0
mov eax, esi
call fcn.0045ed16
ret 8

Function at 0x448bbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x448c06
call fcn.00437f1a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x448c06
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x448c49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x448c32
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x448c32
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x448c46
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45bdbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a3e28]
jne 0x45bdc6
repz ret
jmp fcn.00464c0c
Function at 0x46e6b1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00463762
and dword [ebp - 4], 0
cmp dword [0x4a84d4], 0
mov ebx, eax
jne 0x46e762
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46e813
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46e813
push eax
call fcn.004636f0
mov dword [esp], 0x48ffec
push edi
mov dword [0x4a84d4], eax
call esi
push eax
call fcn.004636f0
mov dword [esp], 0x48ffd8
push edi
mov dword [0x4a84d8], eax
call esi
push eax
call fcn.004636f0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a84dc], eax
call esi
push eax
call fcn.004636f0
pop ecx
mov dword [0x4a84e4], eax
test eax, eax
je 0x46e762
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004636f0
pop ecx
mov dword [0x4a84e0], eax
mov eax, dword [0x4a84e0]
cmp eax, ebx
je 0x46e7ba
cmp dword [0x4a84e4], ebx
je 0x46e7ba
push eax
call fcn.0046376b
push dword [0x4a84e4]
mov esi, eax
call fcn.0046376b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46e7ba
test edi, edi
je 0x46e7ba
call esi
test eax, eax
je 0x46e7b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46e7b1
test byte [ebp - 0xc], 1
jne 0x46e7ba
or dword [ebp + 0x10], 0x200000
jmp 0x46e7f3
mov eax, dword [0x4a84d8]
cmp eax, ebx
je 0x46e7f3
push eax
call fcn.0046376b
pop ecx
test eax, eax
je 0x46e7f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46e7f3
mov eax, dword [0x4a84dc]
cmp eax, ebx
je 0x46e7f3
push eax
call fcn.0046376b
pop ecx
test eax, eax
je 0x46e7f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a84d4]
call fcn.0046376b
pop ecx
test eax, eax
je 0x46e813
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46e815
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47802d
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x4812dd
call fcn.0045eca7
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x47813f
cmp byte [esi + 0x42], bl
je 0x47813f
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x478069
xor al, al
jmp 0x478141
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00478003
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00477ddf
mov ecx, eax
call fcn.004774d7
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00477ddf
mov ecx, eax
call fcn.004774d7
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x4780d9
dec eax
je 0x4780dd
dec eax
dec eax
je 0x47813b
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403930
mov al, bl
jmp 0x478141
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00477ddf
mov ecx, eax
call fcn.004774d7
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x47811d
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00477ddf
mov ecx, eax
call fcn.004774d7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004619e1
add esp, 0x10
cmp edi, eax
jne 0x4780c7
cmp byte [esi + 0x42], 0
je 0x47813b
test edi, edi
jne 0x478077
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0042b450
jmp 0x478077
mov bl, 1
jmp 0x4780c9
mov al, 1
call fcn.0045ed2a
ret
Function at 0x54e030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x566970], 0
mov byte [0x566974], 0
mov edi, dword [0x566964]
add edi, 0xfffffac9
mov dword [0x566968], edi
mov dword [0x56696c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x54e13d
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x566978], 0
mov edx, dword [0x566970]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x566978], edi
mov dword [0x566964], 0x15b
mov eax, edi
cdq
idiv ecx
mov dword [0x566970], edx
mov dword [0x566968], 0xffffff07
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x566974], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x566968]
add ecx, 0xffffdd45
mov dword [0x566964], ecx
mov cl, byte [0x566974]
mov edx, dword [0x566970]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x56696c]
add edx, 1
mov dword [0x56696c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x54e082
jmp 0x54e18b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x566964], 0x1cb3
mov eax, dword [0x56696c]
add eax, 1
mov dword [0x56696c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x54e13d
xor eax, eax
mov dword [0x566964], 0x1549
mov dword [0x56696c], 0
mov dword [ebp - 0x20], eax
jmp 0x54e082
mov dword [0x566968], 0x18f5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x54e260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x566964]
add edi, 0xffffe881
mov dword [0x566968], edi
mov dword [0x56696c], 0
mov dword [0x566970], 0
mov dword [0x56697c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x54e3e0
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x54e2cd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x566964], 0x1751
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x56696c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x566970], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x566974], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x566974]
mov edx, dword [0x566970]
mov byte [edi + edx], cl
mov edx, dword [0x56696c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x566970]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x566968], 0x26fd
and ebx, 0xff
mov dword [0x56697c], ebx
mov dword [0x566964], 0x267e
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x566981]
mov byte [0x566980], dl
mov byte [0x566981], ch
mov byte [0x566982], cl
mov dword [0x566968], 0x1b66
xor ch, cl
mov dword [0x566964], 0x1174
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x54e3de
mov eax, dword [0x56696c]
mov ecx, dword [0x566970]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x54e2cd
jmp 0x54e3e0
mov dword [0x566968], 0x13b3
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret