joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53505c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x535073
add esp, 0xfffffff0
call fcn.0040593c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00454f64
mov eax, dword [0x77b314]
cmp byte [eax], 0
jne 0x5350a0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x77ba28]
cmp word [eax + 2], 0
jne 0x5350ba
mov eax, dword [0x77ba28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00537250
mov eax, dword [0x77bc90]
cmp word [eax + 2], 0
jne 0x5350d4
mov eax, dword [0x77bc90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00537454
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x467fd0]
call fcn.0046e248
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5379cc
mov dl, 1
mov eax, dword [0x439b7c]
call fcn.00405300
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x439b7c]
call fcn.00405300
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46cb28]
call fcn.00477be0
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5352b8
mov eax, dword [0x77b76c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00478070
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x537cb4
mov dl, 1
mov eax, dword [0x439b7c]
call fcn.00405300
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x77b76c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00421484
test eax, eax
je 0x5351e8
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00421234
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00421468
test eax, eax
je 0x535200
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407f3c
push ebx
push 0x536c28
call fcn.0052ac14
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x77b314]
cmp byte [eax], 0
jne 0x535251
mov eax, ebx
call fcn.00535478
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00537efc
mov eax, ebx
call fcn.00538b28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5352ae
call fcn.00405994
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5357b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x53585c
cmp dword [ebx + 0x98], 0
jne 0x535856
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5356e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x535856
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x53581c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x535856
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.004477ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x53582b
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x535a7c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x78232c]
cmp dword [eax + 0x178], 0
je 0x535be1
test bl, bl
jne 0x535b2f
cmp dword [esi + 0xa0], 0
jne 0x535b24
mov eax, esi
call fcn.00538978
push eax
push 0x535988
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x535af5
mov eax, dword [0x78232c]
cmp byte [eax + 0xd7], 0
je 0x535af5
mov eax, dword [esi + 0xdc]
call fcn.0040920c
mov edi, eax
cmp edi, 0
jl 0x535af5
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x535ade
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x535b24
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004477ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x535b04
inc dword [esi + 0xa0]
jmp 0x535be1
cmp dword [esi + 0xa0], 0
jle 0x535be1
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x535be1
cmp dword [esi + 0x48], 0
je 0x535b8c
mov eax, dword [0x78232c]
cmp byte [eax + 0xd7], 0
je 0x535b8c
mov eax, dword [esi + 0xdc]
call fcn.0040920c
mov edi, eax
cmp edi, 0
jl 0x535b8c
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x535b75
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x535bbb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004477ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x535b9b
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x5275b4]
call fcn.004093b8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x536834
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x53689f
cmp byte [ebx + 0xd7], 0
jne 0x53689f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407120
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x53688c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5368ac
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407378
jmp 0x5368ac
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407378
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x5380e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x538152
mov eax, esi
call fcn.0049f384
test al, al
je 0x538152
mov eax, dword [ebx + 0x88]
call fcn.0049efd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x538152
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x538146
push 0
mov eax, dword [ebx + 0x88]
call fcn.0049efd0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00495db4
jmp 0x538152
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00537f1c
pop esi
pop ebx
ret
Function at 0x544ab8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
push ecx
mov edi, edx
mov esi, eax
mov byte [edi], 0
mov byte [esp], 0
mov eax, esi
cdq
xor eax, edx
sub eax, edx
test eax, eax
jl 0x544ae2
cmp eax, 0x80
jge 0x544ae2
and al, 0xff
mov byte [edi], al
mov byte [esp], 1
jmp 0x544b00
mov dl, 0x80
mov eax, 0x74731c
movsx ecx, word [eax]
cmp esi, ecx
jne 0x544af8
mov byte [edi], dl
mov byte [esp], 1
jmp 0x544b00
inc edx
add eax, 2
test dl, dl
jne 0x544ae9
movzx eax, byte [esp]
pop edx
pop edi
pop esi
ret

Function at 0x548250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x34]
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 1
xor eax, eax
push ebp
push 0x54834d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, ecx
test esi, esi
jl 0x5482cb
inc esi
mov ebx, edx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0054821c
mov eax, dword [ebx]
cmp eax, dword [ebp - 0xc]
je 0x5482c5
mov byte [ebp - 5], 0
jmp 0x5482cb
add ebx, 4
dec esi
jne 0x5482ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548354
cmp byte [ebp - 5], 0
jne 0x54830f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
movzx edx, word [ebp - 0x12]
mov word [eax + 0x34], dx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x2c], edx
jmp 0x548345
mov eax, dword [ebp - 4]
mov word [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jne 0x548345
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x20]
jne 0x548345
mov eax, dword [ebp - 4]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 0
ret

Function at 0x548bf8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathW
push esp
push 0
push 0x548c34
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00407f3c
add esp, 0x20c
pop ebx
ret
Function at 0x5534e8
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5534f1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x553748
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x77ba6c]
xor ecx, ecx
mov eax, esi
call fcn.00553dec
test al, al
je 0x55353f
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov dl, 1
mov eax, esi
call fcn.00551a64
mov dl, 1
mov eax, esi
call fcn.00553d88
mov eax, dword [ebp - 4]
call fcn.00406fe0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407de0
xor edx, edx
mov eax, esi
call fcn.00552c0c
mov edi, eax
cmp di, 0x25
je 0x553705
cmp di, 0x3c
je 0x553705
cmp di, 0x3e
je 0x553705
cmp di, 0x26
je 0x553705
cmp di, 0x2c
je 0x553705
cmp di, 0x7c
je 0x553705
cmp di, 0x2a
je 0x553705
cmp di, 0x2b
je 0x553705
cmp di, 0x3f
je 0x553705
cmp di, 0x29
je 0x553705
cmp di, 0x3d
je 0x553705
cmp di, 0x27
je 0x553705
cmp di, 0x22
je 0x553705
cmp di, 0x5b
je 0x553705
cmp di, 0x20
je 0x553705
cmp di, 9
je 0x553705
cmp di, 0xa
je 0x553705
cmp di, 0xd
je 0x553705
cmp di, 0x3b
je 0x553705
cmp di, 0x2f
je 0x553705
test di, di
je 0x553705
cmp di, 1
je 0x553705
mov edx, edi
mov eax, ebx
call fcn.005463e8
test al, al
je 0x553688
mov eax, dword [ebp - 0xc]
add eax, 2
cmp eax, dword [ebp - 8]
jle 0x55366f
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407de0
mov eax, esi
call fcn.00553d7c
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov word [eax + edx*2 - 2], di
jmp 0x5536fe
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x30]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x78]
call fcn.00547dd4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00407f8c
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x77b9cc]
call fcn.0040b004
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, edi
call fcn.00407ea8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0041f734
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00408094
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00407f8c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x2c]
mov dl, 1
mov eax, dword [0x546b24]
call fcn.00546d64
call fcn.004066b0
xor ebx, ebx
jmp 0x55355e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00407de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55374f
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00406ff8
lea eax, [ebp - 0x1c]
call fcn.00406fe0
lea eax, [ebp - 0x18]
call fcn.00406f98
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407058
ret
Function at 0x5797a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5797b8
add esp, 0xfffffff0
call fcn.0040593c
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5798d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404638
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5798bc
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004c3ac8
xor eax, eax
push ebp
push 0x5798a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004c3ac8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407f78
jmp 0x57987a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004082a4
mov eax, dword [ebx + 4]
call fcn.00407490
dec eax
jle 0x57988e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x579868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5798b0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5798d9
lea eax, [ebp - 4]
call fcn.00406fe0
ret
Function at 0x57e110
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x57e26b
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 2
mov eax, dword [0x77c000]
cmp dword [eax + 0xc], 1
jne 0x57e159
mov eax, dword [0x77c000]
cmp dword [eax + 0x10], 2
jne 0x57e159
mov eax, dword [0x77c000]
cmp dword [eax + 0x14], 3
jne 0x57e159
mov bl, 3
jmp 0x57e255
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00404ac8
mov eax, dword [ebp - 0x10]
call fcn.00407e90
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x57e249
cmp byte [ebp - 1], 0
je 0x57e1ae
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov edx, dword [0x77c000]
cmp eax, dword [edx + 0x10]
je 0x57e1ae
mov bl, 1
jmp 0x57e241
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
test edi, edi
je 0x57e241
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x57e23b
mov dword [ebp - 0xc], 0xfff00fff
mov ecx, dword [0x77c000]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.0057e27c
mov edx, dword [0x77c000]
mov edx, dword [edx + 0x10]
mov eax, dword [0x77c000]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x24
sub edx, ecx
push edx
mov edx, dword [ebp - 8]
lea edx, [edx + eax + 0x24]
lea eax, [ebp - 0xc]
pop ecx
call fcn.0057e27c
mov eax, dword [0x77c000]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
not edx
cmp eax, edx
jne 0x57e232
xor ebx, ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push edi
call sub.kernel32.dll_CloseHandle_1
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x57e255
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x57e255
mov bl, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e272
lea eax, [ebp - 0x10]
call fcn.00406f98
ret

Function at 0x57e27c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jl 0x57e29e
inc ecx
movzx ebx, byte [eax]
xor bl, byte [edx]
mov esi, dword [eax]
shr esi, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x7474c8]
mov dword [eax], esi
inc edx
dec ecx
jne 0x57e284
pop esi
pop ebx
ret
Function at 0x5a14ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9b4
push ebx
xor eax, eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 4], eax
mov ebx, 0x78248c
xor eax, eax
push ebp
push 0x5a15a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x646]
push eax
push 0x321
call sub.kernel32.dll_GetTempPathW
lea edx, [ebp - 0x646]
lea ecx, [ebp - 4]
xchg ecx, eax
call fcn.00407120
push dword [ebp - 4]
lea eax, [ebp - 0x64c]
call fcn.005a145c
push dword [ebp - 0x64c]
push 0x5a15c0
mov eax, ebx
mov edx, 3
call fcn.00408174
mov dl, 1
mov eax, dword [ebx]
call fcn.004208a0
test al, al
jne 0x5a1534
mov eax, dword [ebx]
call fcn.004211cc
test al, al
jne 0x5a1587
mov ecx, 0x5a15d8
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00425db0
call fcn.004066b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a15af
lea eax, [ebp - 0x64c]
call fcn.00406f98
lea eax, [ebp - 4]
call fcn.00406f98
ret

Function at 0x5a1694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
xor edx, edx
mov dword [ebp - 0x808], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a172c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x804]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathW
lea edx, [ebp - 0x804]
lea ecx, [ebp - 4]
xchg ecx, eax
call fcn.00407120
push dword [ebp - 4]
lea eax, [ebp - 0x808]
call fcn.005a145c
push dword [ebp - 0x808]
push 0x5a1744
mov eax, ebx
mov edx, 3
call fcn.00408174
mov eax, dword [ebx]
mov dl, 1
call fcn.00420808
test al, al
jne 0x5a16d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a1733
lea eax, [ebp - 0x808]
call fcn.00406f98
lea eax, [ebp - 4]
call fcn.00406f98
ret
Function at 0x5c01e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5c0212
mov eax, ebx
call fcn.005c0ca0
cmp dword [ebx + 0x40], 0
je 0x5c020b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5c0283
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5c0275
cmp dword [ebx + 8], 0
je 0x5c0234
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 0x5c0246
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5c0275
cmp dword [ebx + 8], 0
je 0x5c0227
cmp eax, 3
je 0x5c0259
dec eax
jne 0x5c0227
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 0x5c0227
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5c0227
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5c02a1
cmp dword [ebx + 0x14], 0xcc
je 0x5c02a1
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.005c02ac
pop ebx
ret

Function at 0x5dcd18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x78292c], 0
jne 0x5dcd2f
call fcn.005dccd4
mov eax, edi
dec eax
test eax, eax
jl 0x5dcd57
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x78252c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5dcd39
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5dfa28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5dfac2.0
jmp dword [ecx*4 + 0x5dfa5b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5dfa8d
sub dl, 8
je 0x5dfa9c
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df6f4
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df748
jmp case.0x5dfac2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5dfac2.0
movzx ecx, byte [ecx + 0x5dfac9]
jmp dword [ecx*4 + 0x5dfada]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df7e8
jmp case.0x5dfac2.0
cmp dl, 3
jne 0x5dfb07
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df840
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df7fc
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df884
jmp case.0x5dfac2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5dfb32
sub dl, 8
je 0x5dfb3e
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df8b0
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df914
jmp case.0x5dfac2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5dfb5d
sub dl, 8
je 0x5dfb69
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df9c4
jmp case.0x5dfac2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5df9ec
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5dfc0b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005dec30
test eax, eax
je 0x5dfc0b
mov eax, ebx
call fcn.005dfc14
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5dfba4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8