joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449506
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x46338c
call fcn.00417a50
lea ecx, [ebp - 0x14c]
call fcn.00405960
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409020
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00418110
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00418270
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x409087
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40907d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f5
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x4090d8
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4090ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f5
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00436cca
int3
Function at 0x40a8b0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x463268], 0x10
mov eax, 0x463254
cmovae eax, dword [0x463254]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a8f7
test edi, edi
je 0x40a8f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40a8f9
pop edi
ret
push 0
call fcn.00436689
int3
Function at 0x40ae70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449746
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00438bc3
push eax
call fcn.004366c0
add esp, 8
call fcn.0043669f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0043669f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0043669f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.004045b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x40af20
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40af36
push 0x40
push 0
push 0x468560
sub esi, ecx
call fcn.00434150
add esp, 0xc
mov dword [0x468554], 0
mov edx, esi
mov dword [0x468550], 0
lea ecx, [ebp - 0x410]
mov dword [0x468540], 0x67452301
mov dword [0x468544], 0xefcdab89
mov dword [0x468548], 0x98badcfe
mov dword [0x46854c], 0x10325476
call fcn.00405530
call fcn.004055f0
mov ecx, 0x4665a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40afc1
sub ecx, edx
push ecx
push 0x4665a0
lea ecx, [ebp - 0x42c]
call fcn.00418110
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x40b01c
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0dc
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x40b0d7
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00418110
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x40b0b9
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b0af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0dc
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00418250
call fcn.00436cca
int3
Function at 0x40b940
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449840
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418560
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40b9d7
lea eax, [ebp - 0x2c]
push eax
push 0x458f90
push 1
push 0
push 0x458f80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40ba57
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ba13
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bada
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40babe
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bada
jmp 0x40bab4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x459014
push 0x458ef0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40b9d7
cmp eax, 0x80070050
jne 0x40b9d7
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40baa4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40b9d7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40b9d9
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00436cca
int3
Function at 0x40c830
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4499d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40c887
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40c89c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.00418e30
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40c8c3
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x40c8d8
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.00418e30
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40c956
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c94c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9b4
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40c998
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c98e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9b4
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00436cca
int3
Function at 0x40dc10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4685e4
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.0041c6fc
add esp, 4
test eax, eax
jne 0x40dd1b
mov ecx, dword [0x468558]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40dc71
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40dc54
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x468558]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40dcad
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40dc90
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x468558]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x40dcf7
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40dcf4
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x40dcd2
mov edi, dword [ebp - 0xc]
jmp 0x40dcf7
or edi, 0xffffffff
push 0x4685e4
call fcn.0041c721
add esp, 4
test eax, eax
jne 0x40dd21
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d041
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041c2ba
push eax
call fcn.0041c2ba
int3
Function at 0x40e390
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.0041e1a0
mov eax, dword [0x462014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.00437656
cmp dword [0x463160], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x46314c
cmovae esi, dword [0x46314c]
push eax
push esi
mov dword [edi], 0
call fcn.00438b16
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40e524
cmp dword [edi], 0x22
je 0x40e51a
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40e503
cmp dword [0x4634a8], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x463494
mov word [esp + 0x10], ax
cmovae esi, dword [0x463494]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x468558], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40e4b3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x468558]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x468558], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40e480
lea ecx, [esp + 0x1b8]
call fcn.0040e0f0
cmp eax, 0xffffffff
je 0x40e503
cmp byte [0x46649c], 1
je 0x40e4f4
lea ecx, [esp + 0x1b8]
call fcn.0040e0f0
cmp eax, 0xffffffff
jne 0x40e4c4
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
push dword [0x468558]
call esi
mov byte [0x46649c], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0041d041
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041c229
push str.invalid_stoi_argument
call fcn.0041c1e9
int3
Function at 0x416d80
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0x416cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x7530
call esi
jmp 0x416d70
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.0040a8b0
mov ecx, 1
call fcn.0040cd90
call fcn.0040d6f0
call fcn.00415010
call fcn.00405d60
jmp 0x416d50

Function at 0x41fbdd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4045f8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x490008], 0x8088405
inc edx
mov dword [ebx + 0x490008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40f620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40f6c9
test eax, edx
je 0x40f6cc
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40f649
push edx
mov edx, eax
mov eax, esp
call fcn.00407278
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40f65f
push eax
lea eax, [esp + 8]
call fcn.00407278
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40f66e
movzx eax, word [eax]
sub eax, ecx
jmp 0x40f695
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40f6af
add ecx, 4
js 0x40f686
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40f6ac
push eax
mov eax, ecx
mov edx, 2
call fcn.00406288
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40f693
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40f695
xor eax, eax
ret
test eax, eax
je 0x40f6dc
test edx, edx
jne 0x40f630
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x416d47
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406614
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040b108
mov edi, eax
cmp edi, 0x104
jbe 0x416d6a
mov eax, edi
add eax, eax
call fcn.004041b8
mov esi, eax
jmp 0x416d6c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040b108
push edi
push esi
call fcn.0040b298
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x416da5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x416d8f
mov eax, esp
cmp esi, eax
je 0x416db2
mov eax, esi
call fcn.004041d4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x416dec
cmp bl, 0
je 0x416de8
cmp bl, 0x41
jl 0x416de3
cmp bl, 0x5a
jg 0x416de3
or bl, 0x20
xor al, bl
inc esi
jmp 0x416dc7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x416d2c
Function at 0x436f7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x436fce
test eax, edx
je 0x436fd1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x436f91
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x436fb7
add ecx, 4
js 0x436fa7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x436fb4
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x436fdd
test edx, edx
jne 0x436f84
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x444b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x444b32
inc ecx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, 0xff
mov esi, dword [0x4965b4]
mov ebx, dword [esi + ebx*4]
shr eax, 8
and eax, 0xffffff
xor ebx, eax
mov eax, ebx
inc edx
dec ecx
jne 0x444b0e
pop esi
pop ebx
pop ebp
ret 8

Function at 0x444e38
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
movzx edx, dl
mov ecx, dword [eax + 4]
xor edx, ecx
and edx, 0xff
mov ebx, dword [0x4965b4]
mov ebx, dword [ebx + edx*4]
shr ecx, 8
and ecx, 0xffffff
xor ebx, ecx
mov dword [eax + 4], ebx
and ebx, 0xff
add dword [eax + 8], ebx
imul edx, dword [eax + 8], 0x8088405
inc edx
mov dword [eax + 8], edx
shr edx, 0x18
mov ecx, dword [eax + 0xc]
xor edx, ecx
and edx, 0xff
mov ebx, dword [0x4965b4]
mov edx, dword [ebx + edx*4]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [eax + 0xc], edx
pop ebx
ret

Function at 0x444f24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11]
mov ecx, 0xc
xchg edx, eax
call fcn.0042f014
mov edi, 0xc
lea esi, [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.00444e1c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00444e38
mov byte [esi], bl
inc esi
dec edi
jne 0x444f49
cmp byte [ebp - 5], 0
je 0x444f7a
movzx eax, word [ebp + 8]
shr eax, 8
cmp al, byte [ebp - 6]
sete al
jmp 0x444f8c
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movzx eax, ax
shr eax, 8
cmp al, byte [ebp - 6]
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x464bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464de1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x464dfc
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 4]
call fcn.0045ddf0
mov edx, 0x464e18
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 4]
call fcn.0045ddf0
mov edx, 0x464e2c
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 0x18]
call fcn.0045ddf0
lea eax, [ebx + 0x1c]
mov ecx, 0x464e40
mov edx, esi
call fcn.004671e0
mov edx, 0x464e58
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 0x28]
call fcn.0045ddf0
mov edx, 0x464e90
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 0x2c]
call fcn.0045ddf0
mov edx, 0x464ec8
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 0x24]
call fcn.0045ddf0
mov edx, 0x464ee8
mov eax, esi
call fcn.0045e85c
mov edx, dword [ebx + 0x30]
call fcn.0045dda8
mov edx, 0x464f04
mov eax, esi
call fcn.0045e85c
call fcn.0045d964
mov edx, 0x464f1c
call fcn.0045e85c
call fcn.0045d7a4
mov edx, eax
lea eax, [ebx + 0x34]
call fcn.00467090
mov edx, 0x464f04
mov eax, esi
call fcn.0045e85c
call fcn.0045d964
mov edx, 0x464f30
call fcn.0045e85c
call fcn.0045d7a4
mov edx, eax
lea eax, [ebx + 0x38]
call fcn.00467090
mov edx, 0x464f44
mov eax, esi
call fcn.0045e85c
call fcn.0045d964
mov edi, eax
mov ecx, dword [ebx + 8]
mov edx, 0x464f64
mov eax, edi
call fcn.0045eb68
mov ecx, dword [ebx + 0xc]
mov edx, 0x464f78
mov eax, edi
call fcn.0045eb68
mov edx, 0x464f8c
mov eax, esi
call fcn.0045e85c
call fcn.0045d964
mov esi, eax
mov ecx, dword [ebx + 8]
lea eax, [ebp - 4]
mov edx, 0x464fb4
call fcn.00407530
mov ecx, dword [ebp - 4]
mov edx, 0x465020
mov eax, esi
call fcn.0045eb68
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 8]
mov edx, 0x464fb4
call fcn.00407530
mov ecx, dword [ebp - 8]
mov edx, 0x465048
mov eax, esi
call fcn.0045eb68
push 0x465074
push dword [ebx + 0x18]
push 0x465094
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407614
mov ecx, dword [ebp - 0xc]
mov edx, 0x4650ac
mov eax, esi
call fcn.0045eb68
mov ecx, dword [ebx + 0x10]
mov edx, 0x4650cc
mov eax, esi
call fcn.0045eb68
mov ecx, dword [ebx + 0x14]
mov edx, 0x4650f0
mov eax, esi
call fcn.0045eb68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464de8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040705c
ret
Function at 0x46699c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x466afd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, esi
call fcn.00463dc0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00407278
lea eax, [ebx + 4]
mov edx, esi
call fcn.00467154
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00467154
lea eax, [ebx + 0x14]
mov edx, esi
call fcn.00467154
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00463dc0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x1c]
call fcn.00407278
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00463dc0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.00407278
lea edx, [ebx + 0x24]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00463dc0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x28]
call fcn.00407278
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00463dc0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.00407278
mov eax, esi
call fcn.00463d80
mov dword [ebx + 0x30], eax
mov eax, esi
call fcn.00463d80
mov dword [ebx + 0x34], eax
mov eax, esi
call fcn.00463d80
mov dword [ebx + 0x38], eax
mov eax, esi
call fcn.00463d80
mov dword [ebx + 0x3c], eax
mov eax, esi
call fcn.00463d80
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x44]
mov edx, esi
call fcn.004655d8
mov eax, esi
call fcn.00463d80
push eax
lea eax, [ebx + 0x6c]
mov ecx, 1
mov edx, dword [0x462c40]
call fcn.00408a3c
add esp, 4
mov eax, dword [ebx + 0x6c]
call fcn.00408874
mov edi, eax
dec edi
test edi, edi
jl 0x466ae2
inc edi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebx + 0x6c]
lea eax, [edx + eax*4]
mov edx, esi
call fcn.004672a4
inc dword [ebp - 4]
dec edi
jne 0x466ac2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b04
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00406288
ret