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

Disassembly:
sub esp, 0x100
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
add eax, 0x428
push eax
lea ecx, [esp + 0x10]
push 0x5ae080
push ecx
call fcn.004b70c5
lea edx, [esp + 0x18]
push 0x5ae088
push edx
call fcn.004b80e6
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x415e08
push 0x5ae08c
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
push esi
push 1
lea eax, [esp + 0x12c]
push 4
push eax
call fcn.004b9a51
push esi
push 1
lea ecx, [esp + 0x140]
push 4
push ecx
call fcn.004b9a51
push esi
push 1
lea edx, [esp + 0x154]
push 4
push edx
call fcn.004b9a51
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 4]
push esi
push 0x40
push 8
push ecx
call fcn.004b9a51
mov edx, dword [esp + 0x15c]
mov eax, dword [edx + 4]
add esp, 0x40
push esi
push 0x40
push 8
push eax
call fcn.004b9a51
mov ecx, dword [ebp + 4]
push esi
push 0x40
push 8
push ecx
call fcn.004b9a51
mov edx, dword [ebp + 8]
push esi
push 0x40
push 8
push edx
call fcn.004b9a51
mov eax, dword [ebx]
push esi
push 0x40
push 8
push eax
call fcn.004b9a51
mov ecx, dword [ebx + 4]
add esp, 0x40
push esi
push 0x40
push 8
push ecx
call fcn.004b9a51
mov edx, dword [ebx + 8]
push esi
push 0x40
push 8
push edx
call fcn.004b9a51
mov eax, dword [esp + 0x150]
push esi
push 0x40
add eax, 0x100
push 4
push eax
call fcn.004b9a51
push esi
push 1
lea ecx, [esp + 0x16c]
push 4
push ecx
call fcn.004b9a51
mov edx, dword [esp + 0x164]
add esp, 0x40
push esi
push edx
mov eax, dword [esp + 0x118]
push 8
push eax
call fcn.004b9a51
mov ecx, dword [esp + 0x134]
mov edx, dword [edi]
push esi
push ecx
push 8
push edx
call fcn.004b9a51
mov eax, dword [esp + 0x144]
mov ecx, dword [edi + 4]
push esi
push eax
push 8
push ecx
call fcn.004b9a51
mov edx, dword [esp + 0x154]
mov eax, dword [edi + 8]
push esi
push edx
push 8
push eax
call fcn.004b9a51
add esp, 0x40
push esi
call fcn.004b8276
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x415f50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x118]
push edi
add eax, 0x428
push eax
lea ecx, [esp + 0x14]
push 0x5ae080
push ecx
call fcn.004b70c5
lea edx, [esp + 0x1c]
push 0x5abd30
push edx
call fcn.004b80e6
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x415fa8
push 0x5ae08c
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
push edi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004b98dd
add esp, 0x10
cmp dword [esp + 0xc], ebx
je 0x415fd4
push 0x5ae0b8
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
mov ecx, dword [esp + 0x130]
push esi
push edi
push 1
push 4
push ecx
call fcn.004b98dd
mov edx, dword [esp + 0x148]
lea esi, [eax - 1]
push edi
neg esi
sbb esi, esi
push 1
push 4
inc esi
push edx
and esi, 1
call fcn.004b98dd
dec eax
neg eax
sbb eax, eax
inc eax
push edi
and esi, eax
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 4]
push 0x40
push 8
push ecx
call fcn.004b98dd
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 4]
sete dl
push edi
push 0x40
push 8
push ecx
and esi, edx
call fcn.004b98dd
add esp, 0x40
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 4]
sete dl
push edi
push 0x40
push 8
push ecx
and esi, edx
call fcn.004b98dd
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax + 8]
sete dl
push edi
push 0x40
push 8
push ecx
and esi, edx
call fcn.004b98dd
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax]
sete dl
push edi
push 0x40
push 8
push ecx
and esi, edx
call fcn.004b98dd
xor edx, edx
cmp eax, 0x40
sete dl
push edi
push 0x40
and esi, edx
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 4]
push 8
push ecx
call fcn.004b98dd
add esp, 0x40
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 8]
sete dl
push edi
push 0x40
push 8
push ecx
and esi, edx
call fcn.004b98dd
xor edx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x14c]
sete dl
push edi
push 0x40
add eax, 0x100
push 4
push eax
and esi, edx
call fcn.004b98dd
mov edx, dword [esp + 0x160]
xor ecx, ecx
cmp eax, 0x40
sete cl
push edi
push 1
push 4
push edx
and esi, ecx
call fcn.004b98dd
dec eax
neg eax
sbb eax, eax
push edi
inc eax
push ebx
and esi, eax
mov eax, dword [esp + 0x150]
push 8
push eax
call fcn.004b98dd
mov edx, dword [ebp]
add esp, 0x40
xor ecx, ecx
cmp eax, ebx
sete cl
push edi
push ebx
push 8
push edx
and esi, ecx
call fcn.004b98dd
mov edx, dword [ebp + 4]
xor ecx, ecx
cmp eax, ebx
sete cl
push edi
push ebx
push 8
push edx
and esi, ecx
call fcn.004b98dd
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp eax, ebx
sete cl
push edi
push ebx
push 8
push edx
and esi, ecx
call fcn.004b98dd
xor ecx, ecx
cmp eax, ebx
sete cl
push edi
and esi, ecx
call fcn.004b8276
add esp, 0x34
test esi, esi
pop esi
jne 0x4161a6
push 0x5ae0d8
call fcn.004b7f6d
add esp, 4
push 0xffffffffffffffff
call fcn.004b856d
pop edi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x417a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [eax + 8]
push ebp
mov ebp, dword [eax + 4]
push edi
mov edi, dword [eax + 0x10]
lea eax, [ebp*8]
push eax
push 0
push esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call fcn.004bd240
xor eax, eax
add esp, 0xc
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x417b04
lea edx, [edi + 4]
jmp 0x417ac0
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + eax*8]
mov ebp, dword [ecx + eax*8 + 4]
mov edi, dword [edx - 4]
xor ecx, ecx
cmp dword [edx], ecx
jbe 0x417aea
mov eax, dword [edi + ecx*4]
xor dword [esi + eax*8], ebx
xor dword [esi + eax*8 + 4], ebp
lea eax, [esi + eax*8]
inc ecx
cmp ecx, dword [edx]
jb 0x417ad4
mov eax, dword [esp + 0x10]
inc eax
add edx, 0x10
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jb 0x417ac0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xc]
test ebx, ebx
je 0x417b75
xor edx, edx
test ebp, ebp
je 0x417b75
mov edi, edi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], ecx
lea ecx, [eax + 1]
test ebx, ebx
je 0x417b6d
jmp 0x417b40
mov ebp, dword [esp + 0x1c]
mov ebx, eax
shr ebx, 5
test dword [ebp + ebx*4], ecx
je 0x417b5e
mov ebx, dword [esp + 0x10]
xor dword [esi + eax*8], ebx
mov ebx, dword [esp + 0x14]
xor dword [esi + eax*8 + 4], ebx
mov ebx, dword [esp + 0x18]
inc eax
rol ecx, 1
cmp eax, ebx
jb 0x417b40
mov ebp, dword [esp + 0xc]
inc edx
add edi, 0x10
cmp edx, ebp
jb 0x417b10
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x417b80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [eax + 4]
push esi
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x417c11
mov ebp, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x20], eax
xor edx, edx
xor esi, esi
xor eax, eax
test edi, edi
je 0x417bec
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
mov ebp, dword [esp + 0x34]
mov ebp, dword [ebp + ecx*8]
xor edx, ebp
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebp + ecx*8 + 4]
inc eax
xor esi, ecx
cmp eax, edi
jb 0x417bc4
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [ebx + ecx*8], edx
mov dword [ebx + ecx*8 + 4], esi
inc ecx
add ebp, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
cmp ecx, dword [esp + 0x10]
jb 0x417bb0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x417c90
xor ecx, ecx
test ebp, ebp
je 0x417c90
mov esi, eax
lea ecx, [ecx]
mov eax, dword [esi]
mov edx, dword [esi + 4]
lea edx, [eax + edx*4]
mov eax, dword [ebx + ecx*8]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + ecx*8 + 4]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], edx
lea edx, [eax + 1]
test edi, edi
je 0x417c79
mov ebp, dword [esp + 0x2c]
mov edi, eax
shr edi, 5
test dword [ebp + edi*4], edx
je 0x417c6a
mov edi, dword [esp + 0x34]
mov edi, dword [edi + eax*8]
xor dword [esp + 0x20], edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi + eax*8 + 4]
xor dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
inc eax
rol edx, 1
cmp eax, edi
jb 0x417c44
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebx + ecx*8], eax
mov dword [ebx + ecx*8 + 4], edx
inc ecx
add esi, 0x10
cmp ecx, ebp
jb 0x417c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x417ca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [ebx + 4]
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edi
cmp dword [ebx + 0xc], edi
jbe 0x417dbd
mov ecx, dword [esp + 0x28]
lea eax, [edi + edi*8]
lea esi, [ebx + eax*8 + 0x14]
mov dword [esi + 0x2c], ecx
test edi, edi
jne 0x417cda
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x30], edx
lea eax, [ebp*8]
push eax
mov eax, dword [esi + 0x30]
push 0
push eax
call fcn.004bd240
mov ecx, dword [ebx + 0xc]
dec ecx
add esp, 0xc
cmp edi, ecx
jne 0x417e22
mov eax, dword [esi + 0x30]
mov ebp, dword [esi + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp dword [esi + 0x28], ebx
jbe 0x417d56
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x34]
add edi, dword [esp + 0x10]
cmp dword [edi + 0x18], 0
mov edx, dword [edi]
je 0x417d34
mov ecx, dword [edi + 4]
lea eax, [eax + edx*8]
push eax
lea eax, [ebp + ecx*8]
mov ecx, edi
call fcn.00418a10
jmp 0x417d44
lea edx, [eax + edx*8]
mov eax, dword [edi + 4]
lea ecx, [ebp + eax*8]
push edi
call fcn.00418bb0
add dword [esp + 0x14], 0x1c
mov eax, dword [esp + 0x1c]
inc ebx
add esp, 4
cmp ebx, dword [esi + 0x28]
jb 0x417d11
mov ecx, dword [esi + 0x20]
add ecx, 0x3f
xor edi, edi
test ecx, 0xffffffc0
jbe 0x417da3
mov ebx, eax
jmp 0x417d70
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x24]
push edx
lea edx, [ebp + ecx*8]
mov ecx, dword [eax + edi*4]
push ebx
push edx
push ecx
call fcn.004150c0
mov edx, dword [esi + 0x20]
add edx, 0x3f
inc edi
shr edx, 6
add esp, 0x10
add ebx, 0x200
cmp edi, edx
jb 0x417d70
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [ebx + 0xc]
jb 0x417cc1
mov eax, dword [ebx + 0xc]
xor esi, esi
test eax, eax
je 0x417e18
lea edi, [ebx + 0x44]
mov dword [esp + 0x24], edi
lea ecx, [ecx]
dec eax
cmp esi, eax
jae 0x417de1
mov ecx, dword [edi + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x417e09
mov ecx, dword [edi]
test ebp, ebp
je 0x417e09
mov eax, dword [esp + 0x2c]
sub ecx, eax
mov edx, ebp
mov edi, dword [ecx + eax]
xor dword [eax], edi
mov edi, dword [ecx + eax + 4]
xor dword [eax + 4], edi
add eax, 8
dec edx
jne 0x417df3
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
inc esi
add edi, 0x48
mov dword [esp + 0x24], edi
cmp esi, eax
jb 0x417dd0
emms
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x38], 2
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x417daf
Function at 0x418a10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov ecx, dword [ecx + 0x18]
push ebx
push ebp
push esi
movzx esi, word [ecx + 2]
push edi
movzx edi, word [ecx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
test esi, esi
je 0x418b9a
xor edx, edx
mov ebp, esi
xor ebx, ebx
and ebp, 0xfffffff0
mov dword [esp + 0x28], edx
jbe 0x418b39
lea edi, [ebp - 1]
shr edi, 4
inc edi
mov edx, edi
add ecx, 0x20
shl edx, 4
mov dword [esp + 0x10], edx
jmp 0x418a60
movzx edx, word [ecx - 0x1c]
mov ebp, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
movzx esi, word [ecx - 0x1a]
xor edx, dword [eax + esi*8 + 4]
xor ebp, dword [eax + esi*8]
mov esi, edx
movzx edx, word [ecx - 0x18]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0x16]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0x14]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0x12]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0x10]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0xe]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0xc]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 0xa]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 8]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 6]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 4]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx - 2]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx + 2]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
movzx edx, word [ecx]
xor ebp, dword [eax + edx*8]
xor esi, dword [eax + edx*8 + 4]
mov edx, dword [esp + 0x28]
xor edx, esi
xor ebx, ebp
add ecx, 0x20
dec edi
mov dword [esp + 0x28], edx
jne 0x418a60
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x418b3b
mov ebp, edx
cmp ebp, esi
jae 0x418b6d
sub esi, ebp
lea edi, [ecx + ebp*2 + 4]
mov dword [esp + 0x10], esi
lea esp, [esp]
movzx esi, word [edi]
xor ebx, dword [eax + esi*8]
mov esi, dword [eax + esi*8 + 4]
xor edx, esi
add edi, 2
dec dword [esp + 0x10]
jne 0x418b50
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
xor dword [ebp + edi*8], ebx
xor dword [ebp + edi*8 + 4], edx
movzx edi, word [ecx + esi*2 + 4]
lea ecx, [ecx + esi*2 + 4]
movzx esi, word [ecx + 2]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
test esi, esi
jne 0x418a35
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x418e90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [eax + 0x18]
movzx eax, word [ecx]
push ebx
movzx ebx, word [ecx + 2]
push ebp
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x419018
jmp 0x418eb6
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
mov edi, ebx
xor ebp, ebp
and edi, 0xfffffff0
jbe 0x418fce
mov eax, dword [esp + 0xc]
lea ebx, [edi - 1]
shr ebx, 4
inc ebx
mov ebp, ebx
add eax, 6
shl ebp, 4
movzx edi, word [eax - 2]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 2]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 4]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 6]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 8]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0xa]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0xc]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0xe]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x10]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x12]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x14]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x16]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x18]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x1a]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
movzx edi, word [eax + 0x1c]
xor dword [esi + edi*8], ecx
xor dword [esi + edi*8 + 4], edx
lea edi, [esi + edi*8]
add eax, 0x20
dec ebx
jne 0x418ee1
mov ebx, dword [esp + 0x10]
cmp ebp, ebx
jae 0x418ff7
mov eax, dword [esp + 0xc]
lea edi, [eax + ebp*2 + 4]
sub ebx, ebp
lea esp, [esp]
movzx eax, word [edi]
xor dword [esi + eax*8], ecx
xor dword [esi + eax*8 + 4], edx
lea eax, [esi + eax*8]
add edi, 2
dec ebx
jne 0x418fe0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + ebx*2 + 4]
lea ecx, [ecx + ebx*2 + 4]
mov dword [esp + 0xc], ecx
movzx ecx, word [ecx + 2]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x418eb2
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x419c00
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x14]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [edi + 0x10]
push esi
xor esi, esi
cmp eax, dword [edi + 4]
jae 0x419c38
cmp esi, 0x12b
jae 0x419c38
mov cl, byte [eax + ebp]
mov byte [esi + ebx], cl
cmp cl, 0xa
je 0x419ca9
cmp cl, 0xd
je 0x419ca9
inc eax
inc esi
cmp eax, dword [edi + 4]
jb 0x419c15
mov dword [edi + 0x14], eax
cmp eax, dword [edi + 4]
jne 0x419c75
cmp dword [edi + 8], 0
jne 0x419c75
mov ecx, dword [edi]
push 0
lea eax, [esp + 0x10]
push eax
push 0x10000
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 0x14], 0
test eax, eax
jne 0x419c75
mov dword [edi + 8], 1
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 4]
jae 0x419cb9
lea ecx, [ecx]
cmp esi, 0x12b
jae 0x419cb9
mov al, byte [ecx + ebp]
mov byte [esi + ebx], al
cmp al, 0xa
je 0x419cb7
cmp al, 0xd
je 0x419cb7
inc ecx
inc esi
cmp ecx, dword [edi + 4]
jb 0x419c80
mov byte [esi + ebx], 0
pop esi
pop ebp
mov dword [edi + 0x14], ecx
pop ebx
pop ecx
ret
mov byte [esi + ebx + 1], 0
pop esi
inc eax
pop ebp
mov dword [edi + 0x14], eax
pop ebx
pop ecx
ret
inc ecx
inc esi
mov byte [esi + ebx], 0
pop esi
pop ebp
mov dword [edi + 0x14], ecx
pop ebx
pop ecx
ret

Function at 0x419cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419cd6
mov ecx, dword [esi + 0x14]
sub eax, edx
lea eax, [ecx + eax + 1]
cmp eax, 0x10000
jb 0x419d1c
test ecx, ecx
je 0x419d06
mov eax, dword [esi + 0x10]
push 0
lea edx, [esp + 4]
push edx
push ecx
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 0x14]
push edi
push 0x5abc54
push ecx
call fcn.004b70c5
add dword [esi + 0x14], eax
add esp, 0x10
ret
Function at 0x437270
Capabilities:
Get hostname

Disassembly:
sub esp, 0xc
call fcn.004446c0
mov dword [esp], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 4], edx
fild qword [esp]
and eax, 0x80000000
mov dword [esp + 4], eax
mov dword [esp], 0
fild qword [esp]
push 0x5d64a8
push 0x5d63d4
fchs
faddp st(1)
fdiv qword [0x5b4490]
fstp qword [0x5d6518]
call fcn.00444790
add esp, 8
call fcn.00444e40
push 0x5d64a4
push 0x5d64f0
mov dword [0x5d64a4], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
add esp, 0xc
ret
Function at 0x4446c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.00444660
rdtsc
push 0x64
mov ebx, eax
mov ebp, edx
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov edi, edx
sub esi, ebx
push ecx
sbb edi, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x444711
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov eax, edi
mov ecx, edi
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x18]
and ecx, 0x80000000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
fild qword [esp + 0x18]
fchs
faddp st(1)
fmul qword [0x5b4458]
fstp qword [0x5d49d8]
fld qword [0x5d49e0]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x44477e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x18]
fst qword [0x5d49e0]
fdivr qword [0x5d49d8]
fstp qword [0x5d49e8]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44fb00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi], 0
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, edi
sub ecx, eax
add eax, dword [ebp + 0xc]
push ecx
push eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.004c43e3
add esp, 0xc
test eax, eax
jle 0x44fb33
add dword [esi], eax
cmp dword [esi], edi
jb 0x44fb10
test eax, eax
jns 0x44fb56
call fcn.004b7db1
mov ecx, dword [eax]
push ecx
call fcn.004b731f
push eax
or eax, 0xffffffff
mov ecx, ebx
call fcn.0044f450
add esp, 8
or eax, 0xffffffff
pop ebx
pop ebp
ret
test eax, eax
jne 0x44fb61
mov dword [ebx + 0x40], 1
xor eax, eax
pop ebx
pop ebp
ret