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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
call fcn.00402cbd
push eax
lea ecx, [ebp - 8]
call fcn.00402161
lea edx, [ebp - 8]
mov ecx, str.Services
call fcn.0045b1cf
mov esi, dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
jne 0x45d6e5
xor bl, bl
jmp 0x45d858
lea ecx, [esi - 0x10]
call fcn.004021de
add eax, 0x10
lea ecx, [ebp - 0x10]
push str.Common.js
mov dword [ebp - 0x14], eax
call fcn.00401f21
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0045b9d9
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov edi, dword [ebp - 0x14]
push edi
call ebx
cmp eax, 0xffffffff
je 0x45d84e
mov edx, 0x5492ac
mov ecx, edi
call fcn.0043df32
test al, al
je 0x45d84e
xor eax, eax
lea ecx, [ebp - 0x10]
push 0x51ca10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.00401f21
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
inc ebx
lea edx, [ebp - 0x10]
push ebx
lea ecx, [ebp - 8]
call fcn.0045b81b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x28], 0
jbe 0x45d82d
mov edi, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402478
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
call fcn.0045b9fe
lea ecx, [ebp - 0x18]
mov dword [esp], str.Service.js
call fcn.00401f21
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.0045b9fe
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45d807
call fcn.00402cbd
push eax
lea ecx, [ebp - 0xc]
call fcn.00402161
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.0043df32
test al, al
je 0x45d7fc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045d160
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov eax, dword [ebp - 4]
lea ecx, [esi - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.004033d1
mov ecx, dword [ebp - 0x10]
call fcn.004033d1
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x45d785
mov edi, dword [ebp - 0x14]
cmp dword [0x5495e0], 0
je 0x45d83f
cmp dword [0x5495e4], 0
jne 0x45d841
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.00402497
mov esi, dword [ebp - 8]
jmp 0x45d850
xor bl, bl
lea ecx, [edi - 0x10]
call fcn.004033d1
lea ecx, [esi - 0x10]
call fcn.004033d1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x45d867
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [0x549504], eax
jbe 0x45d919
push eax
mov ecx, 0x549500
call fcn.00402478
mov edi, eax
push edi
call fcn.0045d418
test eax, eax
jne 0x45d903
mov ecx, edi
call fcn.0045d313
mov esi, eax
mov ecx, 0x5492b0
push esi
call fcn.0045acdf
push dword [edi]
lea ecx, [ebp - 0x1c]
call fcn.0041e3a3
push ebx
mov edx, esi
lea ecx, [ebp - 8]
call fcn.0045d34b
mov edi, dword [ebp - 8]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0045d34b
mov esi, dword [ebp - 0xc]
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004033d1
lea ecx, [edi - 0x10]
call fcn.004033d1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [0x549504]
jb 0x45d891
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x45d93e
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00402478
mov ecx, 0x549500
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0045d984
inc ebx
cmp ebx, esi
jb 0x45d91d
lea ecx, [ebp - 0x1c]
call fcn.00402497
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45e68f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x1c
push ebx
push esi
mov esi, dword [eax]
mov ebx, 0x549910
mov eax, dword [0x54990c]
push edi
cmp eax, dword [esi + 4]
jle 0x45e716
mov edi, 0x54990c
push edi
call fcn.004b3f53
cmp dword [0x54990c], 0xffffffff
pop ecx
jne 0x45e716
call fcn.00402cbd
push eax
mov ecx, ebx
call fcn.00402161
call fcn.00402cbd
push eax
mov ecx, 0x549914
call fcn.00402161
call fcn.00402cbd
push eax
mov ecx, 0x549918
call fcn.00402161
call fcn.00402cbd
push eax
mov ecx, 0x54991c
call fcn.00402161
push 0x50c9d2
call fcn.004b43b6
pop ecx
push edi
call fcn.004b3f09
pop ecx
mov eax, dword [0x549920]
xor edi, edi
cmp eax, dword [esi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jle 0x45e75c
push 0x549920
call fcn.004b3f53
cmp dword [0x549920], 0xffffffff
pop ecx
jne 0x45e75c
call esi
add eax, 0x36ee80
mov dword [0x54992c], edi
push 0x549920
mov dword [0x549928], eax
call fcn.004b3f09
pop ecx
mov eax, dword [0x549910]
cmp dword [eax - 0xc], edi
je 0x45e782
call esi
cmp dword [0x54992c], edi
jb 0x45e782
ja 0x45e894
cmp dword [0x549928], eax
ja 0x45e894
call fcn.00402cbd
push eax
lea ecx, [ebp - 0xc]
call fcn.00402161
call fcn.00402cbd
push eax
lea ecx, [ebp - 8]
call fcn.00402161
call fcn.00402cbd
push eax
lea ecx, [ebp - 4]
call fcn.00402161
call fcn.00402cbd
push eax
lea ecx, [ebp - 0x14]
call fcn.00402161
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.0045e8a9
pop ecx
pop ecx
test al, al
je 0x45e868
call fcn.00402cbd
push eax
lea ecx, [ebp - 0x10]
call fcn.00402161
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.0045ead0
pop ecx
pop ecx
test al, al
je 0x45e85d
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0041b766
pop ecx
push eax
mov ecx, ebx
call fcn.00401ec9
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004033d1
lea eax, [ebp - 8]
mov ecx, 0x549914
push eax
call fcn.00401ec9
lea eax, [ebp - 4]
mov ecx, 0x549918
push eax
call fcn.00401ec9
lea eax, [ebp - 0x14]
mov ecx, 0x54991c
push eax
call fcn.00401ec9
call esi
add eax, 0x36ee80
mov dword [0x54992c], edi
mov dword [0x549928], eax
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004033d1
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x45efc6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x14
push ebx
push esi
mov esi, dword [eax]
mov ebx, 0x549944
mov eax, dword [0x549940]
push edi
cmp eax, dword [esi + 4]
jle 0x45f03d
mov edi, 0x549940
push edi
call fcn.004b3f53
cmp dword [0x549940], 0xffffffff
pop ecx
jne 0x45f03d
call fcn.00402cbd
push eax
mov ecx, ebx
call fcn.00402161
call fcn.00402cbd
push eax
mov ecx, 0x549948
call fcn.00402161
call fcn.00402cbd
push eax
mov ecx, 0x54994c
call fcn.00402161
push 0x50c9ea
call fcn.004b43b6
pop ecx
push edi
call fcn.004b3f09
pop ecx
mov eax, dword [0x549950]
xor edi, edi
cmp eax, dword [esi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jle 0x45f083
push 0x549950
call fcn.004b3f53
cmp dword [0x549950], 0xffffffff
pop ecx
jne 0x45f083
call esi
add eax, 0x5265c00
mov dword [0x54995c], edi
push 0x549950
mov dword [0x549958], eax
call fcn.004b3f09
pop ecx
mov eax, dword [0x549944]
cmp dword [eax - 0xc], edi
je 0x45f0a9
call esi
cmp dword [0x54995c], edi
jb 0x45f0a9
ja 0x45f186
cmp dword [0x549958], eax
ja 0x45f186
call fcn.00402cbd
push eax
lea ecx, [ebp - 8]
call fcn.00402161
call fcn.00402cbd
push eax
lea ecx, [ebp - 4]
call fcn.00402161
call fcn.00402cbd
push eax
lea ecx, [ebp - 0x10]
call fcn.00402161
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0045f19b
pop ecx
test al, al
je 0x45f165
call fcn.00402cbd
push eax
lea ecx, [ebp - 0xc]
call fcn.00402161
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
call fcn.0045f372
pop ecx
test al, al
je 0x45f15a
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x14]
call fcn.0041b766
pop ecx
push eax
mov ecx, ebx
call fcn.00401ec9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004033d1
lea eax, [ebp - 4]
mov ecx, 0x549948
push eax
call fcn.00401ec9
lea eax, [ebp - 0x10]
mov ecx, 0x54994c
push eax
call fcn.00401ec9
call esi
add eax, 0x5265c00
mov dword [0x54995c], edi
mov dword [0x549958], eax
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004033d1
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x461f5c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
mov edx, ebx
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00403ddc
test al, al
je 0x461fbd
mov eax, dword [0x549634]
mov esi, ebx
test eax, eax
je 0x461fbd
cmp esi, eax
jae 0x46210d
mov eax, dword [0x549630]
lea ecx, [esp + 0x20]
push ecx
lea eax, [eax + esi*8]
push eax
call fcn.00462220
test al, al
jne 0x461fd1
mov eax, dword [0x549634]
inc esi
cmp esi, eax
jb 0x461f98
mov edx, dword [esp + 0x20]
test edx, edx
je 0x461fc8
push edx
call fcn.004c0774
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00402cbd
push eax
lea ecx, [esp + 0x14]
call fcn.00402161
lea eax, [esp + 0x10]
push eax
call fcn.0046236c
mov esi, dword [esp + 0x10]
test al, al
je 0x462100
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462012
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x462100
call fcn.00402cbd
push eax
lea ecx, [esp + 0x18]
call fcn.00402161
push dword [0x549640]
lea eax, [esp + 0x18]
push 0x522768
push str._s._s.exe
push eax
call fcn.004023f1
add esp, 0x10
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.0045b9d9
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.0043e198
test al, al
je 0x4620f4
call fcn.00402cbd
push eax
lea ecx, [esp + 0x1c]
call fcn.00402161
call fcn.0045a5b6
test al, al
je 0x4620ca
call fcn.00402cbd
push eax
lea ecx, [esp + 0x14]
call fcn.00402161
lea edx, [esp + 0x10]
xor ecx, ecx
call fcn.0045b1cf
lea eax, [esp + 0x10]
mov edx, str._P__D
push eax
lea ecx, [esp + 0x20]
call fcn.00401e16
pop ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ec9
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov edi, dword [esp + 0x18]
mov ecx, esi
push ebx
mov edx, edi
call fcn.00450a0e
pop ecx
test al, al
je 0x4620e1
mov bl, 1
jmp 0x4620ec
mov edx, edi
mov ecx, esi
call fcn.00450a68
mov bl, al
lea ecx, [edi - 0x10]
call fcn.004033d1
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004033d1
lea ecx, [esi - 0x10]
call fcn.004033d1
jmp 0x461fb9
push 0x80070057
call fcn.0040345b
int3
Function at 0x462118
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
call fcn.00402cbd
push eax
lea ecx, [ebp - 4]
call fcn.00402161
lea eax, [ebp - 4]
push eax
call fcn.0046236c
mov esi, dword [ebp - 4]
test al, al
je 0x462183
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462183
xor esi, esi
lea ecx, [ebp - 4]
push esi
call fcn.0041d917
mov eax, 0x414
mov dword [ebp - 0x24], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x12], esi
mov dword [ebp - 0xe], esi
mov dword [ebp - 0xa], esi
mov esi, dword [ebp - 4]
push eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [esi - 0x10]
call fcn.004033d1
pop esi
leave
ret

Function at 0x462c03
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00402cbd
push eax
lea ecx, [ebp - 4]
call fcn.00402161
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
mov edx, str.Exceptions.json
call fcn.0045b3d7
mov edi, dword [ebp - 4]
pop ecx
test al, al
je 0x462cab
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462cab
call fcn.00402cbd
push eax
lea ecx, [ebp - 4]
call fcn.00402161
lea edx, [ebp - 4]
mov ecx, edi
call fcn.0043df32
test al, al
je 0x462c99
lea eax, [ebp - 4]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.0043f71a
mov esi, eax
test esi, esi
je 0x462c99
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, esi
call dword [eax + 0x18]
test al, al
je 0x462c91
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00462a82
mov bl, 1
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004033d1
lea ecx, [edi - 0x10]
call fcn.004033d1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x4686f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [esi]
cmp dword [edi + 0xc], 0
je 0x468741
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 4]
add eax, 7
shr eax, 3
push eax
push dword [edi + 0x24]
lea edx, [ecx + 4]
add ecx, 0x1b94
push dword [edi + 0x18]
call fcn.00472a41
add esp, 0xc
test eax, eax
jne 0x468741
mov eax, dword [esi]
mov dword [eax], 8
jmp 0x468819
mov edx, ebx
mov ecx, esi
call fcn.00468820
test eax, eax
je 0x468819
mov eax, dword [esi + 4]
push 8
pop ebx
mov ecx, dword [eax + 0x1ac8]
mov eax, dword [ecx + 0x10]
and eax, 7
je 0x468777
mov edx, ebx
sub edx, eax
call fcn.0046cb2b
test eax, eax
je 0x468815
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
mov ecx, dword [eax + 0x1ac8]
call fcn.0046caad
pop ecx
test eax, eax
je 0x468815
mov edi, dword [ebp - 4]
xor edx, edx
mov ebx, dword [ebp - 8]
test edi, edi
je 0x4687be
movzx eax, byte [ebx]
mov ecx, edx
shr ecx, 8
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x5243d0]
inc ebx
movzx edx, dx
sub edi, 1
jne 0x4687a1
mov ecx, dword [esi + 4]
push 0x10
mov ecx, dword [ecx + 0x1ac8]
call fcn.0046cbce
pop ecx
test eax, eax
je 0x468812
mov edx, dword [esi]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x24]
call fcn.00468049
pop ecx
test eax, eax
je 0x468819
mov eax, dword [esi + 4]
and dword [eax + 0x1b8c], 0
mov eax, dword [esi + 4]
inc dword [eax + 0x1b90]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x24]
add dword [ecx + 0x1b08], eax
adc dword [ecx + 0x1b0c], 0
xor eax, eax
inc eax
jmp 0x46881b
push 8
pop ebx
mov eax, dword [esi]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x469b09
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x14]
inc ebx
shr eax, cl
shl ebx, cl
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], eax
neg ecx
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp + 8], ebx
mov edx, esi
jmp 0x469b3c
inc edx
shr eax, 1
jne 0x469b3b
mov eax, dword [ebp + 0x18]
add eax, edx
mov edx, esi
cmp eax, 0x20
mov eax, esi
jae 0x469ba8
mov dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
test ebx, ebx
je 0x469c08
add ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], esi
cmp edx, ecx
jae 0x469b91
mov edi, dword [ebp + 0x18]
mov ebx, esi
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + edi*4]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
inc edi
cmp edi, ecx
jb 0x469b71
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x18], edi
mov edi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edi + eax*8], edx
mov edx, dword [ebp + 0x18]
mov dword [edi + eax*8 + 4], esi
inc eax
mov dword [ebp - 8], eax
cmp eax, ebx
jb 0x469b5c
jmp 0x469c08
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x469c08
add ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x18], esi
cmp edx, ecx
jae 0x469bf0
mov edi, dword [ebp - 8]
mov ebx, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
cdq
xor eax, edx
sub eax, edx
cdq
add ebx, eax
adc esi, edx
inc edi
cmp edi, ecx
jb 0x469bc7
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x18], esi
xor esi, esi
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edi + eax*8], edx
mov edx, dword [ebp + 0x18]
mov dword [edi + eax*8 + 4], edx
inc eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jb 0x469bb2
mov edx, dword [ebp + 0x14]
dec edx
mov dword [ebp + 0xc], ebx
cmp edx, dword [ebp + 0x10]
jl 0x469c57
sub edx, dword [ebp + 0x10]
inc edx
mov dword [ebp + 0x14], edx
shr ebx, 1
mov dword [ebp + 8], ebx
je 0x469c4f
mov edx, ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + esi*8 + 8]
add ecx, dword [edi + esi*8]
mov eax, dword [edi + esi*8 + 0xc]
adc eax, dword [edi + esi*8 + 4]
add esi, 2
mov dword [edi + ebx*8], ecx
mov dword [edi + ebx*8 + 4], eax
inc ebx
sub edx, 1
jne 0x469c27
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 0x14], edx
jne 0x469c1b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x473403
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
xor al, al
test esi, esi
je 0x473420
movzx edx, byte [ecx]
movzx eax, al
xor edx, eax
inc ecx
mov al, byte [edx + 0x5247d0]
sub esi, 1
jne 0x47340c
pop esi
ret

Function at 0x474178
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0xf0000000
xor eax, eax
xor ebx, ebx
inc ebx
mov dword [ebp - 0xc], eax
push ebx
push eax
push eax
lea eax, [ebp - 0xc]
mov esi, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4741a7
xor bl, bl
jmp 0x474235
push edi
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push 0x8003
push dword [ebp - 0xc]
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x474223
xor edi, edi
push edi
push dword [esi + 4]
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x474223
push 4
pop ecx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ecx
push eax
push ecx
push dword [ebp - 4]
call edi
test eax, eax
je 0x474223
mov esi, dword [ebp + 0xc]
push ecx
push dword [ebp - 8]
mov ecx, esi
call fcn.0043b615
push 0
lea eax, [ebp - 8]
push eax
push dword [esi]
push 2
push dword [ebp - 4]
call edi
test eax, eax
je 0x474223
cmp dword [ebp - 8], 0x10
je 0x474225
xor bl, bl
cmp dword [ebp - 4], 0
pop edi
je 0x474235
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0xc], 0
je 0x474246
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x4768d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x54300c]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x476988
mov eax, dword [esp]
cmp al, 2
jne 0x476982
shr eax, 8
cmp al, 2
jne 0x476982
call fcn.0048c1a0
test eax, eax
jne 0x47698d
mov ecx, str.iphlpapi.dll
call fcn.004769f0
mov dword [0x549694], eax
test eax, eax
je 0x476948
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x54919c]
test eax, eax
cmovne ecx, eax
mov dword [0x54919c], ecx
xor edx, edx
push 3
sub esp, 8
lea ecx, [edx + 6]
call fcn.0048c3d0
add esp, 0xc
test al, al
setne byte [0x549980]
push 0x549978
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004b3dd4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004b3dd4
mov esp, ebp
pop ebp
ret
Function at 0x4769f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.kernel32
mov esi, ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x476a14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0x52ebec
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x52ebfc
push esi
mov dword [ebp - 8], ebx
call fcn.004d632f
add esp, 8
test eax, eax
je 0x476a5c
test ebx, ebx
je 0x476a4c
push 8
push 0
push esi
call ebx
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x476a85
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x476a85
push 0x800
push 0
push esi
call ebx
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x476b48
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476aa1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x5449e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x476b3e
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x476b3e
mov ecx, ebx
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476ae0
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x476b00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476b00
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x476b15
mov eax, dword [ebp - 8]
test eax, eax
je 0x476b35
push 8
push 0
push ebx
call eax
jmp 0x476b3c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x5449e8]
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret