joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d1ec
Capabilities:
Clear file content

Disassembly:
mov eax, 0x4819e4
call fcn.0047bfa0
sub esp, 0x34
and byte [ebp - 0x10], 0
cmp byte [ebp + 0x10], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
je 0x43d2a7
test edi, edi
jl 0x43d21f
jg 0x43d21a
cmp dword [ebp + 8], 0
jbe 0x43d21f
xor eax, eax
inc eax
jmp 0x43d221
xor eax, eax
mov byte [esi + 0x17c], al
mov eax, dword [esi + 0x188]
push dword [eax + 0xc0]
lea eax, [esi + 0x178]
push str._s_n_nThis_file_already_exists_on_local_computer.
push eax
call fcn.0042cef7
mov ecx, dword [esi + 0xf0]
add esp, 0xc
call fcn.004296bf
push eax
lea ecx, [esi + 0x168]
call fcn.0043e9da
cmp eax, 0x3f2
jne 0x43d3da
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x160]
call fcn.0044b4c3
add esp, 0x10
test eax, eax
je 0x43d2a3
mov ecx, dword [esi + 0x188]
push dword [ecx + 0xc0]
push eax
push str.Error__d_while_getting_md5_for_local_file__s
push esi
call fcn.004397cc
add esp, 0x10
jmp 0x43d424
mov byte [ebp - 0x10], 1
cmp byte [0x4ae550], 0
je 0x43d2b4
or byte [ebp - 0x10], 4
push ebx
lea ecx, [ebp - 0x40]
call fcn.00428def
xor ebx, ebx
push 0x40
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00428fc3
push ebx
lea ecx, [ebp - 0x40]
call fcn.00428fd2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.00428fc3
test byte [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
je 0x43d30b
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0044b8f3
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push 0x10
push eax
call fcn.00428f8b
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0042c11b
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042b08a
push eax
call fcn.0040bba5
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.0042bea3
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
lea edi, [eax - 3]
mov eax, dword [ebp - 0x40]
call dword [eax + 0x14]
mov word [eax + 1], di
lea edi, [esi + 0x110]
cmp byte [edi], 0
je 0x43d384
push 0x14b
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp + 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
mov al, byte [ebp - 0x10]
mov dword [esi + 0x120], ebx
mov byte [esi + 0x11c], al
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x124], eax
add esi, 0x184
push 1
mov byte [edi], 0x40
mov eax, dword [esi]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
mov edi, dword [eax]
call fcn.004296bf
mov ecx, dword [esi]
push eax
call dword [edi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428eb1
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
cmp eax, 0x3f1
jne 0x43d412
push dword [esi + 0x160]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43d2a7
mov eax, dword [esi + 0x188]
push dword [eax + 0xc0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_SetEndOfFile___for_local_file__s
jmp 0x43d295
cmp eax, 2
jne 0x43d424
mov eax, dword [esi + 0x188]
mov byte [eax + 0xc4], 1
xor al, al
jmp 0x43d3ca
Function at 0x43dea0
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x128], 0x17
jne 0x43debd
push 1
push 0
push 0
call fcn.0043d1ec
test al, al
je 0x43dee3
pop esi
ret
mov ecx, dword [esi + 0x188]
add ecx, 0xc0
call fcn.0042b08a
push eax
push dword [esi + 0x128]
push str.Error__d_while_opening_remote_file__s
push esi
call fcn.004397cc
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.0043d063
Function at 0x43ed06
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x10], 0
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
je 0x43ed49
mov eax, dword [ebp + 0xc]
sub eax, 0xd
je 0x43ed42
sub eax, 4
je 0x43ed39
dec eax
jne 0x43ed49
mov dword [ebp + 0xc], 0xa5
jmp 0x43ed49
mov dword [ebp + 0xc], 0xa3
jmp 0x43ed49
mov dword [ebp + 0xc], 0x1234
push dword [ebp + 0xc]
call fcn.0043ef2d
mov esi, eax
cmp esi, edi
jbe 0x43ed95
mov edi, 0xffe5
cmp esi, edi
je 0x43ed68
cmp esi, 0xffe6
jne 0x43ed86
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x43ed86
xor eax, eax
cmp esi, edi
setne al
add eax, 0xffe9
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
jmp 0x43ef19
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.004010ce
push eax
lea eax, [ebp - 0x28]
push edi
mov esi, dword [sym.imp.USER32.dll_ToAsciiEx]
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push dword [ebp + 0xc]
call esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
inc ebx
mov dword [ebp + 0x10], eax
test byte [ebp - 0x116], 0x80
je 0x43ee60
test byte [ebp - 0x117], 0x80
je 0x43ee60
cmp eax, ebx
jl 0x43ee60
mov al, byte [ebp - 0x28]
cmp al, 0x20
jb 0x43edf1
cmp al, 0x7e
jbe 0x43edf9
cmp al, 0xa0
jb 0x43ee60
cmp al, 0xff
ja 0x43ee60
push 0xa2
call edi
shr eax, 0xf
test bl, al
je 0x43ee0a
mov dword [ebp - 8], ebx
push 0xa4
call edi
shr eax, 0xf
test bl, al
je 0x43ee1c
or dword [ebp - 8], 4
push 0xa5
call edi
shr eax, 0xf
test bl, al
je 0x43ee2e
or dword [ebp - 8], 8
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x43ee3c
mov dword [ebp - 8], 0xd
cmp dword [ebp + 0x10], eax
jle 0x43ee60
movzx ecx, byte [ebp + eax - 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x18], ecx
inc dword [ebp - 4]
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x43ee41
cmp dword [ebp - 4], 0
jne 0x43ef19
and byte [ebp - 0x85], 0
and byte [ebp - 0x86], 0
and byte [ebp - 0x117], 0
call fcn.004010ce
push eax
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push dword [ebp + 0xc]
call esi
mov esi, eax
test esi, esi
jge 0x43eefb
movzx eax, byte [ebp - 0x28]
sub eax, 0x27
je 0x43eef1
sub eax, 0x37
je 0x43eee8
dec eax
dec eax
je 0x43eedf
sub eax, 0x1e
je 0x43eed6
sub eax, 0x2a
jne 0x43eefb
push 0x11
call edi
shr eax, 0xf
test bl, al
je 0x43eecc
push 0x12
call edi
shr eax, 0xf
test bl, al
mov eax, 0xfe53
jne 0x43eed1
mov eax, 0xfe57
mov dword [ebp - 0x18], eax
jmp 0x43eef8
mov dword [ebp - 0x18], 0xfe53
jmp 0x43eef8
mov dword [ebp - 0x18], 0xfe50
jmp 0x43eef8
mov dword [ebp - 0x18], 0xfe52
jmp 0x43eef8
mov dword [ebp - 0x18], 0xfe51
mov dword [ebp - 4], ebx
cmp esi, ebx
jl 0x43ef19
xor eax, eax
test esi, esi
jle 0x43ef19
movzx ecx, byte [ebp + eax - 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x18], ecx
inc dword [ebp - 4]
inc eax
cmp eax, esi
jl 0x43ef05
mov eax, dword [ebp + 8]
push 6
pop ecx
lea esi, [ebp - 0x18]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43f152
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481bd9
call fcn.0047bfa0
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00429e6d
mov dword [esi], 0x483c14
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call fcn.0042a5ec
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042a5ec
push fcn.00413301
push 0x418fdd
lea eax, [esi + 0x44]
push 7
push 0xc
push eax
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.0047c13c
lea ebx, [esi + 0x98]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00429e6d
mov edi, 0x483c70
mov dword [ebx], edi
lea ebx, [esi + 0xa4]
push 0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00429e6d
mov dword [ebx], edi
and byte [esi + 0x13], 0
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [esi], 0x48a848
mov dword [esi + 0xc], 0xae
call fcn.0043f9ef
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43feaa
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042353b
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43fef1
push 0x10
lea eax, [ebp - 0x13]
push dword [ebp + 0x18]
mov byte [ebp - 0x14], 0x25
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push 0x11
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0x11
je 0x43fef5
xor al, al
jmp 0x43ff00
mov ecx, dword [ebp + 8]
push esi
call fcn.00423327
mov al, 1
pop esi
leave
ret
Function at 0x4410c7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
je 0x4410fa
cmp byte [ebp + 8], 0x2e
jne 0x4410fa
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x4410fa
push 0x12
call esi
shr eax, 0xf
test al, 1
je 0x4410fa
call fcn.0044f185
jmp 0x44110b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044110e
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x4413fc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481ea6
call fcn.0047bfa0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00449c1a
xor ebx, ebx
lea ecx, [esi + 0x88]
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call fcn.004562e0
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 1
call fcn.004562e0
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 2
call fcn.00457a3f
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 3
call fcn.00456da3
lea edi, [esi + 0x240]
mov byte [ebp - 4], 4
lea ecx, [edi + 8]
call fcn.0042a5ec
mov dword [edi], 0x48a880
mov dword [edi + 4], ebx
lea ecx, [esi + 0x250]
mov byte [ebp - 4], 5
call fcn.00429883
push 0x4a615c
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4ae590
mov byte [ebp - 4], 6
mov dword [esi], 0x48a85c
call fcn.0041c880
push 0x3bd8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x4414c3
call fcn.0042d918
jmp 0x4414c5
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 0xc], eax
mov byte [esi + 0xa0], bl
mov byte [esi + 0xbc], bl
mov byte [esi + 0xbd], bl
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc8], ebx
call fcn.0044c0c1
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0xc5], bl
mov word [esi + 0x84], bx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0xc4], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44240f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x48210c
call fcn.0047bfa0
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax + 1]
push eax
call fcn.00428e25
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004296bf
mov edx, dword [ebp + 0xc]
mov esi, eax
mov cl, byte [edx]
inc edx
cmp cl, 0xa
jne 0x44244a
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
inc eax
test cl, cl
jne 0x44243e
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0040bc88
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44248f
lea eax, [ebp - 0x14]
push str.Failed_to_open_clipboard
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4424bd
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x14]
push str.Failed_to_empty_clipboard
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push edi
lea ecx, [ebp + 0x10]
call fcn.0042c5fa
lea edi, [eax + eax + 2]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44250a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.0042b08a
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
pop edi
jne 0x442533
lea eax, [ebp - 0x14]
push str.Failed_to_close_clipboard
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0042bea3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00428eb1
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x442609
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x482120
call fcn.0047bfa0
sub esp, 0x18
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov ecx, dword [edi + 0x550]
cmp eax, ecx
je 0x4426d5
lea eax, [edi + 0x60d]
cmp byte [eax], 0
jne 0x442641
mov byte [eax], 1
jmp 0x4426d5
cmp dword [edi + 0x558], 0
je 0x4426d5
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4426d5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x44266f
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4426d5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.00428def
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 1
push eax
push ebx
call fcn.0040bba5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x24]
call fcn.004296bf
mov esi, eax
mov edx, eax
pop ebx
mov cl, byte [esi]
inc esi
cmp cl, 0xd
je 0x4426ae
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4426ae
mov ecx, dword [edi + 0x54c]
push eax
call fcn.00441818
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00428eb1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x44531a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
push ebx
push esi
mov esi, dword [edx + 4]
mov ebx, dword [edx]
push edi
mov edi, dword [ecx + 0x48]
imul eax, ebx
imul edi, esi
add eax, edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
add eax, dword [ecx + 8]
sub edx, esi
mov esi, dword [ecx + 0x44]
sub edi, ebx
sub esi, edi
test edx, edx
jle 0x4453a4
shl esi, 2
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
test edi, edi
jle 0x44539c
mov dword [ebp + 8], edi
mov edx, dword [eax]
add eax, 4
mov esi, edx
mov ebx, edx
shr esi, 0xd
and esi, 0xff
and ebx, 0xff
xor esi, ebx
mov esi, dword [ecx + esi*4 + 0x8a8]
jmp 0x445388
cmp dword [esi + 8], edx
je 0x4453ab
mov esi, dword [esi]
test esi, esi
jne 0x445381
or dl, 0xff
mov esi, dword [ebp + 0xc]
inc dword [ebp + 0xc]
dec dword [ebp + 8]
mov byte [esi], dl
jne 0x44535e
add eax, dword [ebp - 8]
dec dword [ebp - 4]
jne 0x445357
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [esi + 4]
jmp 0x44538f
Function at 0x447ef8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x482382
call fcn.0047bfa0
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.00429e6d
mov dword [esi], 0x483c14
push fcn.00413301
push 0x418fdd
push 5
lea eax, [esi + 0x30]
push 0xc
push eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.0047c13c
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00429e6d
mov ecx, dword [ebp - 0xc]
mov dword [edi], 0x483c3c
mov dword [esi], 0x48a8b8
mov byte [esi + 0x10], bl
mov dword [esi + 0xc], 0xad
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44a2ad
Capabilities:
Move file

Disassembly:
mov eax, 0x48256c
call fcn.0047bfa0
sub esp, 0x44
push esi
mov esi, ecx
cmp byte [esi + 0x48], 0
jne 0x44a2e1
lea eax, [ebp - 0x2c]
push str.FileManager_is_forbidden
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4ae532]
push ebx
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c690
mov ecx, dword [esi + 0xc]
xor edi, edi
mov dword [ebp - 0x10], edi
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push 2
push edx
mov dword [ebp - 4], edi
call dword [eax + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00428e25
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
mov ebx, dword [eax]
movzx eax, word [ebp - 0x10]
push eax
call fcn.004296bf
mov ecx, dword [esi + 0xc]
push eax
call dword [ebx + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.004296c3
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429224
or ebx, 0xffffffff
mov ecx, eax
push ebx
mov byte [ebp - 4], 2
call fcn.0042b08a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bc88
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0042a8ed
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a087
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429224
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042b08a
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040bc88
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0042c11b
add esp, 0x18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0042bea3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0042a8ed
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429224
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0042b08a
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040bc88
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042c11b
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0042bea3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0042a8ed
lea ecx, [ebp - 0x18]
call fcn.0042b08a
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042b08a
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
jne 0x44a43f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x50]
call fcn.00428ecd
push 0x46
lea ecx, [ebp - 0x50]
call fcn.00428fc3
push edi
lea ecx, [ebp - 0x50]
call fcn.00428fe1
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov edi, dword [eax]
call fcn.004296d4
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0042bea3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042bea3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bea3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00428eb1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041c6ad
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44a4bc
Capabilities:
Create directory

Disassembly:
mov eax, 0x482598
call fcn.0047bfa0
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x48], bl
jne 0x44a4f2
lea eax, [ebp - 0x24]
push str.FileManager_is_forbidden
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4ae532]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041c690
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x10], ebx
lea edx, [ebp - 0x10]
push 2
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], ebx
call dword [eax + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428e25
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edi, dword [eax]
movzx eax, word [ebp - 0x10]
push eax
call fcn.004296bf
mov ecx, dword [esi + 0xc]
push eax
call dword [edi + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004296c3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.004291c1
movzx ecx, word [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042b08a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bc88
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042a8ed
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a087
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042b08a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x44a5a4
xor edi, edi
jmp 0x44a5ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x3c]
call fcn.00428ecd
push 0x46
lea ecx, [ebp - 0x3c]
call fcn.00428fc3
push edi
lea ecx, [ebp - 0x3c]
call fcn.00428fe1
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x3c]
mov edi, dword [eax]
call fcn.004296d4
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bea3
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00428eb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c6ad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44b1bf
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44b1fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Error__d_GetFileSizeEx__
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret

Function at 0x44b204
Capabilities:
Check if file exists
Get file size

Disassembly:
mov eax, 0x48269c
call fcn.0047bfa0
sub esp, 0x18
push ebx
push esi
push 0
push 0x80
xor esi, esi
push 3
push 0
inc esi
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44b283
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x44b24a
or edx, ebx
mov eax, edx
jmp 0x44b2f5
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042a9a5
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0042b08a
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_while_open_file__s
push eax
call fcn.0042777f
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44b2ce
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042a9a5
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.0042b08a
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_in_GetFileSizeEx___for__s
push eax
call fcn.0042777f
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44b2ef
push 0x38
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x24]
call fcn.00425667
mov ecx, eax
call fcn.00425773
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret