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

Disassembly:
jmp 0x40c0a0
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c2cf
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x70
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xb8
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x73
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x54
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x55
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x7b
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x6b
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x98
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x29
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x23
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x6b
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xd2
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x7a
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc0
inc ebx
cmp esi, ebx
jne 0x40c0c0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x407f10
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx + 0x6b], edx
and bl, ah
int1
inc ebx
cli
mov edx, 0xab39b10a
pop esi
invalid
lds ebx, [ecx + 0x4b]
pop ds
fstp dword [ebx - 0x5c]
stc
sub bh, byte [edi + 0x52]
sub ch, byte [ecx - 0x56917222]
push ebx
inc esp
cmp byte [ecx + 0xe], 0x5a
push edx
je 0x407ed4
jl 0x407f27
das
push esi
rcl dword [ebp - 0x30ff60b0], 0x3f
mov edx, 0xd5b0e9ca
les eax, [edi]
pop ss
mov bh, 0x87
xor al, byte [ebx + 0x6e3c236]
jnp 0x407f2d
mov dword [edx - 0x4d816287], edx
mov edx, 0xa780bf57
sti
arpl word [ebx], bp
mov ebp, 0xb6057337
mov edx, 0xf6870a8

Function at 0x4294d0
Capabilities:
Encode data using xor

Disassembly:
mov dword [0xcb723061], eax
adc eax, 0x86e98168
lahf
mov word [0xb2db0ce5], cs
lds esp, [edi + 0xf58154b]
pop edx
cmpsb byte [esi], byte es:[edi]
mov esp, 0x6b21f9ad
test byte [edi + ebp + 0x3f7f25a2], bl
mov ch, 0x68
loop 0x429528
popal
or dword [esi + 0x61], ecx
xchg ebx, ebp
mov esp, 0x69d16a31
hlt
or dword [ebp + 0x31], edx
cmp ch, dh
xor dword [eax], edi
cmc
js 0x42952a
push eax
dec ebx
salc
push ds
cld
mov ah, 0xf6
int3
Function at 0x43a7b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, ecx
mov ecx, 0x5a4d
mov dword [ebp - 4], eax
cmp word [eax], cx
je 0x43a7d6
push 0xc1
call dword [0x6c0104]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x43a7f5
mov eax, 0x14c
cmp word [ebx + 4], ax
jne 0x43a7f5
test byte [ebx + 0x38], 1
je 0x43a807
push 0xc1
call dword [0x6c0104]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [0x6c0108]
push 4
push 0x3000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x43a83d
push 4
push 0x3000
push dword [ebx + 0x50]
push eax
call edi
mov esi, eax
mov dword [ebp - 8], eax
test esi, esi
je 0x43a861
push 0x34
push 8
call dword [0x6c0324]
push eax
call dword [0x6c00f8]
mov edi, eax
test edi, edi
jne 0x43a872
push 0x8000
push eax
push esi
call dword [0x6c0100]
push 0xe
call dword [0x6c0104]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], esi
movzx eax, word [ebx + 0x16]
shr eax, 0xd
and eax, 1
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [edi + 0x1c], 0x43a770
mov dword [edi + 0x20], 0x43a780
mov dword [edi + 0x24], 0x43a7a0
mov dword [edi + 0x28], 0
call dword [0x6c00f4]
mov eax, dword [ebp - 0x28]
push 4
push 0x1000
mov dword [edi + 0x30], eax
push dword [ebx + 0x54]
push esi
call dword [0x6c0108]
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp - 4]
push esi
call fcn.0063be60
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, esi
mov esi, dword [ebp - 8]
mov dword [edi], eax
push edi
mov edx, ebx
mov dword [eax + 0x34], esi
call fcn.0043a240
add esp, 0x10
test eax, eax
je 0x43a951
mov edx, esi
sub edx, dword [ebx + 0x34]
je 0x43a902
mov ecx, edi
call fcn.0043a550
mov dword [edi + 0x18], eax
jmp 0x43a909
mov dword [edi + 0x18], 1
mov ecx, edi
call fcn.0043a600
test eax, eax
je 0x43a951
mov ecx, edi
call fcn.0043a3d0
test eax, eax
je 0x43a951
mov ecx, edi
call fcn.0043a510
test eax, eax
je 0x43a951
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x43a97d
add eax, esi
cmp dword [edi + 0x14], 0
je 0x43a971
push 0
push 1
push esi
call eax
test eax, eax
jne 0x43a961
push 0x45a
call dword [0x6c0104]
mov ecx, edi
call fcn.0043aa40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x2c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x2c], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f3f0
Capabilities:
Encode data using xor

Disassembly:
jle 0x44f424
push ebp
cmc
xchg esp, eax
push es
inc ebp
mov ah, 0x47
and dword [eax + 0x53], 0xffffffbe
push 0x56
sbb dh, byte [edi + 0x5b]
enter 0x1da5, 0x13
mov eax, dword [0x4114564d]
in al, dx
xor dl, cl
push eax
je 0x44f481
dec edx
loope 0x44f3e3
adc eax, 0x68be6506
push cs
jno 0x44f420
jno 0x44f415
cld
push ss
push esi
ja 0x44f462
mov dl, 0xa9
push eax
add byte [ebp], bh
lds ebx, [ebx - 0x2459f240]
push edi
or eax, 0x1057dba6
mov bl, dl
inc ecx
inc eax
xor byte [edx], al
push eax
add eax, 0x155f5534
inc ebx
inc edi
push 0xb4d3fce9
push esp
in eax, dx
adc byte [eax + 0x304041d3], cl
add dl, byte [eax + 5]
xor al, 0x55
pop edi
adc eax, 0xe9684743
cld
sal dword [esp + edx*2 - 0x2422c113], cl
fstp st(3)
xchg ebx, eax
sal byte [ebx - 0x30], 1
ja 0x44f455
mov dword [ecx], edx
or dword [eax], edx
add al, byte [ecx - 0x7c]
xor al, 0x96
xchg ecx, eax
lock add byte [ebx], 0x10
cmpsb byte [esi], byte es:[edi]
lodsb al, byte [esi]
or al, bh
dec edx
sbb byte [edi + 0x320c03cf], dl
add ebp, dword [esi + 0x755b91e]
fadd qword [ecx + 0x3227ffbf]
push cs
call 0x329ead37
das
sahf
mov ch, 0x95
rol dword [ebp + 0x5e], 1
hlt
mov esi, edi
xor bl, ah
imul esi, dword [ebx], 0xbb87fb4f
inc esi
jne 0x44f4e7
xchg dword [ebx - 0x779e8aba], edi
add eax, esi
leave
push es
push ecx
wait
in eax, 0x76
jp 0x44f479
mov byte [ebx], al
invalid
xor dh, byte [edi + 0x7c53d95f]
mov byte [0x24fddf8c], al
adc al, al
rcl byte [eax*4 - 0xc17e8f], cl
leave
out dx, al
adc byte [ebx], ah
push edi
loopne 0x44f43a
int1
ror ebx, cl
cmp eax, 0x44a43517
mov al, byte [eax]
aas
mov edi, 0xf1c40f5b
sub bl, ch
invalid
Function at 0x45abb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a0ce8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0x775554
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebx], 0x775620
mov dword [ebx + 4], ecx
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], esi
movq xmm0, qword [edx]
movq qword [ebx + 8], xmm0
movq xmm0, qword [edx + 8]
movq qword [ebx + 0x10], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ebx + 0x18], xmm0
movq xmm0, qword [edx + 0x18]
movq qword [ebx + 0x20], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [ebx + 0x28], xmm0
mov eax, dword [edx + 0xc]
imul eax, dword [edx + 4]
push esi
push edi
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
call fcn.00471410
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49a340
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
push esi
lea esi, [edx + 4]
xor eax, eax
cmp edx, esi
jae 0x49a367
lea esp, [esp]
movsx ecx, byte [edx]
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
inc edx
xor eax, ecx
cmp edx, esi
jb 0x49a350
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
pop esi
ret

Function at 0x4a6210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a62c0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x68]
mov eax, dword [ebp + 0xc]
lea esi, [edx + eax*4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [0x7b8a18]
test eax, eax
je 0x4a627f
mov edi, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edi
sar ecx, 4
cmp ecx, 1
jb 0x4a627f
dec ecx
shl ecx, 4
mov dword [edi + ecx + 4], edx
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
mov dword [eax + ecx + 8], edx
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x28], eax
xor cl, cl
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x20], cl
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp eax, 0x7f
ja 0x4a70f0
jmp dword [eax*4 + 0x4a7250]
nop
or al, 0x76
mov esp, 0x86464934
cli
inc esi
xchg dl, bh
mov edi, dword [esi - 0x4b539bda]
rcr dword [esi - 0x15], 8
jle 0x4a7182
pop ebp
mov cl, 0xb3
pop edi
xor dword [esi + 0x6cc0a0d0], esp
popfd
mov dh, 0xbe
cmp dword [edi - 0x785e107a], esp
push cs
add byte [ecx - 0x74], cl
sub al, 0x60
cld
jo 0x4a70f6
mov edx, 0xe40efee5
cmpsd dword [esi], dword es:[edi]
mov ebx, 0x92a21e77
aas
pop ds
cmp byte [esi + 0x39eecad6], bl
xchg ecx, eax
add edi, ecx
insb byte es:[edi], dx
cmpsb byte [esi], byte es:[edi]
add dh, byte [ecx - 0x37]
leave
cld
lodsb al, byte [esi]
pop esi
pop edx
pop esi
stc
aas
and dl, byte [eax]
aas
mov esi, 0x33f9d40f
fistp qword [ecx]
loop 0x4a713c
retf
push ds
and byte [edi - 0x60], 0xac
test byte [edi - 0x199c50bd], dl
or eax, 0x49f73a95
lds esi, [esi]
clc
cwd
fchs
push 0xf2aa5195
inc ebx
push 0x2f
mov ecx, 0x7278b39f
sal byte [edi + 0x47558989], 0x68
mov al, 0xc9
cld
and byte [edi - 0x699aab9], 0xa0
mov ah, 0x66
push ds
and al, 0x3b
push esi
cmpsb byte [esi], byte es:[edi]
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x4b8490
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a6766
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.004b8540
mov dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x24]
call fcn.004b8540
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

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

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

Disassembly:
push ebx
push esi
lea ebx, [ecx + 0xc]
push edi
mov eax, ebx
mov dword [ecx + 4], 0x270
mov dword [ecx + 8], ebx
mov edi, 0xe3
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax + 0x634]
add eax, 4
mov dword [eax - 4], edx
dec edi
jne 0x4bfd37
mov edi, 0x18c
mov edi, edi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
lea eax, [eax + 4]
mov dword [eax - 4], edx
dec edi
jne 0x4bfd70
mov ecx, dword [ebx]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret
Function at 0x4c1c90
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
xor eax, eax
test edx, edx
je 0x4c1cd5
movzx ecx, word [edx]
test cx, cx
je 0x4c1cbd
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
lea edx, [edx + 2]
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x4c1ca0
lea eax, [eax + eax*8]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
imul eax, eax, 0x8001
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
ret

Function at 0x4c2700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a85a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi], 0x776424
mov dword [ebp - 4], 3
mov ebx, 3
lea esi, [edi + 0x30]
cmp dword [esi + 0x10], 0xffffffff
je 0x4c2757
mov ecx, dword [esi]
test ecx, ecx
je 0x4c2757
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
add esp, 4
sub esi, 4
dec ebx
jns 0x4c2742
push dword [edi + 0x18]
call fcn.00635db7
mov esi, dword [0x7b8a10]
mov ecx, dword [0x7b8a14]
add esp, 4
test esi, esi
jne 0x4c277c
test ecx, ecx
je 0x4c27f8
mov dword [ebp - 0x18], edi
test esi, esi
je 0x4c27d0
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
xor ecx, ecx
jmp 0x4c2790
movsx eax, byte [edx]
add ecx, eax
imul ecx, ecx, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
inc edx
lea eax, [ebp - 0x10]
cmp edx, eax
jb 0x4c2790
lea eax, [ecx + ecx*8]
mov edx, eax
shr edx, 0xb
xor edx, eax
imul edx, edx, 0x8001
or eax, 0xffffffff
test edx, edx
cmove edx, eax
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00499f30
jmp 0x4c27f8
test ecx, ecx
je 0x4c27f8
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0xd]
push edx
push ecx
mov byte [ebp - 0xd], 3
call dword [eax + 8]
mov eax, dword [0x7b8a14]
push 4
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 8]
add esp, 0x18
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x54]
test esi, esi
je 0x4c284d
mov ebx, dword [edi + 0x58]
cmp esi, ebx
je 0x4c282d
lea ebx, [ebx]
mov ecx, dword [esi]
test ecx, ecx
je 0x4c2826
mov eax, dword [ecx]
test eax, eax
jne 0x4c2823
call fcn.004d6b90
jmp 0x4c2826
dec eax
mov dword [ecx], eax
add esi, 4
cmp esi, ebx
jne 0x4c2810
push dword [edi + 0x54]
call fcn.006359b8
add esp, 4
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x4c2868
mov eax, dword [ecx]
test eax, eax
jne 0x4c2865
call fcn.004d6b90
jmp 0x4c2868
dec eax
mov dword [ecx], eax
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4c2883
mov eax, dword [ecx]
test eax, eax
jne 0x4c2880
call fcn.004d6b90
jmp 0x4c2883
dec eax
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 4], 0
mov dword [edi], 0x77652c
jne 0x4c289a
mov byte [edi + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d8770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aa5c2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x7ad930]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
cmp byte [ebx + 5], 0
jne 0x4d8997
mov dword [ebp - 4], 0
mov eax, dword [0x7c7ae0]
test eax, eax
je 0x4d89b5
cmp dword [eax + 0x34], 0
je 0x4d89b5
mov edx, 0x7b8a70
lea ecx, [ebp - 0x21c]
call fcn.0048e420
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4d87f3
mov ecx, 9
mov esi, str.krkr.console.log
rep movsd dword es:[edi], dword [esi]
call fcn.004304f0
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.0063710f
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x4d89bb
push 2
push 0
push eax
call fcn.0063a6e5
push dword [ebx]
call fcn.0063a5ee
add esp, 0x10
test eax, eax
jne 0x4d885a
push dword [ebx]
push 2
push 1
push 0x7416ac
call fcn.0063a217
add esp, 0x10
mov ecx, dword [0x7c67ec]
mov eax, dword [0x7c67f0]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.00401440
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
push eax
mov ecx, ebx
call fcn.004d89e0
lea eax, [ebp - 0x238]
push eax
call fcn.006388e0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], edx
lea eax, [ebp - 0x238]
push eax
call fcn.00638643
push eax
push 0x74182c
push 0x4f
push 0x7d4c30
call fcn.0063a0a3
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401440
mov esi, eax
mov byte [ebp - 4], 2
push str.Logging_to
lea ecx, [ebp - 0x224]
call fcn.00401440
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.00406d50
mov byte [ebp - 4], 4
push 0x741374
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.00406e80
mov byte [ebp - 4], 5
push 0x7d4c30
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00406e80
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.004d89e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.00401480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.00401480
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00401480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00401480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00401480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401480
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00635147
mov esp, ebp
pop ebp
ret 4
mov dword [ebx], 0
mov byte [ebx + 5], 1
jmp 0x4d8990
Function at 0x4d89e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aa560
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi], 0
jne 0x4d8a1f
push 0x745a24
call fcn.004d8770
mov dword [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x4d8a90
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x4d8a39
xor esi, esi
jmp 0x4d8a3c
mov esi, dword [eax + 0x34]
add esi, esi
push ecx
push esi
push 1
mov ecx, edx
call fcn.004014a0
push eax
call fcn.0063a217
add esp, 0x10
push dword [edi]
cmp esi, eax
je 0x4d8a78
call fcn.006374ee
add esp, 4
mov byte [edi + 5], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
push 1
push 0x745a2c
call fcn.0063a217
push dword [edi]
call fcn.00639410
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4dbb30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x7b8c80]
push esi
xor esi, esi
test edx, edx
jle 0x4dbb63
push ebx
mov bl, byte [0x7b8c84]
xor bl, byte [esi + ecx]
inc eax
xor byte [eax + 0x7b8c87], bl
and eax, 0xfff
inc esi
mov dword [0x7b8c80], eax
cmp esi, edx
jl 0x4dbb43
mov byte [0x7b8c84], bl
pop ebx
movzx ecx, byte [ecx]
and ecx, 1
add ecx, eax
and ecx, 0xfff
mov dword [0x7b8c80], ecx
pop esi
ret