joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0045f150
mov ebx, eax
call dword [sym.imp.KERNEL30.dll_GetTickCount]
mov edi, eax
mov eax, 0x10624dd3
sub edi, dword [0x4e04c4]
mul edi
mov esi, edx
shr esi, 6
call dword [sym.imp.KERNEL30.dll_GetCurrentThreadId]
push eax
imul eax, esi, 0x3e8
sub edi, eax
mov eax, 0xcccccccd
mul edi
shr edx, 3
push edx
push esi
push 0x4bb644
push ebx
call fcn.0040e1a0
add esp, 0x14
lea ecx, [ebp + 0xc]
mov edx, 0x1000
sub edx, eax
push ecx
push dword [ebp + 8]
lea ecx, [eax + ebx]
call fcn.00462e60
add esp, 8
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
push 0
push ebx
call fcn.00411ee0
mov edi, dword [esp + 0x10]
mov eax, 0x4c1430
test edi, edi
cmovne eax, edi
push eax
call dword [sym.imp.KERNEL30.dll_OutputDebugStringW]
cmp dword [0x4dc850], 0xffffffff
mov esi, dword [esp + 0x14]
je 0x45fa28
test esi, esi
jns 0x45fa01
test edi, edi
jne 0x45f9ed
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x45fa0d
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45f9f2
sub esi, ecx
sar esi, 1
mov eax, esi
mov ecx, edi
mov dword [esp + 0x10], eax
test edi, edi
jne 0x45fa12
mov ecx, 0x4c1430
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x4dc850]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL30.dll_WriteConsoleW]
call fcn.0044e540
test eax, eax
je 0x45fa5a
test esi, esi
jns 0x45fa51
test edi, edi
jne 0x45fa3d
xor esi, esi
jmp 0x45fa51
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45fa42
sub esi, ecx
sar esi, 1
mov edx, esi
mov ecx, ebx
call fcn.0045f720
test edi, edi
je 0x45fa67
push edi
call fcn.00487954
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e042c], 6
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x224], edi
jb 0x460888
mov dword [ebp - 0x220], 0x24
mov ebx, 0x24
mov dword [ebp - 0x21c], 0x26
mov dword [ebp - 0x218], 0x2a
mov dword [ebp - 0x214], 0x23
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x228], 0
nop dword [eax]
push 0
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46086b
nop word [eax + eax]
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4607c0
sub esi, ecx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push eax
call fcn.00495a26
add esp, 0xc
test eax, eax
jne 0x460803
movzx eax, word [edi + esi*2]
test ax, ax
je 0x46089b
cmp eax, 0x5c
je 0x46089b
cmp eax, 0x2f
je 0x46089b
cmp ebx, 0x26
jne 0x46086b
lea esi, [esi*2 - 0xc]
mov ecx, str.__x86_
lea edi, [ebp - 0x20c]
add edi, esi
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x460846
test dx, dx
je 0x460842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x460846
add eax, 4
add ecx, 4
test dx, dx
jne 0x460820
xor eax, eax
jmp 0x46084b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x460865
cmp esi, 0x208
jae 0x4608b1
mov word [edi], ax
mov edi, dword [ebp - 0x224]
jmp 0x4607b0
mov edi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
inc eax
mov dword [ebp - 0x228], eax
mov ebx, dword [ebp + eax*4 - 0x220]
cmp ebx, 0xffffffff
jne 0x460790
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret
call fcn.00487ab3
int3

Function at 0x4608c0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x4e042c], 6
push esi
push edi
mov edi, edx
mov esi, ecx
jb 0x460940
call fcn.00460720
test eax, eax
je 0x460929
push 0
push 0x1c
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x460929
cmp word [esi + 2], 0x3a
jne 0x460929
cmp word [esi + 4], 0x5c
lea edx, [esi + 4]
jne 0x460929
mov ecx, edi
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460900
sub ecx, esi
sar ecx, 1
push edx
push str.VirtualStore_s
lea eax, [edi + ecx*2]
push eax
call fcn.0040e140
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
sub edi, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [edi + esi - 2], ax
test ax, ax
jne 0x460930
pop edi
xor eax, eax
pop esi
ret
Function at 0x4614f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
mov esi, edx
call fcn.0048b570
add esp, 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
test esi, esi
je 0x46152c
cmp word [esi], 0
mov dword [ebp - 0x30], esi
jne 0x461533
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x461543
cmp word [eax], 0
mov dword [ebp - 0x2c], eax
jne 0x46154a
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46155a
cmp word [eax], 0
mov dword [ebp - 0x28], eax
jne 0x461561
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0x14]
push 0
push 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0x4614a0
push 0
push 0
mov dword [ebp - 0x24], 0
call fcn.004916a8
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x1c]
test esi, esi
je 0x4615a5
cmp esi, 0xffffffff
je 0x4615a5
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4615b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
push 0
push ecx
push 0x4614a0
push 0
push 0
call fcn.004916a8
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
call dword [sym.imp.KERNEL30.dll_GetExitCodeThread]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4615fa
push eax
call dword [sym.imp.KERNEL30.dll_SetLastError]
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x461611
cmp esi, 0xffffffff
je 0x461611
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4617f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a907c
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4db06c]
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 eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4f4148]
cmp eax, dword [ecx + 4]
jle 0x461910
push 0x4f4148
call fcn.00487731
add esp, 4
cmp dword [0x4f4148], 0xffffffff
jne 0x461910
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0048b570
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL30.dll_GetSystemDirectoryW]
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x461890
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487989
mov ebx, eax
lea edi, [esi + esi]
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00489a20
xor eax, eax
add esp, 0x10
mov word [edi + ebx], ax
test esi, esi
jle 0x4618f3
movzx eax, word [edi + ebx - 2]
mov ecx, 0x3ff
add eax, 0x2800
cmp ax, cx
ja 0x4618f3
xor eax, eax
mov word [edi + ebx - 2], ax
push 0x4f4148
mov dword [0x4f0978], ebx
call fcn.004876e7
add esp, 4
nop word [eax + eax]
mov eax, dword [0x4f0978]
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.00487555
mov esp, ebp
pop ebp
ret

Function at 0x462bb0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
lea eax, [esi*2 + 5]
push eax
mov dword [ebp - 4], eax
call fcn.00487989
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x462bea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00462b80
push ebx
mov dword [ebp - 4], eax
call fcn.00487954
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
sub ecx, edx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
nop
mov al, byte [ecx + edx]
lea edx, [edx + 1]
xor al, byte [edx - 1]
mov byte [edi + edx - 1], al
sub esi, 1
jne 0x462e20
pop edi
pop esi
pop ebp
ret
Function at 0x463d90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x463e41
push 0x5c
push dword [edi + 0xc]
call fcn.00488f83
mov esi, eax
add esp, 8
test esi, esi
je 0x463dce
mov ebx, dword [edi + 0xc]
add esi, 2
jmp 0x463dd3
mov esi, dword [edi + 0xc]
mov ebx, esi
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463de0
sub eax, edx
sar eax, 1
push ecx
mov ecx, ebx
lea edx, [eax + eax]
call fcn.00465c80
add esp, 4
push eax
push esi
push str._s__x
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.00462ec0
add esp, 0x14
lea eax, [ebp - 0x808]
push eax
push 0
push 0
call dword [sym.imp.KERNEL30.dll_CreateMutexW]
mov dword [edi + 0x18], eax
test eax, eax
jne 0x463e41
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487555
mov esp, ebp
pop ebp
ret
Function at 0x4643f0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a92b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.00463d90
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x2c]
call fcn.00461200
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov dword [ebp - 4], 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x464467
xor edi, edi
jmp 0x4645d3
push 0xa00000
push 0x10000
lea ecx, [ebp - 0x40]
call fcn.0045ec10
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov ebx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
cmp ebx, edi
je 0x46459a
test ebx, ebx
je 0x46459a
test ecx, ecx
je 0x4645be
mov edi, dword [ebx + 0xc]
lea eax, [ebx + 8]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x464584
test edi, edi
je 0x464584
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4644de
push eax
push str.__s__r_n
push ecx
call fcn.0040e1a0
add esp, 4
lea ecx, [ebp - 0x40]
mov edx, eax
call fcn.004643b0
add esp, 8
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x464578
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x464500
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4644f5
sub eax, edx
jmp 0x464502
xor eax, eax
mov edx, dword [edi + 0xc]
lea ecx, [edx + 1]
mov dword [ebp - 0x10], ecx
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x464510
sub edx, dword [ebp - 0x10]
add eax, edx
cmp eax, 0xfff6
jl 0x464532
push str.Too_long_entry_in_TInifile::WriteIni_n
call fcn.0045f780
add esp, 4
jmp 0x464570
mov eax, dword [edi + 0xc]
push eax
test ebx, ebx
je 0x46454b
push ebx
push str._s__s__r_n
push esi
call fcn.0040e1a0
add esp, 8
jmp 0x464559
push 0x4bbdcc
push esi
call fcn.0040e1a0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.004643b0
mov edi, dword [edi + 4]
add esp, 8
mov esi, eax
cmp edi, dword [ebp - 0x18]
je 0x464578
test edi, edi
jne 0x4644e1
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x14], ebx
cmp ebx, dword [ebp - 0x20]
je 0x464597
test ebx, ebx
jne 0x464497
mov eax, dword [ebp - 0x40]
test ecx, ecx
je 0x4645be
push 0
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL30.dll_WriteFile]
test eax, eax
je 0x4645be
push esi
call dword [sym.imp.KERNEL30.dll_SetEndOfFile]
mov edi, eax
jmp 0x4645c0
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.0045ec60
test esi, esi
je 0x4645d3
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
cmp byte [ebp - 0x28], 0
je 0x4645e1
mov ecx, dword [ebp - 0x2c]
call fcn.00463e60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464ac0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a92e6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0x4ab44c
push 1
push 0
push 0x4ab48c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x464b28
xor esi, esi
jmp 0x464bee
mov eax, dword [ebp - 0x220]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
push 0x104
lea edx, [ebp - 0x21c]
mov ecx, edi
call fcn.00464c30
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
add esp, 4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0x220]
push edx
push 0x4ab4cc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x464bce
mov eax, dword [ebp - 0x224]
push 1
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
js 0x464bce
push 0x104
lea edx, [ebp - 0x21c]
mov ecx, esi
call fcn.00464c30
add esp, 4
lea eax, [ebp - 0x21c]
push 0
push eax
push 0x1005
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov esi, 1
jmp 0x464bd0
xor esi, esi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x464bee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x464c05
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret

Function at 0x464d20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x464d36
mov eax, 1
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL30.dll_CreateDirectoryW]
pop esi
ret
Function at 0x465a50
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4e042c], 6
push esi
push edi
mov esi, edx
mov edi, ecx
jb 0x465a88
push 2
push esi
push edi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jns 0x465b19
mov edx, esi
mov ecx, edi
call fcn.00465b30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4f43c4]
cmp eax, dword [ecx + 4]
jle 0x465afb
push 0x4f43c4
call fcn.00487731
add esp, 4
cmp dword [0x4f43c4], 0xffffffff
jne 0x465afb
push 0xf0000020
push 0x18
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x465ae6
push 0xf0000020
push 3
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, dword [ebp - 4]
push 0x4f43c4
mov dword [0x4f5760], eax
call fcn.004876e7
add esp, 4
mov eax, dword [0x4f5760]
test eax, eax
je 0x465a79
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x465a79
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov ecx, edx
mov dword [ebp - 8], 0
mov eax, 0xad7d8b19
mov dword [ebp - 0xc], 0x5e7
mul ecx
mov esi, ecx
shr edx, 0xa
imul eax, edx, 0x5e7
mov edx, ecx
and ecx, 0xfffffffc
and edx, 3
mov dword [ebp - 0x10], edx
sub esi, eax
lea eax, [ecx + edi]
shr ecx, 2
mov esi, dword [esi*4 + 0x4dc858]
xor esi, 0xe31a021d
mov ebx, esi
xor ebx, 0x8f8e053a
cmp edi, eax
cmova ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
test ecx, ecx
je switch.0x00465d27
nop dword [eax]
mov eax, dword [edi]
xor edx, edx
xor eax, 0x3c0f9791
ror esi, 7
imul ecx, eax, 0x7b2fcbc3
add edi, 4
mov eax, ecx
xor eax, ebx
add ebx, 0xb
div dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
xor esi, dword [edx*4 + 0x4dc858]
xor esi, ecx
cmp eax, dword [ebp - 4]
jb case.default.0x465d27
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x465da0]
mov eax, 0x44444444
jmp 0x465d72
mov al, byte [edi]
mov dword [ebp - 4], 0x11111111
mov byte [ebp - 4], al
mov eax, dword [ebp - 4]
jmp 0x465d72
mov ax, word [edi]
mov dword [ebp - 4], 0x22222222
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
jmp 0x465d72
mov ax, word [edi]
mov dword [ebp - 4], 0x33333333
mov word [ebp - 4], ax
mov al, byte [edi + 2]
mov byte [ebp - 2], al
mov eax, dword [ebp - 4]
jmp 0x465d72
xor eax, 0x3c0f9791
ror esi, 7
imul ecx, eax, 0x7b2fcbc3
lea eax, [edx + ebx]
xor edx, edx
mov ebx, 0x5e7
pop edi
xor eax, ecx
div ebx
xor esi, dword [edx*4 + 0x4dc858]
xor esi, ecx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4695c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9807
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x30
call fcn.00487959
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], 0xffffffff
test ebx, ebx
je 0x46966a
cmp ebx, dword [edi]
je 0x4696ba
mov eax, dword [edi]
test eax, eax
je 0x46967f
push eax
call fcn.00487954
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
test ebx, ebx
je 0x4696ba
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x469690
sub ebx, ecx
lea eax, [ebx + 1]
push eax
call fcn.00487989
push ebx
push dword [ebp - 0x14]
mov esi, eax
push esi
call fcn.00489a20
mov byte [esi + ebx], 0
add esp, 0x10
mov dword [edi], esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 0xc], 0xffffffff
test esi, esi
je 0x4696ca
cmp esi, dword [edi + 8]
je 0x469719
mov eax, dword [edi + 8]
test eax, eax
je 0x4696e1
push eax
call fcn.00487954
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0xffffffff
test esi, esi
je 0x469719
mov ebx, esi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4696f1
sub ebx, ecx
lea eax, [ebx + 1]
push eax
call fcn.00487989
push ebx
push dword [ebp - 0x10]
mov esi, eax
push esi
call fcn.00489a20
mov byte [esi + ebx], 0
add esp, 0x10
mov dword [edi + 8], esi
push 0
lea ecx, [edi + 0x10]
call fcn.0040e1d0
mov eax, dword [ebp + 0x10]
push edi
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x14]
push 0
push 0x469460
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.0049161c
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469790
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9840
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.0040e1d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push 0x4000
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040e1d0
push 0x38
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x64], 0x3c
call fcn.0048b570
mov eax, dword [ebp - 0x28]
mov ecx, esi
mov dword [ebp - 0x54], eax
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
lea edx, [ecx + 1]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469840
lea eax, [ebp - 0x64]
sub ecx, edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x469876
call dword [sym.imp.KERNEL30.dll_GetLastError]
push eax
push str.InternetCrackUrl_err__d__n
call fcn.0045f780
add esp, 8
xor esi, esi
jmp 0x469971
mov eax, dword [ebp - 0x58]
cmp eax, 4
jne 0x469998
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46988f
mov dword [eax], 1
test ebx, ebx
je 0x4698f7
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], 0xffffffff
test esi, esi
je 0x4698a8
cmp esi, dword [ebx]
je 0x4698f7
mov eax, dword [ebx]
test eax, eax
je 0x4698bd
push eax
call fcn.00487954
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
test esi, esi
je 0x4698f7
mov edi, esi
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4698d0
sub edi, ecx
lea eax, [edi + 1]
push eax
call fcn.00487989
push edi
push dword [ebp - 0x10]
mov esi, eax
push esi
call fcn.00489a20
mov byte [esi + edi], 0
add esp, 0x10
mov dword [ebx], esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x46995f
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], 0xffffffff
test esi, esi
je 0x469913
cmp esi, dword [ebx]
je 0x46995f
mov eax, dword [ebx]
test eax, eax
je 0x469928
push eax
call fcn.00487954
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
test esi, esi
je 0x46995f
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x469938
sub edi, ecx
lea eax, [edi + 1]
push eax
call fcn.00487989
push edi
push dword [ebp - 0x10]
mov esi, eax
push esi
call fcn.00489a20
mov byte [esi + edi], 0
add esp, 0x10
mov dword [ebx], esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46996c
movzx eax, word [ebp - 0x4c]
mov dword [ecx], eax
mov esi, 1
push dword [ebp - 0x1c]
call fcn.00491111
push dword [ebp - 0x28]
call fcn.00491111
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x46988f
push str.Scheme_not_http_https_n
call fcn.0045f780
add esp, 4
xor esi, esi
jmp 0x469971