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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49bfd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x44e819
inc eax
mov dword [esi + 0x10], eax
jmp 0x44e92c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44e82d
mov eax, 0xffffffc7
jmp 0x44e92e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44e83e
cmp dword [esi + 8], eax
jne 0x44e82d
cmp dword [esi + 8], eax
jne 0x44e857
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44e857
mov eax, 0xffffffc7
jmp 0x44e92e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44e86b
push eax
mov ecx, ebx
call fcn.0044e010
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041a880
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44e89c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041a8a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044d780
test eax, eax
mov dword [esp + 0x38], eax
je 0x44e8cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1808
call fcn.0041aa80
mov eax, dword [esp + 0x38]
jmp 0x44e92e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044e640
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44e913
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044e660
mov esi, eax
test esi, esi
jne 0x44e943
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044e640
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44e8e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1808
call fcn.0041aa80
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1808
call fcn.0041aa80
mov eax, esi
jmp 0x44e92e

Function at 0x453370
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4533d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4533d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4533d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4533d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x453410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x458900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c8c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00492bc3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00458260
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00492af1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048f2dd
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048f2dd
push 1
push 0
push 0
mov ecx, esi
call fcn.0048f285
push 1
push 0
push 1
mov ecx, esi
call fcn.0048f285
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00492c35
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x458a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00492bc3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00458260
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00492af1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x458b44
cmp dword [esp + 0x40], 1
jne 0x458b42
cmp ecx, eax
jge 0x458b44
mov eax, ecx
cmp eax, 0xc8
jge 0x458b50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00458900
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00492c35
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x459340
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c993
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048d6f9
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00492e6b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00494406
test eax, eax
je 0x45945c
mov ecx, dword [esp + 0x3c]
call fcn.00492e98
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x459420
push edi
mov ecx, esi
call fcn.00490458
mov ecx, esi
call fcn.00459610
cmp dword [esp + 0x38], 1
jne 0x459455
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004905c2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45b640
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45b673
push esi
call fcn.0045e7b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45b66c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45b6f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45b6e2
mov eax, dword [esi + 8]
test eax, eax
je 0x45b697
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45b6de
cmp eax, 2
je 0x45b6e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45b68a
cmp eax, 3
je 0x45b6bd
cmp eax, 1
jne 0x45b68a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45b68a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45b68a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045b720
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45b708
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045b720
add esp, 4
pop esi
ret

Function at 0x4693f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x469493
test eax, eax
jbe 0x469493
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x469493
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46943e
xor esi, esi
jmp 0x469444
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46946f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0041b270
add esi, eax
push esi
mov ebx, esi
call fcn.0041b270
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x469450
pop ebp
test edi, edi
pop edi
jne 0x469493
test ebx, ebx
je 0x469493
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047bde0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4695d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4696ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4696ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048db4b
mov esi, eax
test esi, esi
je 0x4696ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4696ed
mov ecx, esi
call fcn.00469540
cmp edi, eax
jge 0x4696ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x469673
mov dword [esp + 0x34], 1
jmp 0x4696ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4696ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00468af0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48e4ee
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48e526
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048c57b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048c553
jmp 0x48e532
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48fbe1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48fc23
call fcn.0049590d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48fc23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48fc1a
xor eax, eax
jmp 0x48fc2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048fc31
pop edi
pop esi
pop ebx
ret 4
Function at 0x495e3d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x495e6b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x495e89
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00495da3
jmp 0x495e89
mov eax, dword [esi + 0x14]
test eax, eax
je 0x495e89
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00495da3
test edi, edi
mov eax, edi
jne 0x495e73
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40a670
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp], edi
call fcn.0043c990
test al, al
jne 0x40a698
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov eax, dword [0x6b9338]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.align_log_al
mov dword [esp + 4], str._s__d_:_line__zu__cpd.al_cnt_is__zu_n
mov dword [esp], edi
call fcn.0043ce70
mov eax, dword [0x6b9338]
test eax, eax
je 0x40a71b
mov esi, 0x699f38
xor ebx, ebx
lea esi, [esi]
mov eax, dword [esi + 4]
add esi, 0x10
mov dword [esp], eax
call fcn.004c29e0
mov dword [esp + 0x18], eax
mov eax, dword [esi - 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi - 0x10]
mov dword [esp + 8], ebx
add ebx, 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.___cpd.al__2.1zu_.col_is__2.1zu__cpd.al__2.1zu_.len_is__zu__type_is__s_n
mov dword [esp], edi
call fcn.0043ce70
cmp ebx, dword [0x6b9338]
jb 0x40a6d8
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0x5eb0ec
add esp, 0x20
pop ebx
pop esi
pop edi
jmp fcn.0043ce70
Function at 0x418440
Capabilities:
Read file on windows

Disassembly:
push edi
mov eax, 0x14c0
push esi
push ebx
call fcn.004e20f0
sub esp, eax
mov edi, dword [esp + 0x14d0]
lea ecx, [esp + 0x60]
call fcn.0043de50
lea ecx, [esp + 0x60]
call fcn.0043de70
mov dword [esp + 4], 0x5ecb6c
mov dword [esp], edi
call sub.msvcrt.dll_fopen
test eax, eax
je 0x4185e2
mov esi, eax
lea ebx, [esp + 0x4c0]
jmp 0x4184a3
mov dword [esp + 4], eax
lea ecx, [esp + 0x60]
mov dword [esp], ebx
call fcn.0043e580
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fread
test eax, eax
jne 0x418490
mov dword [esp], esi
call sub.msvcrt.dll_fclose
lea eax, [esp + 0x50]
lea ecx, [esp + 0x60]
mov dword [esp], eax
call fcn.0043eed0
sub esp, 4
lea ebx, [esp + 0xc0]
mov dword [esp + 0x10], str..unc_backup.md5
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5ecb67
mov dword [esp + 4], 0x400
call dword [sym.imp.msvcrt.dll__snprintf]
mov dword [esp], ebx
mov dword [esp + 4], 0x5ecbc7
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x4185d8
mov dword [esp], edi
call fcn.004c11d0
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0x5f]
mov dword [esp + 0x44], eax
movzx eax, byte [esp + 0x5e]
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0x5d]
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x5c]
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0x5b]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x5a]
mov dword [esp + 0x30], eax
movzx eax, byte [esp + 0x59]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x58]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x57]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x56]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x55]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x54]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x53]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x52]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x51]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x___s_n
mov dword [esp], ebx
call fcn.00417ce0
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
add esp, 0x14c0
pop ebx
pop esi
pop edi
ret
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov esi, dword [eax]
call ebx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.backup_create_md5_file
mov dword [esp + 4], 0x5ecc18
mov dword [esp], 1
call fcn.0043ce70
mov dword [esp], 0x46
call sub.msvcrt.dll_exit
nop
nop
nop
nop
Function at 0x421de0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x421e25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
xor eax, eax
cmp edx, 0xcb
je 0x421e82
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x421e49
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp], eax
call esi
sub esp, 0xc
mov ebx, eax
mov byte [edi + ebx], 0
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 8], edi
mov ecx, ebp
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00583070
sub esp, 0x10
mov dword [esp], edi
call fcn.004f0de8
mov eax, 1
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43cae0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x69936c]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x43cb22
mov edx, dword [0x699370]
test cl, cl
jne 0x43cb30
mov ecx, dword [0x699360]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp], edx
call sub.msvcrt.dll_fwrite
mov dword [0x69936c], 0
add esp, 0x1c
ret
cmp byte [edx + eax - 1], 0xa
je 0x43cafa
lea ecx, [eax + 1]
mov dword [0x69936c], ecx
mov byte [edx + eax], 0xa
mov edx, dword [0x699370]
mov eax, dword [0x69936c]
mov byte [edx + eax], 0
mov eax, dword [0x69936c]
mov edx, dword [0x699370]
jmp 0x43cafa
Function at 0x43d210
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x43d239
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5f182b
mov dword [esp], ebx
call fcn.0043ce70
mov dword [esp + 4], str._DEBUG_NOT_SET_
mov dword [esp], ebx
call fcn.0043ce70
test esi, esi
je 0x43d270
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x5f182b
add esp, 0x14
pop ebx
pop esi
jmp fcn.0043ce70
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x43d850
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
cmp byte [ebx + 0xac], 0
mov esi, dword [esp + 0x6c]
jne 0x43d87d
cmp dword [ebx], 7
je 0x43d968
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.004c29e0
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.004c29e0
lea ecx, [esi + 0x74]
mov dword [esp + 0x38], eax
call fcn.004c4fa0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], str._s__zu_:_first_orig_line_is__zu__orig_col_is__zu__Text___is__s____s__s_____n
mov dword [esp], 0x42
call fcn.0043ce70
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.004c29e0
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004c29e0
lea ecx, [ebx + 0x74]
mov esi, eax
call fcn.004c4fa0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], str.___________second_orig_line_is__zu__orig_col_is__zu__Text___is__s____s__s__:
mov dword [esp + 8], eax
mov dword [esp], 0x42
call fcn.0043ce70
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], str._rule__s_line__zu__n
mov dword [esp + 0x60], 0x42
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0043ce70
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x43de70
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
ret
Function at 0x43f540
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x7c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x68], eax
xor eax, eax
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp], eax
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0043e580
sub esp, 8
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x10]
mov dword [esp], eax
call fcn.0043eed0
sub esp, 4
add esp, 0x7c
ret