joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44af30
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x621810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x44af52
mov eax, dword [esi]
jmp 0x44af54
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44affb
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.00401b81
mov edi, dword [ebp + 8]
inc edi
xor esi, esi
test edi, edi
jle 0x44afc2
lea ebx, [esi + 1]
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x44af9e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44afbd
cmp dword [ebp + 8], eax
je 0x44afb5
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
add ebx, 0x64
cmp esi, edi
jl 0x44af92
mov ebx, 8
cmp esi, edi
pop edi
jne 0x44afea
cmp dword [ebp - 0xc], ebx
jb 0x44afd8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048bcc1
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b951
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc], ebx
jb 0x44affb
mov edx, dword [ebp - 0x20]
push edx
call fcn.0048bcc1
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0048b951
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x621810]
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 0x44b038
mov eax, dword [esi]
jmp 0x44b03a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b0d9
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.00401b81
mov ebx, dword [ebp + 0xc]
inc ebx
xor esi, esi
test ebx, ebx
jle 0x44b0c3
mov dword [ebp - 0x24], 1
jmp 0x44b085
mov edi, 8
cmp dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x20]
jae 0x44b090
lea edi, [ebp - 0x20]
mov eax, dword [ebp - 0x28]
push 1
call fcn.004017ef
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44b0be
cmp dword [ebp + 0xc], eax
je 0x44b0b5
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 0x44b080
mov edi, 8
cmp esi, ebx
pop ebx
jne 0x44b0eb
cmp dword [ebp - 0xc], edi
jb 0x44b0d9
mov eax, dword [ebp - 0x20]
push eax
call fcn.0048bcc1
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b951
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc], edi
jb 0x44b0fc
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048bcc1
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0048b951
mov esp, ebp
pop ebp
ret
Function at 0x44c3d0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x44c3db
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44c41e
cmp dword [esi + 0x14], 8
jb 0x44c3ee
mov esi, dword [esi]
push 0x60a670
push esi
call fcn.0048d3b4
mov esi, eax
add esp, 8
test esi, esi
je 0x44c41e
push esi
push 1
push 2
push 0x600ed8
call fcn.0048d522
push esi
call fcn.0048d609
add esp, 0x14
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

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

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x44c43b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44c44a
xor al, al
pop esi
ret
cmp dword [esi + 0x14], 8
jb 0x44c454
mov eax, dword [esi]
jmp 0x44c456
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x44c468
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
pop esi
ret
Function at 0x44c6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e380
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x621810]
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.00401b81
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 2
jb 0x44c7c2
push 2
push edi
lea edx, [ebp - 0x2c]
push edx
lea esi, [ebp - 0x48]
call fcn.00409135
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x44c7b0
cmp dword [ebp - 0x18], 8
jb 0x44c761
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048bcc1
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 0x44c78e
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.0048bf90
add esp, 0xc
jmp 0x44c795
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
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [ebp - 0x34], 8
jb 0x44c7c2
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048bcc1
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x44c7ce
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44c7ef
cmp dword [ebp - 0x18], 8
jb 0x44c7eb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048bcc1
add esp, 4
mov al, 1
jmp 0x44c803
cmp dword [ebp - 0x18], 8
jb 0x44c801
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048bcc1
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.0048b951
mov esp, ebp
pop ebp
ret
Function at 0x44c820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
push 0xffffffffffffffff
mov word [esp + 0x1c], cx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401b81
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x28]
lea edi, [ebx + 8]
cmp eax, ebx
je 0x44c9f8
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x44c89c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44c8b3
shr eax, 4
and al, 1
jne 0x44c95d
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.0044b9b0
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
cmp eax, esi
je 0x44c935
cmp dword [esp + 0x2c], edi
jb 0x44c8e1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esi + 0x14], edi
jae 0x44c910
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0048bf90
add esp, 0xc
jmp 0x44c918
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x2c], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x48], edi
jb 0x44c94c
mov eax, dword [esp + 0x34]
push eax
call fcn.0048bcc1
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x44c88e
jmp 0x44c9f8
push ebx
call fcn.0048c2f1
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x2c], edi
jae 0x44c974
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
lea ecx, [esp + 0x40]
push str._szmtest__d.dyzm
push ecx
call fcn.00445760
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 1
call fcn.0044ae80
test al, al
je 0x44c9e5
push ebx
lea ecx, [esp + 0x38]
call fcn.0044af30
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x44c9bb
mov edx, dword [esp + 0x34]
push edx
call fcn.0048bcc1
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
cmp dword [esp + 0x2c], edi
jb 0x44c9e1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048bcc1
add esp, 4
mov al, 1
jmp 0x44ca0d
cmp dword [esp + 0x48], edi
jb 0x44c9f8
mov edx, dword [esp + 0x34]
push edx
call fcn.0048bcc1
add esp, 4
cmp dword [esp + 0x2c], edi
jb 0x44ca0b
mov eax, dword [esp + 0x18]
push eax
call fcn.0048bcc1
add esp, 4
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret
Function at 0x44d450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edx
cmp eax, 8
jl 0x44d693
push ebx
shr eax, 3
push esi
mov dword [ebp - 8], eax
push edi
jmp 0x44d470
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [str.ZmLogKey66284156]
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a8]
mov edi, eax
shl edi, 4
add edi, dword [0x60a6a4]
xor esi, edi
lea edi, [eax - 0x61c88647]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a8]
mov edi, eax
shl edi, 4
add edi, dword [0x60a6a4]
xor esi, edi
lea edi, [eax + 0x3c6ef372]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a8]
mov edi, eax
shl edi, 4
add edi, dword [0x60a6a4]
xor esi, edi
lea edi, [eax - 0x255992d5]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a4]
shr esi, 5
add esi, dword [0x60a6a8]
xor esi, edi
lea edi, [eax + 0x78dde6e4]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a8]
mov edi, eax
shl edi, 4
add edi, dword [0x60a6a4]
xor esi, edi
lea edi, [eax + 0x1715609d]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a8]
mov edi, eax
shl edi, 4
add edi, dword [0x60a6a4]
xor esi, edi
lea edi, [eax - 0x4ab325aa]
xor esi, edi
add ecx, esi
mov edi, ecx
shr edi, 5
add edi, dword [0x60a6a0]
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 [0x60a6a4]
mov edi, eax
shr edi, 5
add edi, dword [0x60a6a8]
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 [0x60a6a0]
xor edi, edx
lea edx, [ecx - 0xe443238]
xor edi, edx
add eax, edi
mov edx, eax
shr edx, 5
add edx, dword [0x60a6a8]
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 0x44d470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d6f0
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 0x44d74a
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 0x44d715
mov esi, dword [esi]
mov edx, esi
call fcn.0044d450
mov eax, dword [edi + 0x24]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.0048d522
mov edx, dword [edi + 0x24]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push esi
call fcn.0048d522
mov ecx, dword [edi + 0x24]
push ecx
call fcn.0048e966
add esp, 0x24
pop esi
pop edi
pop ebp
ret 4
Function at 0x450e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c003
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x621810]
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], 0x60a964
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.0040b82a
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.0040b82a
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 0x458870
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.004586a0
call fcn.00458780
mov eax, esi
pop esi
pop ecx
pop ebp
ret 8

Function at 0x4588c0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x621810]
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.0048fd17
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4589df
mov eax, dword [esi]
test eax, eax
je 0x458946
mov ecx, dword [eax]
test ecx, ecx
jne 0x4589df
lea edx, [ebp - 0x408]
push edx
mov eax, edi
mov ecx, esi
call fcn.004586a0
mov eax, 0x407489
test eax, eax
je 0x4589b8
mov eax, edi
mov edi, dword [0x63566c]
cdq
add dword [ebp - 0x410], eax
adc dword [ebp - 0x40c], edx
test edi, edi
jl 0x4589b8
mov ebx, dword [0x635668]
jg 0x458984
test ebx, ebx
je 0x4589b8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x410]
push 0
push 0x64
push ecx
push edx
call fcn.004a0460
push edi
push ebx
push edx
push eax
call fcn.00497b00
mov dword [0x635670], eax
cmp eax, 0x64
jle 0x4589b8
mov dword [0x635670], 0x64
mov ebx, dword [ebp - 0x414]
push ebx
push 0x400
lea eax, [ebp - 0x408]
push 1
push eax
call fcn.0048fd17
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x458936
push ebx
call fcn.0048d609
add esp, 4
call fcn.00458780
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048b951
mov esp, ebp
pop ebp
ret
Function at 0x45c4e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a03a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x621810]
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.00461aa0
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, 0x60b280
mov dword [esp + 0x38], 0
call fcn.00455200
mov edx, str.code
mov ecx, eax
call fcn.00455200
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456090
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.00455b60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00455b60
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 0x45d590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a83c
mov eax, dword fs:[0]
push eax
mov eax, dword [0x621810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 4], 0
je 0x45d6ca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x45d69f
mov eax, dword [esi + 4]
test eax, eax
je 0x45d69f
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45d69f
test byte [0x6353fc], 1
jne 0x45d61c
or dword [0x6353fc], 1
mov dword [ebp - 4], 0
call fcn.004032f6
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov edx, dword [0x635400]
push eax
mov eax, dword [edx + 8]
push 0x60b448
push str.threadSimpleThread.cpp
push 0x26
push 2
push 0x635400
call eax
add esp, 0x18
test byte [0x6353d0], 1
jne 0x45d671
mov eax, 1
or dword [0x6353d0], eax
mov dword [ebp - 4], eax
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 8]
mov edx, dword [0x6353d4]
mov eax, dword [edx + 4]
push ecx
push 0x60b448
push 2
push 0x6353d4
call eax
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
je 0x45d69f
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 0x45d780
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 0x45d7ba
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45d7ad
cmp dword [ebp - 4], 0x103
je 0x45d7f7
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 0x45d6e0
push 0
push 0
mov dword [esi + 4], 0
mov dword [eax], 0
call fcn.0048d0bf
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
Function at 0x45ef90
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a172c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x621810]
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]
mov dword [ebp - 0x238], eax
add eax, 0x24
push eax
lea edi, [ebp - 0x234]
call fcn.0044bab0
mov esi, 8
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x45efe5
mov eax, dword [eax]
lea edx, [ebp - 0x218]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45eff0
cmp dword [ebp - 0x220], esi
jb 0x45f016
mov eax, dword [ebp - 0x234]
push eax
call fcn.0048bcc1
add esp, 4
push str.Dyzm7z.dll
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x80
push 2
lea edx, [ebp - 0x248]
push edx
push 3
push 0xc0000000
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x248], 0xc
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45f078
xor eax, eax
jmp 0x45f1d7
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RESDLL
push 0x9b
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x45f0e9
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45f0e9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45f0e9
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [ebp - 0x23c]
push ecx
push eax
push esi
push edi
mov dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea edx, [ebp - 0x218]
push edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x45f1d5
mov eax, dword [ebp - 0x238]
push eax
call fcn.0045f200
lea ecx, [ebp - 0x218]
push ecx
call esi
mov ebx, eax
test ebx, ebx
jne 0x45f1d5
test byte [0x6353fc], 1
jne 0x45f14d
or dword [0x6353fc], 1
mov dword [ebp - 4], eax
call fcn.004032f6
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x635400]
call edi
push eax
mov eax, dword [esi + 8]
lea edx, [ebp - 0x218]
push edx
push str.7z.dll
push str.UnZip.cpp
push 0x40c
push 2
push 0x635400
call eax
add esp, 0x1c
test byte [0x6353d0], 1
jne 0x45f1b1
mov eax, 1
or dword [0x6353d0], eax
mov dword [ebp - 4], eax
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x6353d4]
call edi
mov edx, dword [esi + 4]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.7z.dll
push 2
push 0x6353d4
call edx
add esp, 0x14
mov eax, ebx
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.0048b951
mov esp, ebp
pop ebp
ret 4