joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa53690
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0xadd0fc]
mov edi, eax
add esp, 4
test edi, edi
jne 0xa536bd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0xa53704
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0xa5370a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0xa5376b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0xa53730
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0xa53797
mov eax, dword [esi + 4]
push 1
push 0xac3329
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0xac332a
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0xa53770
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xa537f0
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa53822
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret

Function at 0xa53ac0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa53aff
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret
Function at 0xa66f9c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00a02110
mov eax, dword [0xadd064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00a6d751
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0xa66fde
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0xa6713a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00a027d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0xae3578]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00a6b2c9
mov ecx, dword [esi*4 + 0xae3578]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0xa67133
cmp eax, dword [edi + ecx + 0x24]
jne 0xa67133
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa67133
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a6b2c9
add esp, 0x14
test edx, edx
jl 0xa67133
jg 0xa670a9
test eax, eax
jb 0xa67133
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0xa67133
jl 0xa670c3
cmp dword [ebp - 0x1008], eax
ja 0xa67133
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0xa670e1
test ebx, ebx
je 0xa6711a
cmp ecx, edi
jae 0xa6711a
mov al, byte [ecx]
cmp al, 0xd
jne 0xa670fb
lea eax, [edi - 1]
cmp ecx, eax
jae 0xa67107
cmp byte [ecx + 1], 0xa
jne 0xa67107
inc ecx
jmp 0xa67107
movzx eax, al
movsx eax, byte [eax + 0xaddd88]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0xa670e1
cmp edx, ebx
jne 0xa670e1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0xa67138
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00a01912
leave
ret
Function at 0xa6a81c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xadd064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xac5948
push esi
call fcn.00a6733d
pop ecx
pop ecx
test eax, eax
jne 0xa6a84a
xor al, al
jmp 0xa6a8c7
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00a6a553
mov edx, eax
add esp, 0x10
test edx, edx
jne 0xa6a884
push dword [ebp - 0x210]
call fcn.00a58f17
xor al, al
jmp 0xa6a8c5
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0xa6a88a
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0xa6a8aa
push edx
call fcn.00a6a752
pop ecx
test al, al
je 0xa6a875
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0xa6a8b8
mov bl, 1
push dword [ebp - 0x210]
call fcn.00a58f17
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00a01912
leave
ret

Function at 0xa6beed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0xac643c
push str.FlsAlloc
push 0x1e
call fcn.00a6bd1a
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa6bf21
push dword [ebp + 8]
mov ecx, esi
call dword [0xa984d0]
call esi
jmp 0xa6bf27
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0xa6bf6b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0xac6460
push str.FlsGetValue
push 0x20
call fcn.00a6bd1a
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa6bfa2
push dword [ebp + 8]
mov ecx, esi
call dword [0xa984d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0xa6ec1b
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 0xa6ecb8
push ebx
push esi
call fcn.00a6ebe4
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.00a6eb2d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0xa6ec65
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa6ecb7
push edi
push eax
call fcn.00a61297
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0xa6ec85
call fcn.00a61236
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa6ecb6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00a6eb2d
add esp, 0x20
test eax, eax
jne 0xa6eca4
push edi
call fcn.00a61236
jmp 0xa6ecac
push ebx
call fcn.00a61236
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 0xa6ecbb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0xa6eccc
pop esi
ret
push ebx
push edi
push esi
call fcn.00a6ebe4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00a61297
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0xa6ecf4
push ebx
push esi
push edi
call fcn.00a545c0
add esp, 0xc
push 0
call fcn.00a61236
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0xa6f0b8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a6ed09
Function at 0xa74cb0
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 + 0xae3578]
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 0xa74cf0
cmp byte [ebx], 0xa
jne 0xa74cf0
or byte [eax + edi + 0x28], 4
jmp 0xa74cf5
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0xa74df3
mov al, byte [edx]
cmp al, 0x1a
je 0xa74dd5
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0xa74d24
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0xa74d49
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0xa74d53
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 0xa74d06
jmp 0xa74df3
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 0xa74dd0
cmp dword [ebp - 0xc], 0
je 0xa74dd0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0xae3578]
test byte [eax + edi + 0x28], 0x48
je 0xa74daa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0xa74d95
mov byte [esi], dl
jmp 0xa74da6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0xae3578]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0xa74df3
cmp byte [ebp - 1], 0xa
jne 0xa74db9
cmp esi, ebx
jne 0xa74db9
mov byte [esi], 0xa
jmp 0xa74df2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00a6b2e7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0xa74df3
mov byte [esi], 0xd
jmp 0xa74df2
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0xae3578]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0xa74def
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0xa74df3
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xa74dfc
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 + 0xae3578]
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 0xa74e3f
cmp word [esi], dx
jne 0xa74e3f
or byte [edi + eax + 0x28], 4
jmp 0xa74e44
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 0xa74f7d
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 0xa74f5d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0xa74e86
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0xa74ebc
cmp eax, edx
jae 0xa74ec8
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 0xa74e5e
jmp 0xa74f7d
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 0xa74f59
cmp dword [ebp - 0x14], 0
je 0xa74f59
mov eax, dword [ebx*4 + 0xae3578]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0xa74f31
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0xa74f77
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0xae3578]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0xae3578]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0xae3578]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0xa74f7a
pop ebx
cmp word [ebp - 4], bx
jne 0xa74f42
cmp esi, dword [ebp + 0xc]
jne 0xa74f42
mov word [esi], bx
jmp 0xa74f7a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00a6b2e7
add esp, 0x10
cmp word [ebp - 4], bx
je 0xa74f7d
push 0xd
jmp 0xa74f76
mov ecx, dword [ebx*4 + 0xae3578]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0xa74f74
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0xa74f7d
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 0xa7579e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a7560f
Function at 0xa7681a
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.00a76796
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa76992
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa76992
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa76941
jg 0xa76873
test eax, eax
je 0xa76937
push 1
push 0x1000
call fcn.00a6050f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa76899
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0xa7692e
push 0x8000
push ebx
call fcn.00a5ebce
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 0xa768c5
jg 0xa768c0
cmp ecx, 0x1000
jb 0xa768c5
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00a76096
add esp, 0x10
cmp eax, 0xffffffff
je 0xa7690a
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 0xa768c0
jl 0xa768f1
test ecx, ecx
jne 0xa768b2
push dword [ebp - 0xc]
push ebx
call fcn.00a5ebce
push esi
call fcn.00a61236
add esp, 0xc
xor edi, edi
jmp 0xa769a3
cmp byte [edi + 0x24], 0
je 0xa76921
cmp dword [edi + 0x20], 5
jne 0xa76921
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa7692c
mov edi, dword [edi + 0x18]
jmp 0xa7692e
xor edi, edi
push esi
call fcn.00a61236
pop ecx
jmp 0xa769a3
test ecx, ecx
jg 0xa76903
jl 0xa76941
test eax, eax
jae 0xa76903
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a6b2e7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa76964
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa76903
jmp 0xa7699b
push ebx
call fcn.00a6fb42
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa76903
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 0xa769a3
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa769a0
mov edi, dword [edi + 0x18]
jmp 0xa769a3
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00a6b2e7
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa7c74d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0xcaf8c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86d000]
push edi
or ebp, 0xffffffff
jmp 0xcaf8e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcaf8e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcaf8d8
mov eax, 1
add ebx, ebx
jne 0xcaf8fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcaf90c
jne 0xcaf92b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcaf92b
dec eax
add ebx, ebx
jne 0xcaf918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcaf8f0
add ebx, ebx
jne 0xcaf927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcaf97d
xor ecx, ecx
sub eax, 3
jb 0xcaf943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcaf9b2
sar eax, 1
mov ebp, eax
jmp 0xcaf94e
add ebx, ebx
jne 0xcaf94e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcaf91c
inc ecx
add ebx, ebx
jne 0xcaf95c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcaf91c
add ebx, ebx
jne 0xcaf969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcaf95e
jne 0xcaf97a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcaf95e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcaf99c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcaf98e
jmp 0xcaf8de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcaf99c
add edi, ecx
jmp 0xcaf8de
pop esi
mov edi, esi
mov ecx, 0x2f7f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcaf9ba
cmp byte [edi], 0x1b
jne 0xcaf9ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xcaf9bf
lea edi, [esi + 0x8aa000]
mov eax, dword [edi]
or eax, eax
je 0xcafa37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10bd534]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10bd660]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcaf9ec
mov ecx, edi
jns 0xcafa1b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10bd664]
or eax, eax
je 0xcafa31
mov dword [ebx], eax
add ebx, 4
jmp 0xcafa09
call dword [esi + 0x10bd674]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xcafa68
cmp al, 0xef
ja 0xcafa5b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xcafa3d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xcafa4a
mov ebp, dword [esi + 0x10bd668]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xcafa9c
sub esp, 0xffffff80
jmp 0x43c050
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0