joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f1a0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00424fc0
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x491380]
mov dl, byte [eax + 0x491378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40f1b0
lea eax, [esp]
push str.AU3_
push eax
call fcn.00413740
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00410d20
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x40f200
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.00414f60
add esp, 0x10
cmp eax, 0x18
jl 0x40f281
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x40f24d
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x40f271
cmp ecx, 0x14
je 0x42913f
inc edx
cmp edx, edi
jl 0x40f230
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.0041532c
add esp, 0xc
jmp 0x40f200
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x40f293
inc ecx
jmp 0x40f23f
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
je 0x40f2a5
add ecx, 2
jmp 0x40f23f
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429137
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x429126
add ecx, 4
jmp 0x40f23f
add ecx, 5
cmp ecx, 0x14
jl 0x40f236
jmp 0x40f23f
add ecx, 3
jmp 0x40f23f
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10034]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.0041532c
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.00414f60
lea edx, [esp + 0x2c]
push str.EA06
push edx
mov byte [esp + 0x38], 0
call fcn.00414f80
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f286
Function at 0x40f340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4838e8
or eax, 0xffffffff
call fcn.0040f2d0
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413740
push esi
call fcn.0041109f
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f410
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f440
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f3a0
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4866e0
push eax
call fcn.00414bb6
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42b09b
push edi
call fcn.0040f1a0
test eax, eax
je 0x42b0a5
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414c44
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f3ff
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414f60
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044b090
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42b0d5
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415234
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f3ff

Function at 0x40f410
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412fa0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x410150
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4962c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4962c8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x4962c0], eax
call esi
mov edx, dword [0x4962c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4962bc], eax
call esi
mov eax, dword [0x4962c0]
push 0
push eax
call esi
pop esi
ret

Function at 0x421d57
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48fe80]
jne 0x421d61
repz ret
jmp fcn.00425ff3
Function at 0x422ce8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00416790
and dword [ebp - 4], 0
cmp dword [0x495efc], 0
mov ebx, eax
jne 0x422d99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422e4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x482de0
push edi
call esi
test eax, eax
je 0x422e4a
push eax
call fcn.0041671e
mov dword [esp], 0x482dd0
push edi
mov dword [0x495efc], eax
call esi
push eax
call fcn.0041671e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x495f00], eax
call esi
push eax
call fcn.0041671e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x495f04], eax
call esi
push eax
call fcn.0041671e
pop ecx
mov dword [0x495f0c], eax
test eax, eax
je 0x422d99
push 0x482d88
push edi
call esi
push eax
call fcn.0041671e
pop ecx
mov dword [0x495f08], eax
mov eax, dword [0x495f08]
cmp eax, ebx
je 0x422df1
cmp dword [0x495f0c], ebx
je 0x422df1
push eax
call fcn.00416799
push dword [0x495f0c]
mov esi, eax
call fcn.00416799
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422df1
test edi, edi
je 0x422df1
call esi
test eax, eax
je 0x422de8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422de8
test byte [ebp - 0xc], 1
jne 0x422df1
or dword [ebp + 0x10], 0x200000
jmp 0x422e2a
mov eax, dword [0x495f00]
cmp eax, ebx
je 0x422e2a
push eax
call fcn.00416799
pop ecx
test eax, eax
je 0x422e2a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422e2a
mov eax, dword [0x495f04]
cmp eax, ebx
je 0x422e2a
push eax
call fcn.00416799
pop ecx
test eax, eax
je 0x422e2a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x495efc]
call fcn.00416799
pop ecx
test eax, eax
je 0x422e4a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422e4c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432e26
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
cmp word [eax], si
je 0x432f4f
push esi
push esi
push 3
push esi
push esi
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432e69
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push 0x481a20
push 0
push 0
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x432e5d
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp], 0
mov eax, dword [esp + 0x44]
jne 0x432f24
cmp dword [eax], 0
jne 0x432f24
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ebp], ecx
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x40]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x432f53
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x432f65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x40]
push eax
push 0
mov dword [esi + 0x60], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x432f89
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [esp + 0xc]
test eax, 0x80000
je 0x432fa9
and eax, 0xfff7ffff
mov edx, dword [0x4a742c]
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x43301c
cmp byte [esp + 0x34], 0
je 0x433001
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x180], 0
jl 0x43301c
cmp byte [edi + 0x18c], 0
je 0x43301c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
ret 0x2c
Function at 0x433900
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a8300
call fcn.00412fa0
push 0x10
push 0
push 0x4a82ec
call fcn.00412fa0
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a82ec
push 0x4a8300
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a8300], 0x44
mov dword [0x4a832c], 1
mov word [0x4a8330], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x433975
mov edx, dword [0x4a82ec]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4
Function at 0x433d39
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov ebp, dword [esi + 4]
cmp eax, ecx
push edi
mov edi, dword [esi + 0xc]
setl dl
cmp edi, ebp
setl bl
mov byte [esp + 0x5c], dl
mov byte [esp + 0x13], bl
test dl, dl
je 0x433d6a
mov dword [esi], eax
mov dword [esi + 8], ecx
test bl, bl
je 0x433d74
mov dword [esi + 4], edi
mov dword [esi + 0xc], ebp
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [edx + 0xfc]
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00433cea
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add dword [esi], eax
add dword [esi + 8], eax
mov edx, dword [esi]
mov edi, dword [esi + 8]
add dword [esi + 4], ecx
add dword [esi + 0xc], ecx
mov ebx, dword [esi + 4]
mov ebp, dword [esi + 0xc]
sub edi, edx
inc edi
sub ebp, ebx
push 0
mov dword [esp + 0x5c], edi
inc ebp
call dword [sym.imp.USER32.dll_GetDC]
push ebp
mov ebx, eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], eax
mov ecx, ebp
test dl, dl
je 0x433df2
neg ecx
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x58]
je 0x433dff
neg eax
test dl, dl
je 0x433e08
mov edx, dword [esi + 0xc]
jmp 0x433e0b
mov edx, dword [esi + 4]
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x54], edx
je 0x433e30
mov esi, dword [esi + 8]
jmp 0x433e32
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041109f
add esp, 4
xor eax, eax
add esp, 0x40
ret 0x10
mov esi, dword [esi]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
push ebx
push ebp
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
push 0
mov eax, ebp
neg eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
mov dword [esp + 0x3c], edx
push esi
mov ecx, 1
mov edx, 0x20
push edi
mov dword [esp + 0x40], 0x28
mov word [esp + 0x4c], cx
mov word [esp + 0x4e], dx
mov dword [esp + 0x50], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
push eax
mov dword [ecx], eax
call fcn.004114ca
add esp, 4
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ebp
push 0
push esi
push edi
mov dword [esp + 0x78], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x433e1b
mov eax, dword [esp + 0x4c]
add esp, 0x40
ret 0x10
Function at 0x433f03
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + edx]
mov edx, edi
imul edx, esi
add edx, edx
add esi, esi
or eax, 0xffffffff
add edx, edx
add esi, esi
lea edi, [ecx + edi*4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov esi, ecx
movzx ebp, byte [ecx + 2]
add ecx, 2
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x490dc8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x490dc8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x490dc8]
add ecx, edx
cmp ecx, ebx
jb 0x433f90
add esi, dword [esp + 0x20]
mov ecx, esi
cmp esi, dword [esp + 0x1c]
jb 0x433f37
not eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
test eax, eax
jge 0x433faa
fadd qword [0x48b508]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x434421
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4344b4
lea ecx, [ecx]
lea edx, [esp + 0x3c]
push 0x486264
push edx
call fcn.00413194
add esp, 8
test eax, eax
je 0x4344a4
lea eax, [esp + 0x3c]
push 0x4890a4
push eax
call fcn.00413194
add esp, 8
test eax, eax
je 0x4344a4
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4344ce
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434451
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x4344e0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48909c
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x434567
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x434557
lea eax, [esp + 0x3c]
push 0x486264
push eax
call fcn.00413194
add esp, 8
test eax, eax
je 0x434557
lea ecx, [esp + 0x3c]
push 0x4890a4
push ecx
call fcn.00413194
add esp, 8
test eax, eax
je 0x434557
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00434421
test al, al
je 0x434575
push 0x4890a4
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4344f9
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434583
Capabilities:
Create directory
Delete directory

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xa30
push edi
mov edi, dword [esp + 0xa3c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x830]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x43461d
lea eax, [esp + 0x82c]
push eax
lea ecx, [esp + 0x10]
push str.___s
push ecx
call fcn.004132ea
lea edx, [esp + 0x18]
push edx
call fcn.00411085
add esp, 0x10
cmp word [esp + eax*2 + 0xa], 0x5c
jne 0x434607
lea eax, [esp + 0xc]
push eax
call fcn.00411085
add esp, 4
cmp word [esp + eax*2 + 8], 0x3a
je 0x434607
lea ecx, [esp + 0xc]
push ecx
call fcn.00411085
add esp, 4
xor edx, edx
mov word [esp + eax*2 + 0xa], dx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434629
cmp byte [esp + 0xa40], al
jne 0x434629
xor eax, eax
pop edi
add esp, 0xa30
ret 0xc
push esi
push 0
push 0x2200000
push 3
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4346ed
push 0x14
lea eax, [esp + 0x21c]
push 0
push eax
call fcn.00412fa0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x228], 0xa0000003
call fcn.00411085
add eax, eax
mov word [esp + 0x232], ax
mov edx, dword [esp + 0x232]
push 0x104
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x240]
add edx, 2
push ecx
mov word [esp + 0x240], dx
call fcn.0041301a
mov eax, dword [esp + 0x23e]
add esp, 0x1c
push 0
add eax, 0xc
mov word [esp + 0x220], ax
lea edx, [esp + 0x10]
push edx
push 0
movzx eax, ax
push 0
add eax, 8
push eax
lea ecx, [esp + 0x22c]
push ecx
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x434701
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
xor eax, eax
pop edi
add esp, 0xa30
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
add esp, 0xa30
ret 0xc

Function at 0x4347c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x210]
push ecx
push 0
push 0x486708
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add esp, 0x20c
ret 4

Function at 0x434969
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x43497f
cmp eax, 0x10000
jne 0x4349a3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00414f60
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4

Function at 0x4349bd
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x4349ec
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.0041447e
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4
Function at 0x4349f0
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x434a3f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.0041447e
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x434ae8
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x434b0e
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00410d20
add esp, 0xc
jmp 0x434b23
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00414f60
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push str.EA06
push ecx
mov byte [esp + 0x10], 0
call fcn.00414f80
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8

Function at 0x434bcb
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x4a62e8], eax
mov edx, 1
mov eax, 0x4a62e8
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a6ca4
jl 0x434bdf
mov dword [0x49123c], 1
mov dword [0x4a6cb8], 1
pop edi
ret

Function at 0x435b11
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x435bc1
jne 0x435b32
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret
cmp esi, 0xf
jae 0x435bba
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x435bba
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x48b528]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x435b57
pop edi
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret