joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ef30
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xd8]
lea eax, [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.USERENV.dll_CreateEnvironmentBlock
sub esp, 0xc
cmp eax, 1
je 0x42f122
mov dword [esp + 0x40], 0
xor esi, esi
mov edx, 0x30
lea edi, [esp + 0x70]
xor eax, eax
mov ecx, 0x10
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0x44
mov dword [esp + 0x74], str.winsta0default
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
sub esp, 0x2c
test eax, eax
mov ebx, eax
jne 0x42f0d4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42f02f
mov dword [esp], eax
call sub.USERENV.dll_DestroyEnvironmentBlock
sub esp, 4
lea esi, [esp + 0x5c]
lea ebp, [esp + 0x54]
call fcn.0042c430
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], 0x11
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], esi
call fcn.004ed900
mov edx, dword [esp + 0x3c]
mov dword [eax], 0x506e7552
mov dword [eax + 4], 0x72676f72
mov dword [eax + 8], 0x73416d61
mov dword [eax + 0xc], 0x72657355
mov byte [eax + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], str.CreateProcessAsUser_failed__error_id_is__lu
mov dword [esp + 0xc], 0x144
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x58], 0x10
call fcn.0042ce70
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x42f0c7
mov dword [esp], eax
call fcn.004ed8c0
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x42f130
mov eax, dword [esp + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call ebx
sub esp, 4
mov ebx, 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42f0c7
mov dword [esp], eax
call sub.USERENV.dll_DestroyEnvironmentBlock
sub esp, 4
mov eax, ebx
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x40]
mov edx, 0x430
jmp 0x42ef7c
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
jmp 0x42f0df
Function at 0x42f1c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov dword [esp], ebx
call fcn.00426720
test al, al
jne 0x42f272
call fcn.0042c430
mov ecx, dword [ebx]
lea edx, [esp + 0x48]
lea ebx, [esp + 0x50]
mov esi, 0x6769
mov dword [esp + 0x10], str.Ini_file__s_not_exists
mov dword [esp + 0xc], 0x1f9
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp + 0x14], ecx
mov dword [esp], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0x74697257
mov dword [esp + 0x54], 0x696e4965
mov dword [esp + 0x58], 0x666e6f43
mov word [esp + 0x5c], si
mov dword [esp + 0x4c], 0xe
mov byte [esp + 0x5e], 0
call fcn.0042ce70
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42f266
mov dword [esp], eax
call fcn.004ed8c0
xor esi, esi
add esp, 0x6c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
sub esp, 0x10
test eax, eax
mov esi, eax
jne 0x42f268
call fcn.0042c430
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, dword [ebp]
lea ebp, [esp + 0x48]
mov edi, dword [edi]
lea ebx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], str.Write_ini_failed_in__s:_s:_s__error_id_is__lu
mov dword [esp + 0xc], 0x200
mov dword [esp + 0x14], edx
mov edx, 0x6769
mov dword [esp + 0x1c], ecx
mov word [esp + 0x5c], dx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x48], ebx
mov dword [esp], edx
mov dword [esp + 0x50], 0x74697257
mov dword [esp + 0x54], 0x696e4965
mov dword [esp + 0x58], 0x666e6f43
mov dword [esp + 0x4c], 0xe
mov byte [esp + 0x5e], 0
call fcn.0042ce70
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42f268
mov dword [esp], eax
call fcn.004ed8c0
jmp 0x42f268
Function at 0x431fa0
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x45c
mov ebx, dword [esp + 0x470]
mov dword [esp], ebx
call fcn.00426720
test al, al
jne 0x432045
call fcn.0042c430
mov ecx, dword [ebx]
lea edx, [esp + 0x50]
lea ebx, [esp + 0x58]
mov dword [esp + 0x10], str.Ini_file__s_not_exists
mov dword [esp + 0xc], 0x1e2
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp + 0x14], ecx
mov dword [esp], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 0x64616552
mov dword [esp + 0x5c], 0x43696e49
mov dword [esp + 0x60], 0x69666e6f
mov byte [esp + 0x64], 0x67
mov dword [esp + 0x54], 0xd
mov byte [esp + 0x65], 0
call fcn.0042ce70
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x432036
mov dword [esp], eax
call fcn.004ed8c0
xor esi, esi
add esp, 0x45c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x50]
xor eax, eax
mov ecx, 0x100
lea ebp, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [esp + 0x10], 0x400
mov esi, ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 8], str.This_value_is_not_found
mov edi, str.This_value_is_not_found
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x478]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x474]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub esp, 0x18
mov ecx, 0x18
mov byte [esp + 0x44f], 0
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
movsx esi, al
test esi, esi
jne 0x432164
call fcn.0042c430
mov edi, eax
lea ebp, [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x478]
mov ecx, dword [esp + 0x474]
mov ebx, dword [ebx]
mov dword [esp + 0x40], 0x64616552
mov dword [esp + 0x44], 0x43696e49
mov dword [esp + 0x48], 0x69666e6f
mov edx, dword [edx]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], str.Read_ini_failed_in__s:_s:_s__error_id_is__lu
mov dword [esp + 0xc], 0x1ed
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x4c], 0x67
mov dword [esp + 0x3c], 0xd
mov byte [esp + 0x4d], 0
call fcn.0042ce70
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x432038
mov dword [esp], eax
call fcn.004ed8c0
add esp, 0x45c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, ebp
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x432166
mov ecx, eax
mov dword [esp + 8], ebp
mov esi, 1
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
mov eax, dword [esp + 0x47c]
mov ecx, dword [esp + 0x47c]
sbb edx, 3
sub edx, ebp
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004cb7a0
sub esp, 0x10
mov eax, esi
add esp, 0x45c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4323e0
Capabilities:
Terminate thread

Disassembly:
push edi
lea edi, [ecx + 0x1c]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x14]
sub esp, 0x10
mov dword [ecx], 0x5086c0
mov ecx, edi
call fcn.00432290
mov ecx, esi
call fcn.00432290
cmp byte [ebx + 0x10], 0
je 0x432439
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebx + 4]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
sub esp, 4
mov byte [ebx + 0x10], 0
mov ecx, esi
call fcn.004322c0
mov ecx, edi
call fcn.004322c0
lea ecx, [ebx + 0x24]
call fcn.00432210
mov ecx, edi
call fcn.00432210
add esp, 0x10
mov ecx, esi
pop ebx
pop esi
pop edi
jmp fcn.00432210

Function at 0x432510
Capabilities:
Create thread

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
cmp byte [ecx + 0x2c], 0
jne 0x432541
cmp byte [ecx + 0x18], 0
je 0x432610
cmp byte [ebx + 0x20], 0
je 0x432630
cmp byte [ebx + 0x28], 0
je 0x432646
mov byte [ebx + 0x2c], 1
lea ebp, [ebx + 0x1c]
lea esi, [ebx + 0x14]
mov ecx, ebp
call fcn.00432290
mov ecx, esi
call fcn.00432290
cmp byte [ebx + 0x10], 0
mov ecx, esi
jne 0x432658
call fcn.004322c0
lea eax, [ebx + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4322f0
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
test eax, eax
mov dword [ebx + 4], eax
je 0x43266b
mov ecx, esi
call fcn.00432290
cmp byte [ebx + 0x10], 0
jne 0x4325e0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, esi
lea edi, [edi]
mov ecx, esi
call fcn.004322c0
mov dword [esp], 1
call edi
mov ecx, esi
sub esp, 4
call fcn.00432290
cmp byte [ebx + 0x10], 0
je 0x4325c0
mov ecx, esi
add ebx, 0x24
call fcn.004322c0
mov ecx, ebp
call fcn.004322c0
mov ecx, ebx
call fcn.00432290
mov ecx, ebx
call fcn.004322c0
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ecx + 0x14]
call fcn.00432240
test eax, eax
jns 0x432529
mov eax, 0xffffffff
jmp 0x432601
lea ecx, [ebx + 0x1c]
call fcn.00432240
test eax, eax
js 0x432620
cmp byte [ebx + 0x28], 0
jne 0x43253d
lea ecx, [ebx + 0x24]
call fcn.00432240
test eax, eax
jns 0x43253d
jmp 0x432620
call fcn.004322c0
mov ecx, ebp
call fcn.004322c0
mov eax, 0xfffffffb
jmp 0x432601
mov ecx, ebp
call fcn.004322c0
mov eax, 0xfffffffe
jmp 0x432601

Function at 0x432680
Capabilities:
Terminate thread

Disassembly:
push edi
push esi
lea esi, [ecx + 0x1c]
push ebx
mov ebx, ecx
lea edi, [ebx + 0x14]
mov ecx, esi
sub esp, 0x10
call fcn.00432290
mov ecx, edi
call fcn.00432290
cmp byte [ebx + 0x10], 0
je 0x4326f0
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebx + 4]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
sub esp, 4
mov dword [ebx + 4], 0
mov byte [ebx + 0x10], 0
call fcn.004322c0
mov ecx, esi
call fcn.004322c0
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov ecx, edi
call fcn.004322c0
mov ecx, esi
call fcn.004322c0
mov eax, 0xfffffffc
jmp 0x4326e3
Function at 0x43c340
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x55155c]
test esi, esi
jle 0x43c450
mov edi, dword [0x551560]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x43c374
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x43c3f5
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x43c360
mov dword [esp], eax
mov ebx, eax
call fcn.0043cc90
test eax, eax
mov edi, eax
je 0x43c477
mov eax, dword [0x551560]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0043cd90
add eax, dword [edi + 0xc]
mov edx, dword [0x551560]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x43c457
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x43c3ee
sub eax, 4
and eax, 0xfffffffb
jne 0x43c400
add dword [0x55155c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x551560]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x43c3ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004ef330
lea esi, [esi]
xor esi, esi
jmp 0x43c37e
mov eax, dword [0x551560]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004ef330
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004ef330
mov esi, esi
lea edi, [edi]

Function at 0x43c910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x551578
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x551570]
sub esp, 4
test ebx, ebx
je 0x43c965
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x43c95e
test esi, esi
je 0x43c95e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x43c940
mov dword [esp], 0x551578
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x442590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x220
mov ebx, dword [esp + 0x230]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x442722
cmp word [ebx], 0
je 0x4426e0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x442710
test al, 0x10
je 0x4426e0
lea esi, [esp + 0x18]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], esi
call sub.msvcrt.dll__wfullpath
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
mov dword [esp], 0x502880
mov ebx, eax
call sub.msvcrt.dll_wcslen
mov dword [esp], 0x502884
add ebx, eax
call sub.msvcrt.dll_wcslen
lea eax, [ebx + eax + 0x21d]
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x442700
lea edi, [eax + 0x434]
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_wcscpy
cmp word [ebx + 0x434], 0
jne 0x4426a2
mov dword [esp], edi
mov dword [esp + 4], 0x502884
call sub.msvcrt.dll_wcscat
lea edx, [ebx + 0x224]
mov ecx, 0x82
xor eax, eax
mov dword [ebx + 0x42c], 0xffffffff
mov dword [ebx + 0x430], 0
mov edi, edx
mov dword [ebx + 0x21c], 0
mov dword [ebx + 0x220], 0
rep stosd dword es:[edi], eax
add esp, 0x220
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp], edi
call sub.msvcrt.dll_wcslen
cmp word [ebx + eax*2 + 0x432], 0x2f
je 0x44264d
mov dword [esp], edi
call sub.msvcrt.dll_wcslen
cmp word [ebx + eax*2 + 0x432], 0x5c
je 0x44264d
mov dword [esp + 4], 0x502880
mov dword [esp], edi
call sub.msvcrt.dll_wcscat
jmp 0x44264d
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 0x14
add esp, 0x220
mov eax, ebx
pop ebx
pop esi
pop edi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x442696
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x442696
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x442696
Function at 0x44d520
Capabilities:
Create directory

Disassembly:
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x10
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wmkdir]
test eax, eax
jne 0x44d553
call fcn.004c3a40
mov dword [ebx], 0
mov dword [ebx + 4], eax
mov eax, 1
add esp, 0x10
pop ebx
pop esi
pop edi
ret
call dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [eax]
cmp edi, 0x11
je 0x44d573
call fcn.004c3a50
mov dword [ebx], edi
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
xor eax, eax
pop esi
pop edi
ret
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0049cd90
cmp al, 2
jne 0x44d560
xor eax, eax
jmp 0x44d54c
Function at 0x44ec40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x80]
mov esi, 0x4ff995
sub esp, 0x9c
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebp - 0x8c], eax
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x4ff9f9]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 0x87]
rep movsd dword es:[edi], dword [esi]
and eax, 0xfffffff0
call fcn.0043cef0
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
mov byte [ebx + eax + 0x67], 0
mov dword [esp], ebx
call fcn.004e7b80
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4fa154], 0
jne 0x44ed2d
mov byte [0x4fa154], 1
call fcn.004edc70
test eax, eax
je 0x44ed71
mov ebx, dword [eax + 4]
cmp byte [ebx], 0x2a
je 0x44ed5f
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
call fcn.0043be20
mov dword [esp], 2
mov edi, eax
mov esi, dword [fcn.0044be20]
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp], 2
je 0x44ed1d
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4fea7d
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
je 0x44ed67
call fcn.004ee150
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x44ece8
mov dword [esp], 2
call dword [0x4f90a0]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
add ebx, 1
jmp 0x44ec73
mov dword [esp], edi
call sub.msvcrt.dll_free
jmp 0x44ed18
mov dword [esp], 2
call dword [0x4f90a0]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
sub edx, 1
mov dword [esp], eax
jne 0x44ee17
call fcn.004edae0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [esp], 2
mov ebx, eax
call esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call fcn.004edcd0
jmp 0x44ed9e
call fcn.004edae0
call fcn.004edcd0
jmp 0x44ed9e
Function at 0x49a490
Capabilities:
Create directory

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp fcn.0044d520

Function at 0x49cb00
Capabilities:
Delete file

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
test eax, eax
jne 0x49cb40
call fcn.004c3a40
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
mov eax, 1
pop esi
pop edi
ret
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
cmp dword [eax], 2
je 0x49cb70
call fcn.004c3a50
mov edi, eax
call esi
mov eax, dword [eax]
mov dword [ebx + 4], edi
mov dword [ebx], eax
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.004c3a40
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
xor eax, eax
pop esi
pop edi
ret

Function at 0x49cc70
Capabilities:
Move file

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wrename]
test eax, eax
jne 0x49ccb0
call fcn.004c3a40
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x18
pop ebx
ret
add esp, 0x18
mov eax, ebx
pop ebx
jmp fcn.004997d0
Function at 0x4ef330
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0044be20
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0044be20
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
pop ebp
jmp fcn.004014e0