joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c050
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x10325476
pop ebp
ret

Function at 0x468e60
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4dc1bc]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0046c8f0
mov eax, dword [ebp + 0x14]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
push eax
call fcn.00468e30
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x468ea8
mov eax, dword [ebp - 0xc]
jmp 0x468ee1
cmp dword [ebp + 8], 0x17
jne 0x468ec9
mov dword [ebp - 8], 0
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1b
push 0x29
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x14]
call fcn.0040dd00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478787
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4dc1bc]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0046c8f0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
push eax
call fcn.00468e30
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x18]
call fcn.00403d70
cmp eax, 0x40
jne 0x46b382
push 0x2746
mov ecx, dword [ebp + 0x18]
call fcn.0046c890
jmp 0x46b39e
mov ecx, dword [ebp + 0x18]
call fcn.00403d70
cmp eax, 0x4d2
jne 0x46b39e
push 0x274d
mov ecx, dword [ebp + 0x18]
call fcn.0046c890
cmp dword [ebp - 0x14], 0
je 0x46b3a9
or eax, 0xffffffff
jmp 0x46b3c1
lea ecx, [ebp - 0x1c]
call fcn.0040dd00
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478787
mov esp, ebp
pop ebp
ret
Function at 0x46b710
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4dc1bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0xffffffff
je 0x46b842
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x46b786
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
and edx, 8
je 0x46b786
xor eax, eax
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], cx
push 8
lea ecx, [ebp - 0x14]
call fcn.00402c30
lea ecx, [ebp - 0x14]
call fcn.0040dd00
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 8]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046b5e0
add esp, 0x1c
call fcn.0046c8f0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.00468e30
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46b842
push 0
push 0x2733
lea ecx, [ebp - 0x20]
call fcn.0046bf60
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040dc80
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x46b7fb
push 0
push 0x4d5
lea ecx, [ebp - 0x28]
call fcn.0046bf60
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040dc80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46b842
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 0x8004667e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
and edx, 0xfffffffc
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
call fcn.0046c8f0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.00468e30
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46b85d
lea ecx, [ebp - 0x30]
call fcn.0040dd00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478787
mov esp, ebp
pop ebp
ret
Function at 0x46f530
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4dc1bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0046f4f0
movzx ecx, al
test ecx, ecx
je 0x46f58f
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x46f5b2
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
push 0x46f520
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478787
mov esp, ebp
pop ebp
ret

Function at 0x47b517
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4a2b5b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a29da

Function at 0x4a447e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a413e

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x36842d63
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x58f15ce2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x8f6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008f61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8f607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f606a
add dl, dl
jne 0x8f6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f60dc
xor eax, eax
add dl, dl
jne 0x8f6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f617d
add dl, dl
jne 0x8f60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f6075
mov eax, 1
add dl, dl
jne 0x8f60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f60e1
sub eax, ebx
mov ebx, 1
jne 0x8f6128
mov ecx, 1
add dl, dl
jne 0x8f610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f6136
cmp eax, 0x7d00
jae 0x8f616d
cmp eax, 0x500
jb 0x8f6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f6075
cmp eax, 0x7f
ja 0x8f6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8f6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404db1
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esp + 8]
mov edx, dword [esi]
lea edi, [esi + 0x18]
push edi
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x404e0e
mov eax, dword [esi + 0x28]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404e0e
mov edx, dword [esi]
lea ecx, [esp + 8]
push eax
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
pop edi
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x410bed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x432db0
cmp edx, dword [eax]
je 0x410c0f
add eax, 8
inc ecx
cmp eax, 0x432e40
jl 0x410c00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x432db0]
jne 0x410d3d
mov eax, dword [0x445d34]
cmp eax, 1
je 0x410d17
test eax, eax
jne 0x410c40
cmp dword [0x432984], 1
je 0x410d17
cmp edx, 0xfc
je 0x410d3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410c77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410e70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00410f60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x410cba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00410f60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a138
push edi
call fcn.00413720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410e70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410e80
lea eax, [ebp - 0xa0]
push 0x42a118
push eax
call fcn.00410e80
push dword [esi + 0x432db4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410e80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00413688
add esp, 0x2c
pop edi
jmp 0x410d3d
lea eax, [ebp + 8]
lea esi, [esi + 0x432db4]
push 0
push eax
push dword [esi]
call fcn.00410f60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x418ae0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040cfb0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x418bab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x418bab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x418b5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x418b69
or bh, 8
and edi, 0x8000000
je 0x418b84
mov eax, dword [0x4474dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x418bab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x418fab
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x418fcf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x418fea
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41e862
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41e8a4
call fcn.00422aa2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41e8a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41e89b
xor eax, eax
jmp 0x41e8ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041e8b2
pop edi
pop esi
pop ebx
ret 4
Function at 0x401180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov dword [ebp - 0x40c], 0
mov dword [ebp - 4], 0
jmp 0x4011a6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x4011be
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x408], edx
jmp 0x40119d
mov dword [ebp - 4], 0
jmp 0x4011d0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x401250
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x40c]
add esi, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx]
add esi, ecx
and esi, 0x800000ff
jns 0x40120a
dec esi
or esi, 0xffffff00
inc esi
mov dword [ebp - 0x40c], esi
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x408]
mov byte [ebp - 0x40d], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp + edx*4 - 0x408]
mov dword [ebp + ecx*4 - 0x408], eax
movzx ecx, byte [ebp - 0x40d]
mov edx, dword [ebp - 0x40c]
mov dword [ebp + edx*4 - 0x408], ecx
jmp 0x4011c7
mov dword [ebp - 8], 0
jmp 0x401262
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x40132c
mov edx, dword [ebp - 4]
add edx, 1
and edx, 0x800000ff
jns 0x401284
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40c]
add ecx, dword [ebp + eax*4 - 0x408]
and ecx, 0x800000ff
jns 0x4012a7
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x40c], ecx
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x408]
mov byte [ebp - 0x40d], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp + edx*4 - 0x408]
mov dword [ebp + ecx*4 - 0x408], eax
movzx ecx, byte [ebp - 0x40d]
mov edx, dword [ebp - 0x40c]
mov dword [ebp + edx*4 - 0x408], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x408]
mov edx, dword [ebp - 0x40c]
add ecx, dword [ebp + edx*4 - 0x408]
and ecx, 0x800000ff
jns 0x40130f
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx edx, byte [eax]
xor edx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], dl
jmp 0x401259
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401340
Capabilities:
Check mutex on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
call fcn.00401070
call fcn.00401030
mov dword [ebp - 0x344], eax
mov eax, dword [0x4071f4]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [fcn.0040de7c], eax
mov edx, dword [0x4071e0]
push edx
mov eax, dword [ebp - 0x344]
push eax
call dword [fcn.0040de7c]
mov dword [fcn.0040dea0], eax
mov ecx, dword [0x4071c0]
push ecx
mov edx, dword [ebp - 0x344]
push edx
call dword [fcn.0040de7c]
mov dword [fcn.0040e6f4], eax
mov eax, dword [0x4071c4]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [fcn.0040de7c]
mov dword [fcn.0040de6c], eax
call fcn.00403540
push 0x40e348
push 0x12c
call dword [fcn.0040dea0]
push 0x40e348
push 0x40e5c8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d0cc
push 0x40e5c8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40e5c8
call sub.MSVCR80.dll_remove
add esp, 4
push 0x40e348
push 0x40dfe0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d0d8
push 0x40dfe0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40e348
push 0x40e218
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d0e4
push 0x40e218
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40e348
push 0x40e490
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d0f0
push 0x40e490
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40e348
push 0x40deb0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d0fc
push 0x40deb0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40e348
push 0x40e838
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40d108
push 0x40e838
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x340]
mov dword [0x40e5c0], edx
push 0
call dword [fcn.0040de6c]
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
call fcn.00403540
mov eax, dword [ebp - 4]
push eax
call fcn.00402220
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40158f
push 0x1235
push 0x1111
mov edx, dword [ebp - 0x348]
push edx
call fcn.004010f0
add esp, 0xc
test eax, eax
je 0x40158f
push 0x1235
push 0x1111
mov eax, dword [ebp - 0x348]
push eax
call fcn.004010f0
add esp, 0xc
mov dword [0x40e5c0], eax
mov ecx, dword [0x40e5c0]
cmp dword [ecx + 0x28], 1
jne 0x401533
call fcn.004038d0
movzx edx, al
test edx, edx
jne 0x40158f
mov eax, dword [0x40e5c0]
cmp dword [eax + 0x20], 0
je 0x40154a
call fcn.00403620
movzx ecx, al
test ecx, ecx
jne 0x40158f
mov edx, dword [0x40e5c0]
cmp dword [edx + 0x30], 1
jne 0x40156e
call fcn.004034d0
movzx eax, al
test eax, eax
jne 0x40158f
call fcn.004034c0
movzx ecx, al
test ecx, ecx
jne 0x40158f
push 0x40d114
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40158f
call fcn.004015a0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10