joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43de94
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x128], 0x17
jne 0x43deb1
push 1
push 0
push 0
call fcn.0043d1e0
test al, al
je 0x43ded7
pop esi
ret
mov ecx, dword [esi + 0x188]
add ecx, 0xc0
call fcn.0042c635
push eax
push dword [esi + 0x128]
push str.Error__d_while_opening_remote_file__s
push esi
call fcn.004397c5
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.0043d057
Function at 0x43ecfa
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 0x43ed3d
mov eax, dword [ebp + 0xc]
sub eax, 0xd
je 0x43ed36
sub eax, 4
je 0x43ed2d
dec eax
jne 0x43ed3d
mov dword [ebp + 0xc], 0xa5
jmp 0x43ed3d
mov dword [ebp + 0xc], 0xa3
jmp 0x43ed3d
mov dword [ebp + 0xc], 0x1234
push dword [ebp + 0xc]
call fcn.0043ef21
mov esi, eax
cmp esi, edi
jbe 0x43ed89
mov edi, 0xffe5
cmp esi, edi
je 0x43ed5c
cmp esi, 0xffe6
jne 0x43ed7a
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x43ed7a
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 0x43ef0d
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00406407
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 0x43ee54
test byte [ebp - 0x117], 0x80
je 0x43ee54
cmp eax, ebx
jl 0x43ee54
mov al, byte [ebp - 0x28]
cmp al, 0x20
jb 0x43ede5
cmp al, 0x7e
jbe 0x43eded
cmp al, 0xa0
jb 0x43ee54
cmp al, 0xff
ja 0x43ee54
push 0xa2
call edi
shr eax, 0xf
test bl, al
je 0x43edfe
mov dword [ebp - 8], ebx
push 0xa4
call edi
shr eax, 0xf
test bl, al
je 0x43ee10
or dword [ebp - 8], 4
push 0xa5
call edi
shr eax, 0xf
test bl, al
je 0x43ee22
or dword [ebp - 8], 8
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x43ee30
mov dword [ebp - 8], 0xd
cmp dword [ebp + 0x10], eax
jle 0x43ee54
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 0x43ee35
cmp dword [ebp - 4], 0
jne 0x43ef0d
and byte [ebp - 0x85], 0
and byte [ebp - 0x86], 0
and byte [ebp - 0x117], 0
call fcn.00406407
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 0x43eeef
movzx eax, byte [ebp - 0x28]
sub eax, 0x27
je 0x43eee5
sub eax, 0x37
je 0x43eedc
dec eax
dec eax
je 0x43eed3
sub eax, 0x1e
je 0x43eeca
sub eax, 0x2a
jne 0x43eeef
push 0x11
call edi
shr eax, 0xf
test bl, al
je 0x43eec0
push 0x12
call edi
shr eax, 0xf
test bl, al
mov eax, 0xfe53
jne 0x43eec5
mov eax, 0xfe57
mov dword [ebp - 0x18], eax
jmp 0x43eeec
mov dword [ebp - 0x18], 0xfe53
jmp 0x43eeec
mov dword [ebp - 0x18], 0xfe50
jmp 0x43eeec
mov dword [ebp - 0x18], 0xfe52
jmp 0x43eeec
mov dword [ebp - 0x18], 0xfe51
mov dword [ebp - 4], ebx
cmp esi, ebx
jl 0x43ef0d
xor eax, eax
test esi, esi
jle 0x43ef0d
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 0x43eef9
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 0x43f146
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481ba9
call fcn.0047bf20
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00429e89
mov dword [esi], 0x483c14
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call fcn.0042a608
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042a608
push fcn.0043815d
push 0x41900a
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.0047c103
lea ebx, [esi + 0x98]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00429e89
mov edi, 0x483c70
mov dword [ebx], edi
lea ebx, [esi + 0xa4]
push 0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00429e89
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.0043f9e3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43fe9e
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.00423551
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43fee5
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 0x43fee9
xor al, al
jmp 0x43fef4
mov ecx, dword [ebp + 8]
push esi
call fcn.0042333d
mov al, 1
pop esi
leave
ret
Function at 0x4410bb
Capabilities:
Log keystrokes via polling

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

Function at 0x4413f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481e76
call fcn.0047bf20
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00449be2
xor ebx, ebx
lea ecx, [esi + 0x88]
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call fcn.004562ad
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 1
call fcn.004562ad
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 2
call fcn.004579fc
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 3
call fcn.00456d60
lea edi, [esi + 0x240]
mov byte [ebp - 4], 4
lea ecx, [edi + 8]
call fcn.0042a608
mov dword [edi], 0x48a880
mov dword [edi + 4], ebx
lea ecx, [esi + 0x250]
mov byte [ebp - 4], 5
call fcn.0042989f
push 0x4a6154
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4ae550
mov byte [ebp - 4], 6
mov dword [esi], 0x48a85c
call fcn.0041c894
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 0x4414b7
call fcn.0042d934
jmp 0x4414b9
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.0044c089
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 0x442403
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x4820dc
call fcn.0047bf20
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax + 1]
push eax
call fcn.00428e45
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00429ebe
mov edx, dword [ebp + 0xc]
mov esi, eax
mov cl, byte [edx]
inc edx
cmp cl, 0xa
jne 0x44243e
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
inc eax
test cl, cl
jne 0x442432
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0040bc7b
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x442483
lea eax, [ebp - 0x14]
push str.Failed_to_open_clipboard
push eax
call fcn.0042778f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4424b1
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x14]
push str.Failed_to_empty_clipboard
push eax
call fcn.0042778f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push edi
lea ecx, [ebp + 0x10]
call fcn.0042c613
lea edi, [eax + eax + 2]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4424fe
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.0042c635
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 0x442527
lea eax, [ebp - 0x14]
push str.Failed_to_close_clipboard
push eax
call fcn.0042778f
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0042bebc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00428ed1
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4425fd
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x4820f0
call fcn.0047bf20
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 0x4426c9
lea eax, [edi + 0x60d]
cmp byte [eax], 0
jne 0x442635
mov byte [eax], 1
jmp 0x4426c9
cmp dword [edi + 0x558], 0
je 0x4426c9
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4426c9
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x442663
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4426c9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.00428e0f
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 1
push eax
push ebx
call fcn.0040bb98
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.00429ebe
mov esi, eax
mov edx, eax
pop ebx
mov cl, byte [esi]
inc esi
cmp cl, 0xd
je 0x4426a2
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4426a2
mov ecx, dword [edi + 0x54c]
push eax
call fcn.0044180c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00428ed1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x44530e
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 0x445398
shl esi, 2
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
test edi, edi
jle 0x445390
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 0x44537c
cmp dword [esi + 8], edx
je 0x44539f
mov esi, dword [esi]
test esi, esi
jne 0x445375
or dl, 0xff
mov esi, dword [ebp + 0xc]
inc dword [ebp + 0xc]
dec dword [ebp + 8]
mov byte [esi], dl
jne 0x445352
add eax, dword [ebp - 8]
dec dword [ebp - 4]
jne 0x44534b
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [esi + 4]
jmp 0x445383
Function at 0x447eb1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x482352
call fcn.0047bf20
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.00429e89
mov dword [esi], 0x483c14
push fcn.0043815d
push 0x41900a
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.0047c103
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00429e89
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 0x44a275
Capabilities:
Move file

Disassembly:
mov eax, 0x48253c
call fcn.0047bf20
sub esp, 0x44
push esi
mov esi, ecx
cmp byte [esi + 0x48], 0
jne 0x44a2a9
lea eax, [ebp - 0x2c]
push str.FileManager_is_forbidden
push eax
call fcn.0042778f
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4ae4f2]
push ebx
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c6a4
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.00428e45
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.00429ebe
mov ecx, dword [esi + 0xc]
push eax
call dword [ebx + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.004296df
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429244
or ebx, 0xffffffff
mov ecx, eax
push ebx
mov byte [ebp - 4], 2
call fcn.0042c635
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bc7b
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0042a904
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a04f
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429244
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042c635
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040bc7b
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0042c134
add esp, 0x18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0042bebc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0042a904
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.00429244
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0042c635
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040bc7b
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042c134
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0042bebc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0042a904
lea ecx, [ebp - 0x18]
call fcn.0042c635
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
jne 0x44a407
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x50]
call fcn.00428eed
push 0x46
lea ecx, [ebp - 0x50]
call fcn.00428fe3
push edi
lea ecx, [ebp - 0x50]
call fcn.00429001
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov edi, dword [eax]
call fcn.004296f0
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0042bebc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042bebc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bebc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00428ed1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041c6c1
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44a484
Capabilities:
Create directory

Disassembly:
mov eax, 0x482568
call fcn.0047bf20
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x48], bl
jne 0x44a4ba
lea eax, [ebp - 0x24]
push str.FileManager_is_forbidden
push eax
call fcn.0042778f
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4ae4f2]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041c6a4
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.00428e45
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.00429ebe
mov ecx, dword [esi + 0xc]
push eax
call dword [edi + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004296df
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.004291e1
movzx ecx, word [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042c635
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bc7b
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042a904
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a04f
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x44a56c
xor edi, edi
jmp 0x44a574
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x3c]
call fcn.00428eed
push 0x46
lea ecx, [ebp - 0x3c]
call fcn.00428fe3
push edi
lea ecx, [ebp - 0x3c]
call fcn.00429001
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x3c]
mov edi, dword [eax]
call fcn.004296f0
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bebc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00428ed1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c6c1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44b187
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 0x44b1c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Error__d_GetFileSizeEx__
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret

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

Disassembly:
mov eax, 0x48266c
call fcn.0047bf20
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 0x44b24b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x44b212
or edx, ebx
mov eax, edx
jmp 0x44b2bd
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042a9bc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0042c635
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_while_open_file__s
push eax
call fcn.0042778f
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e404
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 0x44b296
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042a9bc
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.0042c635
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.0042778f
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44b2b7
push 0x38
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x24]
call fcn.00425678
mov ecx, eax
call fcn.00425784
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
Function at 0x44b2cb
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x482690
call fcn.0047bf20
sub esp, 0x258
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042bf35
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044ba92
test al, al
pop ecx
jne 0x44b306
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0042c5bc
lea eax, [ebp - 0x14]
push 0x4a72ac
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042c1a0
add esp, 0xc
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.0042bebc
cmp edi, 0xffffffff
jne 0x44b35e
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0042c092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44b424
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042c1a0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
call fcn.0044b459
add esp, 0x10
test al, al
jne 0x44b3e9
test byte [ebp - 0x264], 1
je 0x44b3aa
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x10]
and al, 0xfe
push eax
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x264], 0x10
lea ecx, [ebp - 0x10]
je 0x44b3d9
push dword [ebp + 0xc]
call fcn.0042c635
push eax
call fcn.0044b2cb
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44b3e9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bebc
jmp 0x44b424
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44b441
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bebc
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44b35e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x44b346
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042bebc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0042c092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44b3cc
Function at 0x44b828
Capabilities:
Create directory

Disassembly:
mov eax, 0x482714
call fcn.0047bf20
push ebx
push esi
push edi
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.0042bf35
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
mov dword [ebp - 4], ebx
call fcn.0042c3bb
mov edi, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x5c
push eax
call edi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44b89e
add esi, 2
push 0x5c
push esi
call edi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44b89e
push ebx
lea ecx, [ebp + 8]
mov word [esi], bx
call fcn.0042c635
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44b895
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b89c
mov word [esi], 0x5c
jmp 0x44b861
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042bebc
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret