joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a640
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x49a9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x14]
call fcn.0040ccf0
test eax, eax
jne 0x43a6be
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x43a6b5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
xor eax, eax
jmp 0x43a822
push 0xf
push str.360Protect.dat
lea eax, [esp + 0x1c]
call fcn.004037d0
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x30]
call fcn.0040ccf0
test eax, eax
jne 0x43a752
push ebx
push 0x4a5b20
lea esi, [esp + 0x38]
call fcn.00402bd0
mov byte [esp + 0x58], bl
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x43a71a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x43a744
mov eax, dword [esp + 0x18]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x43a827
push 9
push str.Download
lea eax, [esp + 0x38]
call fcn.004037d0
push 0xf
push str.360Protect.dat
lea eax, [esp + 0x38]
call fcn.004037d0
mov ecx, dword [esp + 0x18]
mov edi, 8
xor esi, esi
cmp dword [esp + 0x2c], edi
jae 0x43a787
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x43a795
lea eax, [esp + 0x34]
push ecx
call fcn.004304e0
add esp, 4
test eax, eax
je 0x43a7a7
mov esi, 1
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x43a7b5
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x43a7c3
lea eax, [esp + 0x34]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43a7db
cmp esi, ebx
je 0x43a7db
mov esi, 1
jmp 0x43a7dd
xor esi, esi
mov byte [esp + 0x58], bl
cmp dword [esp + 0x48], edi
jb 0x43a7f4
mov edx, dword [esp + 0x34]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x43a81e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov eax, esi
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00471eba
add esp, 0x48
ret
Function at 0x43b320
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4987a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
xor eax, eax
push ecx
push 0x4a9a5c
lea edx, [esp + 0x1c]
push 0x14
push edx
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
call fcn.00472300
sub esp, 0xc
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], esp
lea edx, [eax + 2]
jmp 0x43b3c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43b3c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00402bd0
mov byte [esp + 0x64], 1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x94]
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], dx
call fcn.00402a90
mov byte [esp + 0x80], 2
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x88]
call fcn.0043b220
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x43b43f
mov edx, dword [esp + 0x58]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00471eba
add esp, 0x40
ret 0x20
Function at 0x43b480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4987a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
xor eax, eax
push ecx
push 0x4a63ec
lea edx, [esp + 0x1c]
push 0x14
push edx
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
call fcn.00472300
sub esp, 0xc
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], esp
lea edx, [eax + 2]
jmp 0x43b520
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43b520
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00402bd0
mov byte [esp + 0x64], 1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x94]
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], dx
call fcn.00402a90
mov byte [esp + 0x80], 2
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x88]
call fcn.0043b220
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x43b59f
mov edx, dword [esp + 0x58]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00471eba
add esp, 0x40
ret 0x20
Function at 0x43cd20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x497978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, 7
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], ax
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x14]
call fcn.0040ccf0
test eax, eax
jne 0x43cda7
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x43cd95
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], edi
mov word [esp + 0x18], dx
xor al, al
jmp 0x43ce42
push 0xf
push str.360NetBase.dll
lea eax, [esp + 0x1c]
call fcn.004037d0
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x43cdca
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ce14
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x43cde3
lea edi, [esp + 0x18]
push 0x517930
call fcn.00405520
test eax, eax
je 0x43ce14
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x43cdff
lea eax, [esp + 0x18]
push eax
call fcn.0043ccc0
mov ecx, eax
call fcn.0043caa0
test eax, eax
je 0x43ce14
mov bl, 1
jmp 0x43ce16
xor bl, bl
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], ebp
jb 0x43ce31
mov eax, dword [esp + 0x18]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], cx
mov al, bl
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00471eba
add esp, 0x2c
ret
Function at 0x441380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4985dc
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x14], 2
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00441560
mov eax, 1
mov dword [esp + 4], eax
mov byte [esp + 0x14], al
cmp dword [esp + 0x34], 8
jb 0x4413e7
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
mov byte [esp + 0x14], dl
lea eax, [esp + 0x38]
push eax
call fcn.004287f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret

Function at 0x442910
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
push edi
xor edi, edi
cmp edx, edi
jne 0x44291d
xor eax, eax
pop edi
pop ecx
ret
cmp byte [0x4bf1e0], 0x4d
jne 0x44292f
cmp byte [0x4bf1e1], 0x5a
je 0x442941
xor eax, eax
mov cl, 0x2e
xor byte [eax + 0x4bf1e0], cl
inc eax
cmp eax, 0x2c588
jb 0x442933
push esi
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x442987
push edi
lea eax, [esp + 0xc]
push eax
push 0x2c588
push 0x4bf1e0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x442980
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ecx
ret
Function at 0x443850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
test eax, eax
je 0x4438db
cmp dword [esi + 0x74], 0
mov dword [esi + 0x6c], eax
jne 0x4438db
lea eax, [esp]
push eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0040ea20
add esp, 4
test eax, eax
je 0x4438db
call fcn.0041d5d0
test eax, eax
je 0x4438db
push 0x514f40
lea eax, [esp + 4]
call fcn.0041d420
add esp, 4
test eax, eax
jne 0x4438db
cmp dword [esp], 0x10f642
jne 0x4438db
cmp dword [esp + 4], eax
jne 0x4438db
push eax
push eax
push esi
push 0x442b90
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
test eax, eax
jne 0x4438db
mov ecx, dword [esi + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x70], 0
mov esp, ebp
pop ebp
ret

Function at 0x443bf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [esp + 0x38]
push ebx
push eax
xor ebp, ebp
call fcn.00476ef0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x38], str.Winsta0default
cmp dword [0x518fb8], ebx
jne 0x443c55
push 0x4a9ce8
push str.Userenv.DLL
call edi
push eax
call esi
mov dword [0x518fb8], eax
cmp dword [0x518fbc], ebx
jne 0x443c71
push 0x4a9d0c
push str.Userenv.DLL
call edi
push eax
call esi
mov dword [0x518fbc], eax
cmp dword [esp + 0x80], ebx
je 0x443d7f
push ebx
call fcn.0040f530
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x443d7f
cmp dword [0x518fb8], ebx
je 0x443d78
cmp dword [0x518fbc], ebx
je 0x443d78
mov edi, dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [esp + 0x1c], ebx
push ebx
push esi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
call dword [0x518fb8]
test eax, eax
je 0x443d66
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x443d66
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x34]
push ecx
push ebx
push eax
mov eax, dword [esp + 0x8c]
push 0x8000420
push ebx
push ebx
push ebx
push edx
push eax
push esi
call edi
test eax, eax
je 0x443d57
mov ecx, dword [esp + 0x20]
push 0x2710
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x443d41
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
mov dword [ecx], eax
cmp eax, ebx
jne 0x443d41
mov ebp, 1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x518fbc]
cmp ebp, ebx
jne 0x443d78
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jl 0x443cb3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x44a120
Capabilities:
Create thread

Disassembly:
sub esp, 8
call fcn.00409f80
test eax, eax
mov eax, str.360BPROT
jne 0x44a136
mov eax, str.360BPROT32
push ebx
xor ebx, ebx
lea ecx, [esp + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x1c], ebx
call sub.FLTLIB.DLL_FilterConnectCommunicationPort
test eax, eax
jge 0x44a157
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esp + 4]
mov dword [esi + 4], edx
cmp dword [esi + 0xc], ebx
jne 0x44a17e
push 0x4430
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x44a1aa
lea eax, [esp + 8]
push eax
push ebx
push esi
push 0x449eb0
push ebx
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x44a1aa
mov dword [esi], 1
mov eax, dword [esi]
pop ebx
add esp, 8
ret
cmp dword [esi], ebx
jne 0x44a1df
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x44a1c2
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44a1de
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
push ecx
call edi
mov dword [esi + 8], ebx
pop edi
mov eax, dword [esi]
pop ebx
add esp, 8
ret
Function at 0x44b780
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49acbb
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x4a4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4b4]
xor ebp, ebp
xor eax, eax
cmp ebx, ebp
je 0x44b95c
mov esi, 7
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], ax
mov dword [esp + 0x4ac], ebp
lea ecx, [esp + 0x70]
call fcn.0040de70
test eax, eax
je 0x44b984
push 0xa
push str._sesvc.exe
lea eax, [esp + 0x78]
call fcn.004037d0
mov eax, dword [esp + 0x74]
mov esi, 8
cmp dword [esp + 0x88], esi
jae 0x44b824
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b91f
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x44b844
lea edi, [esp + 0x74]
push 0x517930
call fcn.00405520
test eax, eax
je 0x44b91f
push 0x40e
lea ecx, [esp + 0x92]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x98], ax
call fcn.00476ef0
add esp, 0xc
cmp dword [esp + 0x88], esi
mov esi, dword [esp + 0x74]
jae 0x44b887
lea esi, [esp + 0x74]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea edx, [esp + 0x98]
push str.__s___crash:_d__crashcfg:__s_
push edx
mov edx, 0x207
call fcn.0044d6e0
add esp, 0x14
push 0x40
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00476ef0
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push ebp
push ebp
xor ecx, ecx
push ebp
mov word [esp + 0x70], cx
push ebp
lea ecx, [esp + 0xac]
push ecx
push ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44b91a
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov esi, 8
mov dword [esp + 0x4ac], 0xffffffff
cmp dword [esp + 0x88], esi
jb 0x44b940
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x88], 7
lea eax, [edx + 1]
mov word [esp + 0x74], dx
mov dword [esp + 0x84], ebp
mov ecx, dword [esp + 0x4a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.00471eba
add esp, 0x49c
ret
mov dword [esp + 0x4ac], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x44b9a6
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x88], esi
xor eax, eax
jmp 0x44b950
Function at 0x44be00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49846b
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x294]
mov esi, 7
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
mov dword [esp + 0x28c], edi
push 0x24
lea ecx, [esp + 0x14]
call fcn.0040cda0
add esp, 4
test eax, eax
je 0x44bef8
push 9
push str.Minidump
lea eax, [esp + 0x18]
call fcn.004037d0
push 0x24c
lea eax, [esp + 0x34]
push edi
push eax
mov dword [esp + 0x38], edi
call fcn.00476ef0
add esp, 0xc
push 2
push 0x4a8790
lea eax, [esp + 0x18]
call fcn.004037d0
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x44beba
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44bf2d
mov dword [esp + 0x28c], eax
cmp dword [esp + 0x28], 8
jb 0x44bee8
mov edx, dword [esp + 0x14]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
jmp 0x44bfce
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x44bf17
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov word [esp + 0x14], dx
xor eax, eax
jmp 0x44bfd6
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [esp + 0x2c]
push ecx
push esi
call edi
test eax, eax
je 0x44bf5f
nop
cmp dword [esp + 0x2c], 0x10
je 0x44bf53
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.0044bd40
lea eax, [esp + 0x2c]
push eax
push esi
call edi
test eax, eax
jne 0x44bf40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0x12
je 0x44bf9d
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x44bf92
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov word [esp + 0x14], dx
xor eax, eax
jmp 0x44bfc6
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x44bfbc
mov eax, dword [esp + 0x14]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov word [esp + 0x14], cx
lea eax, [ecx + 1]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.00471eba
add esp, 0x280
ret 4
Function at 0x44e930
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x496730
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x40]
lea esi, [ebp + ebp + 2]
cmp esi, edi
mov dword [esp + 0x18], ebp
jge 0x44ea04
sub esp, 0x24
lea ecx, [esi + esi*8]
lea eax, [ebx + ecx*4]
mov edx, esp
mov dword [esp + 0x48], esp
lea edi, [eax - 0x24]
push edx
mov dword [esp + 0x48], eax
call fcn.0044d640
mov byte [esp + 0x54], 1
mov edi, dword [esp + 0x44]
sub esp, 0x24
mov eax, esp
mov dword [esp + 0x64], esp
push eax
call fcn.0044d640
mov byte [esp + 0x78], 2
mov byte [esp + 0x78], 0
call dword [esp + 0x5c]
add esp, 0x48
test al, al
je 0x44e9cd
dec esi
push 0xffffffffffffffff
lea ecx, [esi + esi*8]
lea edx, [ebp + ebp*8]
lea edi, [ebx + ecx*4]
lea ebp, [ebx + edx*4]
push 0
push edi
mov eax, ebp
call fcn.00402a90
mov eax, dword [edi + 0x1c]
mov dword [ebp + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [ebp + 0x20], ecx
mov ebp, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x40]
jl 0x44e983
mov edi, dword [esp + 0x40]
cmp esi, edi
jne 0x44ea2f
push 0xffffffffffffffff
lea edx, [edi + edi*8]
lea eax, [ebp + ebp*8]
lea esi, [ebx + edx*4 - 0x24]
lea ebp, [ebx + eax*4]
push 0
push esi
mov eax, ebp
call fcn.00402a90
mov ecx, dword [esi + 0x1c]
mov dword [ebp + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebp + 0x20], edx
lea ebp, [edi - 1]
mov eax, dword [esp + 0x14]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push ecx
lea edi, [esp + 0x70]
call fcn.0044d640
mov byte [esp + 0x58], 3
mov edx, dword [esp + 0x40]
push edx
push ebp
push ebx
mov byte [esp + 0x64], 0
call fcn.0044eb50
add esp, 0x34
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x44ea7c
mov eax, dword [esp + 0x48]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], cx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x44f090
Capabilities:
Check if file exists

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
add edi, 4
xor ebp, ebp
xor ebx, ebx
mov esi, 0x104
mov eax, edi
sub edx, edi
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x44f0c6
movzx ecx, word [edx + eax]
test cx, cx
je 0x44f0c6
mov word [eax], cx
add eax, 2
sub esi, 1
jne 0x44f0a6
jmp 0x44f0ca
test esi, esi
jne 0x44f0d2
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jl 0x44f0eb
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, 1
jne 0x44f0ed
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret