joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x427015
lea edi, [esi - 0x26015]
push edi
or ebp, 0xffffffff
jmp 0x42bc92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42bc99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42bc88
mov eax, 1
add ebx, ebx
jne 0x42bcab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42bca0
jne 0x42bcbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bca0
xor ecx, ecx
sub eax, 3
jb 0x42bcd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42bd42
mov ebp, eax
add ebx, ebx
jne 0x42bcdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42bce8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42bd0c
inc ecx
add ebx, ebx
jne 0x42bcf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42bced
jne 0x42bd09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bced
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42bd2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42bd1d
jmp 0x42bc8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42bd2c
add edi, ecx
jmp 0x42bc8e
pop esi
mov edi, esi
mov ecx, 0x33
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42bd4a
cmp byte [edi], 0
jne 0x42bd4a
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 0x42bd4f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42bdc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3faf0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3fb5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42bd7c
mov ecx, edi
jns 0x42bdab
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 + 0x3fb64]
or eax, eax
je 0x42bdc1
mov dword [ebx], eax
add ebx, 4
jmp 0x42bd99
call dword [esi + 0x3fb60]
mov ebp, dword [esi + 0x3fb68]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x42bdfb
sub esp, 0xffffff80
jmp 0x401350
Function at 0x402cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449653
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402bb0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00417e00
lea ecx, [esi + 0x1e58]
mov byte [esp + 0x18], 1
call fcn.0042c330
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov byte [esi + 0x1e54], bl
mov byte [esi + 0x1e55], bl
mov dword [esi + 0x1e40], ebx
mov dword [esi + 0x1e48], ebx
mov dword [esi + 0x1e4c], ebx
mov dword [esi + 0x1e50], ebx
mov dword [esi + 0x1eb4], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40f540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449eb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x1e5c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x40f583
push eax
call fcn.0043e11d
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00417c90
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004025f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x412910
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x459314], 0
jne 0x41291e
call fcn.00412880
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41294d
test dl, 7
je 0x41294d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
dec esi
inc edx
test esi, esi
ja 0x412930
cmp esi, 8
jb 0x4129dc
mov edi, esi
shr edi, 3
jmp 0x412960
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x459310]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub edi, 1
jne 0x412960
xor ecx, ecx
test esi, esi
jbe 0x4129fc
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x459310]
inc ecx
cmp ecx, esi
jb 0x4129e3
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x412a90
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x412aa0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x412aa0
pop esi
ret 4
Function at 0x412af0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412b00
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00412910
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x412ba6
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x459310]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x459312]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412b50
pop edi
pop esi
ret 4

Function at 0x412c90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x412d4a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x412cb0
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459310]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459312]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x412cb0
pop esi
pop ebx
pop edi
ret 8
Function at 0x413db0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x413e18
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x413df4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x413de0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0043e570
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x413e68
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x413e44
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x413e30
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0043e570
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x413e82
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x413e82
dec eax
sub ecx, 4
test eax, eax
ja 0x413e73
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x413ea3
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x413e93
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x413eb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x413fda
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x413fda
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4599c4]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x413ee0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0043e8e0
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x413f87
mov ebp, dword [0x4599c0]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4599c4]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x413f7a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x413f7a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x413f50
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x413f72
add ecx, esi
cmp ecx, 0x7fff
jb 0x413f6c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x413f50
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x413f20
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x413fb7
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x413fa0
cmp dword [edi], 0x11
jbe 0x413fd1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x413fd1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x413fc2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x413ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x4140d5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4599c4]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x41403b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x414028
add ecx, 0xffff8001
mov edx, dword [0x4599c0]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x414043
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x414088
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x41407e
add eax, eax
cmp eax, 0x7fff
jb 0x41406e
add eax, 0xffff8001
mov ebp, dword [0x4599c0]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x414080
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x414050
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x4140b3
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x4140a0
cmp dword [esi], 0x11
jbe 0x4140ce
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x4140ce
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x4140c0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8
Function at 0x416210
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp edi, 0xff
jne 0x416226
cmp byte [esi + 8], 0
je 0x41627e
mov eax, edi
sub eax, 1
je 0x416239
sub eax, 1
je 0x416264
sub eax, 0xfd
jne 0x416242
cmp dword [0x45d404], 0
jne 0x416248
mov dword [0x45d404], edi
inc dword [0x45d408]
call fcn.0041a990
cmp byte [esi + 0xa], 0
je 0x41625e
call fcn.00435a30
push edi
call fcn.0043fdb9
mov eax, dword [0x45d404]
test eax, eax
je 0x416272
cmp eax, 1
jne 0x416248
mov dword [0x45d404], 2
jmp 0x416248
pop edi
pop esi
ret 4

Function at 0x416370
Capabilities:
Terminate process

Disassembly:
cmp byte [0x4599cc], 0
push esi
mov esi, ecx
jne 0x41639e
mov eax, dword [esp + 8]
push eax
push 0xce4
call fcn.00430740
push eax
push 0
push esi
call fcn.004160d0
add esp, 0x10
mov ecx, esi
call fcn.00416290
mov eax, dword [0x45d404]
test eax, eax
je 0x4163ac
cmp eax, 1
jne 0x4163b6
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x4163cd
call fcn.00435a30
push 2
call fcn.0043fdb9
int3

Function at 0x416430
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00416290
mov eax, dword [esp + 8]
push eax
push 0xe5a
call fcn.00430740
push eax
push 0
push esi
call fcn.004160d0
inc dword [0x45d408]
add esp, 0x10
mov dword [0x45d404], 5
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x416474
call fcn.00435a30
push 5
call fcn.0043fdb9
int3

Function at 0x4164f0
Capabilities:
Terminate process

Disassembly:
cmp byte [0x4599cc], 0
push esi
mov esi, ecx
jne 0x41651e
mov eax, dword [esp + 8]
push eax
push 0xce2
call fcn.00430740
push eax
push 0
push esi
call fcn.004160d0
add esp, 0x10
mov ecx, esi
call fcn.00416290
mov eax, dword [0x45d404]
test eax, eax
je 0x41652c
cmp eax, 1
jne 0x416536
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x41654d
call fcn.00435a30
push 2
call fcn.0043fdb9
int3
Function at 0x4165e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x41c]
mov ebp, ecx
test ebx, ebx
je 0x416615
cmp byte [ebx], 0
je 0x416615
mov esi, ebx
jmp 0x416617
xor esi, esi
push edi
push 0xd0c
call fcn.00430740
push eax
push esi
call fcn.00412810
add esp, 0xc
call fcn.00411e80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4166ad
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416641
sub eax, edx
push edi
mov esi, eax
call fcn.00427f00
test al, al
jne 0x41667d
lea eax, [esp + 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416670
sub eax, edx
lea esi, [esi + eax + 1]
cmp esi, 0x104
jbe 0x4166ad
test ebx, ebx
je 0x416692
cmp byte [ebx], 0
je 0x416692
mov esi, ebx
jmp 0x416694
xor esi, esi
push 0x104
push 0xe6e
call fcn.00430740
push eax
push esi
call fcn.00412810
add esp, 0xc
mov ecx, ebp
call fcn.00416290
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e3c6
add esp, 0x404
ret 8

Function at 0x4166f0
Capabilities:
Terminate process

Disassembly:
push esi
push 0xce6
mov esi, ecx
call fcn.00430740
push eax
push 0
push esi
call fcn.004160d0
inc dword [0x45d408]
add esp, 0xc
mov dword [0x45d404], 8
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x41672a
call fcn.00435a30
push 8
call fcn.0043fdb9
int3

Function at 0x416740
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0xce0
mov esi, ecx
call fcn.00430740
push eax
push 0
push esi
call fcn.004160d0
add esp, 0x10
mov ecx, esi
call fcn.00416290
mov eax, dword [0x45d404]
test eax, eax
je 0x416773
cmp eax, 1
jne 0x41677d
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x416794
call fcn.00435a30
push 2
call fcn.0043fdb9
int3

Function at 0x4167a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push esi
push eax
push 0xcde
mov esi, ecx
call fcn.00430740
mov ecx, dword [esp + 0xc]
push eax
push ecx
push esi
call fcn.004160d0
add esp, 0x10
mov ecx, esi
call fcn.00416290
inc dword [0x45d408]
mov dword [0x45d404], 5
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x4167e9
call fcn.00435a30
push 5
call fcn.0043fdb9
int3

Function at 0x416840
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0xd0e
mov esi, ecx
call fcn.00430740
push eax
push 0
call fcn.00412810
add esp, 0xc
call fcn.00411e80
mov ecx, esi
call fcn.00416290
inc dword [0x45d408]
mov dword [0x45d404], 6
call fcn.0041a990
cmp byte [esi + 0xa], 0
pop esi
je 0x41688a
call fcn.00435a30
push 6
call fcn.0043fdb9
int3
Function at 0x419bc0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44a46b
mov eax, dword fs:[0]
push eax
mov eax, 0x24c4
call fcn.0043ed40
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x24c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0x24d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24e4]
mov esi, dword [esp + 0x24e8]
lea ecx, [esp + 0xc24]
call fcn.00436220
lea ecx, [esp + 0xc48]
call fcn.00436220
lea ecx, [esp + 0xc6c]
call fcn.00436220
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
call fcn.0041d3d0
test al, al
je 0x419ddb
cmp byte [esp + 0x10], 0
je 0x419ddb
cmp byte [esp + 0xc90], 0
je 0x419ddb
lea ecx, [esp + 0xc90]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004272c0
push eax
call fcn.00435260
test eax, eax
je 0x419ddb
lea eax, [esp + 0xc90]
push eax
push edi
call fcn.004272c0
push eax
call fcn.00435260
test eax, eax
jne 0x419ddb
xor esi, esi
lea ecx, [ecx]
push 0x400
push edi
lea ecx, [esp + 0x1cd8]
push ecx
call fcn.004352a0
push esi
push str.rtmp_d
lea edx, [esp + 0x1cd8]
push edx
call fcn.004272c0
push eax
call fcn.0043e3d5
add esp, 0xc
push 0
lea eax, [esp + 0x1cd4]
push eax
call fcn.0041b230
test al, al
je 0x419ced
add esi, 0x7b
cmp esi, 0x2710
jl 0x419ca0
push 0
lea ecx, [esp + 0x1cd4]
push ecx
call fcn.0041b230
test al, al
jne 0x419ddb
push 0x400
push edi
lea edx, [esp + 0x20d8]
push edx
call fcn.004352a0
lea eax, [esp + 0x10]
push eax
call fcn.004272c0
lea ecx, [esp + 0x20d0]
push ecx
mov esi, eax
call fcn.004272c0
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x419d30
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0x1cd0]
push edx
lea eax, [esp + 0x20d4]
push eax
call esi
test eax, eax
je 0x419ddb
lea ecx, [esp + 0x10b0]
call fcn.0041a110
push 0
push edi
mov dword [esp + 0x24e4], 0
xor bl, bl
call fcn.0041b230
test al, al
jne 0x419d92
push 1
push 0
push edi
lea ecx, [esp + 0x10bc]
call fcn.0041a660
mov bl, al
lea ecx, [esp + 0x20d0]
push ecx
lea edx, [esp + 0x1cd4]
push edx
call esi
test bl, bl
je 0x419dc0
lea ecx, [esp + 0x10b0]
call fcn.0041a190
lea ecx, [esp + 0x10b0]
call fcn.0041a240
lea ecx, [esp + 0x10b0]
mov dword [esp + 0x24dc], 0xffffffff
call fcn.0041a4d0
mov al, 1
jmp 0x419ddd
xor al, al
mov ecx, dword [esp + 0x24d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24c0]
xor ecx, esp
call fcn.0043e3c6
add esp, 0x24d0
ret 8
Function at 0x41a500
Capabilities:
Check if file exists

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
push edi
mov dword [esi + 0xc18], 0
mov al, 1
jne 0x41a51c
mov al, byte [esp + 0x1c]
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x80000000
je 0x41a533
mov dword [esp + 0x1c], 0xc0000000
mov ebp, 1
test al, al
je 0x41a541
mov ebp, 3
xor eax, eax
cmp byte [esi + 0x15], al
setne al
dec eax
and eax, 0x8000000
mov edi, eax
call fcn.0041dc70
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x41a582
test ebx, ebx
je 0x41a582
cmp word [ebx], 0
je 0x41a582
mov ecx, dword [esp + 0x1c]
push 0
push edi
push 3
push 0
push ebp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [esp + 0x14]
jmp 0x41a59a
mov edx, dword [esp + 0x1c]
push 0
push edi
push 3
push 0
push ebp
mov ebp, dword [esp + 0x28]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a5b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41a5b6
mov dword [esi + 0xc18], 1
cmp edi, 0xffffffff
setne al
mov byte [esi + 0x12], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x1c], al
test al, al
je 0x41a627
mov dword [esi + 4], edi
test ebx, ebx
je 0x41a5e9
push ebx
lea eax, [esi + 0x418]
push eax
call fcn.004368f0
jmp 0x41a5f2
xor ecx, ecx
mov word [esi + 0x418], cx
lea edx, [esi + 0x17]
test ebp, ebp
je 0x41a60c
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41a600
jmp 0x41a618
push 0x1000000
push edx
push ebx
call fcn.00436670
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call fcn.0041a160
mov al, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x41a7a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
push edi
mov edi, dword [esp + 0x14]
jne 0x41a7c7
cmp edi, 0x4e20
jbe 0x41a7bc
mov edi, 0x4e20
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41a838
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x41a816
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x41a7fb
cmp eax, 3
jne 0x41a816
cmp edi, 0x4e20
jbe 0x41a816
push 0x4e20
push ebx
mov ecx, esi
call fcn.0041a7a0
pop edi
pop esi
pop ebx
ret 8
cmp dword [esi + 0xc], 1
jne 0x41a82f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x41a82f
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
ret 8