joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100086ea
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10041498], 0x174e
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10008d62
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
mov dword [0x10041498], 0x1d20
mov dword [esp + 0x78], 0x11ce00
mov edx, dword [0x10041480]
add ecx, 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [0x10008528]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov esi, dword [0x10041484]
mov dword [esp + 0x48], esi
mov esi, dword [0x10041488]
mov dword [esp + 0x50], esi
mov esi, dword [0x1004148c]
mov dword [esp + 0x84], esi
mov esi, dword [0x10041490]
mov dword [esp + 0x4c], esi
mov dword [0x10041494], 0xed
mov dword [esp + 0x14], eax
jmp 0x100087b9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100087dc
jmp 0x100087c8
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10008799
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100087b9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov dword [0x10041494], 0xffffe78e
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x60], edx
mov dword [0x10041498], 0x9b5
call fcn.10007d56
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x100087af
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10008bf0
mov ecx, dword [0x10041494]
add ecx, 0xffffe27f
mov dword [0x10041494], ecx
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x10041494]
add ecx, 0xfffffc01
mov dword [0x10041498], ecx
mov dword [esp + 8], eax
jmp 0x100087af
Function at 0x10008bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10041498], 0x1f89
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x10041494], 0xac0
mov dword [ebp - 0x2c], eax
jmp 0x10008c9c
mov eax, dword [ebp - 0x30]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10007ffb
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x48], ecx
mov dword [0x10041494], 0xdd4
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10008d35
jmp 0x10008d1a
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1001aa99]
mov dh, byte [eax + 0x1001aa6a]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10008c9c
lea eax, [ebp - 0x20]
mov dword [0x10041498], 0x25c1
mov dword [0x10041494], 0x2380
mov dword [ebp - 0x3c], eax
call fcn.10008964
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10008a74
xor ecx, ecx
mov edx, dword [0x10041494]
add edx, 0xffffee08
mov dword [0x10041494], edx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x10008d35
jmp 0x10008c1d
mov eax, dword [ebp - 0x34]
add eax, 0x1a43
mov dword [ebp - 0x40], eax
mov dword [0x10041498], 0xfffffe9b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x4fcf6c44
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x3f0741ed
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x760c3946
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x50aa49c6
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5e901c
Capabilities:
Encode data using xor

Disassembly:
sub ah, byte [ebx - 0x7d]
xchg ecx, eax
pushfd
cmp cl, 0x91
or ecx, dword [esp + ebp + 0x2cc37db4]
mov byte [0xecd09243], al
test dl, al
xchg esp, ebp
adc bh, byte [edx - 0x1d]
adc al, 0x16
inc esp
inc esi
inc esi
test eax, ebp
invalid
xchg ebx, eax
and al, byte [ebp + ebp*8 + 0x469db8cd]
adc ah, byte [ecx + 0x6f]
jl 0x5e8fab
or al, 0x40
xchg edx, eax
invalid

Function at 0x6003e7
Capabilities:
Encode data using xor

Disassembly:
fcomi st(1)
push ecx
sbb al, 0x92
pop edi
cdq
mov al, 0x7b
invalid
fmul qword [edx + ecx*8 + 0x1d]
jle 0x600460
dec esp
retf 0x7e1d
popfd
mov ebp, 0x9978ac9d
sal bl, 1
rcl byte [ebx + 0x3be09145], cl
aam 0x64
jecxz 0x600403
jecxz 0x600467
call 0xa5d15801
cli
push ebx
jno 0x6003ac
xchg ch, al
dec ecx
arpl word [edi], di
dec eax
popal
and dword [eax - 0x1a199f], 0xa240dbb3
aas
cvtpi2ps xmm0, qword [eax]
loope 0x60045f
push eax
xor dword [edx + 0x2f581613], ecx
cmpsd dword [esi], dword es:[edi]
fadd dword [eax]
pushal
ja 0x60043d
call 0x95f56af7
out 0xce, al
add dword [edx - 0x498fdcb8], 0xffffffb7
mov dl, 0xf
int 0xa1
add eax, 0x3500d5b0
push cs
or al, 0x64
mov esi, 0xb5ce0b82
bts dword [ebx - 0x42], edx
ja 0x600496
mov eax, dword [0xd5b005]
xor eax, 0xbe640c0e
or byte [ebx], 0xce
into
mov ch, 0xf
stosd dword es:[edi], eax
push ebx
mov esi, 0x191f4577
test byte [edx], bl
scasb al, byte es:[edi]
lodsb al, byte [esi]
mov al, byte [0xeafd60d0]
inc ebx
fist dword [edx + 0x6be5c919]
pop ds
sbb dword [edx + ebx - 0x2f5f5352], eax
pushal
std
ljmp 0xe5c9
sbb ecx, ecx
leave
in eax, 0x6b
imul esi, dword [ebx - 0x7d], 0x45
jae 0x6003e8
inc ebp
xchg byte [ebx - 0x3ff15fb6], dh
xchg byte [ebx - 0x3ff15fb6], dh
inc eax
mov dword [0x586a987c], eax
dec edi
mov cl, 0xa1
mov bl, 0x8b
xor byte [esi + 0x3d], 0xdf
xchg edx, eax
jne 0x600462
sbb ecx, ebp
sbb dword [0xc323d5f4], 0x31
and bl, 6
fadd st(4), st(0)
imul ebp, dword [edx + eax*2 - 0x48], 0x3d8483e8
dec esp
js 0x600449
mov eax, 0x45beed28
retf 0xce41
Function at 0x64d893
Capabilities:
Encode data using xor

Disassembly:
in al, dx
mov ecx, 0x4f7f3f4f
lcall 0x4916, 0xcaa38103
add edi, ecx
cmp dword [edx + 0x6cebc908], 0xa9bbbf92
not dword [ecx + 0x688f35e7]
adc eax, 0xb82fcf49
loop 0x64d888
popfd
sbb eax, edx
push edi
scasd eax, dword es:[edi]
pop ss
invalid
or al, 0x4a
mov byte [0x2ba8280e], al
test dword [edx - 0xa], ecx
pop es
out dx, eax
xchg ebp, eax
cmp byte [ecx], ch
xchg dword [ebx], esi
xchg edx, eax
outsb dx, byte [esi]
xor bp, cx
leave
aaa
add edi, esp
fsubrp st(1)
mov ebp, 0xd9f64cbf
or dh, bl
jo 0x64d880
pop edx
cmp byte [ebp - 0x6cf73bbf], dh
or byte [ebx + 0x3464602c], dl
pop edi
sub al, 0x60
xor al, 0x5f
mov ecx, 0xc189b9c1
xor al, 0xd1
push esi
into
jno 0x64d7f2
add al, 0xb
and ah, byte [edx + 0x39ef0c08]
xchg ebp, eax
dec ecx
rcl byte [eax]
ljmp 0x765
cmp dword [ebp - 0x15ef2fb7], edx
loopne 0x64d8b2
leave
outsb dx, byte [esi]
pop es
test dword [edi + 0x29], eax
mov bh, 0x27
push ecx
lodsb al, byte [esi]
pop ebx
lahf
jno 0x64d84c
mov ch, 0x45
je 0x64d8c8
inc edi
je 0x64d822
bnd jns 0x64d8fd
aas
cld
not byte [esi]
add al, 0xc6
sub dword [eax - 0x6bf87ea2], 0xd1f7c9c9
leave
not ecx
leave
not ecx
or esi, dword [ebx - 0x2a]
sar dword [ebp - 0x206e75f7], 0x9c
sbb dword [0xc39416de], esp
aas
xchg esp, eax
jl 0x64d866
push ebx
rcr byte [ecx + 0x57], 0xff
ja 0x64d8eb
outsd dx, dword [esi]
push cs
ja 0x64d84e
push edi
fnstsw word [ecx - 0x1d]
xor al, 0x19
popal
jecxz 0x64d8b6
sub dl, byte [edi - 0x3bbc0838]
pop ss
and bl, bl
mov ch, 0xe0
adc cl, dl
push esp
cmpsd dword [esi], dword es:[edi]
jg 0x64d861
loopne 0x64d8da
rcl dword [edi + 0x7f]
xchg edx, eax
xchg esp, eax
test eax, 0x47178fda
inc ebx
sal dword [edi + 0x273cc619], 1
cmp al, 0x27
pop ds
mov dword [ebp - 0xc34c14c], eax
in al, 0x2a
xor edx, ebp
xchg edi, eax
jmp 0x5c493d23
in al, 0x5b
mov ecx, 0x68abe4cd
adc cl, byte [ecx]
aas
cmp eax, 0x37cddc7c
cmp byte [eax], ah
lahf
jmp 0xfafe3044

Function at 0x64ec20
Capabilities:
Terminate process

Disassembly:
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x651004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x64ec86
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64ec5a
cmp al, 0x22
jne 0x64ec4c
cmp byte [esi], 0x22
jne 0x64ec63
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64ec6d
cmp al, 0x20
jbe 0x64ec5f
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x64ec91
movzx eax, word [ebp - 0x2c]
jmp 0x64ec94
cmp byte [esi], 0x20
jbe 0x64ec63
inc esi
mov dword [ebp - 0x74], esi
jmp 0x64ec86
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x7d6b1038
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
mov ecx, 0x1bef7bcb
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41304a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x414c30
push 1
xor ebx, ebx
push ebx
push 0x414ce0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41311b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x414cd0
push eax
call dword [ecx]
test eax, eax
jl 0x413112
cmp byte [ebp + 8], bl
je 0x41309d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4130ba
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4130cc
push 0x41437c
jmp 0x4130cf
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4130e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4130f5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x413109
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x413135
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0xda7c50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
xor edx, edx
add eax, ecx
push edi
or ebx, ebx
je 0xda7c8c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0xda7c84
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0xda7c8e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0xda7c74
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0xda7d60
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0xda7d74
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0xda7d8f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x409376
Capabilities:
Parse pe header

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

Function at 0x42c260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c28d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c28d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4424f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4850b0], 0
push ebx
mov ebx, ecx
mov byte [ebp - 1], 0
push esi
push edi
lea eax, [ebx + 0x40]
mov dword [ebp - 8], ebx
lea edx, [ebx + 0x50]
mov dword [eax], 0
lea edi, [ebx + 0x60]
mov dword [edx], 0
mov dword [edi], 0
je 0x4426f8
push edx
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebx + 0x38]
push eax
push 0
call fcn.0043a2e0
test al, al
je 0x4426f8
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x4426f8
jmp 0x442553
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x1a0]
test al, 2
jne 0x44262a
test al, 8
je 0x44256f
mov bl, 1
mov byte [ebp - 1], bl
jmp 0x44262d
lea eax, [ebx + 0x40]
test eax, eax
je 0x44262a
test edi, edi
je 0x44262a
cmp dword [esi + 4], 0xffffffff
je 0x44262a
mov ebx, dword [eax]
cmp ebx, 1
jb 0x44262a
cmp dword [eax + 4], 0
je 0x44262a
mov dword [edi], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4425df
cmp ebx, 1
jl 0x4425df
cmp ebx, dword [edi + 8]
jle 0x4425cd
lea eax, [ebx + ebx]
mov ecx, edi
push eax
call fcn.00445080
test eax, eax
je 0x4425df
mov eax, dword [ebp - 0xc]
push ebx
push eax
mov eax, dword [edi + 4]
add eax, dword [edi]
push eax
call fcn.0040bea0
add esp, 0xc
add dword [edi], ebx
cmp dword [esi + 4], 0xffffffff
je 0x44262a
cmp dword [edi], 1
jb 0x44262a
mov ebx, dword [edi + 4]
xor edx, edx
nop
mov eax, dword [esi + 0x130]
mov cl, byte [edx + ebx]
and eax, 0xf
mov al, byte [eax + esi + 0x164]
add al, byte [esi + 0x138]
xor al, cl
mov byte [edx + ebx], al
inc edx
inc dword [esi + 0x130]
movsx eax, cl
mov dword [esi + 0x138], eax
cmp edx, dword [edi]
jb 0x4425f0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
mov bl, byte [ebp - 1]
mov esi, dword [esi + 0x178]
test esi, esi
jne 0x442550
test bl, bl
je 0x4426f8
mov dword [edi], esi
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x20]
test esi, esi
je 0x4426f8
mov eax, dword [esi + 0x1a0]
and al, 0xa
cmp al, 8
jne 0x4426ea
mov dword [edi], 0
mov eax, dword [esi + 0x18c]
sub eax, dword [esi + 0x188]
cmp eax, 0x100000
ja 0x4426ea
push ecx
push edi
sub esp, 8
lea eax, [esi + 0x1d8]
push eax
push dword [esi + 0x144]
call fcn.00439e90
test al, al
je 0x4426ea
cmp dword [esi + 4], 0xffffffff
je 0x4426ea
cmp dword [edi], 1
jb 0x4426ea
mov ebx, dword [edi + 4]
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov cl, byte [edx + ebx]
and eax, 0xf
mov al, byte [eax + esi + 0x164]
add al, byte [esi + 0x138]
xor al, cl
mov byte [edx + ebx], al
inc edx
inc dword [esi + 0x130]
movsx eax, cl
mov dword [esi + 0x138], eax
cmp edx, dword [edi]
jb 0x4426b0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
mov esi, dword [esi + 0x178]
test esi, esi
jne 0x442653
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0xc], ecx
push edi
test esi, esi
je 0x442c2b
nop word [eax + eax]
cmp dword [ecx + 0x1c], 0
jne 0x442c2b
cmp dword [esi + 4], 0xffffffff
je 0x442c1d
lea ebx, [ecx + 0x40]
mov ecx, esi
mov dword [ebx], 0
push ebx
call fcn.0044aa90
mov edx, dword [esi + 0x1c4]
test edx, edx
je 0x442bb5
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
jle 0x442bb5
lea eax, [ecx*8]
mov dword [ebp - 0x10], 0
sub eax, ecx
add eax, 0xfffffff9
lea edi, [edx + eax*4]
mov eax, dword [0x484f14]
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
test edi, edi
je 0x442baf
test ebx, ebx
je 0x442baf
cmp byte [edi], 0
je 0x442baf
cmp word [edi + 0x14], 0
jl 0x442baf
mov eax, dword [edi + 0xc]
cmp eax, 1
jl 0x442baf
mov ebx, dword [ebp - 8]
mov ecx, ebx
push eax
push edi
mov byte [edi + 0xb], 0
call fcn.00432470
test eax, eax
je 0x442baf
push ebx
call dword [0x454138]
push dword [edi + 0xc]
mov ecx, ebx
push edi
call fcn.004327c0
mov edi, eax
test edi, edi
jne 0x442af0
push ebx
mov ebx, dword [0x454134]
call ebx
jmp 0x442baf
lea ebx, [edi + 0x798]
push ebx
call dword [0x454138]
mov edi, dword [edi + 0x7c8]
push ebx
mov ebx, dword [0x454134]
call ebx
test edi, edi
jne 0x442b30
call dword [0x4540b8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
add ecx, 0x7530
cmp ecx, eax
jbe 0x442b30
push dword [ebp - 8]
call ebx
jmp 0x442bb5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push dword [eax + 0xc]
push eax
call fcn.004327c0
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x442ba4
lea ebx, [edi + 0x798]
push ebx
call dword [0x454138]
mov edi, dword [edi + 0x7c8]
push ebx
mov ebx, dword [0x454134]
call ebx
test edi, edi
jne 0x442b84
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push eax
push str.History:__s_d_returned_without_synchronization
push edi
push 1
push 0x4850d0
call fcn.00436d50
add esp, 0x18
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add eax, 0x40
mov ecx, dword [ebp - 0x14]
push eax
push edx
call fcn.00433fb0
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call ebx
cmp dword [ebp - 0x10], 2
jne 0x442bb5
dec dword [esi + 0x1c8]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x40], 0
lea edx, [ecx + 0x40]
jle 0x442c1d
test edx, edx
je 0x442c1d
cmp dword [esi + 4], 0xffffffff
je 0x442c1d
cmp dword [edx], 1
jb 0x442c1d
mov ebx, dword [edx + 4]
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov cl, byte [edi + ebx]
and eax, 0xf
mov al, byte [eax + esi + 0x164]
add al, byte [esi + 0x138]
xor al, cl
mov byte [edi + ebx], al
inc edi
inc dword [esi + 0x130]
movsx eax, cl
mov dword [esi + 0x138], eax
cmp edi, dword [edx]
jb 0x442be0
mov eax, dword [esi]
mov ecx, esi
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov esi, dword [esi + 0x178]
test esi, esi
jne 0x442a20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret