joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490f18
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov byte [ebp - 0xc], 0
mov dl, 1
mov al, byte [ebp - 1]
call fcn.00490d80
test al, al
je 0x491033
mov eax, dword [0x4e9c6c]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.004057c0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4e9c54]
push eax
call sub.kernel32.dll_SetFilePointer
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xc], 1
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x490f92
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x490f92
mov byte [ebp - 0xc], 0
cmp byte [ebp - 0xc], 0
je 0x491033
movzx eax, word [ebp - 0xa]
imul dword [0x4e9c6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
imul eax, dword [0x4e9c6c], 0x3e8
cmp eax, dword [ebp - 0x18]
jae 0x490fcb
imul eax, dword [0x4e9c6c], 0x3e8
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x4e9c78]
push eax
mov eax, dword [0x4e9c54]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xc], al
cmp byte [ebp - 0xc], 0
je 0x491005
mov edx, dword [ebp + 8]
mov eax, dword [0x4e9c78]
mov ecx, dword [ebp - 0x14]
call fcn.00402fd8
cmp byte [ebp - 0xc], 0
je 0x491017
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
sete al
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], eax
cmp byte [ebp - 0xc], 0
je 0x491033
cmp dword [ebp - 0x10], 0
jne 0x490fa9
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xb], al
mov al, byte [ebp - 0xb]
mov esp, ebp
pop ebp
ret 4
Function at 0x498e6c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x498e9a
mov eax, ebx
call fcn.00499920
cmp dword [ebx + 0x40], 0
je 0x498e93
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x498f0b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x498efd
cmp dword [ebx + 8], 0
je 0x498ebc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x498ece
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x498efd
cmp dword [ebx + 8], 0
je 0x498eaf
cmp eax, 3
je 0x498ee1
dec eax
jne 0x498eaf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x498eaf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x498eaf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x498f29
cmp dword [ebx + 0x14], 0xcc
je 0x498f29
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00498f34
pop ebx
ret

Function at 0x4aed74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4aede5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d7d24]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4aedcf
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004aed64
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4accf4]
call fcn.004afc34
mov dword [0x4d7d8c], eax
mov eax, dword [ebp - 4]
call fcn.004aebf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aedec
lea eax, [ebp - 8]
call fcn.0040647c
ret

Function at 0x4aee84
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4aee97
or esi, 2
test dl, dl
je 0x4aeea0
or esi, 0
jmp 0x4aeea3
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x4afac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404e08
xor eax, eax
push ebp
push 0x4afc18
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4acadc]
call fcn.00416118
test eax, eax
jl 0x4afb27
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.004aee68
and eax, 0x7f
mov eax, dword [eax*4 + 0x4d7d24]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4afb8a
mov eax, dword [ebx]
call fcn.00404c18
test eax, eax
jle 0x4afb8a
mov eax, dword [ebx]
call fcn.00404c18
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4afb4e
mov eax, ebx
mov edx, 0x4afc30
call fcn.00404c20
mov eax, dword [ebx]
call fcn.00404c18
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405794
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.004aed64
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4afbd5
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d7e98]
call fcn.00406940
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040a348
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004049ac
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x408068]
call fcn.0040cd3c
call fcn.004042cc
mov eax, dword [ebp - 8]
call fcn.004afa38
mov ebx, eax
test edi, edi
je 0x4afbea
mov eax, edi
call fcn.00403aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afc1f
lea eax, [ebp - 0x1c]
call fcn.00404958
lea eax, [ebp - 0x18]
call fcn.0040647c
lea eax, [ebp - 0x14]
call fcn.00404958
lea eax, [ebp - 4]
call fcn.00404958
ret
Function at 0x4b1318
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b1482
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d8394]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4d8394]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0048b638
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0044bd44
xor edx, edx
push ebp
push 0x4b1465
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4b13d5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.0040647c
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004af480
push eax
mov eax, dword [0x4d81bc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4b13cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404378
jmp 0x4b146c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1411
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0044b8f8
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004b11a8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4b13ed
push 0
mov edx, 0x4b1140
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0044b478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b146c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0044bd90
mov eax, dword [0x4d8394]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0048b638
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1489
lea eax, [ebp - 0x10]
call fcn.0040647c
ret
Function at 0x4c0804
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404e08
xor eax, eax
push ebp
push 0x4c09ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x4c0926
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c64
mov eax, dword [ebp - 0x1c]
call fcn.00409968
test al, al
je 0x4c0926
push 0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2ce
call fcn.004097d0
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c64
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
pop eax
call fcn.0040a348
push dword [ebp - 0x24]
push 0x4c0a08
lea edx, [ebp - 0x38]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2cf
call fcn.004097d0
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404cd8
mov eax, dword [ebp - 0x20]
mov cx, word [0x4c0a0c]
mov dl, 3
call fcn.00434968
mov word [ebp - 0x12], ax
cmp dword [ebp + 0xc], 0
je 0x4c090e
mov eax, dword [ebp + 0xc]
call fcn.004c4438
cmp word [ebp - 0x12], 7
je 0x4c09bf
cmp word [ebp - 0x12], 8
jne 0x4c0926
mov eax, dword [ebp + 8]
mov byte [eax], 1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0048f69c
mov eax, dword [ebp - 0x18]
call fcn.00404e18
push eax
call sub.kernel32.dll_GetDriveTypeA
not eax
cmp eax, 4
jne 0x4c09b1
mov eax, dword [ebp - 0x18]
call fcn.0048f61c
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 8]
jae 0x4c09b1
push 0
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2cd
call fcn.004097d0
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x50]
mov ecx, 1
pop eax
call fcn.0040a348
mov eax, dword [ebp - 0x3c]
mov cx, word [0x4c0a10]
mov dl, 1
call fcn.00434968
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4c09bf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c09f6
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.0040497c
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.0040497c
lea eax, [ebp - 0xc]
call fcn.00404958
ret
Function at 0x4ccfd4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4ccfdd
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404e08
xor eax, eax
push ebp
push 0x4cd1e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x4cd0fc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.004c3f2c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404c64
mov eax, dword [ebp - 0x1c]
call fcn.00409968
test al, al
je 0x4cd0fc
push 0
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.004c3f2c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.00404c64
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2ce
call fcn.004097d0
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
pop edx
call fcn.0040a348
push dword [ebp - 0x28]
push 0x4cd1fc
lea edx, [ebp - 0x40]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2cf
call fcn.004097d0
push dword [ebp - 0x40]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404cd8
mov eax, dword [ebp - 0x24]
mov cx, word [0x4cd200]
mov dl, 3
call fcn.00434968
mov word [ebp - 0x12], ax
cmp dword [ebp + 0xc], 0
je 0x4cd0e4
mov eax, dword [ebp + 0xc]
call fcn.004c4438
cmp word [ebp - 0x12], 7
je 0x4cd1a4
cmp word [ebp - 0x12], 8
jne 0x4cd0fc
mov eax, dword [ebp + 8]
mov byte [eax], 1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0048f69c
mov eax, dword [ebp - 0x18]
call fcn.00404e18
push eax
call sub.kernel32.dll_GetDriveTypeA
not eax
cmp eax, 4
jne 0x4cd192
mov eax, dword [ebp - 0x18]
call fcn.0048f61c
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 8]
jae 0x4cd192
push 0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.004c3f2c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x4d81c0]
mov eax, dword [eax]
add eax, 0x2cd
call fcn.004097d0
mov eax, dword [ebp - 0x5c]
mov ecx, 1
pop edx
call fcn.0040a348
mov eax, dword [ebp - 0x44]
mov cx, word [0x4cd204]
mov dl, 1
call fcn.00434968
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4cd1a4
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd1e8
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040497c
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.0040497c
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.0040497c
lea eax, [ebp - 0xc]
call fcn.00404958
ret
Function at 0x4d2758
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d27d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0x4d27e4
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.004031e4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409a4c
push dword [ebp - 0x10]
push 0x4d27f4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cd8
mov eax, dword [ebp - 0xc]
call fcn.00404e18
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d27d7
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040497c
ret
Function at 0x419cf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
shr ecx, 2
je 0x419d10
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [eax]
add eax, 4
xor esi, edx
dec ecx
mov dword [eax - 4], esi
jne 0x419d02
pop esi
ret
Function at 0x41ad70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1050
call fcn.0041f2e0
lea eax, [esp + 0x1054]
push 4
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0041bac0
add esp, 0xc
test eax, eax
je 0x41ada0
mov ax, 1
add esp, 0x1050
ret
mov edx, 0x1010101
push esi
mov esi, dword [esp + 0x1060]
mov dword [esp + 4], edx
push edi
mov edi, dword [esp + 0x1060]
mov dword [esp + 0xc], edx
cmp di, 8
jb 0x41ade9
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push esi
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.0041b5f0
add esp, 8
add edi, 0xfff8
add esi, 8
jmp 0x41adbd
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0041b120
add esp, 8
test di, di
jbe 0x41ae1d
lea ecx, [esp + 8]
push ebx
sub ecx, esi
mov eax, esi
and edi, 0xffff
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec edi
jne 0x41ae0f
pop ebx
pop edi
xor ax, ax
pop esi
add esp, 0x1050
ret

Function at 0x41bac0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov ecx, 0x12
mov esi, 0x42b670
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x48]
mov ecx, 0x100
mov esi, 0x42b6b8
xor edx, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x448]
mov ecx, 0x100
mov esi, 0x42bab8
mov ebp, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x848]
mov ecx, 0x100
mov esi, 0x42beb8
mov dword [esp + 0x20], 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0xc48]
mov ecx, 0x100
mov esi, 0x42c2b8
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, 4
mov ecx, dword [esp + 0x24]
xor eax, eax
shl esi, 8
mov al, byte [edx + ecx]
or esi, eax
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x28]
dec edi
jne 0x41bb31
mov edi, dword [ebp]
mov eax, dword [esp + 0x20]
xor edi, esi
mov dword [ebp], edi
add ebp, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x41bb2a
xor ecx, ecx
mov esi, ebx
mov dword [esp + 0x10], ecx
mov edi, 9
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.0041b120
mov ecx, dword [esp + 0x19]
mov edx, dword [esp + 0x1a]
xor eax, eax
and ecx, 0xff
mov ah, byte [esp + 0x18]
and edx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x1b]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
and ecx, 0xff
and edx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x1e]
mov dword [esi], eax
mov eax, dword [esp + 0x1d]
shl edx, 8
and eax, 0xff
and ecx, 0xff
or edx, eax
mov eax, dword [esp + 0x1f]
shl edx, 8
or edx, ecx
and eax, 0xff
shl edx, 8
or edx, eax
add esp, 8
mov dword [esi + 4], edx
add esi, 8
dec edi
jne 0x41bb71
lea ecx, [esp + 0x10]
lea eax, [ebx + 0x48]
push ecx
push eax
push ebx
call fcn.0041bc50
lea edx, [esp + 0x1c]
lea eax, [ebx + 0x448]
push edx
push eax
push ebx
call fcn.0041bc50
lea eax, [esp + 0x28]
push eax
lea eax, [ebx + 0x848]
push eax
push ebx
call fcn.0041bc50
lea ecx, [esp + 0x34]
lea eax, [ebx + 0xc48]
push ecx
push eax
push ebx
call fcn.0041bc50
add esp, 0x30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x470ea6
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b298
push 0x4724ec
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x35
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.004726e0
add esp, 4
test eax, eax
je 0x470eea
mov ecx, eax
call fcn.00472190
mov dword [ebp - 0x1c], eax
jmp 0x470ef1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.004720f0
test eax, eax
je 0x470f32
cmp dword [ebp - 0x1c], 0
je 0x470f28
mov ecx, dword [ebp - 0x1c]
call fcn.00472200
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004726f0
add esp, 4
mov eax, 0x7895
jmp 0x471065
wait
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00471880
mov ecx, dword [ebp - 0x1c]
call fcn.004713d0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
call fcn.00471700
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x470f90
mov esi, eax
test esi, esi
je 0x470f7e
mov ecx, esi
call fcn.00472200
push esi
call fcn.004726f0
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x471065
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x470fac
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004711a0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x470ff0
mov esi, eax
test esi, esi
je 0x470fe1
mov ecx, esi
call fcn.00472200
push esi
call fcn.004726f0
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x471065
cmp dword [ebp - 0x2c], 0
jne 0x470ffc
mov eax, dword ds:[0]
mov ecx, dword [ebp - 0x1c]
call fcn.00471570
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x7895
wait
jmp 0x471034
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x471048
mov dword [ebp - 0x20], 0x7895
cmp dword [ebp - 0x1c], 0
je 0x471062
mov ecx, dword [ebp - 0x1c]
call fcn.00472200
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004726f0
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x471080
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ecx + 0xc], 0x45f479d7
mov dword [ecx], 0
mov esi, ecx
mov dword [ecx + 0x18], 0xf3cb3e57
mov dword [esi + 0x1c], 0x40092ee0
mov dword [esi + 8], 0x75bbf938
mov dword [esi + 0x10], 0xfd3371b0
mov dword [esi + 0x20], 0x8a4406c7
mov dword [esi + 0x24], 0x2cc8e4f
mov dword [esi + 0x28], 0xd12c3bc9
mov dword [esi + 0x30], 0xebcc478b
mov dword [esi + 0x34], 0x489225be
mov dword [esi + 0x38], 0xafda13f8
mov dword [esi + 0x10], 0x3f4cdc6c
mov dword [esi + 0x28], 0xea71e659
mov dword [esi + 8], 0x1d6efe4e
mov dword [esi + 0x30], 0x5a92a305
mov dword [esi + 0x34], 0x412b44f5
xor eax, eax
mov ecx, eax
inc eax
xor ecx, 0x3c2d1e0f
cmp eax, 0x1e
not ecx
mov dword [esi + eax*4 + 0x38], ecx
jl 0x4710fc
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov edx, eax
or edx, edi
and eax, edi
and edx, dword [esi + 0x10]
or edx, eax
mov eax, ecx
shl eax, 5
shr ecx, 0x1b
or eax, ecx
add edx, eax
mov eax, edi
shr eax, 2
add edx, dword [esi + 0x24]
shl edi, 0x1e
add edx, 0x5a837999
or eax, edi
add dword [esi + 0x20], edx
mov dword [esi + 0x38], eax
call fcn.00470e70
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 8]
xor ecx, dword [esi + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
xor ecx, edi
mov edx, eax
shl edx, 5
shr eax, 0x1b
or edx, eax
mov eax, edi
shr eax, 2
add ecx, edx
shl edi, 0x1e
add ecx, dword [esi + 0x24]
add ecx, 0x5a837999
or eax, edi
pop edi
add dword [esi + 0x10], ecx
mov dword [esi + 0x28], eax
mov eax, esi
pop esi
ret

Function at 0x4717a0
Capabilities:
Resolve function by hash

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
push edi
push 0xec0e4e8e
call fcn.00471490
mov ecx, dword [esi + 0x14]
push edi
push 0xffd97fb
mov dword [ecx], eax
call fcn.00471490
mov ecx, dword [esi + 0x14]
push edi
push 0x7c0017a5
mov dword [ecx + 4], eax
call fcn.00471490
mov ecx, dword [esi + 0x14]
push edi
push 0x4dc9d5a0
mov dword [ecx + 8], eax
call fcn.00471490
mov ecx, dword [esi + 0x14]
lea edx, [esp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x46ab24]
mov edi, dword [0x46ab28]
mov ecx, 0x46ab24
push edx
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 4], edi
mov cl, byte [ecx + 0xc]
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
mov ecx, esi
call fcn.004716b0
mov ecx, dword [esi + 0x14]
lea eax, [esp + 8]
push eax
mov edx, dword [ecx]
mov dword [0x46aaf0], edx
call fcn.004714f0
mov dword [esi], eax
test eax, eax
je 0x47186d
push eax
push 0xa84aeb81
call fcn.00471490
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
push eax
push 0xfcba95ab
call fcn.00471490
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esi]
push edx
push 0x35e273e6
call fcn.00471490
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
pop edi
pop esi
add esp, 0x10
ret 4