joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ee39
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 0x50eed6
push ebx
push esi
call fcn.0050ee02
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.0050ed96
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x50ee83
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x50eed5
push edi
push eax
call fcn.0050d908
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x50eea3
call fcn.0050d355
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x50eed4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0050ed96
add esp, 0x20
test eax, eax
jne 0x50eec2
push edi
call fcn.0050d355
jmp 0x50eeca
push ebx
call fcn.0050d355
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 0x51028a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x518a30
push 0x518a28
push str.FlsAlloc
push 0x1f
call fcn.00510149
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5102be
push dword [ebp + 8]
mov ecx, esi
call dword [0x51612c]
call esi
jmp 0x5102c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x510308
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x518a40
push 0x518a38
push str.FlsGetValue
push 0x21
call fcn.00510149
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51033f
push dword [ebp + 8]
mov ecx, esi
call dword [0x51612c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x510347
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x518a48
push 0x518a40
push str.FlsSetValue
push 0x22
call fcn.00510149
mov esi, eax
add esp, 0x10
test esi, esi
je 0x510381
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x51612c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x511f24
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x51e100]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x511f64
cmp byte [ebx], 0xa
jne 0x511f64
or byte [edi + eax + 0x28], 4
jmp 0x511f69
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x512068
mov dl, byte [eax]
cmp dl, 0x1a
je 0x51204b
inc eax
cmp dl, 0xd
je 0x511f95
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x511fbb
cmp eax, ecx
jae 0x511fc9
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x511f7d
jmp 0x512068
push 0
lea eax, [ebp - 0x10]
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 0x512046
cmp dword [ebp - 0x10], 0
je 0x512046
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x51e100]
test byte [eax + edi + 0x28], 0x48
je 0x512020
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x51200b
mov byte [esi], dl
jmp 0x51201c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x51e100]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x512068
cmp byte [ebp - 1], 0xa
jne 0x51202f
cmp esi, ebx
jne 0x51202f
mov byte [esi], 0xa
jmp 0x512067
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00511d1d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x512068
mov byte [esi], 0xd
jmp 0x512067
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x51e100]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x512065
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x512068
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x512071
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x51e100]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5120b7
cmp word [ebx], dx
jne 0x5120b7
or byte [eax + edi + 0x28], 4
jmp 0x5120bc
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x51221f
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x5121ff
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x5120fd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x512133
cmp eax, edx
jae 0x512141
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x5120d8
jmp 0x51221f
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5121fa
cmp dword [ebp - 0x18], 0
je 0x5121fa
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x51e100]
test byte [eax + edi + 0x28], 0x48
je 0x5121d0
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x512194
mov word [esi], cx
jmp 0x5121cb
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x51e100]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x51e100]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x51e100]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x51221f
pop eax
cmp word [ebp - 4], ax
jne 0x5121e0
cmp esi, ebx
jne 0x5121e0
mov word [esi], ax
jmp 0x51221c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00511d1d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x51221f
push 0xd
pop eax
jmp 0x5121db
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x51e100]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x512219
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x51221f
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x513895
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00513811
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x513a04
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x513a04
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5139b9
jg 0x5138f1
test eax, eax
je 0x5139af
push 1
push 0x1000
call fcn.0050d956
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x513914
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5139a6
push 0x8000
push ebx
call fcn.0050ab93
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x51393d
jg 0x513938
cmp ecx, 0x1000
jb 0x51393d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0050c4e1
add esp, 0x10
cmp eax, 0xffffffff
je 0x513982
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 0x513938
jl 0x513969
test ecx, ecx
jne 0x51392a
push dword [ebp - 0xc]
push ebx
call fcn.0050ab93
push esi
call fcn.0050d355
add esp, 0xc
xor ebx, ebx
jmp 0x513a12
cmp byte [edi + 0x24], 0
je 0x513999
cmp dword [edi + 0x20], 5
jne 0x513999
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5139a4
mov ebx, dword [edi + 0x18]
jmp 0x5139a6
xor ebx, ebx
push esi
call fcn.0050d355
pop ecx
jmp 0x513a12
test ecx, ecx
jg 0x51397b
jl 0x5139b9
test eax, eax
jae 0x51397b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00511d1d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5139d9
cmp byte [edi + 0x1c], 0
je 0x51397b
jmp 0x513a0a
push ebx
call fcn.0050f679
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x51397b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x513a12
cmp byte [edi + 0x1c], 0
je 0x513a0f
mov ebx, dword [edi + 0x18]
jmp 0x513a12
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00511d1d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x515a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x515a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x515a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1404436c
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x1404437b
or edx, 0x200
test eax, 0x20000000
je 0x140443af
test eax, 0x40000000
je 0x1404439a
test eax, 0x80000000
je 0x14044395
or edx, 0x40
jmp 0x140443d6
or edx, 0x20
jmp 0x140443d6
test eax, 0x80000000
je 0x140443a9
or edx, 0x80
jmp 0x140443d6
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x140443c7
test eax, 0x80000000
je 0x140443c2
or edx, 4
jmp 0x140443d6
or edx, 2
jmp 0x140443d6
test eax, 0x80000000
je 0x140443d3
or edx, 8
jmp 0x140443d6
or edx, 1
mov eax, edx
ret
Function at 0x14060950
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x14060b34
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x1406097a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x14060981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14060970
mov eax, 1
add ebx, ebx
jne 0x14060993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x140609a4
jne 0x140609c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x140609c3
dec eax
add ebx, ebx
jne 0x140609b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x14060988
add ebx, ebx
jne 0x140609bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x14060a15
xor ecx, ecx
sub eax, 3
jb 0x140609db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14060a4a
sar eax, 1
mov ebp, eax
jmp 0x140609e6
add ebx, ebx
jne 0x140609e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x140609b4
inc ecx
add ebx, ebx
jne 0x140609f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x140609b4
add ebx, ebx
jne 0x14060a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x140609f6
jne 0x14060a12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x140609f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14060a34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14060a26
jmp 0x14060976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14060a34
add edi, ecx
jmp 0x14060976
pop esi
mov edi, esi
mov ecx, 0x29a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14060a52
cmp byte [edi], 0x15
jne 0x14060a52
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 0x14060a57
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x14060ac6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x600f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6024c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x14060a84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x60250]
or eax, eax
je 0x14060ac0
mov dword [ebx], eax
add ebx, 4
jmp 0x14060aa1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14060af7
cmp al, 0xef
ja 0x14060aea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x14060acc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x14060ad9
mov ebp, dword [esi + 0x60254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x14060b2b
sub esp, 0xffffff80
jmp fcn.14046188
Function at 0x40c5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x4415e0]
lea ebx, [ebp - 0x1b]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov dword [eax + 7], 0x1e351211
mov dword [eax + 4], 0x11253403
mov dword [eax], 0xff34017f
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x441f08], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push 0x9385646d
push dword [0x441f08]
call fcn.0040a490
add esp, 8
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
call edx
push 0x27
push 0x441547
push 0x547
push section..data
call section..text
add esp, 0x10
push 0xb
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call section..text
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_FindAtomW]
mov eax, 0xecaeccf
nop
cmp eax, 0xfe37d6ee
jle 0x40c6c0
cmp eax, 0x3ea22a3b
jg 0x40c6f0
cmp eax, 0xfe37d6ef
je 0x40c71d
cmp eax, 0xecaeccf
jne 0x40c680
mov ecx, 0x496e02a9
mov dword [ebp - 0x20], 1
cmp ecx, 0x4bdf25b8
jg 0x40c798
jmp 0x40c7c0
cmp eax, 0xb14e06c8
je 0x40c865
cmp eax, 0xede81afc
je 0x40c7eb
cmp eax, 0xf52641a3
jne 0x40c680
mov eax, 0x3ea22a3c
mov esi, 0x4e4
cmp eax, 0xfe37d6ee
jg 0x40c687
jmp 0x40c6c0
cmp eax, 0x3ea22a3c
je 0x40c814
cmp eax, 0x44dca35f
jne 0x40c680
mov eax, 0xede81afc
mov edi, 0x8aafdc01
cmp eax, 0xfe37d6ee
jg 0x40c687
jmp 0x40c6c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
mov edi, section..data
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push esi
mov edx, edi
mov ecx, 0x27
xor ecx, 0x1af
add edx, ecx
mov ecx, 3
sub esp, 4
loop 0x40c746
mov dword [esp + 4], 1
xor dword [esp + 4], 0xbb8
mov dword [esp], edx
mov dword [esp + 8], 0
lea eax, [ebx]
push eax
ret
mov ecx, 0x56928c64
xor eax, eax
nop
cmp ecx, 0x4bdf25b8
jle 0x40c7c0
cmp ecx, 0x4bdf25b9
je 0x40c7ad
cmp ecx, 0x56928c64
jne 0x40c790
jmp 0x40c844
mov ecx, 0x56928c64
mov al, 1
cmp ecx, 0x4bdf25b8
jg 0x40c798
nop dword [eax]
cmp ecx, 0x30bee6ad
je 0x40c788
cmp ecx, 0x496e02a9
jne 0x40c790
cmp dword [ebp - 0x20], 0
mov ecx, 0x30bee6ad
mov edx, 0x4bdf25b9
cmove ecx, edx
cmp ecx, 0x4bdf25b8
jg 0x40c798
jmp 0x40c7c0
push edi
push dword [0x441f08]
call fcn.0040a490
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, 0xf52641a3
xor esi, esi
cmp eax, 0xfe37d6ee
jg 0x40c687
jmp 0x40c6c0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
push ecx
push 0x40
push esi
push section..data
call eax
test eax, eax
mov eax, 0xfe37d6ef
mov ecx, 0xb14e06c8
cmove eax, ecx
cmp eax, 0xfe37d6ee
jg 0x40c687
jmp 0x40c6c0
test al, 1
mov eax, 0x44dca35f
mov ecx, 0xede81afc
cmovne eax, ecx
xor edi, edi
cmp eax, 0xfe37d6ee
jg 0x40c687
jmp 0x40c6c0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423cc3
xor eax, eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x424556
Capabilities:
Parse pe header

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

Function at 0x42984a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004312c0
mov eax, dword [0x4415e0]
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.0042d476
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42988c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4299e8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00431210
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 + 0x442a78]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00431044
mov ecx, dword [esi*4 + 0x442a78]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4299e1
cmp eax, dword [ecx + edi + 0x24]
jne 0x4299e1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4299e1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00431044
add esp, 0x14
test edx, edx
jl 0x4299e1
jg 0x429957
test eax, eax
jb 0x4299e1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4299e1
jl 0x429971
cmp dword [ebp - 0x1008], eax
ja 0x4299e1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x42998f
test ebx, ebx
je 0x4299c8
cmp ecx, edi
jae 0x4299c8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4299a9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4299b5
cmp byte [ecx + 1], 0xa
jne 0x4299b5
inc ecx
jmp 0x4299b5
movzx eax, al
movsx eax, byte [eax + 0x441d50]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x42998f
cmp edx, ebx
jne 0x42998f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4299e6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00423cc3
leave
ret

Function at 0x42a110
Capabilities:
Parse pe header

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