joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b210
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [0x464bec]
test ecx, ecx
je 0x41064f
jmp 0x41b210
ret
push 0xffffffffffffffff
push 0x447d96
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4630c8]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x41b41e
push str._r_n______________________________________________r_n
lea ecx, [esp + 0x10]
call fcn.0041ace0
push 0x17
push str.____Logging_started_at
lea ecx, [esp + 0x14]
mov dword [esp + 0xb0], 0
call fcn.00401e50
lea eax, [esp + 0x1c]
push eax
call fcn.00435235
lea eax, [esp + 0x20]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b292
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401e50
push 2
push 0x44cc1c
lea ecx, [esp + 0x14]
call fcn.00401e50
lea edx, [esp + 0x1c]
push edx
call fcn.0043516d
lea eax, [esp + 0x20]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b2d4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.00401e50
push 0x35
push str._____r_n______________________________________________r_n
lea ecx, [esp + 0x14]
call fcn.00401e50
push 2
push 0x45607c
lea ecx, [esp + 0x14]
call fcn.00401e50
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0041afd0
add eax, 4
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0xac], 1
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0
call fcn.0040ec70
mov eax, dword [esi + 0x28]
add esi, 0x28
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41b365
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov eax, dword [esi]
push 0
push eax
call fcn.004339d6
xor ecx, ecx
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [esi]
setne cl
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov edi, ecx
jle 0x41b392
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push 0x44c67c
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004344e5
add esp, 0xc
test edi, edi
jne 0x41b3cd
test eax, eax
jne 0x41b3cd
mov ecx, dword [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x1c]
push 1
push edx
mov dword [esp + 0x24], 0xfeff
call fcn.00434203
add esp, 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x41b3f3
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.00434203
mov eax, dword [esp + 0x20]
push eax
call fcn.00433b7f
add esp, 0x14
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b41e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00431d0b
add esp, 0xa0
ret
Function at 0x41b940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447e48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], vtable.CPMemBlock_unsigned_char_.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
push 1
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0041b8c0
test eax, eax
jne 0x41b9df
cmp dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xffffffff
je 0x41b9c6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41b9c6
push eax
call dword [0x46230c]
add esp, 4
mov eax, 0x69
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push edi
mov edi, dword [esp + 0x1c]
push edi
mov ecx, esi
call eax
mov esi, eax
test esi, esi
je 0x41ba27
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41ba11
test edi, edi
je 0x41ba11
push edi
call dword [0x46230c]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
push edi
add ecx, 4
call fcn.00401a30
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41ba51
test edi, edi
je 0x41ba51
push edi
call dword [0x46230c]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8

Function at 0x41ba70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447e78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], vtable.CPMemBlock_unsigned_short_int_.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
push 1
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0041a710
test eax, eax
jne 0x41bb0f
cmp dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xffffffff
je 0x41baf6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41baf6
push eax
call dword [0x46230c]
add esp, 4
mov eax, 0x69
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
lea eax, [edi + edi]
mov edi, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x41bb5a
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41bb44
test edi, edi
je 0x41bb44
push edi
call dword [0x46230c]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
push edi
call fcn.00419e40
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41bb81
test edi, edi
je 0x41bb81
push edi
call dword [0x46230c]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x41c8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448090
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, edx
jge 0x41cab5
test eax, eax
jl 0x41c96c
cmp eax, edx
jge 0x41c96c
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + eax*4]
cmp edi, 0x30000
lea eax, [ecx + eax*4]
jl 0x41c971
sub edi, 0x30000
cmp edi, dword [0x464fa0]
jge 0x41caf3
test edi, edi
jl 0x41c96c
mov ecx, dword [esp + 0x28]
shl edi, 6
add edi, dword [0x464f9c]
push edi
call fcn.0041c870
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
call fcn.00428daa
cmp edi, 0x20000
jl 0x41c9b8
sub edi, 0x20000
cmp edi, dword [0x464f84]
jge 0x41caf3
test edi, edi
jl 0x41c96c
mov ecx, dword [esp + 0x28]
shl edi, 6
add edi, dword [0x464f80]
push edi
call fcn.0041c870
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
cmp edi, 0x10000
jl 0x41c9fd
sub edi, 0x10000
cmp edi, dword [0x464f68]
jge 0x41caf3
push edi
mov ecx, 0x464f58
call fcn.0041c750
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041c870
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
lea edx, [edi - 1]
cmp edx, 0x10
ja 0x41caf3
mov esi, dword [esp + 0x28]
mov dword [esi], edi
mov eax, dword [edi*4 + 0x4621f8]
push eax
lea ecx, [esp + 0x10]
call fcn.004010e0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x20], 0
call fcn.004011b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040ec70
mov edx, dword [edi*4 + 0x462248]
push edx
lea ecx, [esp + 0x10]
call fcn.004010e0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 1
call fcn.004011b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040ec70
mov ecx, dword [edi*4 + str.________]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
sub eax, edx
cmp eax, dword [ecx + 0x30]
jge 0x41caf3
test eax, eax
jl 0x41c96c
cmp eax, dword [ecx + 0x30]
jge 0x41c96c
shl eax, 6
add eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041c870
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x41f230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4485f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0040ec40
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.0040ec40
mov edi, dword [esp + 0x34]
push 0x456411
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00410950
test eax, eax
je 0x41f32a
push 0x44ced8
lea ecx, [esp + 0x20]
call fcn.00401f20
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.0040f2a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0040ec70
push 0x456411
lea ecx, [esp + 0x18]
call fcn.00410950
test eax, eax
je 0x41f32a
mov eax, dword [esi + 0x3c]
push 0xffffffffffffffff
add eax, 1
lea edi, [esi + 0x34]
push eax
mov ecx, edi
call fcn.0041ead0
mov esi, dword [esi + 0x3c]
lea eax, [esi - 1]
test eax, eax
jl 0x41f35f
cmp eax, dword [edi + 8]
jge 0x41f35f
shl eax, 4
add eax, dword [edi + 4]
mov esi, eax
lea eax, [esp + 0xc]
push eax
call fcn.00418000
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esi + 4]
push edx
call fcn.00401b00
lea eax, [esp + 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.00401b00
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ec70
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ec70
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
call fcn.00428daa
int3
Function at 0x420720
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push eax
push edx
push esi
call fcn.00420250
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x420791
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x420750
mov eax, dword [esp + 0x1c]
pop ebp
cmp eax, 1
jle 0x42094f
lea edx, [eax - 1]
lea ecx, [ecx]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e328]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb28]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e728]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef28]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e328]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb28]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e728]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef28]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e328]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb28]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e728]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef28]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e328]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb28]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e728]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef28]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x4207a0
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4229d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x134
mov eax, dword [0x4630c8]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [esp + 0x140]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
xor ecx, ecx
lea eax, [edx + 2]
cmp byte [eax - 2], 0
jne 0x422a37
cmp byte [eax - 1], 0
jne 0x422a2a
cmp byte [eax], 0
jne 0x422a2f
cmp byte [eax + 1], 0
jne 0x422a34
add ecx, 4
add eax, 4
cmp ecx, 0x20
jl 0x422a06
jmp 0x422a37
add ecx, 1
jmp 0x422a37
add ecx, 2
jmp 0x422a37
add ecx, 3
cmp ecx, 0x20
jne 0x422a44
lea eax, [ecx + 0x4c]
jmp 0x422b93
push ebp
push pe_nt_image_headers32
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00420250
mov ebp, eax
mov eax, dword [esp + 0x14c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
push ebx
jmp 0x422a90
xor ebx, ebx
mov edx, dword [edi]
mov eax, dword [edx + 0xa4]
mov ecx, edi
call eax
test eax, eax
jne 0x422ac3
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x13]
push eax
mov ecx, edi
call edx
mov al, byte [esp + 0x13]
mov byte [esp + ebx + 0x130], al
add ebx, 1
cmp ebx, 0x10
jb 0x422a92
cmp ebx, 0x10
sbb esi, esi
mov cl, 0x10
sub cl, bl
neg esi
cmp ebx, 0x10
mov byte [esp + 0x18], cl
jae 0x422af4
mov ecx, dword [esp + 0x18]
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x134]
push ecx
push eax
call fcn.00432e00
add esp, 0xc
xor eax, eax
jmp 0x422b00
mov dl, byte [esp + eax + 0x110]
xor byte [esp + eax + 0x130], dl
add eax, 1
cmp eax, 0x10
jb 0x422b00
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.00420960
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x124]
push eax
call edx
test eax, eax
jne 0x422b91
test esi, esi
je 0x422a90
pop ebx
pop ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
xor ecx, esp
call fcn.00431d0b
add esp, 0x134
ret 0xc
Function at 0x422bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x124
mov eax, dword [0x4630c8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push pe_nt_image_headers32
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00420720
mov ebp, eax
mov eax, dword [esp + 0x140]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
lea ecx, [ecx]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
xor eax, eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x114]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x114]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.00421a40
xor eax, eax
movzx ecx, byte [esp + eax + 0x100]
movzx edx, byte [esp + eax + 0x101]
xor byte [esp + eax + 0x120], cl
xor byte [esp + eax + 0x121], dl
movzx ecx, byte [esp + eax + 0x102]
movzx edx, byte [esp + eax + 0x103]
xor byte [esp + eax + 0x122], cl
xor byte [esp + eax + 0x123], dl
add eax, 4
cmp eax, 0x10
jl 0x422c70
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x108], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x10c], eax
push 0x10
lea eax, [esp + 0x124]
mov dword [esp + 0x108], ecx
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x422d7a
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
test eax, eax
je 0x422c20
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x422d25
xor edi, edi
jmp 0x422d28
mov edi, dword [eax + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov bl, byte [eax + edi - 1]
cmp bl, 0x10
ja 0x422d75
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, dword [esi]
mov eax, edi
mov edx, dword [eax + 0xb0]
push 1
mov ecx, esi
call edx
mov ecx, eax
mov ebp, edx
movsx eax, bl
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [edi + 0xb8]
push ebp
push ecx
mov ecx, esi
call edx
xor eax, eax
jmp 0x422d7a
mov eax, 0x6a
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431d0b
add esp, 0x124
ret 0xc
Function at 0x423b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x423c10
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.004348b0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423bdf
sub eax, ebp
jmp 0x423be1
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423bd0
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423c00
sub eax, ebp
jmp 0x423c02
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423bf1
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x423cc7
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
cmp ebx, edx
mov dword [esp + 0x10], eax
jbe 0x423c38
mov ebx, edx
test ebx, ebx
je 0x423c89
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x423c5b
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.00426490
jmp 0x423c6d
cmp ecx, 2
jne 0x423c77
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.00426470
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.004348b0
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x423cb3
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x423cc7
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x423b90
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x431d0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4630c8]
jne 0x431d15
repz ret
jmp fcn.00439384

Function at 0x43394f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43397c
call fcn.004353d1
mov dword [eax], esi
call fcn.004353be
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00437fe2
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x433958
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4339ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004353e4
pop ecx
call fcn.004353be
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4339d2
test al, 1
je 0x4339d2
test byte [esp + 0xc], 2
je 0x4339d2
call fcn.004353d1
mov dword [eax], 5
call fcn.004353be
mov dword [eax], 0xd
jmp 0x4339a2
xor eax, eax
pop esi
ret