joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x20c]
push edi
mov dword [ebp - 0x21c], ecx
mov edi, 0x200
xor ecx, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], edi
mov eax, dword [ebp - 0x218]
mov edx, eax
sub edx, ecx
cmp edx, edi
jae 0x41b8e3
lea ebx, [eax + eax]
mov eax, ebx
sub eax, ecx
cmp eax, edi
jae 0x41b836
lea ebx, [ecx + edi]
cmp ebx, ecx
jb 0x41b927
mov edx, ebx
sub edx, ecx
cmp edx, edi
jb 0x41b927
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x41b85c
push esi
call fcn.0040e7a0
add esp, 4
push ebx
mov eax, esi
call fcn.0040a990
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 4], 0x7ff7a547
add dword [esi + 8], 8
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x21c]
add esp, 4
push ecx
add eax, 0x18
push edx
push eax
mov dword [ebp - 0x224], eax
call fcn.004ca090
lea eax, [ebp - 0x20c]
add esp, 0xc
cmp dword [ebp - 0x21c], eax
je 0x41b8cb
mov ecx, dword [esi + 8]
lea eax, [ecx - 8]
cmp eax, ecx
jae 0x41b8c7
lea ecx, [eax - 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
add eax, 8
add ecx, 8
cmp eax, dword [esi + 8]
jb 0x41b8b2
add dword [esi + 8], 0xfffffff8
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
mov eax, dword [ebp - 0x220]
add ecx, dword [ebp - 0x21c]
push eax
push edi
push 1
push ecx
call fcn.004d2bc4
mov ecx, dword [ebp - 0x214]
add ecx, eax
add esp, 0x10
mov dword [ebp - 0x214], ecx
cmp eax, edi
jb 0x41b932
mov esi, dword [ebp - 0x210]
cmp edi, 0x3fffffff
ja 0x41b816
add edi, edi
jmp 0x41b816
push str.buffer_too_large
push esi
call fcn.004040e0
lea edi, [ebp - 0x21c]
call fcn.00404730
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cab85
mov esp, ebp
pop ebp
ret

Function at 0x41b950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [ebp - 0x20c]
push edi
mov dword [ebp - 0x21c], ecx
mov ecx, esi
lea edi, [ebp - 0x21c]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0x200
call fcn.00404690
push ebx
push esi
push 1
push eax
call fcn.004d2bc4
mov esi, eax
add dword [ebp - 0x214], esi
add esp, 0x10
call fcn.00404730
mov ecx, dword [ebp - 8]
xor edx, edx
cmp edx, esi
sbb eax, eax
pop edi
xor ecx, ebp
neg eax
pop esi
call fcn.004cab85
mov esp, ebp
pop ebp
ret
Function at 0x41bf00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, eax
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
sub eax, dword [ecx]
push edi
sub eax, 8
sar eax, 3
sub eax, ebx
mov edi, 1
je 0x41c017
jmp 0x41bf34
mov eax, dword [esp + 0x28]
dec eax
mov ecx, ebx
mov edx, esi
mov dword [esp + 0x28], eax
call fcn.00401400
cmp eax, 3
jne 0x41c027
test edi, edi
je 0x41c005
mov ecx, dword [esi + 0x10]
test ebx, ebx
jle 0x41bf66
mov edx, dword [ecx]
lea eax, [edx + ebx*8]
cmp eax, dword [esi + 8]
jae 0x41bfa0
jmp 0x41bfa5
cmp ebx, 0xfff0b9d8
jle 0x41bf76
mov eax, dword [esi + 8]
lea eax, [eax + ebx*8]
jmp 0x41bfa5
jne 0x41bf80
mov eax, dword [esi + 0xc]
add eax, 0x28
jmp 0x41bfa5
mov ecx, dword [ecx]
mov eax, 0xfff0b9d8
sub eax, ebx
cmp dword [ecx + 4], 0x7ff7a516
je 0x41bfa0
mov ecx, dword [ecx]
movzx edx, byte [ecx + 6]
cmp eax, edx
lea eax, [ecx + eax*8 + 8]
jle 0x41bfa5
mov eax, 0x50a560
mov ecx, dword [eax + 4]
mov edx, ecx
and edx, 0x7fffff00
cmp edx, 0x7ff7a500
jne 0x41bfe8
or ecx, 0x70
cmp ecx, 0x7ff7a574
jne 0x41c023
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
push ecx
add eax, 0x10
lea edi, [esp + 0x34]
call fcn.0040c070
add esp, 4
test eax, eax
je 0x41c023
fld qword [esp + 0x30]
lea eax, [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [eax]
mov edx, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str._.14g
push edx
call fcn.004d2dda
add esp, 0x10
test eax, eax
jg 0x41c056
xor edi, edi
inc ebx
cmp dword [esp + 0x28], 0
jne 0x41bf30
test edi, edi
je 0x41c06b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fldz
jmp 0x41bfea
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
call fcn.00401b20
add esp, 0xc
test eax, eax
je 0x41c05d
test edi, edi
je 0x41c005
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
push ecx
push edi
push 1
push eax
call fcn.004cb4c7
add esp, 0x10
cmp eax, edi
jne 0x41c005
mov edi, 1
jmp 0x41c007
mov edx, dword [str.string]
push edx
mov edi, ebx
call fcn.00403fe0
call fcn.004cfb1b
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [ecx + 4], 0x7ff7a500
mov edi, 8
add dword [esi + 8], edi
push eax
mov dword [esp + 0x30], eax
call fcn.004d088f
add esp, 4
push eax
push esi
call fcn.00401eb0
fild dword [esp + 0x34]
mov edx, dword [esi + 8]
add esp, 8
fstp qword [edx]
add dword [esi + 8], edi
lea eax, [edi - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3648
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x530630]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x20
mov dword [eax], ebx
call fcn.004cabf3
add esp, 4
cmp eax, ebx
je 0x430680
mov ecx, dword [ebp + 8]
mov dword [eax], vtable.tLuaCOMEnumConnPoints.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
mov edi, eax
jmp 0x430682
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
lea esi, [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x20], edx
call fcn.00430f30
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00431350
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
push 0x50948c
push edi
mov dword [edi + 0x1c], ebx
call edx
lea ebx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00430b50
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 5]
push esi
cmp ecx, 4
ja case.0x432ed3.2
jmp dword [ecx*4 + 0x432f68]
mov ecx, dword [ebp + 8]
add ecx, 0xffffffc0
cmp eax, 0xfffffffc
sete al
movzx edx, al
push edx
call fcn.004335f0
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 8]
push eax
call edx
test byte [esi + 0x60], 4
je 0x432f32
mov eax, dword [esi + 0x54]
and byte [esi + 0x60], 0xfb
test eax, eax
je 0x432f32
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x432f32
mov eax, dword [esi + 0x54]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
test eax, eax
jle 0x432f5c
mov ecx, dword [ebp + 8]
add ecx, 0xffffffc0
push 0
call fcn.004335f0
test eax, eax
js 0x432f61
mov eax, 0x40180
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x43a390
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push str.TypeLib
push SysReAllocString
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocString
mov esi, eax
call edi
test esi, esi
je 0x43a3f7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cab85
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x43a3e5
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x43a3e5
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.004d30ca
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004cab85
mov esp, ebp
pop ebp
ret
Function at 0x43a490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.004cd0e0
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
mov esi, ecx
mov ebx, edx
mov byte [ebp - 0x2715], 0
call fcn.004d2780
add esp, 0xc
test esi, esi
je 0x43a517
push edi
lea edi, [ebp - 0x2714]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a4d8
mov cx, word [0x50bfdc]
mov eax, esi
mov word [edi], cx
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a4f0
lea edi, [ebp - 0x2714]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43a500
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0
lea edx, [ebp - 0x271c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x2714]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43a5b9
test ebx, ebx
je 0x43a573
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a550
mov ecx, dword [ebp - 0x271c]
sub eax, edx
inc eax
push eax
push ebx
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x43a594
mov edx, dword [ebp - 0x271c]
push edx
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cab85
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x271c]
mov bl, byte [ebp - 0x2715]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cab85
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2715]
pop esi
xor ecx, ebp
pop ebx
call fcn.004cab85
mov esp, ebp
pop ebp
ret

Function at 0x43a5d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2714
call fcn.004cd0e0
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
call fcn.004d2780
add esp, 0xc
lea ecx, [ebp - 0x2714]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.004cab85
mov esp, ebp
pop ebp
ret
Function at 0x44b420
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x53378c], 0
jne 0x44b4e7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
push 0x53396c
mov dword [0x533794], 0xffffffff
mov dword [0x533798], 0x200000
mov dword [0x53379c], 7
call esi
test eax, eax
je 0x44b484
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0
call edi
push 0
push 1
push 0x53396c
call esi
test eax, eax
jne 0x44b470
pop edi
cmp dword [0x533788], 0
pop esi
jne 0x44b4ac
mov eax, dword [0x53379c]
mov dword [0x533788], 0x58585858
mov dword [0x533958], 0
mov dword [0x533954], eax
push 0
push 0x53396c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
lea edx, [eax - 1]
mov dword [0x53378c], ecx
mov dword [0x533790], eax
test eax, edx
jne 0x44b4e2
lea eax, [ecx - 1]
test ecx, eax
je 0x44b4e7
call fcn.004d19c5
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x44b4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov ecx, dword [0x533790]
push edi
lea edi, [ecx + eax + 0x1f]
dec ecx
not ecx
and edi, ecx
cmp edi, eax
jbe 0x44b577
push 0x40
push 0x103000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x44b577
cmp eax, 0xffffffff
je 0x44b577
mov edx, eax
and edx, 7
je 0x44b529
neg edx
and edx, 7
mov ecx, edi
sub ecx, edx
push esi
lea esi, [eax + edx]
or edx, 1
mov dword [esi], edx
lea edx, [ecx - 0x10]
or edx, 2
mov dword [esi + 4], edx
mov dword [esi + ecx - 0xc], 7
mov dword [esi + ecx - 8], 0
cmp eax, dword [ebx + 0x10]
jae 0x44b557
mov dword [ebx + 0x10], eax
add dword [ebx + 0x1ac], edi
mov eax, dword [ebx + 0x1ac]
cmp eax, dword [ebx + 0x1b0]
jbe 0x44b571
mov dword [ebx + 0x1b0], eax
lea eax, [esi + 8]
pop esi
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x44bc90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
call fcn.0044b420
test byte [esi + 0x1b4], 1
mov edi, dword [ebp + 8]
je 0x44bcc2
cmp edi, dword [0x533794]
jb 0x44bcc2
mov eax, edi
mov ebx, esi
call fcn.0044b4f0
test eax, eax
jne 0x44be5d
mov eax, dword [0x533790]
lea edi, [eax + edi + 0x29]
dec eax
not eax
and edi, eax
cmp edi, dword [ebp + 8]
jbe 0x44be5b
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x44be5b
cmp ebx, 0xffffffff
je 0x44be5b
add dword [esi + 0x1ac], edi
mov eax, dword [esi + 0x1ac]
cmp eax, dword [esi + 0x1b0]
jbe 0x44bd16
mov dword [esi + 0x1b0], eax
cmp dword [esi + 0x18], 0
jne 0x44bd97
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], edi
mov eax, dword [ebx + edi - 4]
lea ecx, [eax + ebx]
mov dword [esi + 0x1c8], eax
cmp dword [ecx + edi - 4], eax
je 0x44bd45
call fcn.004d19c5
jmp 0x44bd4d
mov dword [ebx + edi - 4], 0
mov edx, dword [0x533788]
mov dword [esi + 0x20], edx
lea eax, [esi + 0x24]
mov ecx, 0x20
mov edi, edi
mov dword [eax + 0xc], eax
mov dword [eax + 8], eax
add eax, 8
dec ecx
jne 0x44bd60
cmp esi, 0x5337a0
jne 0x44bd80
lea edx, [edi - 0x28]
mov ecx, ebx
call fcn.0044b580
jmp 0x44bddf
mov eax, dword [esi - 4]
and eax, 0xfffffffc
lea ecx, [eax + esi - 8]
sub ebx, ecx
lea edx, [ebx + edi - 0x28]
call fcn.0044b580
jmp 0x44bddf
lea eax, [esi + 0x1bc]
test eax, eax
je 0x44bdb1
mov ecx, dword [eax + 4]
add ecx, dword [eax]
cmp ebx, ecx
je 0x44be0b
mov eax, dword [eax + 8]
test eax, eax
jne 0x44bda1
cmp ebx, dword [esi + 0x10]
jae 0x44bdb9
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x1bc]
test ecx, ecx
je 0x44bdd1
lea eax, [ebx + edi]
cmp dword [ecx], eax
je 0x44be39
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x44bdc6
push 1
push edi
push ebx
mov eax, esi
call fcn.0044b990
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, eax
jae 0x44be5b
mov edx, dword [esi + 0x18]
sub eax, ecx
mov dword [esi + 0xc], eax
lea edi, [edx + ecx]
mov dword [esi + 0x18], edi
or eax, 1
mov dword [edi + 4], eax
pop edi
or ecx, 3
pop esi
mov dword [edx + 4], ecx
lea eax, [edx + 8]
pop ebx
pop ebp
ret
mov edx, dword [ebx + edi - 4]
cmp edx, dword [eax + 0xc]
jne 0x44bdb1
mov edx, dword [eax]
cmp dword [esi + 0x18], edx
jb 0x44bdb1
mov ecx, dword [eax + 4]
add edx, ecx
cmp dword [esi + 0x18], edx
jae 0x44bdb1
add ecx, edi
mov dword [eax + 4], ecx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
add edx, edi
call fcn.0044b580
jmp 0x44bddf
mov eax, dword [eax - 4]
cmp eax, dword [ecx + 0xc]
jne 0x44bdd1
mov eax, dword [ecx]
add dword [ecx + 4], edi
mov dword [ecx], ebx
mov ecx, dword [ebp + 8]
push esi
mov edx, ebx
call fcn.0044b5b0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44cf10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x144]
push eax
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x44cf52
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44cf52
push 1
call fcn.004cab1d
mov edi, 0x104
push edi
push 0
push dword [esi + 0x124]
call fcn.004ca820
add esp, 0xc
push 0
push dword [esi + 0x124]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cab85
leave
ret 4

Function at 0x44d0f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 0x120]
cmp eax, 0xffffffff
je 0x44d142
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call esi
push 0
lea eax, [ebp + 0xc]
push eax
push 2
push 0x4f574c
push dword [edi + 0x120]
call esi
push dword [edi + 0x120]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
pop edi
pop ebp
ret 8
Function at 0x458a35
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x458a71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cab85
leave
ret 0x10
push esi
lea ecx, [ebp - 0x58]
call fcn.0044dacf
xor edi, edi
inc edi
push edi
sub esp, 0x1c
lea eax, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.0044d9de
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x4f5e80
call fcn.0044dacf
lea eax, [ebp - 0x20]
push eax
call fcn.00463ad3
add esp, 0x40
cmp dword [ebp - 0x10], ebx
jne 0x458ac8
mov esi, str.ehis
push esi
call fcn.004ca000
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0044d934
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x458ad4
lea eax, [ebp - 0x20]
push eax
call fcn.00462dd6
pop ecx
test eax, eax
jne 0x458afa
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.0044d2a1
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.0044d2a1
mov eax, edi
jmp 0x458a60
push str.JLSoft
lea ecx, [ebp - 0x3c]
call fcn.0044dacf
mov esi, 0x50a7b0
push esi
call fcn.004ca000
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.0044da04
mov edi, 0x4f5ae0
push edi
mov ebx, eax
call fcn.004ca000
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.0044da04
push esi
call fcn.004ca000
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.0044da04
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0044d801
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x458b61
lea eax, [ebp - 0x3c]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458ba4
cmp edi, esi
je 0x458b87
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0044d2a1
push esi
push ebx
lea ecx, [ebp - 0x20]
call fcn.0044d2a1
push esi
push ebx
jmp 0x458aeb
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call fcn.0045850c
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp dword [ebp - 0xc], 0x10
jae 0x458bc7
lea eax, [ebp - 0x20]
push str.ShowForm
push eax
call fcn.004642b7
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
jmp 0x458b89
Function at 0x45c6c9
Capabilities:
Create thread

Disassembly:
cmp dword [ecx + 0x74], 0
jne 0x45c6df
push ecx
push 0
push 0x45c6bd
call fcn.004cbcb3
add esp, 0xc
ret

Function at 0x45ca2d
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x120], 0xffffffff
je 0x45ca3d
mov al, 1
pop esi
ret
lea eax, [esi + 0x1c]
test eax, eax
jne 0x45ca48
xor al, al
pop esi
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
mov ebx, 0x40000000
push ebx
push eax
call edi
mov dword [esi + 0x120], eax
cmp eax, 0xffffffff
jne 0x45ca96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45ca96
push 0
push 0x80
push 4
push 0
push 3
push ebx
lea eax, [esi + 0x1c]
push eax
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x120]
pop edi
pop ebx
cmp eax, 0xffffffff
je 0x45cab0
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
cmp dword [esi + 0x120], 0xffffffff
pop esi
setne al
ret

Function at 0x45eb6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x530630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 8
pop ecx
mov esi, str.SOFTWAREMicrosoft.NETFramework
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45ebe8
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x30], esi
push ebx
push ebx
push str.InstallRoot
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45ebdf
cmp esi, dword [ebp - 0x30]
sbb bl, bl
inc bl
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004cab85
leave
ret 8