joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431ba0
Capabilities:
Terminate process

Disassembly:
push esi
push edx
push 0x40
pop edx
mov esi, ecx
call fcn.00431963
mov eax, dword [esi + 0xc]
pop ecx
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
pop esi
and dword [eax + 0x1c], 0
ret

Function at 0x43bd35
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c065

Function at 0x43e0f3
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movsd xmm0, qword [0x4a79d8]
push esi
mov esi, ecx
movsd qword [ebp - 8], xmm0
cmp byte [esi], 0x86
je 0x43e113
or eax, 0xffffffff
jmp 0x43e146
mov ecx, dword [esi + 8]
push 1
call fcn.0041c748
mov ecx, dword [esi + 8]
lea edx, [ebp - 8]
push eax
call fcn.0041c9fd
movsd xmm0, qword [ebp - 8]
comisd xmm0, xmmword [0x4a78e8]
pop ecx
pop ecx
ja 0x43e10e
mulsd xmm0, qword [0x4a7968]
cvttsd2si eax, xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4409a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push 0
push 0x43
pop edx
call fcn.00431977
push edi
push 0x25
pop edx
mov ecx, ebx
call fcn.00431963
add esp, 0xc
mov ecx, ebx
mov esi, eax
push dword [ebp + 8]
push 0
push edi
push 0x62
pop edx
call fcn.004318f3
add esp, 0xc
mov edx, 0x80
mov ecx, ebx
call fcn.00431e80
mov edx, esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.00431e98

Function at 0x44192d
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
je 0x441995
push 1
mov ecx, esi
call fcn.0041c748
push eax
lea edx, [ebp - 8]
mov ecx, esi
call fcn.0041c9fd
cmp dword [ebx + 8], 0
pop ecx
pop ecx
je 0x44197b
movsd xmm0, qword [ebp - 8]
xorps xmm0, xmmword [0x4a7a00]
movsd qword [ebp - 8], xmm0
push 0xfffffffffffffff3
lea eax, [ebp - 8]
mov edx, 0x86
push eax
push ecx
push dword [ebx + 0xc]
push ecx
mov ecx, edi
call fcn.00431a6c
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x445a21
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
cmp dword [esi + 0x24], 0
mov ebx, dword [esi]
jne 0x445b3a
mov edx, dword [ebp + 0x10]
lea edi, [ebp - 0x24]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.004455d1
test eax, eax
jne 0x445b3a
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
call fcn.004455d1
test eax, eax
jne 0x445b3a
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
call fcn.004455d1
test eax, eax
jne 0x445b3a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x445aae
cmp byte [eax], 0x63
jne 0x445a92
mov eax, dword [eax + 8]
jmp 0x445a94
xor eax, eax
mov edx, dword [ebp - 8]
mov ecx, esi
push 0
push 0
push eax
call fcn.0044604e
add esp, 0xc
test eax, eax
jne 0x445b3a
mov ecx, esi
call fcn.00456ba5
push 4
pop edx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00443d65
mov edx, dword [ebp + 0x10]
mov edi, eax
push edi
mov ecx, esi
call fcn.00442c0b
mov edx, dword [ebp + 0x14]
pop ecx
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.00442c0b
mov edx, dword [ebp + 0x18]
lea eax, [edi + 2]
pop ecx
push eax
mov ecx, esi
call fcn.00442c0b
cmp dword [ebp - 4], 0
pop ecx
je 0x445b3a
mov esi, dword [ebp + 8]
lea eax, [edi + 3]
push 0xfffffffffffffff8
push esi
push eax
movsx eax, byte [esi]
mov edx, 0xa4
sub edi, eax
add edi, 3
push edi
mov edi, dword [ebp - 4]
mov ecx, edi
push 0
call fcn.00431a3d
movzx edx, byte [esi]
add esp, 0x14
mov ecx, edi
call fcn.00431e80
xor eax, eax
mov edx, 0x99
cmp dword [ebp - 8], 0x18
sete al
push eax
call fcn.00431963
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.0043fbd7
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.0043fbd7
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.0043fbd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456bc5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp dword [edi + 0xc], 0
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x14], esi
jne 0x456cd2
call fcn.00441dd3
test esi, esi
je 0x456cd2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 8], eax
mov dword [edi + 0xc], eax
call fcn.00456ba5
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004407dd
test eax, eax
je 0x456c5f
push dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push esi
push 0x43
pop edx
call fcn.00431977
pop ecx
pop ecx
test esi, esi
jne 0x456c3e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0043198c
jmp 0x456c8c
js 0x456c8c
mov eax, esi
cdq
push edx
push eax
call fcn.0041d891
pop ecx
pop ecx
cmp word [edi + 6], ax
jle 0x456c8c
or dword [edi + 8], 0x4000
mov word [edi + 6], ax
jmp 0x456c8c
mov esi, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
push esi
call fcn.00442c0b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.00431963
pop ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push 0x16
pop edx
call fcn.00431977
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
je 0x456cd2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x10], esi
inc dword [ebx + 0x2c]
mov edx, dword [eax + 0x10]
push esi
call fcn.00442c0b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.00431963
pop ecx
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
push esi
push eax
push dword [ebp - 8]
mov edx, 0x95
call fcn.004318f3
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bf0e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0xc], 0
mov edi, ecx
jne 0x45bf64
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov edx, esi
shl edx, 4
add edx, dword [ebx + 4]
push eax
movzx eax, byte [edx + 0xd]
push eax
call fcn.00420891
movzx eax, byte [eax + 0x46]
push eax
call fcn.00420891
mov edx, dword [edx + 4]
mov ecx, eax
call fcn.00431654
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x45bf64
push 0xfffffffffffffff5
mov ecx, edi
call fcn.0043211b
pop ecx
mov eax, dword [ebx + 4]
add esi, esi
cmp byte [eax + esi*8 + 0xd], 0x45
jne 0x45bf7e
push dword [ebp + 0xc]
mov ecx, edi
push 0x51
pop edx
call fcn.00431963
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46dd26
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], edx
push edi
mov dword [ebp - 0xc], ecx
mov eax, esi
mov byte [ebp + eax - 0x10c], al
inc eax
cmp eax, 0x100
jb 0x46dd3c
mov edi, esi
xor edx, edx
mov bl, byte [ebp + edi - 0x10c]
mov eax, edi
div dword [ebp - 8]
movzx eax, byte [edx + ecx]
add eax, esi
movzx ecx, bl
add ecx, eax
movzx esi, cl
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + esi - 0x10c]
mov byte [ebp + edi - 0x10c], al
inc edi
mov byte [ebp + esi - 0x10c], bl
cmp edi, 0x100
jb 0x46dd4d
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ebx, esi
test edi, edi
je 0x46ddea
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebp + ebx - 0x10c]
movzx eax, dl
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x10c]
mov byte [ebp + ebx - 0x10c], al
mov byte [ebp + esi - 0x10c], dl
movzx ecx, byte [ebp + ebx - 0x10c]
movzx eax, dl
add ecx, eax
mov eax, dword [ebp + 0xc]
movzx ecx, cl
mov cl, byte [ebp + ecx - 0x10c]
xor byte [eax], cl
inc eax
mov dword [ebp + 0xc], eax
sub edi, 1
jne 0x46dd9b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46def0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, edx
cmp dword [ebp + 0xc], esi
jbe 0x46df15
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, esi
div ebx
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x46df02
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46e3ba
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edx, 0x811c9dc5
call fcn.0046e33c
mov edi, eax
xor esi, esi
test edi, edi
je 0x46e3df
movsx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x46e3ce
pop edi
mov eax, edx
pop esi
ret
Function at 0x46f325
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x46f356
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x4b21f8]
mov eax, 0x5a4d
mov dword [ebp - 4], edx
cmp word [esi], ax
je 0x46f375
xor eax, eax
jmp 0x46f3d6
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x46f371
mov ecx, 0x2000
push edi
test word [eax + 0x16], cx
je 0x46f3d3
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x46f3d3
xor edi, edi
cmp dword [eax + 0x7c], edi
je 0x46f3d3
mov ebx, dword [ecx + esi + 0x1c]
mov edx, dword [ecx + esi + 0x20]
add edx, esi
mov dword [ebp - 8], edx
lea eax, [ebx + esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + esi + 0x24]
add eax, esi
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x46f3d3
mov ecx, dword [edx + edi*4]
add ecx, esi
call fcn.0046f339
cmp eax, dword [ebp - 4]
je 0x46f3dc
mov edx, dword [ebp - 8]
inc edi
cmp edi, ebx
jb 0x46f3bc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x46f3d5

Function at 0x47f851
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047f6d0
Function at 0x402f70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
rcl edi, 0x91
imul ebx
inc edi
or eax, 0xf7
not esi
neg eax
sub ebx, 0xc1
rol esi, 0xb3
bswap eax
not edx
dec edx
ror eax, 5
bswap edx
not edx
ror esi, 0x8b
dec edx
bswap esi
bswap eax
not ebx
sbb eax, 0xbf
inc eax
not eax
ror ebx, 0x1a
add esi, 0x59
mov edi, 0x79
bswap edi
imul edx
rcl ebx, 0xdd
rol ebx, 0x9f
dec ebx
add edx, 0xdd
ror edi, 0xf6
inc eax
not edi
sub edi, 0x65
sub ebx, 0x32
imul edx
not esi
sbb ebx, 0xf0
or edx, 0x5e
and ebx, 0x2b
and eax, 0x9c
neg esi
or esi, 0xea
not eax
sbb edi, 0x8c
dec esi
mov edx, 0xa0
dec ebx
and edx, 0x91
xor ecx, ecx
xor edi, edi
neg ebx
sub eax, 0xcb
mov esi, 0x6e
and eax, 0x9a
not edx
neg ebx
add ebx, 0x90
imul eax
and ebx, 0x42
mov ebx, 0xf4
bswap eax
imul ebx
ror eax, 0x16
or ebx, 0xb8
and eax, 0x36
rol edi, 0x3e
rcr edi, 0x9c
add edx, 0xd5
neg ebx
not edi
rol esi, 0xaf
sbb esi, 0xa7
dec esi
sub esi, 0xb
or edx, 0xe2
neg ebx
inc edx
sbb eax, 5
not edi
ror ebx, 0x78
mov esi, 0xfe
rol eax, 0x48
not ebx
not edx
inc esi
not eax
imul edx
and edx, 0xf0
sbb edi, 0x91
bswap edx
dec edx
bswap esi
inc eax
inc eax
rol edx, 0xf5
bswap ebx
add esi, 0x89
rol edi, 0x37
and esi, 0x43
dec edi
mov ecx, dword [ebp + 0xc]
rcr edx, 0x28
neg eax
imul esi
ror esi, 0x47
sub eax, 0xf4
inc esi
ror ebx, 0xe3
add ebx, 0x4d
rol ebx, 0xef
inc ebx
dec edx
mov edi, 9
bswap edx
neg esi
and edx, 0x4a
imul ebx
ror edx, 0x50
not ebx
or ebx, 0x97
not edi
not edx
sub eax, 0x37
rcl ebx, 0x25
inc edx
ror esi, 0xc9
rol edx, 0x61
neg edi
rol edi, 0x9e
mov esi, 0xe2
neg edx
imul ebx
dec eax
sbb eax, 0x9f
imul ebx
and ebx, 0xd4
not esi
or eax, 0xd3
neg esi
not esi
not ebx
rol edi, 0x12
dec esi
inc edi
bswap eax
imul edx
rcr esi, 0x64
dec esi
or ebx, 0x34
inc esi
inc eax
mov edi, dword [ebp + 8]
mov esi, esi
mov ebx, eax
mov ebx, ebx
mov eax, esi
xor ebx, esi
mov eax, esi
xor eax, ebx
mov esi, esi
xor eax, esi
xor ebx, ebx
xor eax, ebx
mov esi, esi
not byte [edi]
xor esi, eax
mov esi, esi
mov ebx, ebx
xor eax, eax
xor eax, ebx
mov esi, eax
mov ebx, eax
mov eax, ebx
xor ebx, esi
sub byte [edi], 0x36
mov eax, esi
mov esi, esi
mov esi, esi
xor esi, eax
xor esi, esi
mov eax, ebx
xor esi, eax
mov esi, esi
xor ebx, esi
add byte [edi], 0x87
xor ebx, esi
mov esi, ebx
mov eax, ebx
xor ebx, esi
xor eax, ebx
mov eax, esi
mov ebx, esi
mov ebx, esi
mov esi, esi
imul byte [edi]
inc edi
loop 0x403135
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4250c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424f31

Function at 0x4254ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cba0
mov eax, dword [0x49d6d8]
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.0041f621
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254fc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425658
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c9d0
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 + 0x49ee38]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004264b1
mov ecx, dword [esi*4 + 0x49ee38]
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 0x425651
cmp eax, dword [edi + ecx + 0x24]
jne 0x425651
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 0x425651
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004264b1
add esp, 0x14
test edx, edx
jl 0x425651
jg 0x4255c7
test eax, eax
jb 0x425651
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425651
jl 0x4255e1
cmp dword [ebp - 0x1008], eax
ja 0x425651
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255ff
test ebx, ebx
je 0x425638
cmp ecx, edi
jae 0x425638
mov al, byte [ecx]
cmp al, 0xd
jne 0x425619
lea eax, [edi - 1]
cmp ecx, eax
jae 0x425625
cmp byte [ecx + 1], 0xa
jne 0x425625
inc ecx
jmp 0x425625
movzx eax, al
movsx eax, byte [eax + 0x49de78]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255ff
cmp edx, ebx
jne 0x4255ff
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425656
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f1f6
leave
ret
Function at 0x42594f
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 + 0x49ee38]
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 0x42598f
cmp byte [ebx], 0xa
jne 0x42598f
or byte [eax + edi + 0x28], 4
jmp 0x425994
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425a92
mov al, byte [edx]
cmp al, 0x1a
je 0x425a74
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4259c3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4259e8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4259f2
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 0x4259a5
jmp 0x425a92
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 0x425a6f
cmp dword [ebp - 0xc], 0
je 0x425a6f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x49ee38]
test byte [eax + edi + 0x28], 0x48
je 0x425a49
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425a34
mov byte [esi], dl
jmp 0x425a45
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x49ee38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a92
cmp byte [ebp - 1], 0xa
jne 0x425a58
cmp esi, ebx
jne 0x425a58
mov byte [esi], 0xa
jmp 0x425a91
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004264cf
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a92
mov byte [esi], 0xd
jmp 0x425a91
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x49ee38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a8e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a92
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425a9b
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 + 0x49ee38]
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 0x425ade
cmp word [esi], dx
jne 0x425ade
or byte [edi + eax + 0x28], 4
jmp 0x425ae3
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 0x425c36
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 0x425c16
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425b25
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b5b
cmp eax, edx
jae 0x425b67
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 0x425afd
jmp 0x425c36
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 0x425c12
cmp dword [ebp - 0x14], 0
je 0x425c12
mov eax, dword [ebx*4 + 0x49ee38]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425bea
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425bb3
mov word [esi], cx
jmp 0x425be6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x49ee38]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x49ee38]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x49ee38]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425c36
pop ebx
cmp word [ebp - 4], bx
jne 0x425bfb
cmp esi, dword [ebp + 0xc]
jne 0x425bfb
mov word [esi], bx
jmp 0x425c33
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004264cf
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425c36
push 0xd
jmp 0x425c2f
mov ecx, dword [ebx*4 + 0x49ee38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425c2d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425c36
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 0x526122
Capabilities:
Encode data using xor

Disassembly:
fidivr dword [ecx + edi*4 - 0x23957d12]
popfd
out dx, al
sub byte [edx - 0x24], 0x9d
aad 0xa9
popal
adc byte [edx], ah
pop esi
cmp dword [esi], edi
call 0xc1384b8f
sahf
mov edi, 0xdb46eaca
jne 0x5260c0
jno 0x526149
inc ecx
inc esp
sbb byte [edi], 0x7a
jecxz 0x52610c
mov dword [0xd7469ed3], eax
jne 0x5260bd
test dword [esi + 0x380b8c86], ebp
test eax, 0x35dd64ee
sahf
add eax, 0x6ba0340c
or al, ch
or ah, byte [ecx + 0x43]
in eax, dx
jne 0x52616c
dec ecx
aam 0x17
mov ah, 0x38
cli
or al, ah

Function at 0x6030e6
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
loope 0x603084
or cl, byte [edi + edx]
lahf
mov bl, 0x9c

Function at 0x64dc9d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656338
cmp edx, dword [eax]
je 0x64dcbf
add eax, 8
inc ecx
cmp eax, 0x6563c8
jl 0x64dcb0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656338]
jne 0x64dded
mov eax, dword [0xa59c90]
cmp eax, 1
je 0x64ddc7
test eax, eax
jne 0x64dcf0
cmp dword [0x656264], 1
je 0x64ddc7
cmp edx, 0xfc
je 0x64dded
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64dd27
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e680
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064eb10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64dd6a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064eb10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652c54
push edi
call fcn.006509e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e680
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e690
lea eax, [ebp - 0xa0]
push 0x652c34
push eax
call fcn.0064e690
push dword [esi + 0x65633c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e690
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650954
add esp, 0x2c
pop edi
jmp 0x64dded
lea eax, [ebp + 8]
lea esi, [esi + 0x65633c]
push 0
push eax
push dword [esi]
call fcn.0064eb10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret