joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a393
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
mov esi, dword [ebp + 0xb4]
push 0x402b27
mov dword [0x4f8ac0], esi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x104
lea eax, [ebp - 0x5c]
push eax
xor ebx, ebx
push esi
mov byte [ebp - 0x5c], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x5c]
push eax
call fcn.00443430
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00413180
push eax
lea eax, [ebp - 0x5c]
push str.GlobalEdp_X
push eax
call fcn.00443c7f
add esp, 0x1c
lea eax, [ebp - 0x5c]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4f8ac8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f8ac8]
cmp ecx, ebx
jne 0x40a4e4
cmp eax, 5
je 0x40a4fc
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
mov edi, str.c:UpAgengReleaseFileF.log
push edi
call fcn.00443c67
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x40a454
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
push 4
call fcn.00402b09
pop ecx
push ebx
push esi
mov esi, 0x4f8acc
push ebx
mov ecx, esi
call fcn.00403e16
push ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x80], vtable.CMainDlg.0
mov dword [ebp - 0x60], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.00408c7a
pop edi
cmp dword [ebp - 0x6c], ebx
je 0x40a4a9
push dword [ebp - 0x6c]
call fcn.0042e745
mov ecx, esi
call fcn.00408a88
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x4f8ac8]
cmp eax, ebx
je 0x40a4c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4f30a0]
mov ecx, dword [ebp + 0xa8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00443ac5
add ebp, 0xac
leave
ret 0x10
cmp eax, 0xb7
jne 0x40a432
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4f8ac8], ebx
xor eax, eax
jmp 0x40a4cb
Function at 0x40b3eb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x13c
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x13c], eax
push 0x20
mov eax, 0x4bf063
call fcn.00443ad4
mov esi, 0x104
push esi
xor edi, edi
xor ebx, ebx
lea eax, [ebp + 0x38]
push edi
inc ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00443e40
add esp, 0xc
push esi
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4cc6f0
lea ecx, [ebp]
call fcn.0040b122
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.004018cd
lea eax, [ebp + 0x38]
push eax
call fcn.00443430
cmp byte [ebp + eax + 0x37], 0x5c
pop ecx
je 0x40b46d
push 0x5c
push ebx
lea ecx, [ebp]
call fcn.00409315
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.00401187
mov byte [ebp - 4], bl
call fcn.00402ab9
test eax, eax
lea eax, [ebp]
je 0x40b4a4
push str.syswow64USBKeyClient.exe
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004018ea
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x40b4ba
push str.system32USBKeyClient.exe
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004018ea
add esp, 0xc
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401762
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401336
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x40b4dc
lea eax, [ebp + 0x20]
push edi
push eax
call fcn.00443c67
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x40b4ed
mov dword [ebp - 0x10], edi
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00401336
push edi
push ebx
lea ecx, [ebp]
call fcn.00401336
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x13c]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x140
leave
ret
Function at 0x40b527
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
sub esp, 0x838
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x838], eax
push 0x1c
mov eax, 0x4bf093
call fcn.00443ad4
mov edi, dword [ebp + 0x844]
mov ebx, dword [ebp + 0x848]
test edi, edi
je 0x40b6de
test ebx, ebx
je 0x40b6de
push edi
lea ecx, [ebp + 0x1c]
call fcn.0040b122
and dword [ebp - 4], 0
push ebx
lea ecx, [ebp]
call fcn.0040b122
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 0xd], 0x2f
mov byte [ebp - 0xe], 0x5c
call fcn.004081b9
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp + 0x1c]
call fcn.00408199
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0xe]
push ecx
push esi
push eax
call fcn.00403833
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
mov byte [ebp - 0xe], 0x2f
mov byte [ebp - 0xd], 0x5c
call fcn.004081b9
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp]
call fcn.00408199
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xe]
push ecx
lea ecx, [ebp - 0xd]
push ecx
push esi
push eax
call fcn.00403833
mov ecx, dword [ebp + 4]
add esp, 0x10
cmp dword [ebp + 0x18], 0x10
jae 0x40b60d
lea ecx, [ebp + 4]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x40b619
lea eax, [ebp + 0x20]
push ecx
push eax
call fcn.0044974f
pop ecx
pop ecx
test eax, eax
jne 0x40b648
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp]
call fcn.00401336
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401336
mov eax, esi
jmp 0x40b6e0
push 0x4ccc14
push edi
call fcn.0044529d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40b65f
xor esi, esi
jmp 0x40b629
push 0x4cd234
push ebx
call fcn.0044529d
pop ecx
mov edi, eax
pop ecx
push esi
test edi, edi
jne 0x40b67b
call fcn.00444d74
pop ecx
jmp 0x40b65b
call fcn.004495d9
xor ebx, ebx
inc ebx
jmp 0x40b6b1
push esi
push 0x800
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.004451bc
add esp, 0x10
test eax, eax
je 0x40b6ab
push edi
push eax
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.00449557
add esp, 0x10
push esi
call fcn.004495d9
pop ecx
test eax, eax
je 0x40b685
push edi
call fcn.00444d74
push esi
call fcn.00444d74
pop ecx
pop ecx
push 0
push ebx
lea ecx, [ebp]
call fcn.00401336
push 0
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00401336
mov eax, ebx
jmp 0x40b6e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x838]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x83c
leave
ret
Function at 0x40b810
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x2c
mov eax, 0x4bf103
call fcn.00443ad4
mov edi, dword [ebp + 0x78]
mov esi, dword [edi + 0x144]
sub esi, dword [edi + 0x140]
mov ecx, dword [ebp + 0x7c]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], ecx
sar esi, 2
call fcn.00401214
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
test esi, esi
jle 0x40b96e
lea ecx, [ebp]
call fcn.00411e00
push dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00415dd0
lea ecx, [ebp]
cmp al, 1
jne 0x40b8be
lea eax, [ebp + 0x50]
push eax
call fcn.00412860
cmp dword [eax + 0x18], 0x10
jb 0x40b893
mov eax, dword [eax + 4]
jmp 0x40b896
add eax, 4
push str.VrvSetup.ini
push eax
call fcn.0044974f
pop ecx
pop ecx
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp + 0x50]
inc bl
call fcn.00401336
test bl, bl
jne 0x40b8d4
lea ecx, [ebp]
or dword [ebp - 4], 0xffffffff
call fcn.00411e90
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x40b85e
jmp 0x40b96e
push 0x10000
xor esi, esi
xor ebx, ebx
push ebx
inc esi
push esi
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.0041dd70
mov ecx, dword [ebp - 0x1c]
call fcn.00401f5b
push dword [ebp - 0x18]
lea ecx, [ebp + 0x50]
call fcn.0040b122
push 0x4cc6e8
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 1
call fcn.00401745
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call fcn.00412860
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 2
call fcn.004014e0
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.00401336
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x68], 0x10
mov eax, dword [ebp + 0x54]
jae 0x40b951
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push esi
lea ecx, [ebp + 0x50]
call fcn.00401336
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00411e90
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x70
leave
ret
Function at 0x40bacf
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x4bf19f
call fcn.00443b3d
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0xf
call fcn.00401187
push 0x44
pop edi
push edi
lea eax, [ebp - 0x84]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00443e40
push 0x10
lea eax, [ebp - 0x40]
push esi
push eax
mov dword [ebp - 0x84], edi
call fcn.00443e40
or dword [ebp - 0x58], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4cc6f0
call fcn.0040b122
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b98e
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401762
push esi
push 1
lea ecx, [ebp - 0xa0]
call fcn.00401336
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x40bb67
lea ecx, [ebp - 0x28]
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x40bb73
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x84]
push edx
push ecx
push esi
push esi
push esi
push esi
push esi
push str._stopWatchClient
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp dword [ebp - 0x40], esi
je 0x40bba0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401336
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00401336
mov eax, edi
call fcn.00443bc0
ret

Function at 0x40e01c
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4bf7ef
call fcn.00443ad4
and dword [ebp - 4], 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00406822
call fcn.0040dd50
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004029e5
xor eax, eax
inc eax
call fcn.00443bac
ret
Function at 0x40f675
Capabilities:
Copy file

Disassembly:
push 0x138
mov eax, 0x4bfbe2
call fcn.00443ad4
cmp dword [ebp + 0xc], 1
je 0x40f7f0
call fcn.00402a77
test eax, eax
je 0x40f7f0
push 1
push 2
lea ecx, [ebp - 0x144]
call fcn.0040ebc9
push 1
xor edi, edi
push 2
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], edi
call fcn.0040ebc9
push str.msgina.dll
push dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 1
call fcn.0040eef2
pop ecx
pop ecx
push eax
call fcn.0040eef2
pop ecx
pop ecx
push 0x4cd49c
push dword [ebp + 8]
lea eax, [ebp - 0xc4]
push eax
call fcn.0040eef2
pop ecx
pop ecx
push eax
call fcn.0040eef2
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040bbfc
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0040bbfc
cmp dword [esi + 0x18], 0x10
jb 0x40f72d
mov esi, dword [esi + 4]
jmp 0x40f730
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x40f73b
mov eax, dword [eax + 4]
jmp 0x40f73e
add eax, 4
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
neg ebx
push edi
sbb bl, bl
push 1
lea ecx, [ebp - 0x44]
inc bl
call fcn.00401336
push edi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401336
test bl, bl
je 0x40f7d2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040bbfc
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 3
call fcn.0040bbfc
cmp dword [esi + 0x18], 0x10
mov byte [ebp - 4], 4
jb 0x40f7a0
mov esi, dword [esi + 4]
jmp 0x40f7a3
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x40f7ae
mov eax, dword [eax + 4]
jmp 0x40f7b1
add eax, 4
push edi
push esi
push eax
call fcn.0040b527
add esp, 0xc
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401336
push edi
push 1
lea ecx, [ebp - 0x44]
call fcn.00401336
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.00408a6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00408a6e
call fcn.00443bac
ret
Function at 0x410fd0
Capabilities:
Accept command line arguments
Create thread
Print debug messages

Disassembly:
push 0xc
mov eax, 0x4bfe6c
call fcn.00443ad4
mov edi, ecx
xor esi, esi
lea ecx, [edi + 4]
push esi
call fcn.004082cb
push 0x4f8be4
lea ecx, [ebp - 0x10]
call fcn.00403f61
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040afaa
lea ecx, [ebp - 0x10]
call fcn.0040a500
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ad59
push esi
push 0x4cd77c
lea ecx, [ebp - 0x10]
call fcn.00408544
or ebx, 0xffffffff
cmp eax, ebx
jne 0x411072
push esi
push str._luserandpasss
lea ecx, [ebp - 0x10]
call fcn.00408544
cmp eax, ebx
je 0x411047
push 0x4cd750
jmp 0x411077
push esi
push str._update
lea ecx, [ebp - 0x10]
call fcn.00408544
cmp eax, ebx
je 0x411060
push 0x4cd738
jmp 0x411077
push esi
push str._silence
lea ecx, [ebp - 0x10]
call fcn.00408544
cmp eax, ebx
je 0x411082
push 0x4cd720
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [edi + 0x20], esi
jmp 0x411089
mov dword [edi + 0x20], 1
test byte [0x4f8b5c], 1
jne 0x4110a7
or dword [0x4f8b5c], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [0x4f8b58], eax
mov ebx, 0x400
push ebx
call fcn.0042ecfe
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4110fb
push ebx
push esi
push eax
call fcn.00443e40
add esp, 0xc
cmp dword [0x4f8b58], 0x804
push esi
jne 0x4110d9
push 0x4ccc84
jmp 0x4110de
push str.Unpacking__d__
push dword [ebp - 0x14]
call fcn.00443c7f
add esp, 0xc
push dword [ebp - 0x14]
push esi
push 0x7e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push 0x410faf
push esi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x41112a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029e5
mov eax, esi
call fcn.00443bac
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x411115
Function at 0x4113b2
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
sub esp, 0x4ec
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x4ec], eax
push 0x18
mov eax, 0x4bfe8f
call fcn.00443ad4
mov eax, dword [ebp + 0x4f8]
xor ebx, ebx
push 0x3e7
mov dword [ebp - 0x20], eax
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00443e40
add esp, 0xc
push 0x4f8be4
lea ecx, [ebp - 0x1c]
call fcn.00403f61
push 0x103
lea eax, [ebp + 0x3e9]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x3e8], bl
call fcn.00443e40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x3e8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x3e8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040afaa
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x411519
mov esi, str._EDP
push esi
call fcn.00443430
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop ecx
push 2
neg eax
cdq
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call edi
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00443430
pop ecx
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411519
push esi
call fcn.00443430
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0044b259
add esp, 0x10
test eax, eax
jne 0x411519
push esi
call fcn.00443430
pop ecx
xor ecx, ecx
add eax, 4
neg eax
adc ecx, ebx
neg ecx
push 2
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push 4
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41150b
mov dword [esi], ebx
jmp 0x411519
push 0x4cd790
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x10], 0xffffffff
je 0x411528
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029e5
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4ec]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x4f0
leave
ret 4
Function at 0x41163a
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x4ec
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x4ec], eax
push 0x14
mov eax, 0x4bfeef
call fcn.00443ad4
mov esi, dword [ebp + 0x4f8]
xor ebx, ebx
push 0x3e7
xor edi, edi
lea eax, [ebp + 1]
push ebx
inc edi
push eax
mov dword [esi], edi
mov byte [ebp], bl
call fcn.00443e40
add esp, 0xc
push 0x4f8be4
lea ecx, [ebp - 0x14]
call fcn.00403f61
push 0x103
lea eax, [ebp + 0x3e9]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x3e8], bl
call fcn.00443e40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x3e8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x3e8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040afaa
push ebx
push 0x80
push 3
push ebx
push edi
push accept
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x411750
mov edi, str._EDP
push edi
call fcn.00443430
pop ecx
push 2
neg eax
cdq
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00443430
pop ecx
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411750
push edi
call fcn.00443430
push eax
lea eax, [ebp]
push edi
push eax
call fcn.0044b259
add esp, 0x10
test eax, eax
jne 0x411750
inc eax
mov ebx, eax
mov dword [esi], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x41175f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029e5
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4ec]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x4f0
leave
ret 4
Function at 0x411812
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x24
mov eax, 0x4bff42
call fcn.00443ad4
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x114]
push 0x4f8be4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 1
call fcn.00403f61
xor ebx, ebx
push 0x103
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp], bl
call fcn.00443e40
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040afaa
mov esi, dword [ebp + 0x110]
push esi
call fcn.0042ecfe
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x41195f
push esi
push ebx
push edi
call fcn.00443e40
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x411962
mov eax, esi
push 2
neg eax
cdq
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41190d
mov dword [ebp - 0x10], ebx
jmp 0x411954
lea eax, [esi + 1]
push eax
call fcn.0042ecfe
mov edi, eax
pop ecx
cmp edi, ebx
je 0x411946
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.00443e40
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push edi
push esi
push dword [ebp - 0x20]
call fcn.0041123f
mov ecx, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x2c]
call fcn.00411791
jmp 0x411949
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x411954
push edi
call fcn.00443052
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411962
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029e5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x108
leave
ret 8
Function at 0x411f00
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bfff8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x20]
call fcn.00420890
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.00421d40
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
movzx edx, word [eax + 4]
mov word [esi + 8], dx
movzx ecx, word [eax + 6]
mov word [esi + 0xa], cx
movzx edx, word [eax + 8]
mov word [esi + 0xc], dx
movzx ecx, word [eax + 0xa]
mov word [esi + 0xe], cx
movzx edx, word [eax + 0xc]
mov word [esi + 0x10], dx
movzx ecx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
movzx ecx, word [eax + 0x20]
movzx edx, word [eax + 0x22]
movzx ebx, word [eax + 0x1c]
movzx ebp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov dword [esp + 0x34], ecx
movzx ecx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x18]
mov dword [esi + 0x28], eax
call fcn.00420770
mov ecx, dword [esi + 4]
cmp ecx, dword [0x4f3808]
jne 0x412069
mov edx, dword [edi + 0x78]
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x1c], edx
call fcn.004207a0
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00421d40
test bp, bp
je 0x412025
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004207a0
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00421d40
mov eax, dword [esp + 0x34]
test ax, ax
je 0x41204a
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004207a0
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.00421d40
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x78], eax
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.004208c0
mov al, bl
jmp 0x41207c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004208c0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4