joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404dc5
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
jmp 0x404f24
jmp 0x4078ec
sub esp, 0x18
push esi
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x14], 8
jb 0x4078fe
mov eax, dword [esi]
jmp 0x407900
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407912
mov al, 1
jmp 0x4079b8
cmp dword [esi + 0x14], 8
jb 0x40791c
mov eax, dword [esi]
jmp 0x40791e
mov eax, esi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4079b5
cmp dword [esi + 0x14], 8
jb 0x40793b
mov eax, dword [esi]
jmp 0x40793d
mov eax, esi
push ebx
push eax
lea ecx, [esp + 0x10]
call fcn.00401770
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004079bd
pop ecx
pop ecx
mov bl, al
push 0
neg bl
push 1
lea ecx, [esp + 0x14]
sbb bl, bl
call fcn.004018e0
inc bl
pop ebx
jne 0x4079b5
cmp dword [esi + 0x14], 8
jb 0x407978
mov eax, dword [esi]
jmp 0x40797a
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407989
mov al, 1
jmp 0x4079b7
cmp dword [esi + 0x14], 8
jb 0x407991
mov esi, dword [esi]
push esi
lea ecx, [esp + 0xc]
call fcn.00401770
lea eax, [esp + 8]
push ebp
push eax
call fcn.004079bd
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x10]
call fcn.004018e0
xor al, al
pop ebp
pop esi
add esp, 0x18
ret

Function at 0x404e76
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00404e5a
mov eax, dword [esp + 8]
xor ecx, ecx
cmp dword [eax + 0x10], ecx
je 0x404e93
cmp dword [eax + 0x14], 8
jb 0x404e95
mov eax, dword [eax]
jmp 0x404e95
mov eax, ecx
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x404ebc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 2
pop edx
cmp eax, 0xb7
cmove ecx, edx
mov dword [esi], ecx
jmp 0x404ec2
mov dword [esi], 1
mov ecx, esi
call fcn.00404ecd
pop esi
ret 4
Function at 0x4050d5
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x114
lea ebp, [esp - 4]
mov eax, dword [0x41b230]
xor eax, ebp
mov dword [ebp + 0x114], eax
push 0x1c
mov eax, 0x411c4a
call fcn.0040aabf
mov esi, ecx
push 7
pop edx
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x105c], edx
mov dword [esi + 0x1058], ecx
mov dword [ebp - 0x28], esi
mov word [esi + 0x1048], ax
mov dword [esi + 0x1074], edx
mov dword [esi + 0x1070], ecx
mov dword [ebp - 4], ecx
mov word [esi + 0x1060], ax
mov dword [esi + 0x108c], edx
mov dword [esi + 0x1088], ecx
mov word [esi + 0x1078], ax
lea edi, [esi + 0x1094]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [esi + 0x10a0], ecx
mov dword [esi + 0x10a4], ecx
mov dword [esi + 0x10a8], ecx
mov ebx, 0x410
push ebx
push ecx
push esi
mov byte [ebp - 4], 4
mov dword [esi + 0x103c], ecx
mov dword [esi + 0x1040], ecx
mov dword [esi + 0x1044], ecx
call fcn.0040a890
push ebx
lea eax, [esi + 0x410]
push 0
push eax
call fcn.0040a890
push 0x400
lea eax, [esi + 0x820]
push 0
push eax
call fcn.0040a890
push ebx
xor ebx, ebx
lea eax, [esi + 0xc20]
push ebx
push eax
call fcn.0040a890
push 0x110
lea eax, [ebp + 4]
push ebx
push eax
mov word [esi + 0x1030], bx
mov dword [esi + 0x1034], ebx
mov byte [esi + 0x1032], bl
mov byte [esi + 0x1038], 1
mov byte [esi + 0x10ac], bl
mov byte [esi + 0x1090], bl
mov dword [ebp], 0x114
call fcn.0040a890
add esp, 0x3c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405210
cmp dword [ebp + 4], 6
jb 0x405210
mov byte [esi + 0x1032], 1
mov dword [ebp - 0x14], ebx
xor eax, eax
mov ebx, str._nNwmteRQ
push ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00409f81
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.00401a30
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00404dca
push 0
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004018e0
and dword [ebp - 0x14], 0
xor eax, eax
mov ebx, 0x4132c0
push ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00409f81
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.00401a30
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00404dca
push 0
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004018e0
mov ecx, esi
call fcn.00405f42
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.00408f2b
add ebp, 0x118
leave
ret
Function at 0x405f42
Capabilities:
Get hostname

Disassembly:
sub esp, 0x420
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0xc20]
push ebx
mov byte [esi + 0x10ac], 0
call fcn.00409f81
pop ecx
test eax, eax
je 0x4060ad
push ebp
push edi
lea edi, [esi + 0x10a0]
push edi
push ebx
mov ecx, esi
call fcn.00405bd0
xor eax, eax
mov ebp, 0x208
push ebp
push eax
mov word [esp + 0x228], ax
lea eax, [esp + 0x22a]
push eax
call fcn.0040a890
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x224]
mov ebx, 0x104
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
push ebp
mov word [esp + 0x42a], ax
mov word [esp + 0x18], ax
xor ebp, ebp
lea eax, [esp + 0x1a]
push ebp
push eax
call fcn.0040a890
add esp, 0xc
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x1044], ebp
jne 0x406001
push str.AdvApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x1044], eax
push str.GetUserNameW
push dword [esi + 0x1044]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406022
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
call eax
mov ebx, dword [edi]
xor eax, eax
mov word [esp + 0x21a], ax
cmp ebx, dword [edi + 4]
je 0x406078
cmp byte [ebx + 0x69c], 1
je 0x406041
mov dword [edi + 4], ebx
jmp 0x406071
lea eax, [esp + 0x220]
push eax
push ebx
call fcn.0040b11f
pop ecx
pop ecx
test eax, eax
jne 0x40606c
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 0x280]
push eax
call fcn.0040b11f
pop ecx
pop ecx
test eax, eax
je 0x406078
mov eax, dword [edi]
mov dword [edi + 4], eax
mov byte [esi + 0x10ac], 1
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x4060ab
push edi
lea eax, [esp + 0x18]
push 1
push eax
call fcn.00409f81
pop ecx
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x230]
push eax
push ebp
mov ecx, esi
call fcn.00406660
mov byte [esi + 0x10ac], 1
pop edi
pop ebp
mov ecx, dword [esp + 0x424]
pop esi
pop ebx
xor ecx, esp
call fcn.00408f2b
add esp, 0x420
ret
Function at 0x406453
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x411de2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41b230]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10a0]
cmp eax, dword [ebx + 0x10a4]
je 0x406641
cmp byte [ebx + 0x10ac], 0
je 0x406641
lea ebp, [ebx + 0xc20]
push ebp
call fcn.00409f81
pop ecx
test eax, eax
je 0x406641
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x14]
push eax
push ebp
mov ecx, ebx
call fcn.00405bd0
mov eax, dword [ebx + 0x10a4]
sub eax, dword [ebx + 0x10a0]
mov edi, 0x69d
cdq
idiv edi
and dword [esp + 0x20], 0
test eax, eax
je 0x40655b
xor ebp, ebp
mov edi, dword [ebx + 0x10a0]
add edi, ebp
lea eax, [esp + 0x14]
cmp byte [edi + 0x69c], 0
push eax
setne al
movzx eax, al
push eax
lea esi, [edi + 0x280]
push esi
call fcn.00409f81
pop ecx
inc eax
push eax
push esi
push edi
push dword [edi + 0x698]
mov ecx, ebx
call fcn.00406660
mov eax, dword [ebx + 0x10a4]
sub eax, dword [ebx + 0x10a0]
mov edi, 0x69d
cdq
idiv edi
mov ecx, dword [esp + 0x20]
inc ecx
add ebp, edi
mov dword [esp + 0x20], ecx
cmp ecx, eax
jb 0x4064f9
lea ebp, [ebx + 0xc20]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], esi
je 0x406638
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.00407a06
sub esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov eax, esi
cdq
idiv edi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 2
imul eax, eax, 0x69d
push eax
push dword [esp + 0x1c]
call fcn.00407c37
test al, al
je 0x406621
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
je 0x406621
xor eax, eax
push eax
push 0x80
push 4
push eax
push eax
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406621
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x40660c
sub eax, dword [esp + 0x24]
and dword [esp + 0x20], 0
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebx + 0x10ac], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.00407a9e
lea ecx, [esp + 0x24]
call fcn.004037b0
lea ecx, [esp + 0x14]
call fcn.004072b1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00408f2b
add esp, 0x4c
ret
Function at 0x4079bd
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x4079c9
xor al, al
ret
mov ecx, dword [esp + 4]
and eax, 0xffffb1af
cmp dword [ecx + 0x14], 8
jb 0x4079da
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x4083c6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x41b230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40843c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40843c
test eax, eax
je 0x40843c
test ebx, ebx
je 0x40843c
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push edi
push str.Path
push eax
xor edx, edx
push 0x80000002
mov word [edi], dx
call fcn.00408718
add esp, 0x14
test al, al
je 0x408437
push 0x418c00
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40843c
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00408f2b
leave
ret

Function at 0x40844a
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
push edi
push 0x110
xor ebx, ebx
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0040a890
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [esp + 0x138]
mov ebp, 0x80000001
test eax, eax
je 0x4084d2
cmp dword [esp + 0x1c], 6
jb 0x4084d2
lea eax, [esp + 0x14]
push eax
push esi
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push ebp
mov dword [esp + 0x28], edi
call fcn.00408718
add esp, 0x14
test al, al
je 0x4084d2
cmp word [esi], bx
je 0x4084d2
mov al, 1
jmp 0x40851c
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push str.http_shellopencommand
push 0x80000000
mov dword [esp + 0x24], edi
call fcn.00408718
add esp, 0x14
test al, al
je 0x4084f8
cmp word [esi], bx
jne 0x4084ce
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push str.SoftwareClasses.html
push ebp
mov dword [esp + 0x24], edi
call fcn.00408718
add esp, 0x14
test al, al
je 0x40851a
cmp word [esi], bx
jne 0x4084ce
xor al, al
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408f2b
add esp, 0x120
ret
Function at 0x408535
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x2848
call fcn.0040b290
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x2844], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2858]
push edi
xor ebx, ebx
push 0x1ffe
lea eax, [esp + 0x85a]
push ebx
push eax
mov edi, ebx
call fcn.0040a890
add esp, 0xc
push 0x22
pop eax
mov word [esp + 0x854], ax
test esi, esi
je 0x4086fd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jge 0x4086fd
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x858]
push eax
call esi
push 0x41342c
lea eax, [esp + 0x858]
push eax
call esi
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4086fd
push str.ShellExecuteW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x4086fd
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.004080b6
pop ecx
pop ecx
xor ecx, ecx
mov esi, ecx
lea ebx, [esp + 0x1c]
cmp word [ebx], cx
je 0x40861a
push 1
push ecx
lea eax, [esp + 0x85c]
push eax
push ebx
push str.open
push ecx
call ebp
xor ecx, ecx
cmp eax, 0x20
ja 0x408628
inc esi
add ebx, 0x210
cmp esi, 3
jl 0x4085fa
jmp 0x408649
imul esi, esi, 0x210
mov edi, dword [esp + esi + 0x228]
cmp dword [esp + esi + 0x224], ecx
jne 0x408641
add edi, 0x10
test edi, edi
jne 0x4086ef
push 1
push ecx
push ecx
lea eax, [esp + 0x860]
push eax
push str.open
push ecx
call ebp
cmp eax, 0x20
ja 0x4086ec
xor ebx, ebx
mov dword [esp + 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
mov dword [esp + 0x18], str._programfiles_Internet_Exploreriexplore.exe
mov esi, ebx
xor eax, eax
push 0x206
mov word [esp + 0x650], ax
lea eax, [esp + 0x652]
push ebx
push eax
call fcn.0040a890
add esp, 0xc
lea eax, [esp + 0x64c]
push 0x103
push eax
push dword [esp + esi*4 + 0x1c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4086e4
push 1
push ebx
lea eax, [esp + 0x85c]
push eax
lea eax, [esp + 0x658]
push eax
push str.open
push ebx
call ebp
cmp eax, 0x20
ja 0x4086ec
inc esi
cmp esi, 2
jb 0x40867a
jmp 0x4086ef
push 0x10
pop edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x4086ff
xor eax, eax
mov ecx, dword [esp + 0x2854]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408f2b
add esp, 0x2848
ret
Function at 0x40f65c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040bd5b
mov dword [ebp - 0x14], eax
cmp dword [0x41d238], edi
jne 0x40f74d
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40f6da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f82d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40f82d
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f82d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41d238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41d23c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41d240], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d248], eax
test eax, eax
je 0x40f74a
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d244], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f772
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f765
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40f787
push 4
pop eax
jmp 0x40f82f
cmp dword [ebp - 0x14], edi
je 0x40f787
push dword [0x41d238]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f76c
mov eax, dword [0x41d244]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40f7e5
cmp dword [0x41d248], esi
je 0x40f7e5
push eax
call ebx
push dword [0x41d248]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f7e5
test eax, eax
je 0x40f7e5
call ecx
test eax, eax
je 0x40f7da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f7da
test byte [ebp - 8], 1
jne 0x40f7e5
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40f815
mov eax, dword [0x41d23c]
cmp eax, esi
je 0x40f812
push eax
call ebx
test eax, eax
je 0x40f812
call eax
mov edi, eax
test edi, edi
je 0x40f812
mov eax, dword [0x41d240]
cmp eax, esi
je 0x40f812
push eax
call ebx
test eax, eax
je 0x40f812
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41d238]
call ebx
test eax, eax
je 0x40f82d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40f82f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408f2b
leave
ret
Function at 0x403720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
push 0x1028
push 0
lea ebx, [edi + 0x10dc]
push ebx
call fcn.00414d00
push dword [ebp + 8]
push 0x800
push ebx
call fcn.00411647
push dword [ebp + 0xc]
lea eax, [ebx + 0x800]
push 0x400
push eax
call fcn.00411647
push dword [ebp + 0xc]
lea eax, [ebx + 0xc00]
push 0x400
push eax
call fcn.00411647
mov dword [ebx + 0x1000], 2
mov dword [ebx + 0x1008], 1
mov dword [ebx + 0x1010], ebx
mov byte [ebx + 0x1014], 0
mov dword [ebx + 0x100c], ebx
mov eax, dword [edi]
mov dword [ebx + 0x1018], eax
mov eax, dword [edi + 0x10d8]
mov dword [ebx + 0x1020], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x101c], eax
lea eax, [edi + 0x2104]
mov dword [ebx + 0x1024], eax
lea eax, [edi + 4]
push 0x10d4
push dword [edi]
push eax
call fcn.00415a00
push ebx
push 0
push 0x402700
call fcn.00412a40
add esp, 0x48
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x4056a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xfe78
call fcn.00415830
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0xfe74], eax
mov eax, dword [ebp + 0x10]
push 0x3ff
mov dword [ebp - 0xfe70], eax
lea eax, [ebp - 0x413]
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.00414d00
xor eax, eax
mov byte [ebp - 0x10], 0
push 0xfa00
push eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
lea eax, [ebp - 0xfe14]
push eax
call fcn.00414d00
add esp, 0x18
lea eax, [ebp - 0xfe14]
mov ecx, ebx
push esi
push eax
call fcn.00405540
push 0x405680
push 0xc80
push dword [ebx]
lea eax, [ebp - 0xfe14]
push eax
call fcn.00412e40
xor edi, edi
add esp, 0x10
cmp dword [ebx], edi
jle 0x40578f
lea esi, [ebp - 0xfe14]
lea eax, [esi + 0x480]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411740
push 0x432460
push esi
call fcn.0041156b
add esp, 0x14
test eax, eax
jne 0x405784
push 6
lea eax, [esi + 0x80]
push eax
lea eax, [ebp - 0x10]
push 7
push eax
call fcn.0041169c
add esp, 0x10
inc edi
add esi, 0xc80
cmp edi, dword [ebx]
jl 0x405743
mov eax, dword [ebp - 0xfe70]
cmp byte [eax], 0
je 0x4057af
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411740
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x4057cd
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411740
add esp, 0xc
lea edx, [ebp - 0xfe70]
lea ecx, [ebp - 0x414]
call fcn.004050b0
mov edi, dword [ebp - 0xfe70]
mov esi, edi
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x4057f0
push 0x58
lea eax, [ebp - 0xfe6c]
sub esi, ecx
push 0
push eax
call fcn.00414d00
add esp, 0xc
mov dword [ebp - 0xfe58], 0
lea ecx, [ebp - 0xfe6c]
mov dword [ebp - 0xfe5c], 0
mov dword [ebp - 0xfe6c], 0x67452301
mov dword [ebp - 0xfe68], 0xefcdab89
push esi
push edi
mov dword [ebp - 0xfe64], 0x98badcfe
mov dword [ebp - 0xfe60], 0x10325476
call fcn.004058d0
push dword [ebp - 0xfe74]
lea ecx, [ebp - 0xfe6c]
call fcn.004059a0
push edi
call fcn.004110f2
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004110f7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x78
mov esi, ecx
call fcn.004119e2
mov edi, eax
add esp, 4
test edi, edi
je 0x408b49
mov edx, dword [esi + 0x414]
mov dword [edi + 0x14], edx
push 0
mov dword [edi + 0x2c], 0x4307ac
mov byte [edi + 0x5c], 1
push dword [esi]
mov dword [0x488094], edi
call dword [0x42a2bc]
lea eax, [esi + 0x60f]
mov ecx, edi
push eax
push eax
lea eax, [esi + 0x60e]
push eax
push dword [esi]
call fcn.0040cab0
jmp 0x408b4b
xor edi, edi
push esi
push 0
push 0x406960
call fcn.00412a40
mov esi, dword [0x42a288]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x18], xmm0
push 0
push 0
push 0
push eax
movq qword [ebp - 8], xmm0
call esi
test eax, eax
je 0x408bb0
mov ebx, dword [0x42a290]
jmp 0x408b90
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [0x42a28c]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x408b90
test edi, edi
je 0x408bec
push dword [edi + 0x20]
mov esi, dword [0x42a05c]
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x28]
call dword [0x42a050]
mov dword [edi + 0x2c], 0x4307ac
push dword [edi + 0x48]
call esi
push dword [edi + 0x4c]
call esi
push dword [edi + 0x50]
call esi
push edi
call fcn.004110f2
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x488040]
sub eax, 0x8005
je 0x40a465
dec eax
jne 0x40a46f
lea eax, [esi + 0xc2c]
push eax
push 2
call dword [0x42a244]
push esi
push 0
push 0x40b050
mov byte [esi + 0x60c], 0
call fcn.00412a40
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
push dword [esi]
call dword [0x42a2bc]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40a540
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x58c], 2
jle 0x40a612
call fcn.0040a480
test al, al
jne 0x40a5cd
push esi
push 0
push dword [edi]
call dword [0x42a2bc]
mov eax, dword [edi]
lea esi, [edi + 0xc2c]
push 0x81
push dword [edi + 0x414]
mov dword [esi], 0x3bc
mov dword [edi + 0xc30], eax
mov dword [edi + 0xc34], 0x81
mov dword [edi + 0xc38], 3
call dword [0x42a2a4]
push esi
push 0
mov dword [edi + 0xc40], eax
mov dword [edi + 0xc3c], 0x40a
mov dword [edi + 0xf4c], 0xbb8
mov dword [edi + 0xfd0], 0
call dword [0x42a244]
pop esi
pop edi
ret
mov eax, dword [edi + 0x40c]
test eax, eax
je 0x40a5f9
push pe_nt_image_headers32
push 0
push 0
push 0xf001f
push eax
call dword [0x42a080]
push eax
mov dword [eax], 0
call dword [0x42a084]
push edi
push 0
push 0x40b050
mov byte [edi + 0x60c], 0
call fcn.00412a40
add esp, 0xc
pop edi
ret
push 0x41
push 0x432768
push 0x432774
push 0
call dword [0x42a258]
cmp eax, 1
jne 0x40a66f
lea eax, [edi + 0xc2c]
push eax
push 2
call dword [0x42a244]
add edi, 0x1068
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a645
sub ecx, edx
cmp ecx, 5
jbe 0x40a667
push 5
push 0
push 0
push edi
push 0x432798
push 0
call dword [0x42a238]
push 0
call dword [0x42a24c]
pop edi
ret