joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a91a4
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404bf8
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.004032e8
cmp dword [ebp - 0x10], 0
je 0x4a9213
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4a931c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a934e
mov ecx, dword [0x521278]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d850
call fcn.004040b8
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4a937f
mov ecx, dword [0x520e04]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d850
call fcn.004040b8
xor eax, eax
push ebp
push 0x4a9402
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403b20
cmp byte [ebp + 8], 0
je 0x4a93db
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a9270
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a9044
jmp 0x4a93f8
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a8b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a941f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a9428
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a945a
mov ecx, dword [0x520ee8]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d850
call fcn.004040b8
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4a948b
mov ecx, dword [0x520e04]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d850
call fcn.004040b8
xor eax, eax
push ebp
push 0x4a9509
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403b20
cmp byte [ebp + 8], 0
je 0x4a94e4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a9270
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004a90e4
jmp 0x4a94ff
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a8b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9526
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a9740
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a8e00
xor eax, eax
push ebp
push 0x4a98be
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4a98a8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a978b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a9795
call fcn.00404164
jmp 0x4a98c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d05c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4a989d
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4a984b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x4a9838
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b20
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004a96f8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a98d0]
cmp dl, byte [eax + 0x28]
je 0x4a98a4
call fcn.0040d754
jmp 0x4a98a4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d084
jmp 0x4a98a4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x4a986c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d084
jmp 0x4a9795
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d05c
cmp edx, dword [esp + 4]
jne 0x4a988c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a9795
push ebp
call fcn.004a96f8
pop ecx
jmp 0x4a98a4
push ebp
call fcn.004a96f8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a98c5
mov eax, dword [ebp - 4]
call fcn.004a8e18
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a98d4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a99fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a8e00
xor eax, eax
push ebp
push 0x4a99e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a9926
call fcn.00404164
jmp 0x4a99e8
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4a99cb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4a99cb
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b20
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x4a99cb
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040cdf4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4a9a18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x5210a8]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d898
call fcn.004040b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a99e8
mov eax, dword [ebp - 4]
call fcn.004a8e18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9a05
lea eax, [ebp - 0x30]
call fcn.00404728
ret
Function at 0x4a9a90
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9be3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a8e00
xor eax, eax
push ebp
push 0x4a9bc6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4a9af8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a9af8
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4a9bb0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a9b0b
call fcn.00404164
jmp 0x4a9bcd
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4a9bb0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4a9bb0
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b20
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x4a9bb0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040cdf4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4a9bfc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x5210a8]
mov dl, 1
mov eax, dword [0x4a7888]
call fcn.0040d898
call fcn.004040b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9bcd
mov eax, dword [ebp - 4]
call fcn.004a8e18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9bea
lea eax, [ebp - 0x30]
call fcn.00404728
ret
Function at 0x4b32c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x4b334f
cmp dword [ebx + 0x10], 0
jle 0x4b334f
mov ecx, edx
mov eax, dword [0x4b303c]
mov dl, 1
call fcn.004b3520
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b3348
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.00402d88
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004b3740
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.0041d300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b334f
mov eax, dword [ebp - 4]
call fcn.00403918
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b8100
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x51a474]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4b813c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4b8154
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b814d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004032e8
xor edx, edx
mov eax, 0x51a674
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4b81be
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4b8172
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4b83fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4b8415
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4b840e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4b8427
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b8420
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004b7ff0
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b8441
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004b8100
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4b84c6
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4b84e3
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004b8080
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b850c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b8524
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4b853d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b8536
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4b8551
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b7ee8
test bl, bl
jne 0x4b8624
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x525cd4
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b8588
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b859c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b83fc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4b85ce
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4b857d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b85f1
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4b8602
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b8616
jmp 0x4b86df
cmp bl, 1
jne 0x4b86df
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x525d2e
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b8644
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b8658
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b83fc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4b868a
sub ebx, 6
inc dword [ebp - 8]
jne 0x4b8639
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4b86b1
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4b86c2
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4b86d6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b7f6c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4bc1e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bc259
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404d84
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404bf8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004049f8
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404d84
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004bc0e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc260
lea eax, [ebp - 0xc]
call fcn.00404728
ret

Function at 0x4bc6e8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004032e8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4c00bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0121
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 5]
push eax
call sub.kernel32.dll_LockResource
mov esi, eax
mov dword [ebx + 9], esi
test esi, esi
jne 0x4c010b
lea ecx, [ebp - 4]
mov edx, 2
mov eax, dword [0x526024]
call fcn.004bff10
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4bfda8]
call fcn.0040d778
call fcn.004040b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0128
lea eax, [ebp - 4]
call fcn.00404728
ret
Function at 0x4c0130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c0263
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
mov ecx, 0xff
mov edx, dword [ebp - 4]
call fcn.0040a064
mov eax, ebx
call fcn.00405e90
mov ebx, eax
push 0xa
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
jne 0x4c01f0
mov ebx, dword [0x522668]
push 0xa
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
jne 0x4c01f0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0xb
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0x110]
mov edx, 3
mov eax, dword [0x526024]
call fcn.004bff10
mov ecx, dword [ebp - 0x110]
mov dl, 1
mov eax, dword [0x4bfda8]
call fcn.0040d7c0
call fcn.004040b8
push esi
push ebx
call sub.kernel32.dll_LoadResource
mov dword [edi + 5], eax
cmp dword [edi + 5], 0
jne 0x4c0245
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0xb
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0x114]
mov edx, 4
mov eax, dword [0x526024]
call fcn.004bff10
mov ecx, dword [ebp - 0x114]
mov dl, 1
mov eax, dword [0x4bfda8]
call fcn.0040d7c0
call fcn.004040b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c026a
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.0040474c
ret

Function at 0x4c0698
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov byte [esp + 8], cl
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov esi, 0x51b1f4
mov edx, dword [esp + 0xc]
xor eax, eax
mov al, byte [esp + 8]
mov ebx, eax
add ebx, ebx
lea ebx, [ebx + ebx*2]
mov eax, dword [esi + ebx*8]
mov ecx, dword [esp]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esi + ebx*8 + 4]
mov edi, dword [esp]
mov eax, dword [edi + eax*4]
mov ebx, dword [esi + ebx*8 + 8]
mov edi, dword [esp]
mov ebx, dword [edi + ebx*4]
add edx, ebx
add ebx, edx
mov edi, edx
shr edi, 7
xor edx, edi
add ecx, edx
add edx, ecx
mov edi, ecx
shl edi, 0xd
xor ecx, edi
add eax, ecx
add ecx, eax
mov edi, eax
shr edi, 0x11
xor eax, edi
add ebx, eax
add eax, ebx
mov edi, ebx
shl edi, 9
xor ebx, edi
add edx, ebx
add ebx, edx
mov edi, edx
shr edi, 3
xor edx, edi
add ecx, edx
mov edx, ecx
shl edx, 7
xor ecx, edx
add eax, ecx
mov edx, ebx
shr edx, 0xf
xor eax, edx
add ebx, eax
mov eax, ebx
shl eax, 0xb
xor ebx, eax
mov eax, dword [esp + 0x10]
xor eax, ebx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
add esi, 0xc
dec dword [esp + 0x14]
jne 0x4c06cb
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [eax + 4], edx
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x4c07d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
dec ecx
test ecx, ecx
jl 0x4c08cd
inc ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov edx, dword [eax]
mov ecx, dword [esp + 4]
mov cl, byte [ecx]
xor byte [eax + edx + 4], cl
inc dword [eax]
cmp dword [eax], 0x100
jne 0x4c0802
xor edx, edx
mov dword [eax], edx
mov edx, dword [eax + 0x104]
mov ecx, dword [esp + 4]
mov cl, byte [ecx]
xor byte [eax + edx + 0x108], cl
inc dword [eax + 0x104]
cmp dword [eax + 0x104], 8
jne 0x4c08c0
mov ecx, dword [eax + 0x114]
mov ebx, dword [eax + 0x110]
mov esi, dword [eax + 0x10c]
mov edx, dword [eax + 0x108]
mov edi, 4
add ecx, edx
add edx, ecx
mov ebp, ecx
shr ebp, 7
xor ecx, ebp
add ebx, ecx
add ecx, ebx
mov ebp, ebx
shl ebp, 0xd
xor ebx, ebp
add esi, ebx
add ebx, esi
mov ebp, esi
shr ebp, 0x11
xor esi, ebp
add edx, esi
add esi, edx
mov ebp, edx
shl ebp, 9
xor edx, ebp
add ecx, edx
add edx, ecx
mov ebp, ecx
shr ebp, 3
xor ecx, ebp
add ebx, ecx
add ecx, ebx
mov ebp, ebx
shl ebp, 7
xor ebx, ebp
add esi, ebx
add ebx, esi
mov ebp, edx
shr ebp, 0xf
xor esi, ebp
add edx, esi
add esi, edx
mov ebp, edx
shl ebp, 0xb
xor edx, ebp
dec edi
jne 0x4c0845
mov dword [eax + 0x108], ecx
mov dword [eax + 0x10c], ebx
mov dword [eax + 0x110], esi
mov dword [eax + 0x114], edx
xor edx, edx
mov dword [eax + 0x104], edx
inc dword [esp + 4]
dec dword [esp]
jne 0x4c07e8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret