joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488ad7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, ecx
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [ebp - 4], esi
cmova eax, ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x488b8b
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x488b66
mov ecx, edi
call fcn.00488ab3
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x488b58
mov edx, dword [esi + 0x5c]
test edx, edx
je 0x488b84
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
xor edx, edx
mov dword [esi + 0x5c], edx
jmp 0x488b86
xor edx, edx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], edx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.00488a7f
mov edi, eax
test edi, edi
jne 0x488c1d
lea ecx, [ebx + 0x20]
call fcn.0048fd18
mov edi, eax
test edi, edi
jne 0x488c1d
lea ecx, [ebx + 0x1c]
call fcn.0048fd18
mov edi, eax
test edi, edi
jne 0x488c1d
push ebx
call fcn.00489a4c
mov edi, eax
test edi, edi
je 0x488c1d
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
mov ecx, ebx
call fcn.00488a41
add ebx, 0x28
sub esi, 1
jne 0x488c0b
mov esi, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x488c31
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x488c45
cmp dword [esi + 0x40], edx
jne 0x488c45
cmp dword [esi + 0x3c], edx
jne 0x488c45
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
leave
ret
Function at 0x48bc79
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, ecx
xor eax, eax
push ebx
push esi
mov dword [ebp - 4], edx
lea ecx, [edx + 0x11fc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
push edi
mov esi, eax
mov edi, eax
movzx eax, word [edx + 0x1e1e]
and esi, 1
mov ecx, esi
shr edi, 1
neg ecx
and ecx, 0x7f0
xor ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 4
mov ebx, dword [edx + ecx*4 + 0x748]
mov edx, edi
movzx ecx, word [eax + esi*2 + 0x1e20]
and edx, 1
mov eax, edx
shr ecx, 4
neg eax
shr edi, 1
shr eax, 4
and edi, 1
and eax, 0x7f
lea edx, [edx + esi*2]
xor ecx, eax
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
lea edx, [edx + 4]
add ebx, dword [eax + ecx*4 + 0x748]
movzx ecx, word [eax + edx*2 + 0x1e1c]
mov eax, edi
neg eax
shr ecx, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 4]
add ebx, dword [eax + ecx*4 + 0x748]
lea eax, [edi + edx*2]
mov edx, dword [ebp - 4]
movzx ecx, word [edx + eax*2 + 0x1e1c]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edx + eax*4 + 0x748]
add eax, ebx
mov dword [esi - 0x20], eax
mov eax, dword [edx + ecx*4 + 0x748]
add eax, ebx
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
cmp eax, 8
jb 0x48bc95
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48d7fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], edi
movzx esi, word [ecx]
mov eax, esi
shr esi, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + esi*4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x10]
shr eax, 4
mov eax, dword [ebx + eax*4]
add eax, esi
mov dword [ebp - 0x14], eax
test edx, edx
je 0x48d882
lea eax, [edi + 4]
mov dword [ebp - 4], edx
mov esi, ecx
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, esi
push ebx
push edi
call fcn.0048f3db
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x20]
push ebx
push eax
lea ecx, [esi + 0x10]
call fcn.0048f3db
add edi, 0x440
add esi, 0x20
sub dword [ebp - 4], 1
jne 0x48d84e
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
cmp edx, 0x10
jbe 0x48d960
lea eax, [edi + 0x44]
add edx, 0xfffffff1
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr edx, 1
shr eax, 4
add esi, dword [ebx + eax*4]
lea eax, [edx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [ecx + eax*2]
dec edx
sub eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
lea esi, [edx + 0x80]
mov dword [ebp + 8], eax
mov edx, eax
mov ecx, esi
shr esi, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edi + esi*2 + 0x200]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add edx, dword [ebx + eax*4]
cmp esi, 2
jae 0x48d8ce
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp + 8], edx
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [esi + edx*8], eax
mov eax, dword [ebx + ecx*4]
mov ecx, esi
add eax, dword [ebp + 8]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 8]
test edx, edx
jne 0x48d8b6
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x48d960
lea esi, [edi + 0x484]
lea edi, [eax - 1]
push ebx
push ecx
push esi
call fcn.005c7150
mov ecx, dword [ebp - 4]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x48d947
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48daec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x48daff
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x48db26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x48db3c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48f3db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
xor ebx, ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 4], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0xc]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x48f3ed
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48fde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.005d7e10
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x48fe0a
call fcn.0048fd2c
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x48fef0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x67b374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x8c]
push edi
call fcn.0047e320
mov ebx, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047e360
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047e360
push 0x60aa48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x48ff9d
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ff96
push 0x20
lea ecx, [ebp - 0x24]
push ecx
call eax
test al, al
je 0x48ff96
push 0x64
pop ebx
push 0x20
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x8c]
call fcn.0047e360
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x48ffc1
push 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x8c]
call fcn.0047e360
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047e360
push 0x64
pop edi
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047e2a6
lea ecx, [ebp - 0x8c]
call fcn.0047e320
push 0x20
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047e360
sub edi, 1
jne 0x48ffe3
sub ebx, 1
jne 0x48ff9d
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047e2a6
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x20], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.00450cb7
leave
ret

Function at 0x49445b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
cmp esi, 0x200
jb 0x4944bf
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4944bf
mov edx, dword [ecx + 0x3c]
cmp edx, 0x1000
jae 0x4944bf
lea eax, [edx + 0x200]
cmp eax, esi
ja 0x4944bf
test dl, 7
jne 0x4944bf
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x4944bf
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x4944db
sub eax, 0x74
je 0x4944d4
dec eax
sub eax, 1
je 0x4944d4
dec eax
sub eax, 1
je 0x4944cd
sub eax, 0x3c
je 0x4944c6
sub eax, 0x8464
je 0x4944db
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, 0x3030401
jmp 0x4944e0
mov edx, 0x3030701
jmp 0x4944e0
mov edx, 0x3030501
jmp 0x4944e0
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x4944bf
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x494503
mov ecx, 0x20b
cmp ax, cx
jne 0x4944bf
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
inc eax
jmp 0x4944c1
Function at 0x498f96
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x18]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysReAllocStringLen
jmp 0x498fc2
and esi, 0xf
jne 0x498fbd
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.00499113
and dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x498fad
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 5
push ebx
shl ecx, 5
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.00499113
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.004999af
Function at 0x4999af
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x499b98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x67b374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x44]
push esi
push edi
mov esi, ecx
push 5
mov dword [ebp - 0x88], esi
call fcn.00498ff0
lea eax, [esi + 0x60]
push 5
lea edx, [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov ecx, eax
call fcn.00498ff0
push 5
pop ecx
mov esi, ebx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x499c32
lea esi, [ebp - 0x44]
sub esi, ebx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x44]
call fcn.00499113
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
call fcn.00499113
push 5
mov ecx, ebx
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x499c20
sub edi, 1
jne 0x499bf1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450cb7
leave
ret 8

Function at 0x499c43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x67b374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x499cbb
lea ecx, [ebp - 0xb8]
call fcn.004999af
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.004999da
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.00499086
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x499ca7
jmp 0x499cf2
xor esi, esi
mov ebx, esi
test edi, edi
je 0x499cec
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x499cc9
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x499cf4
mov ecx, ebx
call fcn.004999af
push 0x10
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.0049903e
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [0x60b0e0]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x499d21
lea ecx, [ebx + 0x60]
call fcn.004999af
push 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebx + 0x60]
call fcn.0049903e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450cb7
leave
ret 8
Function at 0x499d61
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x67b374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x499e1c
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x499d8c
cmp edi, 0x40
jbe 0x499db9
mov ecx, esi
call fcn.004999af
mov edx, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.004999da
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.00499086
jmp 0x499dcb
test edi, edi
je 0x499dcb
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.005c7150
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x499dcd
mov ecx, esi
call fcn.004999af
push 0x40
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.004999da
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x499deb
lea ecx, [esi + 0x60]
call fcn.004999af
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [esi + 0x60]
call fcn.004999da
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450cb7
leave
ret 8
call fcn.0045181e
int3
Function at 0x49afda
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0xc], eax
mov al, byte [esi + 2]
mov word [edi], cx
mov byte [ebp + 0xf], al
cmp byte [esi + 1], cl
je 0x49b077
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x24]
call fcn.00464f00
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x60]
cmp eax, ecx
je 0x49b024
push dword [eax + 4]
push dword [eax]
call fcn.0046096f
movzx eax, byte [esi + 4]
mov ecx, edi
push eax
push 0x800
call fcn.0049b131
mov eax, dword [esi + 0x10]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x84], eax
mov al, byte [esi + 3]
mov byte [edi + 0x88], al
mov al, byte [ebp + 0xf]
xor edx, edx
mov dword [edi + 0x40], 0x3f
mov byte [edi + 5], dl
test al, al
jne 0x49b090
mov byte [ebp - 4], 1
cmp byte [ebx + 0x6c], dl
jne 0x49b093
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, edi
push 1
call fcn.0049b131
push dword [ebp + 8]
mov ecx, edi
push 8
call fcn.0049b131
cmp byte [ebp + 0xf], 0
je 0x49b0ca
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x30]
call fcn.004607de
lea ecx, [edi + 0x50]
mov byte [edi + 0x3e], 0
call fcn.004607de
xor ecx, ecx
mov byte [edi + 0x5e], cl
cmp byte [ebp + 0xf], cl
je 0x49b103
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x1c], ecx
jmp 0x49b12a
cmp byte [ebx + 0x6c], cl
je 0x49b12a
cmp byte [ebx + 0x58], cl
je 0x49b12a
cmp dword [ebx + 0x64], ecx
jne 0x49b117
push 8
pop eax
jmp 0x49b11c
mov eax, dword [ebx + 0x60]
mov al, byte [eax]
mov dl, byte [ebx + 0x59]
mov ecx, edi
movzx eax, al
push eax
call fcn.0049a93f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x49cfb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x5fa30c
call fcn.00451523
mov dword [ebp - 0x10], edx
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x49cfe8
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x49d155
cmp byte [esi + 1], 0
je 0x49d09e
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x49d008
mov eax, 0x80004001
jmp 0x49d155
lea eax, [esi + 0x2c]
lea ecx, [ebx + 0x60]
cmp eax, ecx
je 0x49d01c
push dword [eax + 4]
push dword [eax]
call fcn.0046096f
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.00464f00
mov al, byte [esi + 4]
mov ecx, ebx
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
push 0x800
call fcn.0049b131
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x84], eax
mov al, byte [esi + 3]
mov byte [ebx + 0x88], al
call fcn.0049af4a
lea ecx, [ebx + 0x30]
call fcn.0049af4a
push 0
push ebx
mov ecx, edi
call fcn.004a3bcc
mov ecx, ebx
call fcn.0049aaf6
mov ebx, eax
mov dword [ebp + 0x10], edx
jmp 0x49d0c5
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4c], edx
call fcn.0049aaf6
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, edx
add ebx, dword [ecx + 0x70]
adc eax, 0
mov dword [ebp + 0x10], eax
and dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x18]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 1]
push eax
push dword [ebp + 8]
call fcn.004612ec
mov esi, eax
mov eax, dword [ebp + 0x18]
test esi, esi
jne 0x49d142
test eax, eax
jne 0x49d0f5
mov esi, 0x80004001
jmp 0x49d142
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
add dword [eax], ebx
adc dword [eax + 4], esi
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.004a3530
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push ebx
call fcn.00464782
add dword [edi + 0x38], ebx
mov esi, eax
mov eax, dword [ebp + 0x10]
adc dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
test eax, eax
je 0x49d13f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x49d153
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.004514ec
ret 0x18
Function at 0x4a45d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.004a4cc2
cmp eax, 0xffffffff
je 0x4a45f4
test al, 0x10
jne 0x4a45f4
test al, 1
je 0x4a45f4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4a4603
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4a4603
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x4a4607
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67b374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.0046500e
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00450cb7
leave
ret

Function at 0x4a4cc2
Capabilities:
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
ret
Function at 0x4ac120
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4ac169
mov al, byte [esi]
push eax
call fcn.004b89b0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x4ac147
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x4ad3b0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2f0], 2
jne 0x4ad3c5
pop ebp
jmp fcn.004ad360
mov al, 1
pop ebp
ret