joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4af8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4f4cab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042911c
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0045a018
call fcn.00491430
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4f4b7c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.004238ec
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042911c
mov eax, dword [eax + 0xc]
pop edx
call fcn.004238f4
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004237d4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409d74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042911c
call fcn.0042476c
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423848
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423884
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423884
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423884
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004238ec
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042911c
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423780
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042911c
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.004235c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4cb2
lea eax, [ebp - 4]
call fcn.00404944
ret
Function at 0x4f65dc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409884
test al, al
je 0x4f6663
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403274
or esi, 0x100
test esi, esi
jns 0x4f6617
call fcn.00403a90
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404e04
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4f6663
mov dl, 1
mov eax, dword [0x42275c]
call fcn.0042a740
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042ab10
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4f6663
mov eax, esp
call fcn.0040ec68
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x4fb248
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406d6c
push esi
push 0
push 0x419
mov eax, ebx
call fcn.0044e1bc
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x50671c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407a94
ret

Function at 0x506844
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x506992
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0050671c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404e04
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x506971
xor eax, eax
push ebp
push 0x50696a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x506953
xor eax, eax
push ebp
push 0x50694c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x506935
xor eax, eax
push ebp
push 0x50692e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00506750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506935
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506953
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506971
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.005067d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506999
lea eax, [ebp - 4]
call fcn.00404944
ret
Function at 0x50707c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x50721c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x1c]
mov edx, 0x507238
call fcn.004049dc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404e04
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5071e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00404e04
mov edi, eax
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5071cf
xor eax, eax
push ebp
push 0x5071c8
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
call sub.wininet.dll_DeleteUrlCacheEntry
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x568]
call fcn.00402f64
mov edx, 1
lea eax, [ebp - 0x568]
call fcn.0040356c
call fcn.00402918
lea eax, [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x568]
call fcn.004030b4
call fcn.00402918
test bl, bl
je 0x507197
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
push eax
push 0x506f44
mov eax, dword [ebp - 4]
call fcn.0041ffdc
cmp dword [ebp - 0x18], 0
jne 0x507145
lea eax, [ebp - 0x568]
call fcn.004030d4
call fcn.00402918
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5071cf
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5071ed
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x50864c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x508654
push ecx
push ebx
mov eax, 0x508004
call fcn.00406cf0
xor eax, eax
push ebp
push 0x5087b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402b5c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409b84
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50f188]
mov edx, dword [edx]
call fcn.00404d50
je 0x5086dc
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402b5c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409b84
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x50f188]
mov edx, dword [edx]
call fcn.00409aac
push 1
mov eax, dword [0x50f188]
mov eax, dword [eax]
call fcn.00404e04
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.kernel32.dll_ExitProcess_1
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.00402b5c
mov eax, dword [ebp - 0x24]
mov edx, 0x5087cc
call fcn.00404d50
je 0x508754
push 0x5087d4
push 0xffffffffffffffff
push 0
call fcn.00406f6c
mov ebx, eax
test ebx, ebx
je 0x508754
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x508754
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
push 0
push 0x5087e0
push ebx
push 0
call sub.user32.dll_FindWindowExA
mov ebx, eax
mov eax, dword [0x50f0e4]
mov eax, dword [eax]
cmp ebx, dword [eax + 0x30]
je 0x508720
test ebx, ebx
je 0x50874f
push 1
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
call fcn.004047b0
mov eax, dword [0x50f0e4]
mov eax, dword [eax]
call fcn.004678b4
mov ecx, dword [0x50f0ec]
mov eax, dword [0x50f0e4]
mov eax, dword [eax]
mov edx, dword [0x4fca48]
call fcn.004678cc
mov ecx, dword [0x50f190]
mov eax, dword [0x50f0e4]
mov eax, dword [eax]
mov edx, dword [0x4fc090]
call fcn.004678cc
mov eax, dword [0x50f0e4]
mov eax, dword [eax]
call fcn.0046794c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5087be
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404968
ret
Function at 0x1401150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x1401218
nop dword [eax]
cmp edi, dword [section..data]
jb 0x1401198
cmp edi, dword [0x1588004]
ja 0x1401198
sub edi, 0x8000000
jmp 0x1401210
push 0x1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
je 0x1401218
cmp dword [ebp - 0xc], 0x10000
jne 0x14011fb
cmp dword [ebp - 0x10], 0x10000
jb 0x14011fb
push 0x40
push 0x3000
push 0x10000
push edi
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
jne 0x14012ca
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x1401218
sub edi, 0x10000
jmp 0x1401210
mov ecx, dword [ebp - 0x18]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x1401180
movzx eax, si
test eax, eax
je 0x1401227
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 0x10]
cmp esi, edi
jae 0x14012c8
cmp esi, dword [section..data]
jb 0x140124a
cmp esi, dword [0x1588004]
ja 0x140124a
add esi, 0x8000000
jmp 0x14012c0
push 0x1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
je 0x14012c8
cmp dword [ebp - 0xc], 0x10000
mov ecx, dword [ebp - 0x10]
jne 0x14012ab
cmp ecx, 0x10000
jb 0x14012ab
push 0x40
push 0x3000
push 0x10000
push esi
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
jne 0x14012ca
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x14012c8
add esi, 0x10000
jmp 0x14012c0
mov esi, dword [ebp - 0x1c]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x14012c0
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x1401232
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x14015e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1585428
push 0x1423000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_VirtualQuery
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x1401683
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x1401683
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp dword [ebp + 0xc], eax
jb 0x1401683
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x1401683
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1401b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x15b403c], eax
je 0x1401bac
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x15b4040]
test eax, eax
jne 0x1401cc1
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x1401bcb
lea eax, [esi + 0x57]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1401be8
cmp dword [ebx], 0
jne 0x1401bf5
mov dword [0x15b4040], 6
mov dword [0x15b4044], ebx
pop ebx
mov eax, 6
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push 0x18
call fcn.01421522
mov edi, eax
add esp, 4
test edi, edi
jne 0x1401c0e
lea esi, [eax + 8]
jmp 0x1401ca1
push 0
push dword [ebx]
call fcn.01401b00
push 0
push esi
mov dword [ebp + 0xc], eax
call fcn.01401b00
mov esi, dword [ebp + 0xc]
mov edx, eax
movzx ecx, byte [esi + 0x36]
mov eax, dword [esi + 0x40]
sub eax, ecx
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x1401c93
cmp ecx, 0x1e
ja 0x1401c93
cmp dword [esi + 0x44], edx
jne 0x1401c93
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push 0x40
push ecx
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1401c62
call sub.KERNEL32.dll_GetLastError
mov esi, eax
jmp 0x1401ca1
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 4], 1
mov eax, dword [ebp - 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x15b404c]
mov dword [edi], eax
xor eax, eax
mov dword [0x15b404c], edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x15b4034], 0
mov esi, 9
jne 0x1401cab
mov dword [0x15b4040], esi
test edi, edi
je 0x1401cb6
push 0x18
push edi
call fcn.01421552
add esp, 8
pop edi
mov dword [0x15b4044], ebx
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x15b403c], 0
jne 0x1401d47
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov edx, 0x15b403c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1401d47
push esi
mov esi, dword [0x15b402c]
mov dword [0x15b404c], eax
mov dword [0x15b4048], eax
mov dword [0x15b4044], eax
test esi, esi
je 0x1401d2c
nop dword [eax]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x1401d38
mov esi, dword [esi + 4]
test esi, esi
jne 0x1401d10
xor eax, eax
mov dword [0x15b4040], eax
pop esi
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov dword [0x15b4040], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
Function at 0x1403f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov ecx, 0x44
mov dword [ebp - 4], eax
mov dl, 0x57
push edi
mov edi, dword [ebp + 8]
cmp esi, ecx
jbe 0x1403f41
nop dword [eax]
mov al, byte [edi + ecx]
xor al, dl
mov byte [edi + ecx], al
add al, 0x57
inc ecx
add dl, al
cmp ecx, esi
jb 0x1403f30
xor dword [edi + 0x4c], 0x7a32bc85
xor dword [edi + 0x50], 0x49c042d1
add dword [edi + 0x54], 0xfffffff4
xor dword [edi + 0x58], 0x872c3d47
xor eax, eax
movups xmm0, xmmword [edi + 0x44]
mov dword [ebp + 8], eax
movups xmmword [0x35b4a88], xmm0
movq xmm0, qword [edi + 0x54]
movq qword [0x35b4a98], xmm0
nop word [eax + eax]
movzx eax, ax
lea eax, [eax + eax*4]
cmp dword [edi + eax*4 + 0x6c], 0
lea esi, [edi + eax*4]
je 0x1403f96
mov eax, dword [esi + 0x68]
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
cmp eax, ecx
jbe 0x1403fb3
sub eax, ecx
push eax
mov eax, dword [esi + 0x5c]
add eax, ecx
push 0
push eax
call fcn.014236a0
add esp, 0xc
push dword [esi + 0x64]
mov eax, dword [esi + 0x68]
add eax, edi
push eax
push dword [esi + 0x5c]
call fcn.01423120
mov eax, dword [ebp + 8]
add esp, 0xc
inc eax
mov dword [ebp + 8], eax
cmp ax, word [edi + 0x48]
jbe 0x1403f80
mov ecx, dword [edi + 0x58]
add ecx, 0xc
mov dword [ebp + 8], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1404035
mov eax, dword [edi + 0x50]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
add eax, 0x14
add esi, dword [edi + 0x50]
mov dword [ebp + 8], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x140402f
mov eax, ecx
and eax, 0x7fffffff
test ecx, ecx
js 0x1404019
mov ecx, dword [edi + 0x50]
add ecx, 2
add eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
add esi, 4
mov ecx, dword [esi]
test ecx, ecx
jne 0x1404006
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1403fe3
mov ecx, dword [edi + 0x54]
push 0
push 1
push 0
call ecx
push dword [ebp + 0x10]
mov ecx, dword [edi + 0x4c]
call ecx
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1404fd0
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x140501d
movzx ebx, word [eax + 0x14]
xor ecx, ecx
movzx esi, word [eax + 6]
add ebx, eax
xor eax, eax
cmp ax, si
jae 0x140501d
mov edi, dword [ebp + 0xc]
nop dword [eax]
movzx eax, cx
lea edx, [eax + eax*4]
mov eax, dword [ebx + edx*8 + 0x18]
cmp eax, dword [edi]
jne 0x1405017
mov eax, dword [ebx + edx*8 + 0x1c]
cmp eax, dword [edi + 4]
je 0x1405024
inc ecx
cmp cx, si
jb 0x1405000
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x140503a
mov ecx, dword [ebx + edx*8 + 0x28]
cmp ecx, dword [ebx + edx*8 + 0x20]
cmovbe ecx, dword [ebx + edx*8 + 0x20]
mov dword [esi], ecx
mov eax, dword [ebx + edx*8 + 0x24]
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1405680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.014217c0
push 0x1000
lea eax, [ebp - 0x1000]
push 0
push eax
call fcn.014236a0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0xfff
push eax
call fcn.01403550
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0142a6da
mov eax, dword [0x35b4b0c]
add esp, 0x1c
mov byte [ebp - 1], 0
test eax, eax
je 0x14056ec
mov eax, dword [eax + 0x50]
test eax, eax
je 0x14056ec
push str.escape_n
call eax
add esp, 4
push 0x10
push str.Fatal_Error
lea eax, [ebp - 0x1000]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
mov esp, ebp
pop ebp
ret

Function at 0x1407830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1443ac0
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.01421522
mov edi, eax
add esp, 4
test edi, edi
je 0x14078cc
push 1
mov dword [ebp - 4], 0
call fcn.01422646
add esp, 4
mov dword [edi + 4], eax
jmp 0x14078ce
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.0140ba20
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1407ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1443b6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.014222c9
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1407b4b
push eax
push esi
call fcn.01422744
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.01422495
int3