joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492e20
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x202c
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2028], eax
cmp byte [0x4e7b89], 0
je 0x493035
push ebx
push 0x401
lea eax, [esp + 0x828]
push eax
mov ecx, 0x4eeda0
call fcn.00413010
push 1
push 0x4b9564
push 0x4b8d30
call fcn.0045afb0
test eax, eax
setne bl
test bl, bl
je 0x492e95
push 0x400
push 0x4b8d0c
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push 0x4ba248
call fcn.0045af80
cmp word [esp + 0x24], 0
jne 0x492ea7
lea edx, [esp + 0x24]
push edx
call fcn.0043c5a0
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x24]
mov word [esp + eax + 0x1028], cx
add eax, 2
test cx, cx
jne 0x492eb0
lea eax, [esp + 0x1028]
push eax
call fcn.00450e70
lea ecx, [esp + 0x824]
push ecx
call fcn.004513d0
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492ee1
push esi
push edi
lea edi, [esp + 0x1030]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x492f00
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
lea edx, [esp + 0x1038]
mov ecx, eax
push edx
and ecx, 3
push 0x5af
rep movsb byte es:[edi], byte [esi]
call fcn.00460760
push eax
mov eax, dword [0x4e8cd4]
push eax
call fcn.00419620
pop edi
pop esi
test al, al
je 0x493034
push 0x400
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1030]
push edx
call fcn.00451900
test bl, bl
je 0x492f77
lea eax, [esp + 0x24]
push eax
push str.SaveArcFolder
push 0x4ba248
call fcn.0045aeb0
lea eax, [esp + 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492f81
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x826], cx
lea eax, [esp + 0x1028]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492fa4
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x102a], dx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea edx, [esp + 4]
lea eax, [esp + 0x824]
lea ecx, [esp + 0x1028]
push edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x493034
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0x5b0
call fcn.00460760
push eax
call fcn.00492420
add esp, 0xc
mov ecx, 0x4d56b4
call fcn.00428c40
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004a39f3
add esp, 0x202c
ret
Function at 0x495ff0
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x182c
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1828], eax
push 0
push str.AppDataCopied
push 0x4b8d30
call fcn.0045afb0
test eax, eax
jne 0x4961a8
push esi
push 0x401
lea eax, [esp + 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x828]
push ecx
mov esi, 0x4bf618
call fcn.004513d0
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x496050
lea edx, [esp + 0x102c]
push edx
call fcn.00451bc0
xor eax, eax
pop esi
jmp 0x496080
movzx ecx, word [esp + eax + 0x1028]
mov word [esp + eax + 0x20], cx
add eax, 2
test cx, cx
jne 0x496080
lea eax, [esp + 0x20]
push eax
call fcn.00450e70
lea eax, [esp + 0x20]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4960a6
mov ecx, dword [0x4bf618]
mov edx, dword [0x4bf61c]
mov dword [eax], ecx
mov ecx, dword [0x4bf620]
mov dword [eax + 4], edx
mov dx, word [0x4bf624]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x824]
push eax
call fcn.00431440
test al, al
je 0x496197
lea ecx, [esp + 0x20]
push ecx
call fcn.00431440
test al, al
jne 0x496197
lea eax, [esp + 0x824]
lea edx, [eax + 2]
jmp 0x496110
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496110
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x826], dx
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496130
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x22], cx
xor eax, eax
mov dword [esp + 8], eax
lea edx, [esp + 0x824]
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
lea eax, [esp + 0x20]
mov ecx, 0x14
push edx
mov dword [esp + 8], 2
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 1
push str.AppDataCopied
push 0x4b8d30
call fcn.0045aed0
mov ecx, dword [esp + 0x1828]
xor ecx, esp
call fcn.004a39f3
add esp, 0x182c
ret
Function at 0x4961c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x428
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x424], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 0x40001
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xc
push 0
lea ecx, [esp + 8]
push ecx
push str.VerInfo
push 0x4b8d30
call fcn.0045afd0
lea edx, [esp + 0x24]
push edx
call fcn.00451b40
lea eax, [esp + 0x24]
push eax
call fcn.00451880
lea eax, [esp + 0x24]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x496218
mov ecx, dword [str.version.dat]
mov edx, dword [0x4bf648]
mov dword [eax], ecx
mov ecx, dword [0x4bf64c]
push esi
mov dword [eax + 4], edx
lea edx, [esp + 0x28]
push 0x4b8a24
push edx
mov dword [eax + 8], ecx
mov dword [esp + 0x18], 0
call fcn.004a6de7
mov esi, eax
add esp, 8
test esi, esi
je 0x496273
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004a5712
push esi
call fcn.004a5ab5
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x496325
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x4962f1
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push 0x4b8d30
call fcn.0045af30
lea edx, [esp + 0x28]
push 0x4b8d50
push edx
call fcn.004a6de7
mov esi, eax
add esp, 8
test esi, esi
je 0x4962d1
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004a5c91
push esi
call fcn.004a5ab5
add esp, 0x14
mov dword [0x4e8428], 0
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.004a39f3
add esp, 0x428
ret
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
push str.VerInfo
push 0x4b8d30
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.0045af30
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x49636f
cmp dword [esp + 0x10], eax
je 0x49636f
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x28]
push 0x4b8d50
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004a6de7
mov esi, eax
add esp, 8
test esi, esi
je 0x49636f
push esi
push 0xc
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004a5c91
push esi
call fcn.004a5ab5
add esp, 0x14
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
xor eax, eax
push 1
xor esi, esi
sub ecx, edx
push eax
sbb esi, eax
push esi
push ecx
call fcn.004a4850
mov ecx, dword [esp + 8]
xor esi, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb edx, esi
push esi
add eax, ecx
push 0x989680
adc edx, esi
push edx
push eax
call fcn.004a4da0
push esi
push 0xe10
push edx
push eax
call fcn.004a4da0
push esi
push 0x18
push edx
push eax
call fcn.004a4da0
mov dword [0x4e8428], eax
test eax, eax
jge 0x4963d2
mov dword [0x4e8428], 0x168
mov ecx, dword [esp + 0x428]
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x428
ret
Function at 0x496f20
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x810
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [0x4f7814]
push esi
xor esi, esi
cmp dword [eax + 0x20], esi
je 0x497104
push esi
push 1
push 0x4f7014
mov ecx, 0x4eeda0
call fcn.00414630
cmp eax, 1
jne 0x497104
cmp dword [0x4f34a8], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x496f8c
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4eeda0
call fcn.004132d0
jmp 0x496fa0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4eeda0
call fcn.004131f0
cmp dword [esp + 4], esi
je 0x497104
mov ecx, dword [0x4f7814]
push 0x400
lea edx, [esp + 0x14]
push edx
call fcn.0046a8d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x497011
push esi
push esi
push 0x7fffffff
push 0x7fffffff
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.0040ada0
cmp al, 0x43
je 0x496fee
cmp al, 0x4e
jne 0x497011
mov edx, dword [esp + 8]
push edx
call fcn.004a4635
add esp, 4
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.004a39f3
add esp, 0x810
ret
push edi
push esi
push 0x4b8d50
lea eax, [esp + 0x1c]
push eax
call fcn.00431a80
mov edi, eax
cmp edi, esi
jne 0x497066
lea ecx, [esp + 0x14]
push ecx
push 0x1f6
call fcn.00460760
push eax
push 0x4f7014
call fcn.00492940
mov edx, dword [esp + 0x18]
push edx
call fcn.004a4635
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.004a39f3
add esp, 0x810
ret
mov eax, dword [0x4f34a8]
cmp eax, 3
jne 0x4970bb
push edi
push 0xff
call fcn.004a7477
push edi
push 0xfe
call fcn.004a7477
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x4970e6
nop
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + esi*2]
push edi
push ecx
call fcn.004a7477
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + esi*2 + 1]
push edi
push eax
call fcn.004a7477
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x497090
jmp 0x4970e6
cmp eax, 2
jne 0x4970d1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ecx
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edi
push edx
push 1
push eax
call fcn.004a5c91
add esp, 0x10
push edi
call fcn.004a5ab5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a4635
mov edx, dword [esp + 0x18]
push edx
call fcn.004a4635
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x810]
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x810
ret
Function at 0x49b7a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1044
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1040], eax
mov eax, dword [esp + 0x105c]
push ebx
mov ebx, dword [esp + 0x1064]
push ebp
mov ebp, dword [esp + 0x105c]
push esi
mov esi, dword [esp + 0x1058]
push edi
mov edi, dword [esp + 0x1060]
push 0x3c
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x1c], eax
call fcn.004a4250
add esp, 0xc
cmp byte [esp + 0x1068], 0
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x500
jne 0x49b816
mov dword [esp + 0x18], 0x540
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
call fcn.004513d0
cmp eax, esi
jne 0x49b850
push esi
lea edx, [esp + 0x54]
push str.._s
push edx
mov edx, 0x800
call fcn.00495900
lea eax, [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x24], eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x14]
mov ebx, 1
push ecx
mov dword [esp + 0x34], ebx
mov byte [0x4e7b8b], bl
call esi
test eax, eax
jne 0x49b881
cmp dword [esp + 0x20], eax
je 0x49b881
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
call esi
mov byte [0x4e7b8b], 0
test eax, eax
je 0x49b932
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x49b932
cmp byte [esp + 0x1068], 0
jne 0x49b92e
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49b8e2
mov eax, dword [0x514110]
mov edx, dword [esp + 0x34]
mov dword [eax*4 + 0x5140d0], ecx
mov dword [eax*4 + 0x514090], edx
inc eax
and eax, 0x8000000f
jns 0x49b8db
dec eax
or eax, 0xfffffff0
inc eax
mov dword [0x514110], eax
jmp 0x49b924
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
lea ebx, [ebx]
mov eax, dword [esi + 0x514090]
cmp eax, dword [esp + 0x34]
jne 0x49b918
mov ecx, dword [esi + 0x5140d0]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x49b918
mov edx, dword [esi + 0x5140d0]
mov dword [esp + 0x4c], edx
add esi, 4
cmp esi, 0x40
jl 0x49b8f0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49b92e
mov dword [eax], ecx
mov al, bl
jmp 0x49b934
xor al, al
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x1044
ret 0x1c

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

Disassembly:
push esi
push 0x4e7b90
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49d6e9
push 0x40
push 0x2bc
call fcn.00460760
push eax
push 0x2bd
call fcn.00460760
push eax
mov eax, dword [0x4e8cd4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
ret
push 0
push 0x4e7b90
mov ecx, esi
call fcn.0049c8d0
pop esi
ret
Function at 0x49ec30
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, eax
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x51ccac], eax
mov dword [0x51ccb0], edx
mov dword [0x51ccb4], esi
mov cl, byte [edi]
test cl, cl
je 0x49ecb0
lea ebx, [ebx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
inc edi
movzx ecx, al
add ecx, edx
imul ecx, ecx, 0x8088405
inc ecx
mov edx, ecx
shr ecx, 0x18
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x4d1b58]
mov dword [0x51ccac], eax
mov dword [0x51ccb0], edx
mov dword [0x51ccb4], esi
mov cl, byte [edi]
test cl, cl
jne 0x49ec60
pop edi
pop esi
ret

Function at 0x49ecc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x10
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov eax, esi
call fcn.0049ec30
push 0xa
lea eax, [esp + 0x14]
push eax
call fcn.00420bf0
mov eax, esi
call fcn.0049ec30
xor edi, edi
jmp 0x49ed00
movzx ebp, byte [esp + edi + 0x10]
mov esi, dword [0x51ccac]
mov ecx, dword [0x51ccb4]
mov eax, ebp
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4d1b58]
mov edx, ecx
mov eax, esi
mov dword [0x51ccac], eax
movzx eax, al
add eax, dword [0x51ccb0]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x51ccb0], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4d1b58]
or edx, 2
mov dword [0x51ccb4], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
and ecx, 0xff
xor ecx, ebp
push ebx
push ecx
call fcn.004a7477
inc edi
add esp, 8
cmp edi, 0xa
jl 0x49ed00
mov esi, dword [esp + 0x28]
mov edi, dword [0x51ccac]
mov ebp, esi
mov ecx, dword [0x51ccb4]
shr ebp, 0x10
mov eax, ebp
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + 0x4d1b58]
mov edx, ecx
mov eax, edi
mov dword [0x51ccac], eax
movzx eax, al
add eax, dword [0x51ccb0]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x51ccb0], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4d1b58]
or edx, 2
mov dword [0x51ccb4], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
mov edx, esi
shr edx, 8
xor ecx, edx
shr ecx, 8
and ecx, 0xff
push ebx
push ecx
call fcn.004a7477
mov edi, dword [0x51ccac]
mov ecx, dword [0x51ccb4]
shr esi, 0x18
xor esi, edi
and esi, 0xff
shr edi, 8
xor edi, dword [esi*4 + 0x4d1b58]
mov edx, ecx
mov eax, edi
mov dword [0x51ccac], eax
movzx eax, al
add eax, dword [0x51ccb0]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x51ccb0], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
or edx, 2
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d1b58]
mov eax, edx
xor eax, 1
imul eax, edx
and eax, 0xff00
xor eax, ebp
shr eax, 8
push ebx
push eax
mov dword [0x51ccb4], ecx
call fcn.004a7477
mov ecx, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x10
ret 0xc
Function at 0x49eeb0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Write file on windows

Disassembly:
cmp word [0x4f40b0], 0
push ebp
mov ebp, dword [esp + 0x10]
je 0x49ef4c
push ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebp
push edi
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x49ef4a
push esi
movsx eax, byte [edi]
mov esi, dword [0x51ccac]
xor eax, esi
and eax, 0xff
mov ecx, dword [0x51ccb4]
shr esi, 8
xor esi, dword [eax*4 + 0x4d1b58]
mov edx, ecx
mov eax, esi
mov dword [0x51ccac], eax
movzx eax, al
add eax, dword [0x51ccb0]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x51ccb0], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4d1b58]
or edx, 2
mov dword [0x51ccb4], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor byte [edi], cl
inc edi
sub ebx, 1
jne 0x49eed5
pop esi
pop edi
pop ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edx
push ebp
push eax
push ecx
call fcn.004a5c91
add esp, 0x10
pop ebp
ret 0x10
Function at 0x4a0e70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push edi
mov edi, dword [esp + 0x414]
push edi
push 0x50
call fcn.004a7477
push edi
push 0x4b
call fcn.004a7477
push edi
push 3
call fcn.004a7477
push edi
push 4
call fcn.004a7477
movsx eax, byte [esi + 2]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 3]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0x2c]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0x2d]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 6]
add esp, 0x40
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 7]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 8]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 9]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0xa]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0xb]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0xc]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0xd]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0xe]
add esp, 0x40
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0xf]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0x10]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0x11]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0x12]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0x13]
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0x14]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0x15]
push edi
push ecx
call fcn.004a7477
movsx edx, byte [esi + 0x16]
add esp, 0x40
push edi
push edx
call fcn.004a7477
movsx eax, byte [esi + 0x17]
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0x18]
push edi
push ecx
call fcn.004a7477
mov edx, dword [esi + 0x18]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004a7477
movsx ecx, byte [esi + 0x1c]
push edi
push ecx
call fcn.004a7477
mov edx, dword [esi + 0x1c]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004a7477
mov edx, dword [esi + 0x48]
add esp, 0x30
push 0x400
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.00452500
mov eax, dword [esi + 0x18]
push edi
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004a5c91
add esp, 0x10
cmp eax, dword [esi + 0x18]
jne 0x4a1034
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4a1030
mov edx, dword [esi + 0x3c]
push edi
push eax
push 1
push edx
call fcn.004a5c91
add esp, 0x10
cmp eax, dword [esi + 0x1c]
jne 0x4a1034
xor eax, eax
jmp 0x4a1039
mov eax, 0xa
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x404
ret 8
Function at 0x4a13e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
push 0x50
call fcn.004a7477
push esi
push 0x4b
call fcn.004a7477
push esi
push 5
call fcn.004a7477
push esi
push 6
call fcn.004a7477
push esi
push 0
call fcn.004a7477
push esi
push 0
call fcn.004a7477
push esi
push 0
call fcn.004a7477
push esi
push 0
call fcn.004a7477
mov ebx, dword [esp + 0x50]
add esp, 0x40
movsx edi, bl
push esi
push edi
call fcn.004a7477
sar ebx, 8
movsx ebx, bl
push esi
push ebx
call fcn.004a7477
push esi
push edi
call fcn.004a7477
push esi
push ebx
call fcn.004a7477
mov ebx, dword [esp + 0x34]
movsx eax, bl
push esi
push eax
call fcn.004a7477
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004a7477
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push esi
push ecx
call fcn.004a7477
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.004a7477
mov ebx, dword [esp + 0x58]
add esp, 0x40
movsx eax, bl
push esi
push eax
call fcn.004a7477
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004a7477
push esi
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push ecx
call fcn.004a7477
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.004a7477
mov ebx, dword [esp + 0x3c]
movsx eax, bl
push esi
push eax
call fcn.004a7477
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004a7477
add esp, 0x30
test ebx, ebx
je 0x4a150c
mov eax, dword [esp + 0x20]
push esi
push ebx
push 1
push eax
call fcn.004a5c91
add esp, 0x10
cmp eax, ebx
je 0x4a150c
pop edi
pop esi
mov eax, 0xa
pop ebx
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x18
Function at 0x4a39f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ca3b0]
jne 0x4a39fd
repz ret
jmp fcn.004a8b51

Function at 0x4a4f48
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x4a4f7a
call fcn.004a815c
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.004a80fd
add esp, 0x14
or eax, 0xffffffff
jmp 0x4a4ffb
push esi
call fcn.004ab638
push 0x214
push 1
call fcn.004ac39a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4a4fde
call fcn.004ab81e
push dword [eax + 0x6c]
push esi
call fcn.004ab6c0
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
push esi
push 4
push esi
push 0x4a4ed4
push dword [ebp + 0xc]
mov dword [esi + 0x54], edi
push ebx
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [esi + 4], edi
cmp edi, ebx
je 0x4a4fd5
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4a4ff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
call fcn.004a3b8f
pop ecx
cmp dword [ebp - 4], ebx
je 0x4a4ff3
push dword [ebp - 4]
call fcn.004a8182
pop ecx
or eax, 0xffffffff
jmp 0x4a4ffa
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret