joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fc90
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4e81ac]
push esi
xor esi, esi
cmp dword [eax + 0x30], esi
je 0x48fe74
push esi
push 1
push esi
push 0x4e75ac
mov ecx, 0x4e0c18
call fcn.00414420
cmp eax, 1
jne 0x48fe74
cmp dword [0x4e46c0], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x48fcfd
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4e0c18
call fcn.00413a70
jmp 0x48fd11
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4e0c18
call fcn.00413980
cmp dword [esp + 4], esi
je 0x48fe74
mov ecx, dword [0x4e81ac]
push esi
push 0x400
push esi
lea edx, [esp + 0x28]
push edx
call fcn.004654c0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48fd80
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0040a2e0
mov al, byte [esp + 0x10]
cmp al, 0x43
je 0x48fd5d
cmp al, 0x4e
jne 0x48fd80
mov eax, dword [esp + 8]
push eax
call fcn.0049ea65
add esp, 4
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x41c
ret
push edi
lea ecx, [esp + 0x20]
push 0x4b1ba8
push ecx
call fcn.0049f968
mov edi, eax
add esp, 8
cmp edi, esi
jne 0x48fdd7
lea edx, [esp + 0x20]
push edx
push 0x1f6
call fcn.0045b8f0
push eax
push 0x4e75ac
call fcn.0048cce0
mov eax, dword [esp + 0x18]
push eax
call fcn.0049ea65
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x41c
ret
mov eax, dword [0x4e46c0]
cmp eax, 3
jne 0x48fe2b
push edi
push 0xff
call fcn.004a1f0d
push edi
push 0xfe
call fcn.004a1f0d
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x48fe56
mov ecx, dword [esp + 0x10]
movzx edx, word [ecx + esi*2]
push edi
push edx
call fcn.004a1f0d
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + esi*2 + 1]
push edi
push ecx
call fcn.004a1f0d
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x48fe00
jmp 0x48fe56
cmp eax, 2
jne 0x48fe41
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edx
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edi
push eax
push 1
push ecx
call fcn.0049f822
add esp, 0x10
push edi
call fcn.0049f646
mov edx, dword [esp + 0x10]
push edx
call fcn.0049ea65
mov eax, dword [esp + 0x18]
push eax
call fcn.0049ea65
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x41c]
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x41c
ret
Function at 0x4904c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x4cc
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x4c8], eax
cmp byte [0x4c8d50], 0
jne 0x4905c3
push esi
push 0x400
lea eax, [esp + 0xd0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xcc]
push ecx
call fcn.0044d530
mov edx, dword [str.rar.ini]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [eax], edx
mov ecx, dword [0x4b58d4]
lea edx, [esp + 0xcc]
push edx
push 0x64
mov dword [eax + 4], ecx
lea eax, [esp + 0x70]
push eax
push 0x4b1914
push str.regname
push str.registration
call esi
lea ecx, [esp + 0xcc]
push ecx
push 0x64
lea edx, [esp + 0xc]
push edx
push 0x4b1914
push str.regcode
push str.registration
call esi
lea eax, [esp + 0xcc]
push eax
push 0
push str.informed
push str.registration
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp byte [esp + 0x68], 0
pop esi
je 0x4905c3
cmp byte [esp], 0
je 0x4905c3
test eax, eax
jne 0x4905c3
lea ecx, [esp + 0xc8]
push ecx
push 0x4b58a0
push str.informed
push str.registration
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [0x4dc1c8]
mov eax, dword [0x4c9360]
push 0
push 0x484c90
push edx
push str.REREG
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x4cc
ret
Function at 0x490ba0
Capabilities:
Copy file

Disassembly:
sub esp, 0xc2c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc28], eax
push 0
push str.AppDataCopied
push str.General
call fcn.00456400
test eax, eax
jne 0x490d26
push 0x401
lea eax, [esp + 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x424]
push ecx
call fcn.0044d530
mov edx, dword [str.Themes]
mov dword [eax], edx
mov cx, word [0x4b592c]
mov word [eax + 4], cx
mov dl, byte [0x4b592e]
mov byte [eax + 6], dl
lea eax, [esp + 0x828]
push eax
call fcn.0044dbb0
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x828]
mov byte [esp + eax + 0x20], cl
inc eax
test cl, cl
jne 0x490c20
lea ecx, [esp + 0x20]
push ecx
call fcn.0044d9b0
lea eax, [esp + 0x20]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x490c40
mov edx, dword [str.Themes]
mov cx, word [0x4b592c]
mov dword [eax], edx
mov dl, byte [0x4b592e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
push 0
lea eax, [esp + 0x428]
push eax
call fcn.0042f890
test al, al
je 0x490d15
push 0
lea ecx, [esp + 0x24]
push ecx
call fcn.0042f890
test al, al
jne 0x490d15
lea eax, [esp + 0x424]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490ca0
sub eax, edx
mov byte [esp + eax + 0x425], cl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490cb7
sub eax, edx
mov byte [esp + eax + 0x21], cl
xor eax, eax
mov dword [esp + 8], eax
lea edx, [esp + 0x424]
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_SHFileOperationA]
push 1
push str.AppDataCopied
push str.General
call fcn.004562a0
mov ecx, dword [esp + 0xc28]
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc2c
ret
Function at 0x490d40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x428
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x424], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 0x35b00
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xc
push 0
lea ecx, [esp + 8]
push ecx
push str.VerInfo
push str.General
call fcn.00456430
lea edx, [esp + 0x24]
push edx
call fcn.0044dbb0
lea eax, [esp + 0x24]
push eax
call fcn.0044d9b0
lea eax, [esp + 0x24]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x490d98
mov ecx, dword [str.version.dat]
mov edx, dword [0x4b5944]
mov dword [eax], ecx
mov ecx, dword [0x4b5948]
push esi
mov dword [eax + 4], edx
lea edx, [esp + 0x28]
push 0x4b1948
push edx
mov dword [eax + 8], ecx
mov dword [esp + 0x18], 0
call fcn.0049f968
mov esi, eax
add esp, 8
test esi, esi
je 0x490df3
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0049fc19
push esi
call fcn.0049f646
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x490ea5
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x490e71
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push str.General
call fcn.00456300
lea edx, [esp + 0x28]
push 0x4b1ba8
push edx
call fcn.0049f968
mov esi, eax
add esp, 8
test esi, esi
je 0x490e51
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0049f822
push esi
call fcn.0049f646
add esp, 0x14
mov dword [0x4dbcac], 0
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0049e0c6
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 str.General
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.00456300
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x490eef
cmp dword [esp + 0x10], eax
je 0x490eef
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x28]
push 0x4b1ba8
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0049f968
mov esi, eax
add esp, 8
test esi, esi
je 0x490eef
push esi
push 0xc
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.0049f822
push esi
call fcn.0049f646
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.0049ec80
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.0049f000
push esi
push 0xe10
push edx
push eax
call fcn.0049f000
push esi
push 0x18
push edx
push eax
call fcn.0049f000
mov dword [0x4dbcac], eax
test eax, eax
jge 0x490f52
mov dword [0x4dbcac], 0x168
mov ecx, dword [esp + 0x428]
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x428
ret
Function at 0x497bc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push 0x4db848
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x497bf9
push 0x40
push 0x2bc
call fcn.0045b8f0
push eax
push 0x2bd
call fcn.0045b8f0
push eax
mov eax, dword [0x4dc1c8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret
push 0
push 0
push 0x4db848
mov ecx, esi
call fcn.00496cb0
pop esi
ret

Function at 0x497c10
Capabilities:
Get common file path

Disassembly:
mov eax, 0x14a4
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x14a0], eax
push ebx
mov ebx, dword [esp + 0x14ac]
push esi
mov esi, dword [esp + 0x14b4]
test ebx, ebx
je 0x497c7b
push 0x4b5b20
push ebx
call fcn.0044d920
test al, al
jne 0x497c55
push esi
call fcn.00495bf0
test al, al
je 0x497c7b
push 0x30
push 0x65
call fcn.0045b8f0
push eax
push 0x596
call fcn.0045b8f0
push eax
mov eax, dword [0x4dc1c8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x497e7f
cmp dword [0x4dbc5c], 0
jne 0x497cb8
push 0
push 0
push 1
push 0
push 0
push 0
push esi
push ebx
call fcn.00495c30
test al, al
jne 0x497e7f
push ebx
push 0x201
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 8
jmp 0x497e7f
lea ecx, [esp + 0x4a8]
push ecx
push str.Rar_EXXXXXXX
call fcn.0047ec00
test al, al
je 0x497e7f
lea edx, [esp + 0x8a8]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x4a8]
push eax
call fcn.004ac688
add esp, 4
lea ecx, [esp + 8]
push ecx
mov ecx, 0x4e0c18
call fcn.00413530
call fcn.0047aeb0
call fcn.00476d00
push 0x4e79ac
push 0x4e75ac
mov ecx, 0x4e0c18
call fcn.004134e0
mov edx, dword [esp + 0x18]
mov ecx, dword [0x4e81ac]
push 0x4b175c
mov dword [0x4e614c], edx
call fcn.00465450
push 0
push 0
mov ecx, 0x4e0c18
mov dword [0x4e5d38], 4
call fcn.00416070
cmp dword [0x4db840], 0
jne 0x497e7f
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.0044d640
lea ecx, [esp + 0xca8]
push ecx
push esi
call fcn.0044d780
lea edx, [esp + 0xa8]
push edx
mov eax, edx
push eax
call fcn.0042f9c0
lea ecx, [esp + 0xca8]
push ecx
mov edx, ecx
push edx
call fcn.0042fa50
push 0x2010
push 0
push 0x4fded0
call fcn.0049e680
add esp, 0xc
xor eax, eax
jmp 0x497dc0
mov cl, byte [esp + eax + 0xa8]
mov byte [eax + 0x4feadd], cl
inc eax
test cl, cl
jne 0x497dc0
lea eax, [esp + 0xca8]
push eax
push 0x4feede
call fcn.0046d630
xor eax, eax
jmp 0x497df0
mov cl, byte [eax + 0x4e75ac]
mov byte [eax + 0x4fded5], cl
inc eax
test cl, cl
jne 0x497df0
push 0x4e79ac
push 0x4fe2d6
call fcn.0046d630
xor eax, eax
mov cl, byte [esp + eax + 0x4a8]
mov byte [eax + 0x4ff6de], cl
inc eax
test cl, cl
jne 0x497e12
lea ecx, [esp + 0x8a8]
push ecx
call fcn.004ac688
mov edx, dword [0x4e614c]
add esp, 4
cmp dword [esp + 0x94], 0
mov byte [0x4fded4], 0
mov dword [0x4fead8], edx
je 0x497e61
cmp byte [0x4e27da], 0
mov byte [0x4feadc], 1
je 0x497e68
mov byte [0x4feadc], 0
push 0x4fded0
push 0x10000
push 0x4964b0
call fcn.0049f1a8
add esp, 0xc
mov ecx, dword [esp + 0x14a8]
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x14a4
ret 8
Function at 0x4991f0
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 [0x5007c0], eax
mov dword [0x5007c4], edx
mov dword [0x5007c8], esi
mov cl, byte [edi]
test cl, cl
je 0x499270
lea ebx, [ebx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
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 + 0x4c6a28]
mov dword [0x5007c0], eax
mov dword [0x5007c4], edx
mov dword [0x5007c8], esi
mov cl, byte [edi]
test cl, cl
jne 0x499220
pop edi
pop esi
ret

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

Disassembly:
sub esp, 0x10
mov eax, dword [0x4c0390]
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.004991f0
push 0xa
lea eax, [esp + 0x14]
push eax
call fcn.0041fe80
mov eax, esi
call fcn.004991f0
xor edi, edi
jmp 0x4992c0
movzx ebp, byte [esp + edi + 0x10]
mov esi, dword [0x5007c0]
mov ecx, dword [0x5007c8]
mov eax, ebp
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4c6a28]
mov edx, ecx
mov eax, esi
mov dword [0x5007c0], eax
movzx eax, al
add eax, dword [0x5007c4]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x5007c4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a28]
or edx, 2
mov dword [0x5007c8], 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.004a1f0d
inc edi
add esp, 8
cmp edi, 0xa
jl 0x4992c0
mov esi, dword [esp + 0x28]
mov edi, dword [0x5007c0]
mov ebp, esi
mov ecx, dword [0x5007c8]
shr ebp, 0x10
mov eax, ebp
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + 0x4c6a28]
mov edx, ecx
mov eax, edi
mov dword [0x5007c0], eax
movzx eax, al
add eax, dword [0x5007c4]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x5007c4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a28]
or edx, 2
mov dword [0x5007c8], 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.004a1f0d
mov edi, dword [0x5007c0]
mov ecx, dword [0x5007c8]
shr esi, 0x18
xor esi, edi
and esi, 0xff
shr edi, 8
xor edi, dword [esi*4 + 0x4c6a28]
mov edx, ecx
mov eax, edi
mov dword [0x5007c0], eax
movzx eax, al
add eax, dword [0x5007c4]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x5007c4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
or edx, 2
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c6a28]
mov eax, edx
xor eax, 1
imul eax, edx
and eax, 0xff00
xor eax, ebp
shr eax, 8
push ebx
push eax
mov dword [0x5007c8], ecx
call fcn.004a1f0d
mov ecx, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x10
ret 0xc
Function at 0x499470
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Write file on windows

Disassembly:
cmp byte [0x4e52c8], 0
push ebp
mov ebp, dword [esp + 0x10]
je 0x49950b
push ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebp
push edi
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x499509
push esi
movsx eax, byte [edi]
mov esi, dword [0x5007c0]
xor eax, esi
and eax, 0xff
mov ecx, dword [0x5007c8]
shr esi, 8
xor esi, dword [eax*4 + 0x4c6a28]
mov edx, ecx
mov eax, esi
mov dword [0x5007c0], eax
movzx eax, al
add eax, dword [0x5007c4]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x5007c4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a28]
or edx, 2
mov dword [0x5007c8], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor byte [edi], cl
inc edi
sub ebx, 1
jne 0x499494
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.0049f822
add esp, 0x10
pop ebp
ret 0x10
Function at 0x49bc10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c0390]
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.004a1f0d
push edi
push 0x4b
call fcn.004a1f0d
push edi
push 3
call fcn.004a1f0d
push edi
push 4
call fcn.004a1f0d
movsx eax, byte [esi + 2]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 3]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0x2c]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0x2d]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 6]
add esp, 0x40
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 7]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 8]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 9]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0xa]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0xb]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0xc]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0xd]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0xe]
add esp, 0x40
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0xf]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0x10]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0x11]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0x12]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0x13]
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0x14]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0x15]
push edi
push ecx
call fcn.004a1f0d
movsx edx, byte [esi + 0x16]
add esp, 0x40
push edi
push edx
call fcn.004a1f0d
movsx eax, byte [esi + 0x17]
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0x18]
push edi
push ecx
call fcn.004a1f0d
mov edx, dword [esi + 0x18]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004a1f0d
movsx ecx, byte [esi + 0x1c]
push edi
push ecx
call fcn.004a1f0d
mov edx, dword [esi + 0x1c]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004a1f0d
mov edx, dword [esi + 0x48]
add esp, 0x30
push 0x400
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.0044e1e0
mov eax, dword [esi + 0x18]
push edi
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.0049f822
add esp, 0x10
cmp eax, dword [esi + 0x18]
jne 0x49bdd4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x49bdd0
mov edx, dword [esi + 0x3c]
push edi
push eax
push 1
push edx
call fcn.0049f822
add esp, 0x10
cmp eax, dword [esi + 0x1c]
jne 0x49bdd4
xor eax, eax
jmp 0x49bdd9
mov eax, 0xa
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret 8
Function at 0x49c180
Capabilities:
Write file on windows

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

Disassembly:
cmp ecx, dword [0x4c0390]
jne 0x49e0d0
repz ret
jmp fcn.004a3005

Function at 0x49f1a8
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 0x49f1da
call fcn.004a22b2
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.004a3d5d
add esp, 0x14
or eax, 0xffffffff
jmp 0x49f25b
push esi
call fcn.004a5078
push 0x214
push 1
call fcn.004a6caa
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x49f23e
call fcn.004a525e
push dword [eax + 0x6c]
push esi
call fcn.004a5100
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
push esi
push 4
push esi
push 0x49f134
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 0x49f235
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x49f258
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
call fcn.0049de1d
pop ecx
cmp dword [ebp - 4], ebx
je 0x49f253
push dword [ebp - 4]
call fcn.004a22d8
pop ecx
or eax, 0xffffffff
jmp 0x49f25a
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret