joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa638016
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0xa63807b
cmp eax, 0x7c
je 0xa63807b
push ebx
mov edx, 0x10000000
cmp eax, 0x29
jne 0xa63807f
cmp dword [esi + 0x10], 0
jne 0xa63807a
test dword [esi + 0x50], edx
je 0xa638177
cmp eax, 0x5d
jne 0xa638050
test dword [esi + 0x50], edx
je 0xa63816b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0a63799e
mov ecx, esi
call fcn.0a639ecf
mov ecx, esi
call fcn.0a639f0f
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0xa63807a
cmp eax, 0x7c
jne 0xa638029
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0xa638090
push 5
lea ecx, [esi + 0x24]
call fcn.0a639e91
jmp 0xa63805d
cmp eax, 0x5c
jne 0xa6380dc
mov ecx, esi
call fcn.0a639ecf
test byte [esi + 0x50], 0x80
je 0xa6380d3
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0xa6380bc
push 4
lea ecx, [esi + 0x24]
call fcn.0a639e91
mov ecx, esi
call fcn.0a639ecf
jmp 0xa63806b
cmp al, 0x42
jne 0xa6380d3
push 4
lea ecx, [esi + 0x24]
call fcn.0a639e91
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0xa6380b3
mov ecx, esi
call fcn.0a638181
jmp 0xa638064
cmp eax, 0x5b
jne 0xa6380ff
mov ecx, esi
call fcn.0a639ecf
mov ecx, esi
call fcn.0a63877b
push 4
push 0x5d
mov ecx, esi
call fcn.0a639617
jmp 0xa638064
cmp eax, 0x28
jne 0xa63812c
mov ecx, esi
call fcn.0a639ecf
mov ecx, esi
call fcn.0a63a29d
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0a639617
test bl, bl
je 0xa63806b
jmp 0xa638064
cmp eax, 0x5e
jne 0xa638138
push 2
jmp 0xa6380ab
cmp eax, 0x24
jne 0xa638144
push 3
jmp 0xa6380ab
cmp eax, 0x2a
je 0xa63816f
cmp eax, 0x2b
je 0xa63816f
cmp eax, 0x3f
je 0xa63816f
cmp eax, 0x7b
je 0xa63816f
cmp eax, 0x7d
jne 0xa638042
test dword [esi + 0x50], edx
je 0xa638173
jmp 0xa638050
push 4
jmp 0xa638179
push 0xa
jmp 0xa638179
push 6
jmp 0xa638179
push 5
mov ecx, esi
call fcn.0a6395e1
int3

Function at 0xa639634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0xa639657
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0xa639645
mov eax, ecx
pop esi
pop ebp
ret

Function at 0xa63c410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [0xa401014]
add esp, 8
popal
ret
Function at 0xa63c45c
Capabilities:
Packed with generic packer

Disassembly:
push 0
mov eax, 0xa73873f
call fcn.0a707bc9
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6f0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e6a8]
cmp eax, dword [ecx + 0x3050]
jg 0xa63c49b
pushal
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0xa41e6a4]
add esp, 4
popal
call fcn.0a707b97
ret
mov esi, 0xa41e6a8
push esi
call fcn.0a7080fc
cmp dword [0xa41e6a8], 0xffffffff
pop ecx
jne 0xa63c484
and dword [ebp - 4], 0
call fcn.0a63e3f9
test al, al
mov edx, 0x608c10
mov ecx, 0x556e30
cmovne ecx, edx
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0xa41e6a4], ecx
call fcn.0a7080ab
pop ecx
jmp 0xa63c484

Function at 0xa63c707
Capabilities:
Packed with generic packer

Disassembly:
pushal
push dword [esp + 0x28]
mov eax, dword [esp + 0x28]
call dword [0xa401008]
add esp, 4
popal
ret

Function at 0xa63c749
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0xa63c7c3
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0xa63c7bc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0xa63c7bc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
inc eax
push eax
call fcn.0a712510
mov esi, dword [0xa41e4f4]
mov ebx, eax
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 8]
push ebx
call esi
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0xa58f058
push ebx
call fcn.0a7124f2
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0xa63c9f2
Capabilities:
Packed with generic packer

Disassembly:
push 4
mov eax, 0xa73876d
call fcn.0a707bc9
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6f0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e6a0]
cmp eax, dword [ecx + 0x3050]
jg 0xa63ca3b
and dword [ebp - 0x10], 0
pushal
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call dword [0xa41e69c]
add esp, 4
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
call fcn.0a707b97
ret
mov esi, 0xa41e6a0
push esi
call fcn.0a7080fc
cmp dword [0xa41e6a0], 0xffffffff
pop ecx
jne 0xa63ca1a
and dword [ebp - 4], 0
call fcn.0a63e3f9
test al, al
mov edx, 0x585400
mov ecx, 0x4ca450
cmovne ecx, edx
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0xa41e69c], ecx
call fcn.0a7080ab
pop ecx
jmp 0xa63ca1a

Function at 0xa63ee44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret
Function at 0xa63ef59
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0x28
mov eax, 0xa738967
call fcn.0a707bfc
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [esi], 0xa58f154
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
push esi
call fcn.0a63fcd5
lea ecx, [esi + 0x18]
push esi
call fcn.0a63fd10
lea ecx, [esi + 0x20]
push esi
call fcn.0a63e46e
lea ecx, [esi + 0x28]
push esi
call fcn.0a63fbed
lea ecx, [esi + 0x30]
push esi
call fcn.0a63e82f
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6f0]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e6b8]
cmp eax, dword [ecx + 0x3050]
jg 0xa63f052
xor eax, eax
inc eax
lock xadd dword [0xa41e6ac], eax
inc eax
sub eax, 1
jne 0xa63eff7
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jne 0xa63f08c
push 0xa58f19c
lea ecx, [ebp - 0x28]
call fcn.0a632a6c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push 0x2af8
push eax
call fcn.0a63fafa
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0a6311be
push 0xa58f1b8
lea ecx, [ebp - 0x28]
call fcn.0a632a6c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.0a63fafa
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0a6311be
mov eax, esi
call fcn.0a707bab
ret
mov edi, 0xa41e6b8
push edi
call fcn.0a7080fc
cmp dword [0xa41e6b8], 0xffffffff
pop ecx
jne 0xa63efd7
lea ecx, [ebp - 0x29]
mov byte [ebp - 4], 2
call fcn.0a63f1ed
push edi
mov dword [0xa41e6b4], eax
mov byte [ebp - 4], 1
call fcn.0a7080ab
pop ecx
jmp 0xa63efd7
push 0xa58f174
lea ecx, [ebp - 0x1c]
call fcn.0a63c2ce
push 0xa623890
lea eax, [ebp - 0x1c]
push eax
call fcn.0a7096de
int3

Function at 0xa63fafa
Capabilities:
Set registry value

Disassembly:
push 0x3c
mov eax, 0xa738a84
call fcn.0a707bfc
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push 0xa58f224
push eax
call fcn.0a6357e1
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
push 0xf003f
push esi
push eax
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa63fb8b
lea ecx, [ebp - 0x48]
call fcn.0a68c29e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.0a68c47e
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push esi
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.0a6311be
lea ecx, [ebp - 0x40]
call fcn.0a6311be
call fcn.0a707bab
ret
Function at 0xa641064
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
mov eax, 0xa738d11
call fcn.0a707bfc
mov esi, ecx
push dword [esi]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], edi
call fcn.0a640e47
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0xa6411f7
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0a63e6c4
lea ecx, [ebp - 0x2c]
call fcn.0a68c2b2
test al, al
je 0xa6411f7
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a64153e
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a641230
lea ecx, [ebp - 0x2c]
call fcn.0a68c531
cmp dword [eax + 0xac], 0
je 0xa641173
mov ecx, edi
call fcn.0a68c531
mov ecx, edi
mov esi, eax
call fcn.0a68c2af
add eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.0a68c531
mov ecx, edi
mov esi, eax
call fcn.0a68c2af
mov edx, dword [ebp - 0x34]
mov edi, eax
add edi, dword [esi + 0xa8]
mov ecx, dword [edx + 8]
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
sub esi, dword [edi]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, 0x2000
mov dword [ebp - 0x38], ecx
cmp esi, eax
ja 0xa641209
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 4
push eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp - 0x38]
push esi
push dword [edi]
push dword [eax + ecx*4]
call fcn.0a709750
mov eax, dword [ebp - 0x34]
push esi
push dword [edi]
push dword [eax]
call fcn.0a709750
mov edi, dword [ebp - 0x30]
add esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0a68c518
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x2c]
call fcn.0a68c531
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
call fcn.0a68c531
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x68], esi
mov dword [eax + 0x6c], edi
call fcn.0a68c518
lea ecx, [ebp - 0x2c]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
add eax, 0xf8
push eax
call fcn.0a68c518
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0a68c518
push eax
call fcn.0a709750
mov ecx, dword [ebp - 0x30]
add esp, 0xc
call fcn.0a68c2af
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0a68c5d7
lea ecx, [ebp - 0x28]
add esi, eax
call fcn.0a6311be
mov eax, esi
jmp 0xa641201
lea ecx, [ebp - 0x28]
call fcn.0a6311be
xor eax, eax
call fcn.0a707bab
ret 4
push eax
push esi
push 0xa58f568
call fcn.0a68d41e
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.0a63c2ce
push 0xa623890
lea eax, [ebp - 0x4c]
push eax
call fcn.0a7096de
int3
Function at 0xa6414bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.0a68c2af
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov ecx, dword [ebp + 0xc]
add ebx, dword [edi + 0xc]
call fcn.0a68c2af
add eax, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
call fcn.0a68c2af
add eax, 0xa000000
cmp ebx, eax
jae 0xa641522
mov esi, dword [edi + 0x10]
test esi, esi
je 0xa64151d
cmp dword [edi + 8], esi
cmovb esi, dword [edi + 8]
push esi
push dword [ebp + 0x10]
push ebx
call fcn.0a709750
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
leave
ret
push 0xa58f5a8
lea ecx, [ebp - 0xc]
call fcn.0a63c2ce
push 0xa623890
lea eax, [ebp - 0xc]
push eax
call fcn.0a7096de
int3

Function at 0xa64284a
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 8]
and dword [ebp - 8], 0
push 0xa58f8c0
push eax
lea eax, [ebp - 4]
push eax
call fcn.0a712d77
add esp, 0xc
test eax, eax
jne 0xa642890
cmp dword [ebp - 4], eax
je 0xa642890
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push dword [ebp - 4]
call fcn.0a70d852
pop ecx
leave
ret

Function at 0xa64458e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
pushal
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0xa51e6e8]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa645948
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6f0]
push ebx
xor ebx, ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa51e7a4]
cmp eax, dword [ecx + 0x3050]
jg 0xa645985
jmp 0xa64596a
pop esi
cmp dword [0xa51e7a0], ebx
je 0xa645981
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xa645981
mov bl, 1
mov al, bl
pop ebx
ret
push esi
mov esi, 0xa51e7a4
push esi
call fcn.0a7080fc
pop ecx
cmp dword [0xa51e7a4], 0xffffffff
jne 0xa645969
push 0xa58fc44
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xa740f26
mov dword [0xa51e7a0], eax
call fcn.0a708066
push esi
call fcn.0a7080ab
pop ecx
pop ecx
jmp 0xa645969
Function at 0xa646224
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0xa739686
call fcn.0a707bfc
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x38], esi
mov edi, esi
mov dword [ebp - 0x30], ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
xor edi, edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
inc edi
push eax
mov dword [ebp - 0x30], edi
call fcn.0a68ca2e
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0a631226
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0a6311be
lea eax, [ebp - 0x28]
push eax
call fcn.0a645f50
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0a631226
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0a6311be
lea eax, [ebp - 0x28]
push eax
call fcn.0a64638b
pop ecx
push 3
pop edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0a631226
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0a6311be
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
push ebx
push ebx
push 0xa58fc38
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0xa6462f8
lea edi, [ebp - 0x28]
mov dword [ebp - 0x30], 3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
jmp 0xa646313
push dword [ebp - 0x2c]
push 0xa58fc3c
call fcn.0a68d41e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0a632a6c
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0a631226
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, 0xf
jbe 0xa64635f
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0xa646356
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0a62f69c
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.0a707b58
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
jne 0xa646383
push ebx
push 0x20
mov ecx, esi
call fcn.0a62f719
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0xa646378
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.0a688e00
pop ecx
pop ecx
mov eax, esi
call fcn.0a707bab
ret

Function at 0xa64ca92
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret
Function at 0xa662f2d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0xa662f39
pop esi
mov eax, edx
pop ebp
ret

Function at 0xa66b62d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [ebp + 0xc]
mov word [edi], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret
Function at 0xa6848cb
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa73cb97
mov eax, dword fs:[0]
push eax
mov eax, 0x13b4
call fcn.0a7082b0
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0a66ba63
pop ecx
test al, al
jne 0xa684936
push esi
call fcn.0a66bb36
push eax
push 0xa596324
push 1
call fcn.0a64f88c
add esp, 0x10
jmp 0xa6849e9
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0a66bbc5
pop ecx
pop ecx
test eax, eax
je 0xa684954
push esi
call fcn.0a66bb36
push eax
push 0xa596348
jmp 0xa684927
push 0xa
lea eax, [ebp - 0x13bc]
push ebx
push eax
call fcn.0a68d2c8
mov eax, dword [ebp - 0x13b8]
sub eax, dword [ebp - 0x13bc]
push 0x18
pop ecx
cdq
idiv ecx
and dword [ebp - 4], 0
push eax
push 0xa596378
push 7
call fcn.0a64f88c
mov edi, dword [ebp - 0x13b8]
add esp, 0x18
mov esi, dword [ebp - 0x13bc]
mov ebx, 0xa5525b0
jmp 0xa6849a7
push esi
mov ecx, ebx
call fcn.0a68375e
add esi, 0x18
cmp esi, edi
jne 0xa68499c
call fcn.0a707400
or dword [ebp - 0x2c], 0xffffffff
lea ecx, [ebp - 0x13b0]
push 0x6c078965
push eax
call fcn.0a686509
lea eax, [ebp - 0x13b0]
mov ecx, 0xa596190
push eax
push ebx
lea eax, [ebp - 0x13c0]
push eax
call fcn.0a683728
lea ecx, [ebp - 0x13bc]
call fcn.0a634bb3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0a707b89
leave
ret 8

Function at 0xa685704
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0xa68571d
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0xa685767
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret
Function at 0xa6857df
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0xa6857e8
pop esi
ret

Function at 0xa686509
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0xa686520
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0xa686c3f
Capabilities:
Check for software breakpoints

Disassembly:
push 0x24c
mov eax, 0xa73cdbf
call fcn.0a707bfc
mov ebx, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 1
call fcn.0a686bdb
and dword [ebp - 4], 0
push edi
mov dword [ebp - 0x254], 1
call fcn.0a68c1ab
pop ecx
test al, al
jne 0xa686da5
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7cfe
push 0x20
pop eax
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7e1f
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7e41
push SysReAllocString
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0a6c7de5
add esp, 0x24
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7cc5
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7d87
pop ecx
pop ecx
cmp eax, 0x214
jne 0xa686d25
cmp byte [esi + 0x1d], 0
jne 0xa686d25
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0a6c7d95
pop ecx
pop ecx
test eax, eax
je 0xa686d1c
cmp dword [eax], 0x9f
jne 0xa686d1c
cmp word [eax + 4], 0x10
jne 0xa686d1c
movzx eax, word [eax + 0x18]
jmp 0xa686d1e
xor eax, eax
mov dword [esi + 0x18], eax
mov byte [esi + 0x1d], 1
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c7d87
pop ecx
cmp eax, 0x202
jne 0xa686d86
cmp byte [esi + 0x1c], 0
jne 0xa686d86
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0a6c7d95
pop ecx
pop ecx
cmp dword [eax], 0x9f
jne 0xa686d86
push 0x20
pop ecx
cmp word [eax + 4], cx
jne 0xa686d86
mov edi, dword [eax + 0x18]
push edi
call fcn.0a68c1f1
pop ecx
test al, al
jne 0xa686d86
push edi
mov ecx, ebx
call fcn.0a686df2
test al, al
je 0xa686d86
push edi
mov ecx, esi
call fcn.0a680591
mov byte [esi + 0x1c], 1
mov eax, dword [ebp - 0x108]
cmp byte [eax], 0xcc
je 0xa686da5
cmp byte [esi + 0x1d], 0
je 0xa686ccc
cmp byte [esi + 0x1c], 0
je 0xa686ccc
mov eax, esi
call fcn.0a707bab
ret 8