joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445bb6
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x914
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x914], eax
push 0xc
mov eax, 0x4b0a54
call fcn.004764b0
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x445d6f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445d6f
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], esi
mov dword [ebp + 0x460], esi
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp + 0x5f4], ax
lea eax, [ebp + 0x5f6]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00475410
push ebx
push str._s.
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.00404703
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0043a414
test eax, eax
je 0x445d53
mov ebx, 0x4bad90
lea ecx, [ebp]
call fcn.0043a30b
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
call fcn.0043a3d7
test eax, eax
jne 0x445d46
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0043c602
push 0xc8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004027b2
push eax
push esi
lea eax, [ebp + 0x464]
push eax
call fcn.004023d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402963
push 0x10
lea ecx, [ebp]
call fcn.0043a2ef
push edi
push 0
test eax, eax
je 0x445d09
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00475410
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00404703
lea eax, [ebp + 0x784]
push eax
call fcn.00445bb6
add esp, 0x24
jmp 0x445d46
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00475410
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00404703
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 0
jne 0x445c66
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0043a332
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.0043a332
xor eax, eax
inc eax
jmp 0x445d71
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x914]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x918
leave
ret
Function at 0x44cef4
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044cbc2
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0046036a
mov ecx, edi
call fcn.0045e750
mov ecx, eax
call fcn.00430a3d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cf2d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044cd03
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44cf3f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x44cfb4
and dword [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x32
add dword [ebp - 0x10], 0x32
sub eax, dword [ebp - 0x10]
pop edi
js 0x44cf96
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
js 0x44cf96
push 0
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x44cfb4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
leave
ret 4

Function at 0x44d255
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045e717
test eax, eax
jne 0x44d2ae
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push edi
push edi
push esi
push 0x44d23f
push edi
push edi
call fcn.00475fc9
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44d2a3
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
jmp 0x44d2c2
push 0
push dword [esp + 0x10]
push 0x1817
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
pop esi
ret 0x10
Function at 0x456837
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x24c
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x24c], eax
push 0x14
mov eax, 0x4b2036
call fcn.004764b0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], esi
cmp esi, edi
jne 0x45688b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24c]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x250
leave
ret
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004600b7
push str.360Entclient.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402963
test bl, bl
je 0x4568ea
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x456866
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00455e93
pop ecx
test eax, eax
jne 0x4568da
mov ecx, esi
call fcn.0043a6c5
mov esi, eax
cmp esi, edi
jne 0x456919
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, edi
jmp 0x456868
push 0x208
lea eax, [ebp + 0x44]
push edi
push eax
call fcn.00475410
mov eax, dword [esi]
add esp, 0xc
push 0x102
lea ecx, [ebp + 0x44]
push ecx
push esi
call dword [eax + 0x34]
push 0xf7
lea ecx, [ebp - 0x18]
call fcn.00432535
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040260e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00402963
push edi
mov esi, str.safever
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f476
test eax, eax
jl 0x456984
lea eax, [ebp + 0x44]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0041db5c
mov dword [ebp], 7
mov esi, 0x4bcb10
lea edi, [ebp + 4]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3a
xor esi, esi
lea eax, [ebp + 0xa]
push esi
push eax
call fcn.00475410
add esp, 0xc
push 0x96
lea ecx, [ebp - 0x20]
call fcn.00432535
push esi
push esi
push esi
push 0x40
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x1c]
push 1
push dword [eax]
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push esi
call fcn.0045fa71
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
xor edi, edi
inc edi
jmp 0x456907

Function at 0x456ad4
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4f7c20
call fcn.0043a044
test eax, eax
je 0x456b31
mov ecx, eax
call fcn.0045e781
test eax, eax
je 0x456b31
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
push eax
lea ecx, [ebp - 4]
call fcn.0040260e
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456b26
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x456b26
push 4
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00402963
leave
ret
Function at 0x45a984
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x45a9a0
push eax
push eax
push ecx
push 0x45a972
push eax
push eax
call fcn.00475fc9
add esp, 0x18
jmp 0x45a9a5
call fcn.00459f42
ret 4

Function at 0x45b009
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
and dword [esi + 0x4b0], 0
push edi
lea edi, [esi + 0x3fc]
mov ecx, edi
call fcn.0046f2a2
mov ecx, edi
call fcn.0046f279
pop edi
mov ecx, esi
pop esi
jmp method.CSetupPageImpl_class_CCustomSetupDialog__1_.virtual_8

Function at 0x45b338
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x400]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x4b4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret

Function at 0x45b669
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00402231
test eax, eax
je 0x45b67b
xor eax, eax
inc eax
leave
ret
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45b6b7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b6bb
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.0040239b
pop ecx
pop ecx
test eax, eax
jne 0x45b6bb
cmp dword [ebp - 4], eax
jne 0x45b6b7
push 1
push 0x4eef30
push esi
call fcn.00402097
add esp, 0xc
xor eax, eax
jmp 0x45b6be
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x45f1c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00476b30
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00475410
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push 0x4d2940
push eax
call fcn.004753b9
push esi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.00476ed3
push esi
lea eax, [ebp - 0x1004]
push 0x4d2948
push eax
call fcn.00476ed3
push esi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.00476ed3
push esi
lea eax, [ebp - 0x1004]
push str.vL
push eax
call fcn.00476ed3
add esp, 0x48
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00476ed3
push esi
lea eax, [ebp - 0x1004]
push 0x4d2998
push eax
call fcn.00476ed3
push esi
lea eax, [ebp - 0x1004]
push 0x4c1e48
push eax
call fcn.00476ed3
add esp, 0x24
push 0x14
push edi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x45f2db
call fcn.00401f95
test eax, eax
je 0x45f2c4
call fcn.00401fb2
test eax, eax
je 0x45f2c4
push 5
xor eax, eax
push eax
push eax
push 0x4ef930
jmp 0x45f2cf
push 5
xor eax, eax
push eax
push eax
push 0x4ef798
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x45f2e8
push 0
call fcn.00476e3b
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret 0xc

Function at 0x45f2fb
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f311
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45f315
xor eax, eax
inc eax
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x45f33a
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x45f33f
push edi
call esi
test eax, eax
je 0x45f33f
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x45f390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push edi
mov edi, ecx
test eax, eax
jne 0x45f3b7
xor eax, eax
jmp 0x45f3fb
cmp eax, 0x104
jge 0x45f3b3
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00475410
add esp, 0xc
push str.360leakfixer.exe
push dword [esi]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [edi + 0x1d4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret 4
Function at 0x46568f
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0xc
mov eax, 0x4b335e
call fcn.004764b0
mov eax, dword [ebp + 0x420]
mov ax, word [eax]
mov esi, 0x4c3e88
lea edi, [ebp + 0x40c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp + 0x40c], ax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x46570a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x418
leave
ret 4
push str.._
lea ecx, [ebp - 0x14]
call fcn.0040260e
lea eax, [ebp + 0x40c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00403af2
push 0x3ff
lea eax, [ebp + 0xd]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0xc], bl
call fcn.00475410
add esp, 0xc
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
mov esi, 0x400
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004161c9
push eax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b33f
cmp edi, ebx
jbe 0x4657b6
mov edi, str.DeviceHarddisk
push edi
call fcn.00475eae
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00477d0d
add esp, 0x10
test eax, eax
je 0x4657b6
lea ecx, [edi - 0x10]
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x4656e3
push ebx
push 0x80
push 3
push ebx
push 1
push 0x20000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4657f3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, ebx
jmp 0x4656e5
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push edi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x465828
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x4657d6
xor esi, esi
inc esi
cmp dword [ebp + 0x28], 4
je 0x465837
cmp dword [ebp + 0x28], 7
jne 0x465839
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x4657d6
Function at 0x4699f3
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push edi
xor edi, edi
push edi
push 1
push 0x4f8ac0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x469a2b
xor eax, eax
inc eax
jmp 0x469bd3
push esi
push str.DRIVERDLL
push 0x1389
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x469a4a
xor eax, eax
jmp 0x469bd2
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
jne 0x469a6b
xor eax, eax
jmp 0x469bd1
mov esi, 0x208
push esi
lea eax, [ebp + 0x19c]
push edi
push eax
mov dword [ebp - 0x74], edi
call fcn.00475410
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475410
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x469aba
lea eax, [ebp + 0x19c]
push eax
push edi
push 0x4c451c
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp + 0x19c], di
jne 0x469ad8
push str.LoadDriverDll.dll
lea eax, [ebp + 0x19c]
push esi
push eax
call fcn.00478194
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x469bce
push edi
push edi
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469bce
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x80], edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x469bc1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x19c]
push edi
push eax
call fcn.0040239b
pop ecx
pop ecx
test eax, eax
je 0x469bc1
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x469bc1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push ebx
call esi
push 0x4c44ec
push ebx
mov dword [ebp - 0x7c], eax
call esi
push 0x4c44e8
push ebx
mov dword [ebp - 0x78], eax
call esi
push str.Uninit
push ebx
mov dword [ebp - 0x70], eax
call esi
mov esi, eax
cmp dword [ebp - 0x7c], edi
je 0x469bba
cmp dword [ebp - 0x78], edi
je 0x469bba
cmp dword [ebp - 0x70], edi
je 0x469bba
cmp esi, edi
je 0x469bba
call dword [ebp - 0x7c]
test al, al
je 0x469bba
xor edi, edi
inc edi
push edi
push str.dkkkeiva
call dword [ebp - 0x78]
pop ecx
pop ecx
call dword [ebp - 0x70]
test al, al
je 0x469bb8
mov dword [ebp - 0x74], edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x74]
pop ebx
pop esi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
pop edi
call fcn.0047548a
add ebp, 0x3a8
leave
ret
Function at 0x498e80
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x1e0], edi
je 0x498ec9
push 1
push esi
call fcn.00498ad0
mov eax, dword [esi + 0x16c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x1e0]
push edx
push eax
push esi
call ecx
push 0
push esi
mov edi, eax
call fcn.00498ad0
add esp, 0x24
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x498f09
cmp eax, 2
jg 0x498f09
mov edx, dword [esi + 0x168]
push edx
push 1
lea eax, [eax + eax*2 + 0x4cc6e4]
push 2
push eax
call fcn.004773df
mov ecx, dword [esi + 0x168]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push 1
push edx
push eax
call fcn.004773df
add esp, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x499310
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [ebx + 0x350]
push ebp
mov ebp, dword [ebx + eax*4 + 0x1a8]
push esi
lea esi, [eax + 0x1d]
shl esi, 4
add esi, ebx
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [ecx + 0x40], 3
je 0x4993af
cmp dword [ebx + eax*4 + 0x1c0], 0x499080
jne 0x4993af
cmp dword [esi], 0
je 0x49934a
test edi, edi
je 0x4993af
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.00497080
add esp, 0x14
cmp eax, 0xffffffff
je 0x4993af
test al, 1
je 0x4993af
cmp dword [esi], 0
jne 0x499391
mov edx, dword [ebx]
mov eax, dword [edx + 0x508]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x4f5150]
mov edi, dword [esi + 4]
xor ecx, ecx
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
je 0x4993ac
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4993af
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
ret
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebp
ret

Function at 0x4993c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + eax*4 + 0x1a8]
push edi
call fcn.00499310
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [esp + 0x20]
mov esi, eax
mov dword [edi], 0
cmp esi, 0xffffffff
jne 0x499442
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x499419
pop ebp
mov dword [edi], 0x51
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push ebx
call fcn.004a7250
mov edx, dword [ebx]
push eax
push str.Send_failure:__s
push edx
call fcn.00498fa0
mov eax, dword [ebx]
mov dword [eax + 0x998], ebp
add esp, 0x14
mov dword [edi], 0x37
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49b0f1
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + eax]
mov ebx, 0x1505
cmp esi, edi
jae 0x49b120
movzx eax, byte [esi]
push eax
call fcn.0049ba20
mov edx, ebx
shl edx, 5
movsx ecx, al
add edx, ebx
xor ecx, edx
inc esi
add esp, 4
mov ebx, ecx
cmp esi, edi
jb 0x49b101
pop edi
pop esi
movzx eax, bl
pop ebx
ret
push ecx
push esi
mov esi, eax
test esi, esi
je 0x49b15f
mov ecx, esi
call fcn.0049af80
test eax, eax
jne 0x49b15f
lea eax, [esp + 4]
push eax
call fcn.0049b090
add esp, 4
mov ecx, eax
mov eax, dword [esp + 4]
pop esi
add esp, 4
jmp 0x49b0f0
xor eax, eax
pop esi
pop ecx
ret

Function at 0x49fe20
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x14
push esi
push 0
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], esi
call fcn.00475410
mov eax, dword [esp + 0x2c]
add esp, 0xc
push 0xf0000000
push eax
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x49ff00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 4]
lea edx, [esp]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x49fee1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x49fee1
mov ecx, dword [esp]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 4
push ecx
call ebp
test eax, eax
je 0x49fee0
cmp esi, dword [esp + 0xc]
jb 0x49fee0
mov eax, dword [esp + 4]
push 0
lea edx, [esp + 0x18]
push edx
push ebx
push 2
push eax
call ebp
pop ebp
mov eax, dword [esp]
test eax, eax
je 0x49feef
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x49ff00
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0x14
ret
Function at 0x4823a1
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x4823b1
mov esi, eax
jmp 0x4823a7
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x4823c9
sub edi, 0x10000
jmp 0x4823ba
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x4823d7
jmp 0x4823ba
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x4823dd
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x4823fc
cmp eax, dword [esp + 0x28]
je 0x482413
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x4823f3
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8