joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416635
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b6e0
mov eax, dword [0x437040]
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.00417ed5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x416677
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4167d3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427310
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 + 0x439308]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041995c
mov ecx, dword [esi*4 + 0x439308]
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 0x4167cc
cmp eax, dword [ecx + edi + 0x24]
jne 0x4167cc
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 0x4167cc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041995c
add esp, 0x14
test edx, edx
jl 0x4167cc
jg 0x416742
test eax, eax
jb 0x4167cc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4167cc
jl 0x41675c
cmp dword [ebp - 0x1008], eax
ja 0x4167cc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41677a
test ebx, ebx
je 0x4167b3
cmp ecx, edi
jae 0x4167b3
mov al, byte [ecx]
cmp al, 0xd
jne 0x416794
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4167a0
cmp byte [ecx + 1], 0xa
jne 0x4167a0
inc ecx
jmp 0x4167a0
movzx eax, al
movsx eax, byte [eax + 0x437240]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41677a
cmp edx, ebx
jne 0x41677a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4167d1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b6c7
leave
ret
Function at 0x418c5a
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 + 0x439308]
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 0x418c9a
cmp byte [ebx], 0xa
jne 0x418c9a
or byte [edi + eax + 0x28], 4
jmp 0x418c9f
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 0x418d9e
mov dl, byte [eax]
cmp dl, 0x1a
je 0x418d81
inc eax
cmp dl, 0xd
je 0x418ccb
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x418cf1
cmp eax, ecx
jae 0x418cff
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 0x418cb3
jmp 0x418d9e
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 0x418d7c
cmp dword [ebp - 0x10], 0
je 0x418d7c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x439308]
test byte [eax + edi + 0x28], 0x48
je 0x418d56
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x418d41
mov byte [esi], dl
jmp 0x418d52
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x439308]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x418d9e
cmp byte [ebp - 1], 0xa
jne 0x418d65
cmp esi, ebx
jne 0x418d65
mov byte [esi], 0xa
jmp 0x418d9d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041997a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x418d9e
mov byte [esi], 0xd
jmp 0x418d9d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x439308]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418d9b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418d9e
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418da7
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 + 0x439308]
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 0x418ded
cmp word [ebx], dx
jne 0x418ded
or byte [eax + edi + 0x28], 4
jmp 0x418df2
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 0x418f55
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 0x418f35
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x418e33
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418e69
cmp eax, edx
jae 0x418e77
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 0x418e0e
jmp 0x418f55
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 0x418f30
cmp dword [ebp - 0x18], 0
je 0x418f30
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x439308]
test byte [eax + edi + 0x28], 0x48
je 0x418f06
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 0x418eca
mov word [esi], cx
jmp 0x418f01
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x439308]
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 + 0x439308]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x439308]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x418f55
pop eax
cmp word [ebp - 4], ax
jne 0x418f16
cmp esi, ebx
jne 0x418f16
mov word [esi], ax
jmp 0x418f52
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041997a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x418f55
push 0xd
pop eax
jmp 0x418f11
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x439308]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x418f4f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x418f55
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 0x41bf09
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4305a8
push 0x4305a0
push str.FlsAlloc
push 0x1f
call fcn.0041bdc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bf3d
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281fc]
call esi
jmp 0x41bf43
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41bf87
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4305b8
push 0x4305b0
push str.FlsGetValue
push 0x21
call fcn.0041bdc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bfbe
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41bfc6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4305c0
push 0x4305b8
push str.FlsSetValue
push 0x22
call fcn.0041bdc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c000
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4281fc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41cd0d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x437040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x41cd50
call fcn.004133e6
mov dword [eax], 0xf
call fcn.004133f9
mov dword [eax], 0xd
call fcn.004181f9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b6c7
leave
ret
test eax, eax
jne 0x41cd57
inc eax
jmp 0x41cd44
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x41cd42
xor eax, eax
cmp ecx, 1
setne al
jmp 0x41cd44

Function at 0x41def9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041da14
Function at 0x41e874
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x437040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41e8bf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041ea0f
test al, al
jne 0x41e8b9
sub edx, 2
cmp edx, edi
jne 0x41e89f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41e8e1
lea eax, [edi + 2]
cmp edx, eax
je 0x41e8e1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041e7c0
add esp, 0x10
jmp 0x41e9db
push esi
lea ecx, [ebp - 0x255]
call fcn.0041ea0f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e924
push dword [ebp - 0x25c]
jmp 0x41e8d1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41e961
cmp word [ebp - 0x226], 0
je 0x41e982
cmp word [ebp - 0x226], ax
jne 0x41e961
cmp word [ebp - 0x224], 0
je 0x41e982
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041e7c0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41e9ce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41e93b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41e9b6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41e9db
push 0x41e5f0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00423f90
add esp, 0x10
jmp 0x41e9ab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b6c7
leave
ret
Function at 0x41f2e7
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 0x41f384
push ebx
push esi
call fcn.0041f2b0
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.0041ce38
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f331
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f383
push edi
push eax
call fcn.0041aa51
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f351
call fcn.0041823d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f382
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041ce38
add esp, 0x20
test eax, eax
jne 0x41f370
push edi
call fcn.0041823d
jmp 0x41f378
push ebx
call fcn.0041823d
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 0x41f387
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41f398
pop esi
ret
push ebx
push edi
push esi
call fcn.0041f2b0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041aa51
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41f3c0
push ebx
push esi
push edi
call fcn.0040c360
add esp, 0xc
push 0
call fcn.0041823d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4252f5
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.00425271
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x425464
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x425464
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x425419
jg 0x425351
test eax, eax
je 0x42540f
push 1
push 0x1000
call fcn.0041bc38
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x425374
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425406
push 0x8000
push ebx
call fcn.0041771b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42539d
jg 0x425398
cmp ecx, 0x1000
jb 0x42539d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041a4b6
add esp, 0x10
cmp eax, 0xffffffff
je 0x4253e2
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 0x425398
jl 0x4253c9
test ecx, ecx
jne 0x42538a
push dword [ebp - 0xc]
push ebx
call fcn.0041771b
push esi
call fcn.0041823d
add esp, 0xc
xor ebx, ebx
jmp 0x425472
cmp byte [edi + 0x24], 0
je 0x4253f9
cmp dword [edi + 0x20], 5
jne 0x4253f9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x425404
mov ebx, dword [edi + 0x18]
jmp 0x425406
xor ebx, ebx
push esi
call fcn.0041823d
pop ecx
jmp 0x425472
test ecx, ecx
jg 0x4253db
jl 0x425419
test eax, eax
jae 0x4253db
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041997a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425439
cmp byte [edi + 0x1c], 0
je 0x4253db
jmp 0x42546a
push ebx
call fcn.00415d27
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4253db
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 0x425472
cmp byte [edi + 0x1c], 0
je 0x42546f
mov ebx, dword [edi + 0x18]
jmp 0x425472
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041997a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4270e0
Capabilities:
Parse pe header

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

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x414dda
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], edx
dec esi
add edi, 4
sub ecx, 0x88dbbbf0
add esi, 0xa70e13ca
add eax, 0x6addabea
cmp edi, ebx
jne fcn.00414dda
ret

Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641
Function at 0x1001bb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1001bb4f
pop dword [ebp - 0x10]
mov eax, 0xd44cdeba
add eax, 0x3bb4dc95
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x6a0f6585
sub dword [ebp - 0x20], 0x1bbd203a
mov dword [ebp - 0x1c], 0x39d28dba
add dword [ebp - 0x1c], 0xf860be8b
mov dword [ebp - 0x18], 0x4e50a1a0
add dword [ebp - 0x18], 0xfdfba28e
mov dword [ebp - 0x14], 0x7e8c8edc
sub dword [ebp - 0x14], 0x7e8c8edc
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x4ddbec7c
add dword [ebp - 0x20], 0x26967cda
mov dword [ebp - 0x1c], 0xeeff9c03
add dword [ebp - 0x1c], 0x526cc572
mov dword [ebp - 0x18], 0x675bffa2
sub dword [ebp - 0x18], 0x3ec9336
mov dword [ebp - 0x14], 0x88321746
add dword [ebp - 0x14], 0x77cde8ba
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xe029e05a
add eax, 0x2fe19042
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x5b22e
push 0
call eax
mov ecx, 0x18d5767b
add ecx, 0xe72ac6d3
xor esi, esi
add esi, eax
mov edi, 0x100f3400
add edi, dword [ebp - 0x10]
mov ebx, 0x13ffefdc
mov edx, dword [edi]
xor dword [ebp - 8], 0x2b19028f
add edx, ebx
mov dword [esi], edx
add esi, 0x475e4af4
sub esi, 0x475e4af0
add edi, 0x57364229
add edi, 0xa8c9bddb
loop 0x1001bc62
add eax, 0xe80b
xor ebx, ebx
add ebx, eax
add eax, 0xb7293cdb
add eax, 0x48d6c32a
mov ecx, 0xf2a8638
sub ecx, 0xff2a8638
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1001bb40
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4