joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a310
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c610
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
mov dword [ebp - 4], edi
cmp dword [eax + 0x10], 2
jb 0x44a3ea
push 2
push edi
push eax
lea esi, [ebp - 0x4c]
call fcn.0040a121
mov esi, eax
lea edx, [ebp - 0x30]
cmp edx, esi
je 0x44a3cf
cmp dword [ebp - 0x1c], 8
jb 0x44a389
mov eax, dword [ebp - 0x30]
push eax
call fcn.0048a131
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
cmp dword [esi + 0x14], 8
jae 0x44a3b6
mov edx, dword [esi + 0x10]
lea eax, [edx + edx + 2]
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0048a400
add esp, 0xc
jmp 0x44a3bd
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
cmp dword [ebp - 0x38], 8
jb 0x44a3e1
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0048a131
add esp, 4
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x44a3ed
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
jb 0x44a418
mov edx, dword [ebp - 0x30]
push edx
call fcn.0048a131
add esp, 4
mov edx, edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x44a440
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b5b2
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2a0]
push eax
xor ebx, ebx
push 0x202
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2a8], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xfe
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov byte [ebp - 0x110], bl
call fcn.0048b3f0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0xc
mov byte [esi], bl
push 0xff
lea edx, [ebp - 0x110]
mov dword [ebp - 4], ebx
push edx
mov dword [ebp - 0x2a8], 1
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp edi, ebx
je 0x44a52b
mov eax, dword [edi + 0xc]
cmp dword [eax], ebx
je 0x44a52b
movsx ecx, word [edi + 0xa]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0048a400
mov ecx, dword [ebp - 0x2a4]
add esp, 0xc
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
push edi
call fcn.0048b5e0
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.0040cc8a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x44bae0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x44bb02
mov eax, dword [esi]
jmp 0x44bb04
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bbab
push edi
xor eax, eax
push 0xffffffffffffffff
mov word [ebp - 0x20], ax
push eax
mov eax, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
call fcn.00401a8e
mov edi, dword [ebp + 8]
inc edi
xor esi, esi
test edi, edi
jle 0x44bb72
lea ebx, [esi + 1]
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x44bb4e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44bb6d
cmp dword [ebp + 8], eax
je 0x44bb65
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
add ebx, 0x64
cmp esi, edi
jl 0x44bb42
mov ebx, 8
cmp esi, edi
pop edi
jne 0x44bb9a
cmp dword [ebp - 0xc], ebx
jb 0x44bb88
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048a131
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc], ebx
jb 0x44bbab
mov edx, dword [ebp - 0x20]
push edx
call fcn.0048a131
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00489dc1
mov esp, ebp
pop ebp
ret

Function at 0x44bbc0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, 8
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x14], edi
jb 0x44bbe8
mov eax, dword [esi]
jmp 0x44bbea
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bc89
push ebx
xor ecx, ecx
push 0xffffffffffffffff
mov word [ebp - 0x20], cx
push ecx
mov eax, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
call fcn.00401a8e
mov ebx, dword [ebp + 0xc]
inc ebx
xor esi, esi
test ebx, ebx
jle 0x44bc73
mov dword [ebp - 0x24], 1
jmp 0x44bc35
mov edi, 8
cmp dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x20]
jae 0x44bc40
lea edi, [ebp - 0x20]
mov eax, dword [ebp - 0x28]
push 1
call fcn.004016fc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44bc6e
cmp dword [ebp + 0xc], eax
je 0x44bc65
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 0x24], 0x64
inc esi
cmp esi, ebx
jl 0x44bc30
mov edi, 8
cmp esi, ebx
pop ebx
jne 0x44bc9b
cmp dword [ebp - 0xc], edi
jb 0x44bc89
mov eax, dword [ebp - 0x20]
push eax
call fcn.0048a131
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc], edi
jb 0x44bcac
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048a131
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x44cd50
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x44cd5b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44cd9e
cmp dword [esi + 0x14], 8
jb 0x44cd6e
mov esi, dword [esi]
push 0x608718
push esi
call fcn.0048b833
mov esi, eax
add esp, 8
test esi, esi
je 0x44cd9e
push esi
push 1
push 2
push 0x5fefc0
call fcn.0048b9a1
push esi
call fcn.0048ba88
add esp, 0x14
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x44cdb0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x44cdbb
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44cdca
xor al, al
pop esi
ret
cmp dword [esi + 0x14], 8
jb 0x44cdd4
mov eax, dword [esi]
jmp 0x44cdd6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x44cde8
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
pop esi
ret

Function at 0x44d060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c450
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edi, edi
push 0xffffffffffffffff
mov word [ebp - 0x2c], cx
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00401a8e
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 2
jb 0x44d139
push 2
push edi
lea edx, [ebp - 0x2c]
push edx
lea esi, [ebp - 0x48]
call fcn.0040a121
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x44d127
cmp dword [ebp - 0x18], 8
jb 0x44d0e1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048a131
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [esi + 0x14], 8
jae 0x44d10e
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.0048a400
add esp, 0xc
jmp 0x44d115
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], edi
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x18], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
cmp dword [ebp - 0x34], 8
jb 0x44d139
mov eax, dword [ebp - 0x48]
push eax
call fcn.0048a131
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x44d145
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d166
cmp dword [ebp - 0x18], 8
jb 0x44d162
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048a131
add esp, 4
mov al, 1
jmp 0x44d17a
cmp dword [ebp - 0x18], 8
jb 0x44d178
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048a131
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x44d1a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed68
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61e810]
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 eax, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
push 0xffffffffffffffff
mov word [ebp - 0x2c], cx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00401a8e
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + 8]
cmp eax, ebx
je 0x44d33a
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x44d207
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d21e
shr eax, 4
and al, 1
jne 0x44d2af
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x48]
call fcn.0044c4f0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x44d28b
cmp dword [ebp - 0x18], edi
jb 0x44d247
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048a131
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [esi + 0x14], edi
jae 0x44d272
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.0048a400
add esp, 0xc
jmp 0x44d279
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x44d29f
mov edx, dword [ebp - 0x48]
push edx
call fcn.0048a131
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x44d1fc
jmp 0x44d33a
push ebx
call fcn.0048a761
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x44d2c3
lea ecx, [ebp - 0x2c]
push edx
push eax
push ecx
lea eax, [ebp - 0x48]
push str._szmtest__d.dyzm
push eax
call fcn.004466c0
add esp, 0x14
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044ba30
test al, al
je 0x44d329
push ebx
lea ecx, [ebp - 0x48]
call fcn.0044bae0
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x44d304
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048a131
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x44d325
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048a131
add esp, 4
mov al, 1
jmp 0x44d34d
cmp dword [ebp - 0x34], edi
jb 0x44d33a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048a131
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x44d34b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048a131
add esp, 4
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.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x44ddb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edx
cmp eax, 8
jl 0x44dff3
push ebx
shr eax, 3
push esi
mov dword [ebp - 8], eax
push edi
jmp 0x44ddd0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [str.ZmLogKey66284156]
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx - 0x61c88647]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
xor esi, edi
lea edi, [eax - 0x61c88647]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx + 0x3c6ef372]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
xor esi, edi
lea edi, [eax + 0x3c6ef372]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx - 0x255992d5]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
xor esi, edi
lea edi, [eax - 0x255992d5]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx + 0x78dde6e4]
xor esi, edi
add eax, esi
mov esi, eax
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
shr esi, 5
add esi, dword [0x608750]
xor esi, edi
lea edi, [eax + 0x78dde6e4]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx + 0x1715609d]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
xor esi, edi
lea edi, [eax + 0x1715609d]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx - 0x4ab325aa]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, dword [0x60874c]
xor esi, edi
lea edi, [eax - 0x4ab325aa]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x608748]
mov esi, ecx
shl esi, 4
add esi, edx
xor esi, edi
lea edi, [ecx + 0x5384540f]
xor esi, edi
add eax, esi
mov esi, dword [0x60874c]
mov edi, eax
shr edi, 5
add edi, dword [0x608750]
mov ebx, eax
shl ebx, 4
add ebx, esi
xor edi, ebx
lea ebx, [eax + 0x5384540f]
xor edi, ebx
add ecx, edi
mov edi, ecx
shl edi, 4
add edi, edx
mov edx, ecx
shr edx, 5
add edx, dword [0x608748]
xor edi, edx
lea edx, [ecx - 0xe443238]
xor edi, edx
add eax, edi
mov edx, eax
shr edx, 5
add edx, dword [0x608750]
mov edi, eax
shl edi, 4
add edi, esi
xor edx, edi
lea esi, [eax - 0xe443238]
xor edx, esi
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
dec dword [ebp - 8]
mov dword [ebp - 4], edx
jne 0x44ddd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
call edx
test al, al
je 0x44e0aa
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
add eax, eax
cmp dword [esi + 0x14], 8
mov dword [ebp + 8], eax
jb 0x44e075
mov esi, dword [esi]
mov edx, esi
call fcn.0044ddb0
mov eax, dword [edi + 0x24]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.0048b9a1
mov edx, dword [edi + 0x24]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push esi
call fcn.0048b9a1
mov ecx, dword [edi + 0x24]
push ecx
call fcn.0048cde5
add esp, 0x24
pop esi
pop edi
pop ebp
ret 4
Function at 0x451780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a6a3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x61e810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x608a0c
mov edx, dword [ecx]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.0040ca50
mov eax, dword [ebp + 0x18]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.0040ca50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45c850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59e4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.00460c70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xf8], eax
mov eax, edi
cdq
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea ecx, [esi + 0xd0]
mov edx, 0x609308
mov dword [esp + 0x38], 0
call fcn.00455b40
mov edx, str.code
mov ecx, eax
call fcn.00455b40
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456960
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esp + 0x14], eax
call fcn.00456430
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00456430
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45db10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov byte [esi + 0x6c], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.0045d940
call fcn.0045da20
mov eax, esi
pop esi
pop ecx
pop ebp
ret 8
Function at 0x45db60
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov ebx, edx
push ebx
push 0x400
mov dword [esi], eax
mov byte [esi + 0x6c], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x408]
push 1
push eax
mov dword [ebp - 0x414], ebx
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.0048e196
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45dc7f
mov eax, dword [esi]
test eax, eax
je 0x45dbe6
mov ecx, dword [eax]
test ecx, ecx
jne 0x45dc7f
lea edx, [ebp - 0x408]
push edx
mov eax, edi
mov ecx, esi
call fcn.0045d940
mov eax, 0x40845a
test eax, eax
je 0x45dc58
mov eax, edi
mov edi, dword [0x63248c]
cdq
add dword [ebp - 0x410], eax
adc dword [ebp - 0x40c], edx
test edi, edi
jl 0x45dc58
mov ebx, dword [0x632488]
jg 0x45dc24
test ebx, ebx
je 0x45dc58
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x410]
push 0
push 0x64
push ecx
push edx
call fcn.0049e740
push edi
push ebx
push edx
push eax
call fcn.00495de0
mov dword [0x632490], eax
cmp eax, 0x64
jle 0x45dc58
mov dword [0x632490], 0x64
mov ebx, dword [ebp - 0x414]
push ebx
push 0x400
lea eax, [ebp - 0x408]
push 1
push eax
call fcn.0048e196
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x45dbd6
push ebx
call fcn.0048ba88
add esp, 4
call fcn.0045da20
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x45eea0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a7c
mov eax, dword fs:[0]
push eax
mov eax, dword [0x61e810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 4], 0
je 0x45efda
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x45efaf
mov eax, dword [esi + 4]
test eax, eax
je 0x45efaf
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45efaf
test byte [0x63221c], 1
jne 0x45ef2c
or dword [0x63221c], 1
mov dword [ebp - 4], 0
call fcn.00403203
push 0x5ac41a
call fcn.0048ae63
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov edx, dword [0x632220]
push eax
mov eax, dword [edx + 8]
push str.CSimpleThread::DestroyThread
push str.threadSimpleThread.cpp
push 0x26
push 2
push 0x632220
call eax
add esp, 0x18
test byte [0x6321f0], 1
jne 0x45ef81
mov eax, 1
or dword [0x6321f0], eax
mov dword [ebp - 4], eax
call fcn.004032de
push 0x5ac42e
call fcn.0048ae63
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 8]
mov edx, dword [0x6321f4]
mov eax, dword [edx + 4]
push ecx
push str.CSimpleThread::DestroyThread
push 2
push 0x6321f4
call eax
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
je 0x45efaf
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x45f090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45f0ca
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45f0bd
cmp dword [ebp - 4], 0x103
je 0x45f107
mov edx, dword [esi + 4]
push edx
call edi
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
push eax
mov byte [esi + 0xc], 0
call edi
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x45eff0
push 0
push 0
mov dword [esi + 4], 0
mov dword [eax], 0
call fcn.0048b52f
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret