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

Disassembly:
push 0x40c
mov eax, 0x45c32d
call fcn.0043d60a
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
je 0x410264
mov eax, dword [0x47e044]
cmp eax, ebx
je 0x4101d9
push ebx
push ebx
push eax
mov esi, edi
call fcn.00415cb5
push 0x45f5cc
mov ecx, edi
call fcn.0042f899
test eax, eax
jne 0x4101f9
push 0x464384
mov ecx, edi
call fcn.0042f899
test eax, eax
je 0x410264
mov eax, dword [edi]
push ebx
push 0x200
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xor esi, esi
inc esi
test eax, eax
lea eax, [ebp - 0x414]
push eax
push 0x47dec8
je 0x410236
call fcn.0040ef4c
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push 0x10
push eax
lea eax, [ebp - 0x410]
push eax
jmp 0x410248
call fcn.0040ef4c
mov dword [ebp - 4], esi
mov eax, dword [eax]
push 0x10
push eax
push str.Out_of_memory_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.00401b86
push esi
call fcn.0043b8a6
mov eax, dword [ebp - 0x414]
xor esi, esi
inc esi
mov dword [eax + 0xac], esi
mov dword [0x47df78], esi
mov esi, dword [0x47dee8]
call fcn.00409bed
cmp edi, ebx
je 0x41029c
push dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
push edi
call fcn.00434f38
mov ebx, eax
mov eax, ebx
call fcn.0043d68d
ret 8
Function at 0x410dd6
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x45951d
call fcn.0043d60a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov dword [ebp - 0x3c], edi
je 0x410ef3
cmp byte [edi + 0x41], bl
je 0x410ef3
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x410e0e
xor al, al
jmp 0x410ef5
lea esi, [ebp - 0x30]
call fcn.00410b33
mov dword [ebp - 4], ebx
lea eax, [edi + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00410bb2
mov esi, eax
call fcn.00410c23
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00410bb2
mov esi, eax
call fcn.00410c23
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x410e73
dec eax
je 0x410e76
dec eax
dec eax
jne 0x410edf
mov bl, 1
jmp 0x410edf
mov byte [edi + 0x41], bl
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0x30]
call fcn.00410bb2
mov esi, eax
call fcn.00410c23
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x410ebb
push dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
lea esi, [ebp - 0x30]
call fcn.00410bb2
mov esi, eax
call fcn.00410c23
push eax
call fcn.0043c1bb
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x410edd
mov ecx, dword [ebp - 0x34]
cmp byte [edi + 0x41], 0
je 0x410e6f
test ecx, ecx
jne 0x410e1f
push ecx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.00410b6b
mov edi, dword [ebp - 0x3c]
jmp 0x410e1f
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00412467
mov al, bl
jmp 0x410ef5
mov al, 1
call fcn.0043d68d
ret

Function at 0x412713
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x45bc8d
call fcn.0043d5a1
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgressPage.0
mov dword [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x118], edi
je 0x41275b
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.0040936f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x412741
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.0043375c
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.0043375c
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.0043460f
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004137e5
call fcn.0043d679
ret

Function at 0x412d94
Capabilities:
Delete file
Move file

Disassembly:
push 4
mov eax, 0x459296
call fcn.0043d5a1
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RememberTempFile.0
mov dword [ebp - 4], 1
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x412dd6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412dd6
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.CProgressPageProxy::Caller.0
call fcn.0043d679
ret
Function at 0x417118
Capabilities:
Get common file path

Disassembly:
push 0x24
mov eax, 0x4590e7
call fcn.0043d5d4
mov edi, ecx
lea ecx, [ebp - 0x30]
call fcn.0042eab1
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.00401689
and dword [edi], 0
lea ecx, [ebp - 0x14]
call fcn.00401a99
mov byte [ebp - 4], 2
mov esi, 0x105
push esi
lea ecx, [ebp - 0x14]
call fcn.0040d149
mov dword [ebp - 0x20], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41718d
call fcn.00403179
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
call fcn.0042eac7
mov eax, esi
jmp 0x4172b0
or ebx, 0xffffffff
push ebx
lea ecx, [ebp - 0x14]
call fcn.00405456
lea ecx, [ebp - 0x18]
call fcn.00401a99
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d149
mov esi, eax
push esi
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4171e7
call fcn.00403179
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b86
mov dword [ebp - 4], ebx
jmp 0x417181
push ebx
lea ecx, [ebp - 0x18]
call fcn.00405456
lea eax, [ebp - 0x1c]
push eax
call fcn.00408c0d
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push 0
push 1
push 0x80
push 0x1041
push esi
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x417247
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.00418f38
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b86
mov dword [ebp - 4], ebx
jmp 0x4172a8
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push esi
mov ecx, dword [ebp + 0xc]
call fcn.004015d3
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.00418f38
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b86
mov dword [ebp - 4], ebx
call fcn.0042eac7
xor eax, eax
jmp 0x4172b0
call fcn.0042eac7
mov eax, dword [ebp - 0x24]
call fcn.0043d679
ret

Function at 0x4172b6
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x4590ad
call fcn.0043d5d4
mov edi, ecx
call fcn.00401689
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x4172e9
call fcn.00403179
jmp 0x417354
lea ecx, [ebp - 0x24]
call fcn.0042eab1
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
push dword [esi]
mov ecx, edi
call fcn.004015d3
or dword [ebp - 4], 0xffffffff
call fcn.0042eac7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 0x5ffefffe
add eax, 0xa0010002
jmp 0x417354
call fcn.0043d679
ret
Function at 0x41735a
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x459e83
call fcn.0043d5a1
lea ecx, [ebp - 0x10]
call fcn.00401a99
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004172b6
xor ecx, ecx
test eax, eax
setge cl
push 0x40
lea eax, [ebp - 0x60]
push edi
push eax
mov dword [ebp - 0x64], 0x44
mov esi, ecx
call fcn.0043d160
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push 0x1000000
push edi
neg esi
push edi
sbb esi, esi
and esi, dword [ebp - 0x10]
push edi
call fcn.0040d12f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov ebx, eax
call fcn.00405456
cmp esi, edi
jne 0x4173f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401b86
mov eax, edi
call fcn.0043d679
ret
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x20]
jmp 0x4173de

Function at 0x417b36
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0x220
mov eax, 0x459e53
call fcn.0043d60a
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, ebx
call fcn.00401a99
mov dword [ebp - 0x228], esi
call fcn.00417523
test al, al
je 0x417c5b
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00401b36
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x224]
call fcn.0040153e
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x21c]
push eax
push 0x20119
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x417c3b
lea ecx, [ebp - 0x220]
call fcn.004092ce
cmp eax, edi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
jne 0x417c3b
push str.ProgramFilesDir
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.004197fb
test eax, eax
jne 0x417c3b
mov eax, edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040153e
mov byte [ebp - 4], 4
push dword [eax]
push str._ProgramFiles_
push ebx
call fcn.00416044
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.00401b86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.004092ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00401b86
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x417c6d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417c8f
mov esi, dword [ebp + 8]
mov eax, 0x3fff
push eax
push eax
mov ecx, ebx
call fcn.0040d149
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00405456
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401b86
mov eax, ebx
call fcn.0043d68d
ret
Function at 0x418333
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x64
mov eax, 0x45b486
call fcn.0043d5a1
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x418356
mov eax, 0x80070057
jmp 0x41848e
lea eax, [ebp - 0x14]
push eax
call fcn.00417deb
pop ecx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
cmp eax, ebx
mov byte [ebp - 0xd], bl
jne 0x418396
lea edi, [ebp - 0x1c]
mov byte [ebp - 0xd], 1
call fcn.004181ff
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00401b36
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.00401b86
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
je 0x41845d
movzx ecx, byte [ebp - 0xd]
mov eax, dword [esi]
push ecx
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004182a9
mov byte [ebp - 4], 2
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call fcn.0043d160
add esp, 0x1c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], 3
call fcn.00401a99
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004172b6
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040d12f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418429
xor esi, esi
jmp 0x418434
call fcn.00403179
mov esi, eax
cmp esi, ebx
jl 0x418444
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x2c]
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b86
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00401b86
jmp 0x418480
mov esi, dword [esi]
push 3
push ebx
push ebx
push esi
push 0x467508
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x418479
xor esi, esi
jmp 0x418480
call fcn.004092e5
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401b86
mov eax, esi
call fcn.0043d679
ret
Function at 0x4197fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41985e
cmp dword [ebp + 0xc], 1
je 0x419837
cmp dword [ebp + 0xc], 2
je 0x419837
push 0xd
pop eax
jmp 0x41985e
test edi, edi
mov eax, dword [ebp - 4]
je 0x419858
test eax, eax
je 0x419854
test al, 1
jne 0x419832
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x419858
jmp 0x419832
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x419ca2
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419cbe
and dword [esi], eax
and dword [esi + 4], eax
jmp 0x419d34
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 8], eax
call fcn.004283e9
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x419ce1
mov dword [esi], ebx
jmp 0x419d31
push eax
push dword [ebp - 8]
xor edi, edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x419d26
and dword [ebp - 8], ebx
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x4643d8
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0x34
jb 0x419d26
mov eax, dword [ebp - 8]
test eax, eax
je 0x419d26
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, ecx
push dword [ebp - 0xc]
call fcn.004283ee
pop ecx
mov dword [esi], edi
mov dword [esi + 4], ebx
pop edi
mov eax, esi
pop ebx
leave
ret
Function at 0x41a100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x41a14b
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x479e18]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41a120
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x41a1d9
sub ecx, ebx
je 0x41a1bb
sub ecx, ebx
je 0x41a1af
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b5f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, eax
je 0x41b604
mov dword [edi], 0
test esi, esi
je 0x41b759
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x13c4], 0
je 0x41b759
test ebx, ebx
jl 0x41b759
cmp byte [esi + 0x1390], 0
jne 0x41b64b
test edi, edi
je 0x41b63b
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push eax
call fcn.0043ce1b
add esp, 4
test eax, eax
je 0x41b674
test edi, edi
je 0x41b664
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 8
test ebx, ebx
jne 0x41b692
test edi, edi
je 0x41b682
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x1398], ebx
lea eax, [esi + 0x1394]
lea ebx, [esi + 4]
xor edx, edx
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.0041a550
cmp eax, 1
jne 0x41b72a
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41b6fb
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.0043c1bb
add esp, 0x10
cmp edi, eax
jne 0x41b73c
mov eax, dword [esi]
push eax
call fcn.0043ce1b
add esp, 4
test eax, eax
jne 0x41b73c
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41b678
mov dword [esi + 0x13a8], 0x1388
xor edx, edx
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a4], ebx
call fcn.0041a550
cmp eax, 1
je 0x41b6c2
test edi, edi
je 0x41b730
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b749
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 8
test edi, edi
je 0x41b763
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41b771
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41b790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
test edi, edi
jne 0x41b7a8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b8ec
mov dword [eax], edi
pop ebp
ret 4
cmp byte [edi + 0x1390], 0
jne 0x41b7cc
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b7be
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop ebp
ret 4
mov eax, dword [edi]
push eax
call fcn.0043ce1b
add esp, 4
test eax, eax
je 0x41b7f6
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b7e8
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop ebp
ret 4
cmp dword [edi + 0x13c4], 0
push ebx
push esi
jne 0x41b867
lea eax, [edi + 4]
mov dword [edi + 0x13a4], eax
mov esi, 0x1388
mov edx, 2
lea eax, [edi + 0x1394]
mov dword [edi + 0x13a8], esi
call fcn.0041a550
mov ebx, eax
cmp ebx, 3
je 0x41b831
cmp ebx, 4
jne 0x41b8aa
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41b862
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.0043c1bb
add esp, 0x10
cmp esi, eax
jne 0x41b88d
mov edx, dword [edi]
push edx
call fcn.0043ce1b
add esp, 4
test eax, eax
jne 0x41b88d
cmp ebx, 4
jne 0x41b801
mov eax, dword [edi]
push eax
call fcn.0043ce1b
add esp, 4
test eax, eax
jne 0x41b8bf
mov ecx, dword [edi]
push ecx
call fcn.0043bd67
mov edx, dword [edi]
push edx
call fcn.0043ce1b
add esp, 8
test eax, eax
je 0x41b8bf
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b89a
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b8b3
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b8cc
mov dword [eax], 0
lea esi, [edi + 0x1394]
mov dword [edi + 0x13c4], 0
call fcn.0041a630
push edi
call fcn.00439b8f
add esp, 4
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41ba40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, edx
je 0x41ba4f
mov dword [ebx], edx
cmp edi, edx
je 0x41bc1d
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41bc1d
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
jl 0x41bc1d
cmp byte [edi + 0x1390], dl
je 0x41ba93
cmp ebx, edx
je 0x41ba82
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
xor eax, eax
pop ebx
pop ebp
ret 8
cmp ecx, edx
jne 0x41baaa
cmp ebx, edx
je 0x41ba9d
mov dword [ebx], edx
mov dword [edi + 0x13c4], edx
xor eax, eax
pop ebx
pop ebp
ret 8
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ecx
call fcn.0043ce1b
add esp, 4
test eax, eax
jne 0x41bb71
lea ebx, [ebx]
cmp dword [edi + 0x1398], 0
jne 0x41bb21
mov esi, dword [edi]
call fcn.0041b4e0
test al, al
jne 0x41bb21
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.0043cc82
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.0043ce1b
add esp, 0x14
test eax, eax
jne 0x41bbb1
mov dword [edi + 0x138c], ebx
mov dword [edi + 0x1398], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
call fcn.0041b300
test eax, eax
jne 0x41bb8d
mov esi, dword [edi]
call fcn.0041b4e0
test al, al
je 0x41bb51
cmp dword [edi + 0x1398], 0
jne 0x41bb51
cmp dword [edi + 0x13a8], 0
ja 0x41bbe4
cmp dword [edi + 0x13a8], 0
je 0x41bc00
mov eax, dword [edi]
push eax
call fcn.0043ce1b
add esp, 4
test eax, eax
je 0x41bad0
test ebx, ebx
je 0x41bb7b
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
xor eax, eax
pop ebx
pop ebp
ret 8
cmp eax, 4
jne 0x41bbd0
test ebx, ebx
je 0x41bb98
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41bb7b
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41bbd6
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41bbee
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41bc0a
mov dword [ebx], 0
mov eax, dword [ebp + 0xc]
pop esi
mov dword [edi + 0x13c4], 0
pop ebx
pop ebp
ret 8
cmp ebx, edx
je 0x41bc27
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41bc35
mov dword [edi + 0x13c4], 0xfffffffe
xor eax, eax
pop ebx
pop ebp
ret 8