joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424bf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov edx, 0x574a40
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x54]
call fcn.004397a0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
push str.Terminating_process_id__id:__d_
push 2
call fcn.0041eb40
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x424c79
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x424c79
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x424c79
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ebx
push 0
push 1
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x424d0f
lea ecx, [ebp - 0x28]
call fcn.00424730
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x424ca8
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov edx, 0x574a40
mov dword [ebp - 0x48], eax
call fcn.004397a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x48]
push ecx
push str.Failed_to_open_process_for_termination__id:__d__error:__s_
push ecx
mov ecx, dword [eax]
call fcn.004314c0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x424d00
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x424d00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x424d00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.0041b400
xor al, al
jmp 0x424da5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
test esi, esi
push ebx
setne byte [ebp - 0x41]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x424da2
lea ecx, [ebp - 0x40]
call fcn.00424730
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x424d42
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov edx, 0x574a40
mov dword [ebp - 0x48], eax
call fcn.004397a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x48]
push ecx
push str.Failed_to_terminate_process__id:__d__error:__s_
push ecx
mov ecx, dword [eax]
call fcn.004314c0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x424d9a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x424d9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x424d9a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x40]
call fcn.0041b400
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
Function at 0x425510
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x80], esi
mov ebx, ecx
xor edx, edx
lea ecx, [ebp - 0x58]
call fcn.0043a450
mov edi, eax
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043a450
mov esi, eax
mov edx, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043a450
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x42557b
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x425583
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x42558b
mov eax, dword [eax]
push str.Amazon_Games
push edi
push esi
mov edx, eax
mov ecx, str.Creating_shortcut__linkFileName:__s__targetFileName:__s__arguments:__s__description:__s_
call fcn.0042e840
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0041b400
lea ecx, [ebp - 0x40]
call fcn.0041b400
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b400
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4255e1
mov edx, eax
mov ecx, str.Util::CreateShortcut::CoInitializeEx_failed__result:__ld_
call fcn.0042e7b0
xor al, al
jmp 0x425687
mov byte [ebp - 0x7c], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push eax
push 0x5311d8
push 1
push 0
push 0x531208
mov dword [ebp - 0x74], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x42567d
push dword [ebp - 0x80]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x74]
push str.Amazon_Games
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x78], 0
push 0x5311f8
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
jne 0x4256a3
lea ecx, [ebp - 0x70]
call fcn.00424730
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x42565c
mov eax, dword [eax]
mov edx, eax
mov ecx, str.Unable_to_create_shortcut__lastError:__s_
call fcn.0042def0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0041b400
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
push 1
push ebx
push ecx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
jmp 0x42567f
Function at 0x425870
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
push 0
push 0
push 0
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
movups xmmword [esi + 0xc], xmm0
push 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x5c
push 1
mov dword [esi + 0x1c], eax
call fcn.004effff
mov dword [esi + 0x20], eax
add esp, 8
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x425a60
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56e754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x425a90
sub esi, ecx
sar esi, 1
lea esi, [esi*2 + 2]
push esi
push 1
call fcn.004effff
push esi
push 1
mov edi, eax
call fcn.004effff
mov esi, eax
push esi
push edi
push str.https:_________n_
push dword [ebp + 8]
call fcn.004223f0
push edi
call fcn.004f062f
add esp, 0x24
mov dword [ebx + 0x14], eax
push esi
call fcn.004f062f
add esp, 4
mov dword [ebx + 0x18], eax
push dword [ebp + 8]
call fcn.004f062f
add esp, 4
mov dword [ebx + 0x2c], eax
push edi
call fcn.004ef010
add esp, 4
push esi
call fcn.004ef010
mov edx, dword [ebx + 0x14]
add esp, 4
cmp word [edx], 0
je 0x425ba6
mov ecx, dword [ebx + 0x18]
movzx eax, word [ecx]
test ax, ax
je 0x425ba6
mov edx, eax
mov esi, 0x2f
cmp dx, 0x5c
jne 0x425b2d
mov word [ecx], si
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x425b24
push 0
push 0
push 0
push 0
push str.Sonic_1.0_Mozilla_5.0__Windows_NT_6.3__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_58.0.3029.110_Safari_537.36
mov byte [ebp + 0xb], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebx + 4], eax
test eax, eax
jne 0x425b71
xor cl, cl
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x1bb
push dword [ebx + 0x14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
movzx ecx, byte [ebp + 0xb]
xor edx, edx
test eax, eax
mov dword [ebx + 8], eax
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, 0x574a40
mov dword [ebp + 8], eax
call fcn.004397a0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.004317a0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x425c04
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x425c04
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x425c04
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4268d0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516118
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi], 0
jne 0x42698a
mov eax, dword [esi + 0x18]
mov edi, str.null
test eax, eax
mov dword [ebp - 0x3c], 0x4000
mov ecx, edi
mov edx, 0x574a40
cmovne ecx, eax
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x44]
cmovne edi, eax
mov dword [ebp - 0x38], edi
call fcn.004397a0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00431b60
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x426983
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x426983
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x426983
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor eax, eax
jmp 0x426a64
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x4000
push edx
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x426a4e
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x2c]
test eax, eax
mov edi, str.null
mov ebx, edi
cmovne ebx, eax
mov eax, dword [esi + 0x14]
test eax, eax
cmovne edi, eax
call fcn.00424730
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4269da
mov eax, dword [eax]
mov edx, 0x574a40
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], 0x4000
call fcn.004397a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00431c20
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x426a42
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x426a42
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x426a42
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
call fcn.0041b400
mov eax, esi
jmp 0x426a64
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x426a61
mov eax, dword [ecx]
push 0
push 0
push dword [ebp - 0x30]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
Function at 0x4271e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5161cb
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x414], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
jb 0x427246
mov eax, dword [ebx]
lea ecx, [ebp - 0x418]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x427333
push eax
call fcn.004cb23d
mov esi, eax
add esp, 4
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x427282
mov ebx, dword [ebx]
push esi
push dword [ebp - 0x414]
push dword [ebp - 0x418]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42731f
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x542588
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42731f
cmp dword [ebp - 0x41c], 0
je 0x42731f
mov edx, dword [ebp - 0x420]
cmp dword [edx], 0xfeef04bd
jne 0x42731f
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x410]
push edx
push 0x546364
push 0x200
push eax
call fcn.004223a0
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.0041a770
test esi, esi
je 0x427354
push esi
call fcn.004cb03d
add esp, 4
jmp 0x427354
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x427333
push esi
call fcn.004cb03d
add esp, 4
push 7
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push str.0.0.0.0
mov word [edi], ax
call fcn.0041b490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
Function at 0x4276c0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516216
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xac
push ebx
movzx edi, ax
push 0x59
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xac
lea esi, [ebx + 0xac]
push esi
push 0x5a
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push ebx
push str._ls__ls
lea edi, [ebx + 0x158]
push 0xae
push edi
call fcn.004223a0
add esp, 0x14
mov dword [ebp - 0x2cc], edi
mov edx, 0x573cd8
lea ecx, [ebp - 0x2d4]
call fcn.004397a0
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
push str.User_locale:__s
push 2
call fcn.0041eb40
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x2d0]
test esi, esi
je 0x42779d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42779d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42779d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx esi, ax
lea eax, [ebp - 0x2c8]
push 0xac
push eax
push 0x59
push esi
call ebx
push 0xac
lea eax, [ebp - 0x21c]
push eax
push 0x5a
push esi
call ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2c8]
push eax
push str._ls__ls
lea eax, [ebp - 0x170]
push 0xae
push eax
call fcn.004223a0
add esp, 0x14
lea eax, [ebp - 0x170]
mov edx, 0x573cd8
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x2dc]
call fcn.004397a0
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 2
push ecx
mov ecx, dword [eax]
push str.System_locale:__s
push 2
call fcn.0041eb40
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x2d8]
test esi, esi
je 0x427863
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x427863
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x427863
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret

Function at 0x427920
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
or esi, 0xffffffff
push ecx
or edi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x427969
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x427962
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a4f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x42a525
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x42a563
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x42a563
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x42a62e
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x42a58d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42a59a
push dword [esi + 0x4c]
push edi
jmp 0x42a5d7
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x42a62e
cmp eax, 1
jle 0x42a601
cmp eax, 3
jne 0x42a62e
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004f05b4
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x42a633
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x42a61e
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.004efb0c
add esp, 0x10
cmp ebx, eax
jne 0x42a62e
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x42a54d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
Function at 0x42c710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x42c7bf
cmp byte [esi + 0x3e], 0
je 0x42c7bf
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x42c775
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x42c787
sub eax, 1
je 0x42c78b
sub eax, 2
je 0x42c7bf
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x42c7a8
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004efb0c
add esp, 0x10
cmp edi, eax
jne 0x42c775
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004ca771
mov esp, ebp
pop ebp
ret

Function at 0x42cf00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514600
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56e754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004ca790
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004b3870
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514600
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56e754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004ca790
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004b3870
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [ecx + 0x14], 8
mov edi, dword [ecx + 0x10]
jb 0x42d254
mov ecx, dword [ecx]
add edi, edi
xor ebx, ebx
xor esi, esi
mov eax, 0x811c9dc5
lea edx, [edi + ecx]
cmp ecx, edx
cmova edi, ebx
test edi, edi
je 0x42d283
nop dword [eax + eax]
movzx edx, byte [ecx]
lea ecx, [ecx + 1]
xor edx, eax
inc esi
imul eax, edx, 0x1000193
cmp esi, edi
jne 0x42d270
pop edi
pop esi
pop ebx
pop ebp
ret 4