joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27d0
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x53e754]
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 dword [ebp - 0x48c], edx
mov ebx, ecx
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x254]
push 0x228
push 0
push eax
mov dword [ebp - 0x488], esi
call fcn.004be8b0
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43a6e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.0043a4c0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x43a6cc
mov eax, dword [eax]
mov edx, eax
mov ecx, str.CreateToolhelp32Snapshot_failed__error:__s_
call fcn.00423cb0
lea ecx, [ebp - 0x28]
call fcn.00419480
jmp 0x43a777
mov ecx, 0x8b
lea esi, [ebp - 0x258]
lea edi, [ebp - 0x484]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43a7b4
mov eax, dword [ecx]
lea edx, [ebp - 0x484]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x43a750
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x43a72b
mov eax, dword [ebp - 0x250]
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x43a73a
lea eax, [ebp - 0x250]
push eax
push ecx
mov ecx, ebx
call fcn.0041cab0
mov ecx, dword [ebp - 0x48c]
test ecx, ecx
je 0x43a750
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
cmp eax, ecx
jae 0x43a76b
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43a6e5
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43a796
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor al, al
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.004a65f2
mov esp, ebp
pop ebp
ret
call fcn.0048f830
int3
Function at 0x43a7c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2818
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x53e754]
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 edx, 0x53f598
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x50]
call fcn.00432330
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
push str.Terminating_process_id__id:__d_
push 2
call fcn.0041d130
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x43a845
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a845
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43a845
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 edi, eax
test edi, edi
jne 0x43a890
lea ecx, [ebp - 0x2c]
call fcn.0043a4c0
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x43a874
mov eax, dword [eax]
push eax
mov edx, ebx
mov ecx, str.Failed_to_open_process_for_termination__id:__d__error:__s_
call fcn.004415e0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00419480
xor al, al
jmp 0x43a8de
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
test esi, esi
push edi
setne byte [ebp - 0x45]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x43a8db
lea ecx, [ebp - 0x44]
call fcn.0043a4c0
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x43a8c3
mov eax, dword [eax]
push eax
mov edx, ebx
mov ecx, str.Failed_to_terminate_process__id:__d__error:__s_
call fcn.004415e0
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.00419480
mov al, byte [ebp - 0x45]
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.004a65f2
mov esp, ebp
pop ebp
ret
Function at 0x43b010
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f28f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53e754]
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 0x43b040
sub esi, ecx
sar esi, 1
lea esi, [esi*2 + 2]
push esi
push 1
call fcn.004cdead
push esi
push 1
mov edi, eax
call fcn.004cdead
mov esi, eax
push esi
push edi
push str.https:_________n_
push dword [ebp + 8]
call fcn.00438590
push edi
call fcn.004ce204
add esp, 0x24
mov dword [ebx + 0x14], eax
push esi
call fcn.004ce204
add esp, 4
mov dword [ebx + 0x18], eax
push edi
call fcn.004c6d3f
add esp, 4
push esi
call fcn.004c6d3f
mov edx, dword [ebx + 0x14]
add esp, 4
cmp word [edx], 0
je 0x43b148
mov ecx, dword [ebx + 0x18]
movzx eax, word [ecx]
test ax, ax
je 0x43b148
mov edx, eax
mov esi, 0x2f
cmp dx, 0x5c
jne 0x43b0cf
mov word [ecx], si
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43b0c6
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 0x43b113
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, 0x53fa08
mov dword [ebp + 8], eax
call fcn.00432330
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.00443f50
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43b1a6
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43b1a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43b1a6
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 0x43bde0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2a58
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x53e754]
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 0x43be9a
mov eax, dword [esi + 0x18]
mov edi, 0x51ea48
test eax, eax
mov dword [ebp - 0x3c], 0x1000
mov ecx, edi
mov edx, 0x53fa08
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.00432330
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.004445b0
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x43be93
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43be93
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x43be93
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor eax, eax
jmp 0x43bf74
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x1000
push edx
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x43bf5e
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x2c]
test eax, eax
mov edi, 0x51ea48
mov ebx, edi
cmovne ebx, eax
mov eax, dword [esi + 0x14]
test eax, eax
cmovne edi, eax
call fcn.0043a4c0
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x43beea
mov eax, dword [eax]
mov edx, 0x53fa08
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], 0x1000
call fcn.00432330
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.004446c0
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x43bf52
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43bf52
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x43bf52
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
call fcn.00419480
mov eax, esi
jmp 0x43bf74
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43bf71
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.004a65f2
mov esp, ebp
pop ebp
ret
Function at 0x43c4d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2acb
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x53e754]
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 0x43c536
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 0x43c623
push eax
call fcn.004a70be
mov esi, eax
add esp, 4
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x43c572
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 0x43c60f
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x51dc50
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43c60f
cmp dword [ebp - 0x41c], 0
je 0x43c60f
mov edx, dword [ebp - 0x420]
cmp dword [edx], 0xfeef04bd
jne 0x43c60f
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 str._d._d._d._d
push 0x200
push eax
call fcn.00438520
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.00421d40
test esi, esi
je 0x43c644
push esi
call fcn.004a6ebe
add esp, 4
jmp 0x43c644
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43c623
push esi
call fcn.004a6ebe
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.004225a0
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.004a65f2
mov esp, ebp
pop ebp
ret

Function at 0x43c9b0
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 SysReAllocStringLen
or esi, 0xffffffff
push ecx
or edi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x43c9f9
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43c9f2
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 0x43d380
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push ecx
mov esi, edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
test eax, eax
je 0x43d4ca
push ebx
push edi
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.004be8b0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x228], 0xffffffff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43d496
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
mov dword [ebp - 0x228], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x228]
mov edi, eax
test edi, edi
mov eax, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x228], ecx
cmp ecx, dword [ebp - 0x238]
jne 0x43d48e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43d45c
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004cdeb8
add esp, 8
test eax, eax
je 0x43d4b0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43d47a
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004cdeb8
add esp, 8
test eax, eax
je 0x43d4b0
test edi, edi
jne 0x43d410
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
Function at 0x43dea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x53e754]
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 0x43ded5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x43df13
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x43df13
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.004a65f2
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43dfde
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x43df3d
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 0x43df4a
push dword [esi + 0x4c]
push edi
jmp 0x43df87
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 0x43dfde
cmp eax, 1
jle 0x43dfb1
cmp eax, 3
jne 0x43dfde
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004ce189
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x43dfe3
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x43dfce
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.004cbda4
add esp, 0x10
cmp ebx, eax
jne 0x43dfde
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x43defd
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004a65f2
mov esp, ebp
pop ebp
ret 4
Function at 0x43ff90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x44003f
cmp byte [esi + 0x3e], 0
je 0x44003f
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x43fff5
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 0x440007
sub eax, 1
je 0x44000b
sub eax, 2
je 0x44003f
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x440028
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004cbda4
add esp, 0x10
cmp edi, eax
jne 0x43fff5
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a65f2
mov esp, ebp
pop ebp
ret

Function at 0x440660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53e754]
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.004a6611
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0048fe1c
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 0x4407d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53e754]
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.004a6611
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0048fe1c
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 0x4409a0
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 0x4409b4
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 0x4409e3
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 0x4409d0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44e580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x44e668
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x44e657
jg 0x44e5c0
test edx, edx
je 0x44e657
nop dword [eax]
call fcn.00440250
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x44e614
jg 0x44e5d7
test esi, esi
je 0x44e614
cmp ebx, eax
jg 0x44e5e7
jl 0x44e5e1
cmp edi, esi
jae 0x44e5e7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004bddb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x44e63b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x44e651
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x44e5c0
jl 0x44e651
test edi, edi
jne 0x44e5c0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x44e68a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x44e68c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x44e70a
jg 0x44e69f
test esi, esi
je 0x44e70a
test eax, eax
jl 0x44e6e4
jg 0x44e6a9
test ebx, ebx
je 0x44e6e4
cmp edi, eax
jg 0x44e6b9
jl 0x44e6b3
cmp esi, ebx
jae 0x44e6b9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004bddb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x44e6e7
mov edx, dword [ebp + 8]
test edi, edi
jl 0x44e70a
jg 0x44e6f1
test esi, esi
je 0x44e70a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x44e70a
push eax
push esi
push 1
push edx
call fcn.004cbda4
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc