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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4210b0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x410922
cmp byte [ebx], 0xa
jne 0x410922
or byte [eax + edi + 0x28], 4
jmp 0x410927
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x410a25
mov al, byte [edx]
cmp al, 0x1a
je 0x410a07
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x410956
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41097b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x410985
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x410938
jmp 0x410a25
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410a02
cmp dword [ebp - 0xc], 0
je 0x410a02
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4210b0]
test byte [eax + edi + 0x28], 0x48
je 0x4109dc
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4109c7
mov byte [esi], dl
jmp 0x4109d8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4210b0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x410a25
cmp byte [ebp - 1], 0xa
jne 0x4109eb
cmp esi, ebx
jne 0x4109eb
mov byte [esi], 0xa
jmp 0x410a24
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00410884
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x410a25
mov byte [esi], 0xd
jmp 0x410a24
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4210b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x410a21
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x410a25
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x410a2e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4210b0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x410a71
cmp word [esi], dx
jne 0x410a71
or byte [edi + eax + 0x28], 4
jmp 0x410a76
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x410bc9
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x410ba9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x410ab8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x410aee
cmp eax, edx
jae 0x410afa
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x410a90
jmp 0x410bc9
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410ba5
cmp dword [ebp - 0x14], 0
je 0x410ba5
mov eax, dword [ebx*4 + 0x4210b0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x410b7d
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x410b46
mov word [esi], cx
jmp 0x410b79
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4210b0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4210b0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4210b0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x410bc9
pop ebx
cmp word [ebp - 4], bx
jne 0x410b8e
cmp esi, dword [ebp + 0xc]
jne 0x410b8e
mov word [esi], bx
jmp 0x410bc6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00410884
add esp, 0x10
cmp word [ebp - 4], bx
je 0x410bc9
push 0xd
jmp 0x410bc2
mov ecx, dword [ebx*4 + 0x4210b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x410bc0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x410bc9
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4113ea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041125b
Function at 0x4127f3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x412890
push ebx
push esi
call fcn.004127bc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00412705
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41283d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41288f
push edi
push eax
call fcn.0040fd14
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41285d
call fcn.0040fa96
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41288e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00412705
add esp, 0x20
test eax, eax
jne 0x41287c
push edi
call fcn.0040fa96
jmp 0x412884
push ebx
call fcn.0040fa96
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41363c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b240
push 0x41b238
push str.FlsAlloc
push 0x1e
call fcn.0041355a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413670
push dword [ebp + 8]
mov ecx, esi
call dword [0x419158]
call esi
jmp 0x413676
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4136ba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b250
push 0x41b248
push str.FlsGetValue
push 0x20
call fcn.0041355a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4136f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x419158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x415fd5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00415f51
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41614d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41614d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4160fc
jg 0x41602e
test eax, eax
je 0x4160f2
push 1
push 0x1000
call fcn.004113f5
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x416054
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4160e9
push 0x8000
push ebx
call fcn.0040d49d
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x416080
jg 0x41607b
cmp ecx, 0x1000
jb 0x416080
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0040ecfa
add esp, 0x10
cmp eax, 0xffffffff
je 0x4160c5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41607b
jl 0x4160ac
test ecx, ecx
jne 0x41606d
push dword [ebp - 0xc]
push ebx
call fcn.0040d49d
push esi
call fcn.0040fa96
add esp, 0xc
xor edi, edi
jmp 0x41615e
cmp byte [edi + 0x24], 0
je 0x4160dc
cmp dword [edi + 0x20], 5
jne 0x4160dc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4160e7
mov edi, dword [edi + 0x18]
jmp 0x4160e9
xor edi, edi
push esi
call fcn.0040fa96
pop ecx
jmp 0x41615e
test ecx, ecx
jg 0x4160be
jl 0x4160fc
test eax, eax
jae 0x4160be
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00410884
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41611f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4160be
jmp 0x416156
push ebx
call fcn.00412c8e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4160be
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x41615e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x41615b
mov edi, dword [edi + 0x18]
jmp 0x41615e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00410884
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417d3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417d3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xa637fd2
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0xa638037
cmp eax, 0x7c
je 0xa638037
push ebx
mov edx, 0x10000000
cmp eax, 0x29
jne 0xa63803b
cmp dword [esi + 0x10], 0
jne 0xa638036
test dword [esi + 0x50], edx
je 0xa638133
cmp eax, 0x5d
jne 0xa63800c
test dword [esi + 0x50], edx
je 0xa638127
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0a637960
mov ecx, esi
call fcn.0a639e8b
mov ecx, esi
call fcn.0a639ecb
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0xa638036
cmp eax, 0x7c
jne 0xa637fe5
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0xa63804c
push 5
lea ecx, [esi + 0x24]
call fcn.0a639e4d
jmp 0xa638019
cmp eax, 0x5c
jne 0xa638098
mov ecx, esi
call fcn.0a639e8b
test byte [esi + 0x50], 0x80
je 0xa63808f
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0xa638078
push 4
lea ecx, [esi + 0x24]
call fcn.0a639e4d
mov ecx, esi
call fcn.0a639e8b
jmp 0xa638027
cmp al, 0x42
jne 0xa63808f
push 4
lea ecx, [esi + 0x24]
call fcn.0a639e4d
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0xa63806f
mov ecx, esi
call fcn.0a63813d
jmp 0xa638020
cmp eax, 0x5b
jne 0xa6380bb
mov ecx, esi
call fcn.0a639e8b
mov ecx, esi
call fcn.0a638737
push 4
push 0x5d
mov ecx, esi
call fcn.0a6395d3
jmp 0xa638020
cmp eax, 0x28
jne 0xa6380e8
mov ecx, esi
call fcn.0a639e8b
mov ecx, esi
call fcn.0a63a259
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0a6395d3
test bl, bl
je 0xa638027
jmp 0xa638020
cmp eax, 0x5e
jne 0xa6380f4
push 2
jmp 0xa638067
cmp eax, 0x24
jne 0xa638100
push 3
jmp 0xa638067
cmp eax, 0x2a
je 0xa63812b
cmp eax, 0x2b
je 0xa63812b
cmp eax, 0x3f
je 0xa63812b
cmp eax, 0x7b
je 0xa63812b
cmp eax, 0x7d
jne 0xa637ffe
test dword [esi + 0x50], edx
je 0xa63812f
jmp 0xa63800c
push 4
jmp 0xa638135
push 0xa
jmp 0xa638135
push 6
jmp 0xa638135
push 5
mov ecx, esi
call fcn.0a63959d
int3

Function at 0xa6395f0
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 0xa639613
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0xa639601
mov eax, ecx
pop esi
pop ebp
ret

Function at 0xa63c374
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 0xa63c3c0
Capabilities:
Packed with generic packer

Disassembly:
push 0
mov eax, 0xa73735f
call fcn.0a706900
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6c0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e694]
cmp eax, dword [ecx + 0x3050]
jg 0xa63c3ff
pushal
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0xa41e690]
add esp, 4
popal
call fcn.0a7068ce
ret
mov esi, 0xa41e694
push esi
call fcn.0a706e33
cmp dword [0xa41e694], 0xffffffff
pop ecx
jne 0xa63c3e8
and dword [ebp - 4], 0
call fcn.0a63e345
test al, al
mov edx, 0x608c10
mov ecx, 0x556e30
cmovne ecx, edx
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0xa41e690], ecx
call fcn.0a706de2
pop ecx
jmp 0xa63c3e8

Function at 0xa63c66d
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 0xa63c6af
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 0xa63c729
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0xa63c722
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0xa63c722
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
inc eax
push eax
call fcn.0a711250
mov esi, dword [0xa41e4e0]
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 0xa58f038
push ebx
call fcn.0a711232
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0xa63c958
Capabilities:
Packed with generic packer

Disassembly:
push 4
mov eax, 0xa73738d
call fcn.0a706900
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6c0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e68c]
cmp eax, dword [ecx + 0x3050]
jg 0xa63c9a1
and dword [ebp - 0x10], 0
pushal
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call dword [0xa41e688]
add esp, 4
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
call fcn.0a7068ce
ret
mov esi, 0xa41e68c
push esi
call fcn.0a706e33
cmp dword [0xa41e68c], 0xffffffff
pop ecx
jne 0xa63c980
and dword [ebp - 4], 0
call fcn.0a63e345
test al, al
mov edx, 0x585400
mov ecx, 0x4ca450
cmovne ecx, edx
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0xa41e688], ecx
call fcn.0a706de2
pop ecx
jmp 0xa63c980

Function at 0xa63ed90
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 0xa63eea5
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0x28
mov eax, 0xa737587
call fcn.0a706933
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [esi], 0xa58f134
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.0a63fc21
lea ecx, [esi + 0x18]
push esi
call fcn.0a63fc5c
lea ecx, [esi + 0x20]
push esi
call fcn.0a63e3ba
lea ecx, [esi + 0x28]
push esi
call fcn.0a63fb39
lea ecx, [esi + 0x30]
push esi
call fcn.0a63e77b
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6c0]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa41e6a4]
cmp eax, dword [ecx + 0x3050]
jg 0xa63ef9e
xor eax, eax
inc eax
lock xadd dword [0xa41e698], eax
inc eax
sub eax, 1
jne 0xa63ef43
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jne 0xa63efd8
push 0xa58f17c
lea ecx, [ebp - 0x28]
call fcn.0a632a54
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push 0x2af8
push eax
call fcn.0a63fa46
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0a6311b0
push 0xa58f198
lea ecx, [ebp - 0x28]
call fcn.0a632a54
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.0a63fa46
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0a6311b0
mov eax, esi
call fcn.0a7068e2
ret
mov edi, 0xa41e6a4
push edi
call fcn.0a706e33
cmp dword [0xa41e6a4], 0xffffffff
pop ecx
jne 0xa63ef23
lea ecx, [ebp - 0x29]
mov byte [ebp - 4], 2
call fcn.0a63f139
push edi
mov dword [0xa41e6a0], eax
mov byte [ebp - 4], 1
call fcn.0a706de2
pop ecx
jmp 0xa63ef23
push 0xa58f154
lea ecx, [ebp - 0x1c]
call fcn.0a63c232
push 0xa6235a8
lea eax, [ebp - 0x1c]
push eax
call fcn.0a70841e
int3

Function at 0xa63fa46
Capabilities:
Set registry value

Disassembly:
push 0x3c
mov eax, 0xa7376a4
call fcn.0a706933
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push 0xa58f204
push eax
call fcn.0a6357a3
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 closesocket
mov dword [ebp - 4], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa63fad7
lea ecx, [ebp - 0x48]
call fcn.0a68b4f6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.0a68b6d6
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.0a6311b0
lea ecx, [ebp - 0x40]
call fcn.0a6311b0
call fcn.0a7068e2
ret
Function at 0xa640fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
mov eax, 0xa737931
call fcn.0a706933
mov esi, ecx
push dword [esi]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], edi
call fcn.0a640d93
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0xa641143
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0a63e610
lea ecx, [ebp - 0x2c]
call fcn.0a68b50a
test al, al
je 0xa641143
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a64148a
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a64117c
lea ecx, [ebp - 0x2c]
call fcn.0a68b789
cmp dword [eax + 0xac], 0
je 0xa6410bf
mov ecx, edi
call fcn.0a68b789
mov ecx, edi
mov esi, eax
call fcn.0a68b507
add eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.0a68b789
mov ecx, edi
mov esi, eax
call fcn.0a68b507
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 0xa641155
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.0a708490
mov eax, dword [ebp - 0x34]
push esi
push dword [edi]
push dword [eax]
call fcn.0a708490
mov edi, dword [ebp - 0x30]
add esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0a68b770
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x2c]
call fcn.0a68b789
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
call fcn.0a68b789
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x68], esi
mov dword [eax + 0x6c], edi
call fcn.0a68b770
lea ecx, [ebp - 0x2c]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
add eax, 0xf8
push eax
call fcn.0a68b770
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0a68b770
push eax
call fcn.0a708490
mov ecx, dword [ebp - 0x30]
add esp, 0xc
call fcn.0a68b507
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0a68b82f
lea ecx, [ebp - 0x28]
add esi, eax
call fcn.0a6311b0
mov eax, esi
jmp 0xa64114d
lea ecx, [ebp - 0x28]
call fcn.0a6311b0
xor eax, eax
call fcn.0a7068e2
ret 4
push eax
push esi
push 0xa58f548
call fcn.0a68c505
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.0a63c232
push 0xa6235a8
lea eax, [ebp - 0x4c]
push eax
call fcn.0a70841e
int3
Function at 0xa641408
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.0a68b507
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov ecx, dword [ebp + 0xc]
add ebx, dword [edi + 0xc]
call fcn.0a68b507
add eax, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
call fcn.0a68b507
add eax, 0xa000000
cmp ebx, eax
jae 0xa64146e
mov esi, dword [edi + 0x10]
test esi, esi
je 0xa641469
cmp dword [edi + 8], esi
cmovb esi, dword [edi + 8]
push esi
push dword [ebp + 0x10]
push ebx
call fcn.0a708490
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 0xa58f588
lea ecx, [ebp - 0xc]
call fcn.0a63c232
push 0xa6235a8
lea eax, [ebp - 0xc]
push eax
call fcn.0a70841e
int3

Function at 0xa642796
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 0xa58f8a0
push eax
lea eax, [ebp - 4]
push eax
call fcn.0a711ab7
add esp, 0xc
test eax, eax
jne 0xa6427dc
cmp dword [ebp - 4], eax
je 0xa6427dc
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.0a70c592
pop ecx
leave
ret

Function at 0xa6444dc
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 [0xa51e6d0]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa64505b
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0xa58c6c0]
push ebx
xor ebx, ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xa51e78c]
cmp eax, dword [ecx + 0x3050]
jg 0xa645098
jmp 0xa64507d
pop esi
cmp dword [0xa51e788], ebx
je 0xa645094
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xa645094
mov bl, 1
mov al, bl
pop ebx
ret
push esi
mov esi, 0xa51e78c
push esi
call fcn.0a706e33
pop ecx
cmp dword [0xa51e78c], 0xffffffff
jne 0xa64507c
push 0xa58fbe0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xa73fa9a
mov dword [0xa51e788], eax
call fcn.0a706d9d
push esi
call fcn.0a706de2
pop ecx
pop ecx
jmp 0xa64507c
Function at 0xa64b8fd
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