joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426ae2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x426ab1
cmp eax, 2
jne 0x426acc
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x426adc
test eax, eax
je 0x426ad7
test al, 1
jne 0x426acc
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x426adc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4275f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x42764c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
shr eax, 2
test al, 1
je 0x427686
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x4276b9
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d3c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
cmp eax, esi
je 0x42d53c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call ebx
test eax, eax
je 0x42d53c
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x42d41a
lea esp, [esp]
cmp word [eax], 0
je 0x42d41a
push eax
call ebx
lea eax, [esi + eax + 1]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
lea eax, [edi + eax*2]
test eax, eax
jne 0x42d400
inc esi
mov dword [ebp - 8], esi
je 0x42d529
mov eax, dword [ebp + 8]
push eax
call ebx
add eax, esi
lea ecx, [eax + eax + 4]
push ecx
call fcn.00500236
xor ebx, ebx
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x42d529
mov dword [ebp - 4], ebx
mov esi, edi
cmp word [edi], bx
je 0x42d495
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test ebx, ebx
jne 0x42d486
push 5
push 0x53da80
push esi
call fcn.0050228a
add esp, 0xc
test eax, eax
jne 0x42d486
push 0x53da80
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esi + edi*2 + 2]
lea ebx, [esi + eax*2]
mov dword [ebp - 4], edx
cmp word [esi + edi*2 + 2], 0
lea esi, [esi + edi*2 + 2]
jne 0x42d450
mov edi, dword [ebp - 0xc]
cmp esi, dword [ebp - 4]
jne 0x42d4a1
mov dword [ebp - 4], 0
test ebx, ebx
je 0x42d529
mov eax, dword [ebp - 0xc]
mov edi, ebx
sub edi, eax
sar edi, 1
lea esi, [edi + edi]
push esi
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ff9a0
mov eax, dword [ebp + 8]
add esi, dword [ebp - 0x10]
add esp, 0xc
push eax
xor edx, edx
push esi
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x53da7c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea esi, [esi + eax*2 + 2]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 4], 0
lea edi, [eax + edi + 1]
je 0x42d521
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub eax, edi
lea ebx, [eax + eax]
push ebx
lea edx, [ecx + edi*2]
push edx
push esi
call fcn.004ff9a0
add esp, 0xc
add esi, ebx
mov edi, dword [ebp - 0xc]
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42ec50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, 0x56c260
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10b0]
push eax
push str._binsRuntime_
push ecx
lea edx, [ebp - 4]
push str._s_s_s
push edx
call fcn.00428a30
add esp, 0x14
push 0x556338
push 0x53d38c
lea ecx, [ebp - 4]
call fcn.00423850
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ed40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
push esi
mov esi, ecx
mov ecx, 0x56c260
mov dword [ebp - 4], 0
call edx
add eax, 0x10
push str.11Loader.exe.old
mov dword [ebp - 8], eax
add esi, 0x1064
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00428550
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.00423fc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eda5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 8]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
je 0x42edc0
mov esi, 1
jmp 0x42eec1
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
push str.USelfEx.dat
lea ecx, [ebp - 0x10]
add eax, 0x10
push esi
push ecx
mov dword [ebp - 0xc], eax
call fcn.00428550
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00423fc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ee10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
push str.11Loader.exe.new
lea ecx, [ebp - 0x14]
add eax, 0x10
push esi
push ecx
mov dword [ebp - 0x10], eax
call fcn.00428550
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00423fc0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ee60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
mov edi, dword [ebp - 0xc]
push edi
call ebx
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x42ee85
push esi
call ebx
test eax, eax
je 0x42ee85
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [ecx], 1
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42eea1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x42eebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebx
test edx, edx
jg 0x42eee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42f720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x53cbd0
mov ecx, edi
call fcn.0042ad10
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
mov ecx, 0x56c260
call edx
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x210], eax
mov eax, dword [esi + 0x10b0]
push eax
push str._binsRuntime_
push ecx
lea edx, [ebp - 0x210]
push str._s_s_s
push edx
call fcn.00428a30
add esp, 0x14
push 0x556338
push 0x53d38c
lea ecx, [ebp - 0x210]
call fcn.00423850
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00500080
mov esi, dword [ebp - 0x210]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f7e3
sub eax, edx
sar eax, 1
je 0x42f830
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.0042ad10
push eax
mov ecx, edi
call fcn.00423fc0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f830
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f84c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f86b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f88a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00500397
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43b520
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
test eax, eax
je 0x43b549
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
push str.UCore.dll
push eax
call fcn.004fe94a
add esp, 8
test eax, eax
je 0x43b598
push edi
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004284d0
mov edi, dword [ebp - 4]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43b598
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b5d1
mov esi, dword [esi + 0xc]
push 0
push 1
push ecx
sub esi, 0x10
mov edi, esp
push esi
call fcn.00403b50
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0045f340
lea ecx, [eax + 0x1100]
call fcn.00451730
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bc10
Capabilities:
Check http status code
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
mov dword [eax], 0xffffffff
cmp ebx, esi
je 0x43bd03
push edi
lea esp, [esp]
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
mov dword [ebp + 0xc], eax
test ecx, ecx
jle 0x43bd02
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
test esi, esi
jne 0x43bcbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x56c260]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
push edi
lea ecx, [ebp + 8]
add eax, 0x10
push str._n__C11WiniNet_ERROR__TryHttpSendRequest:__d
push ecx
mov dword [ebp + 8], eax
call fcn.00428a30
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bc40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43bc40
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x20000013
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, eax
test esi, esi
je 0x43bc40
mov eax, dword [ebp - 4]
cmp eax, 0xc8
je 0x43bd02
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
jmp 0x43bc40
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ce10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 0xc]
xor eax, eax
cmp ecx, 3
jne 0x43ce2d
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], eax
je 0x43ce37
mov eax, 4
push edi
lea edx, [ebp - 4]
push edx
push eax
push esi
push 0x43cdb0
push 0
mov dword [ebx], 1
push 0
mov dword [esi + 0x10], 0
call fcn.00503cdf
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
jne 0x43ce6e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], 0
je 0x43ce7f
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x43ce8a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.0043cc60
mov ecx, dword [ebp - 4]
mov dword [esi + 8], edi
pop edi
mov dword [esi + 4], ecx
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43ceb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, ecx
push 1
lea eax, [esi + 0x10]
push eax
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
test ecx, ecx
je 0x43ced4
push 4
push eax
call edi
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0043cce0
test eax, eax
jne 0x43ceee
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebp
ret 4

Function at 0x43cf00
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, ecx
push 1
lea eax, [esi + 0x10]
push eax
mov dword [esi], vtable.CEasyThread.0
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
test ecx, ecx
je 0x43cf27
push 4
push eax
call edi
push 0x1388
mov ecx, esi
call fcn.0043cce0
test eax, eax
jne 0x43cf42
mov edx, dword [esi + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
ret

Function at 0x43cf50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, ecx
push 1
lea eax, [esi + 0x10]
push eax
mov dword [esi], vtable.CEasyThread.0
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
test ecx, ecx
je 0x43cf7a
push 4
push eax
call edi
push 0x1388
mov ecx, esi
call fcn.0043cce0
test eax, eax
jne 0x43cf95
mov edx, dword [esi + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test byte [ebp + 8], 1
je 0x43cfa4
push esi
call fcn.004fe49e
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x444930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebx, ebx
jne 0x444950
mov ebx, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x4449c6
test edx, edx
jne 0x444989
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047c0b3
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebx
push edi
call fcn.004ff9a0
add esp, 0x10
mov edx, edi
mov ebx, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4449a2
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x444990
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], 0x544a58
call fcn.00448460
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebx
call fcn.005015a9
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x4449eb
push edi
call fcn.005001ec
add esp, 4
test bl, bl
je 0x444a23
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, dword [esi + 0x24]
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00448460
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.00444710
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x448900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00504494
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [ebp - 1], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x448a58
mov edx, dword [esi + 0x24]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov eax, esp
mov dword [eax], edx
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0xc], eax
call fcn.00448460
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 8], eax
add esp, 0x18
xor ebx, ebx
xor eax, eax
cmp ecx, 1
sete byte [ebp - 2]
cmp dword [ebp - 8], eax
je 0x448a0c
dec dword [ebp - 8]
xor edx, edx
cmp byte [ebp - 2], dl
je 0x448990
cmp byte [edi], dl
jmp 0x448993
cmp word [edi], dx
sete dl
test edx, edx
je 0x4489bd
test eax, eax
je 0x4489b6
cmp edi, eax
je 0x4489b6
imul ecx, ebx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.004ffd10
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebx
add edi, ecx
cmp dword [ebp - 8], 0
jne 0x448982
test eax, eax
je 0x4489e2
cmp edi, eax
je 0x4489e2
mov ecx, dword [esi + 0x18]
imul ecx, ebx
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.004ffd10
add esp, 0xc
test ebx, ebx
je 0x448a0c
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00448460
add esp, 0x18
sub dword [esi + 0x1c], ebx
cmp dword [esi + 0x18], 1
jle 0x448a4c
test byte [esi + 4], 0x80
je 0x448a4c
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0043f980
mov edx, dword [ebp - 0xc]
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], 0x544a58
call fcn.00448460
add esp, 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00444710
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44bc40
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push edi
xor eax, eax
push 0x40
push eax
lea edi, [esi + 0x5c]
push edi
mov dword [esi], vtable.fMD5Tool.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00500080
add esp, 0xc
mov byte [edi], 0x80
pop edi
mov eax, esi
pop esi
ret

Function at 0x44bd60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x14]
xor ecx, ecx
lea ecx, [ecx]
movzx edx, byte [eax]
mov byte [ebp + ecx - 0xc], dl
movzx edx, byte [eax + 1]
mov byte [ebp + ecx - 0xb], dl
movzx edx, byte [eax + 2]
mov byte [ebp + ecx - 0xa], dl
movzx edx, byte [eax + 3]
mov byte [ebp + ecx - 9], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x44bd80
mov ecx, dword [esi + 0x14]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x38
cmp ecx, 0x38
jb 0x44bdc2
mov eax, 0x78
sub eax, ecx
push eax
lea edi, [esi + 0x5c]
push edi
mov ecx, esi
call fcn.0044bc90
push 8
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.0044bc90
lea eax, [esi + 4]
lea ecx, [ebx + 1]
mov edx, 4
jmp 0x44bdf0
movzx ebx, byte [eax]
mov byte [ecx - 1], bl
movzx ebx, byte [eax + 1]
mov byte [ecx], bl
movzx ebx, byte [eax + 2]
mov byte [ecx + 1], bl
movzx ebx, byte [eax + 3]
mov byte [ecx + 2], bl
add eax, 4
add ecx, 4
dec edx
jne 0x44bdf0
push 0x9c
push edx
push esi
call fcn.00500080
push 0x40
push 0
push edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00500080
mov ecx, dword [ebp - 4]
add esp, 0x18
mov byte [edi], 0x80
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500397
mov esp, ebp
pop ebp
ret 4