joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43def0
Capabilities:
Copy file

Disassembly:
sub esp, 0x108
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [0x53c434], 0
je 0x43e018
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.004b6dc0
add esp, 0xc
push 0x53c058
push 0x5198ac
call fcn.00404690
add esp, 4
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004b79a8
lea edx, [esp + 0xc]
push 0
push edx
call fcn.004ba516
add esp, 0x14
cmp eax, 0xffffffff
je 0x43df89
push 0
push 0x53c058
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x43df89
push 0x519890
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp dword [0x53c42c], 0
je 0x43e000
push 0x519810
call fcn.00404690
mov ecx, dword [0x538668]
add esp, 4
push eax
push ecx
call fcn.0040fed0
test eax, eax
je 0x43dfdc
mov edx, dword [0x53c430]
mov ecx, dword [0x53c42c]
push edx
push ecx
call eax
test eax, eax
jne 0x43dfdc
push 0x519880
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov edx, dword [0x53c42c]
push edx
call fcn.004b8a69
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004b6da3
add esp, 0x108
ret
push 0x51986c
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004b6da3
add esp, 0x108
ret
Function at 0x43e310
Capabilities:
Resume thread

Disassembly:
sub esp, 0x24
mov ecx, dword [0x548d20]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 4], 1
cmp ecx, ebx
jne 0x43e351
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [0x548d34], ebx
je 0x43e34a
cmp dword [0x548d38], ebx
je 0x43e34a
push edi
mov edi, dword [esp + 0x30]
cmp edi, ebx
ja 0x43e372
pop edi
xor eax, eax
pop ebx
add esp, 0x24
ret
push esi
xor esi, esi
mov eax, dword [esi*4 + 0x53c438]
cmp eax, ebx
je 0x43e3da
cmp eax, edi
je 0x43e3da
mov eax, dword [esi*4 + 0x53c43c]
cmp eax, ebx
je 0x43e3ca
cmp eax, edi
je 0x43e3ca
mov eax, dword [esi*4 + 0x53c440]
cmp eax, ebx
je 0x43e3cd
cmp eax, edi
je 0x43e3cd
mov eax, dword [esi*4 + 0x53c444]
cmp eax, ebx
je 0x43e3d2
cmp eax, edi
je 0x43e3d2
mov eax, dword [esi*4 + 0x53c448]
cmp eax, ebx
je 0x43e3d7
cmp eax, edi
je 0x43e3d7
add esi, 5
cmp esi, 0x14
jl 0x43e375
jmp 0x43e3da
inc esi
jmp 0x43e3da
add esi, 2
jmp 0x43e3da
add esi, 3
jmp 0x43e3da
add esi, 4
cmp dword [esi*4 + 0x53c438], ebx
je 0x43e3e7
mov dword [esp + 0xc], ebx
cmp esi, 0x14
jne 0x43e3f5
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x24
ret
push ebp
push edi
push 4
call ecx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x43e40c
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x24
ret
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x20], 0x1c
call dword [0x548d34]
test eax, eax
je 0x43e488
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ebx, [ebx]
cmp dword [esp + 0x24], edi
jne 0x43e476
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [0x53c038]
call fcn.00408fe0
mov edi, eax
test edi, edi
je 0x43e472
push edi
call ebx
cmp dword [esp + 0x10], 0
jne 0x43e463
test eax, eax
je 0x43e46b
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x43e46b
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push ebp
call dword [0x548d38]
test eax, eax
jne 0x43e430
xor ebx, ebx
cmp dword [esp + 0x10], ebx
je 0x43e495
mov dword [esi*4 + 0x53c438], edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x24
ret
Function at 0x43fd60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4feb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x8dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0x8f4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x90c]
mov ebx, dword [esp + 0x904]
mov ebp, dword [esp + 0x910]
test edi, edi
jne 0x43fdbc
lea eax, [edi + 1]
jmp 0x43ffe1
mov esi, dword [0x53c93c]
test esi, esi
jne 0x43fe10
push 0x51a07c
call fcn.00404690
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x43fde8
lea eax, [esi + 2]
jmp 0x43ffe1
push 0x51a05c
call fcn.00404690
add esp, 4
push eax
push esi
call fcn.0040fed0
mov esi, eax
mov dword [0x53c93c], esi
test esi, esi
jne 0x43fe10
lea eax, [esi + 3]
jmp 0x43ffe1
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x6f2]
push ecx
mov word [esp + 0x6f4], ax
call fcn.004b6dc0
push 0x103
lea edx, [esp + 0x5f5]
push 0
push edx
mov byte [esp + 0x5fc], 0
call fcn.004b6dc0
add esp, 0x18
push 0
push 0x210
lea eax, [esp + 0x6f0]
push eax
push 0x1b
push ebx
call esi
test eax, eax
je 0x43fe6e
mov eax, 4
jmp 0x43ffe1
test ebp, ebp
je 0x43fea7
lea eax, [esp + 0x6f0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fe80
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x6f4]
push ecx
push ebp
call fcn.004bb375
push ebp
call fcn.0043fa00
add esp, 0x10
push 0
push 0
push 0x104
lea edx, [esp + 0x5f0]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x704]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x5e4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43fed6
sub eax, edx
mov esi, eax
push esi
lea ecx, [esp + 0x5e8]
push ecx
push edi
call fcn.004b8a4f
add esp, 0xc
cmp esi, 4
mov byte [edi + esi], 0
jle 0x43ff13
push edi
call fcn.0043f6f0
add esp, 4
test eax, eax
jne 0x43ff13
mov eax, 6
jmp 0x43ffe1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43ffdf
cmp dword [0x537d38], 0x1f53
je 0x43ffdf
xor esi, esi
cmp dword [0x537f30], esi
je 0x43ff57
lea edx, [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x1c], esi
call dword [0x5385f8]
cmp dword [esp + 0x14], esi
je 0x43ffdf
lea ecx, [esp + 0x18]
call fcn.00409050
mov eax, dword [esp + 0x908]
push eax
push ebx
mov dword [esp + 0x904], esi
call fcn.0043d7d0
mov esi, eax
add esp, 8
test esi, esi
je 0x43ffcb
push edi
push esi
push ebx
lea ecx, [esp + 0x24]
call fcn.00408d80
test ebp, ebp
je 0x43ffa3
push ebp
push esi
push ebx
lea ecx, [esp + 0x24]
call fcn.00408de0
push ebp
call fcn.0043fa00
add esp, 4
push edi
call fcn.0043f6f0
add esp, 4
test eax, eax
jne 0x43ffcb
lea ecx, [esp + 0x18]
mov dword [esp + 0x8fc], 0xffffffff
call fcn.004085c0
mov eax, 7
jmp 0x43ffe1
lea ecx, [esp + 0x18]
mov dword [esp + 0x8fc], 0xffffffff
call fcn.004085c0
xor eax, eax
mov ecx, dword [esp + 0x8f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8dc]
xor ecx, esp
call fcn.004b6da3
add esp, 0x8ec
ret
Function at 0x440d80
Capabilities:
Get common file path
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x4feb6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5378cc]
shr eax, 0x1e
and al, 1
push 0x5cc
mov byte [0x53c051], al
call fcn.004b7c73
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x440dd7
mov ecx, eax
call fcn.00409050
jmp 0x440dd9
xor eax, eax
push 0x104
push 0x53be28
mov dword [esp + 0x1c], 0xffffffff
mov dword [0x53c038], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
push 0x53bf30
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x51a2f4
call fcn.00404690
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 4
push eax
call esi
mov dword [0x53c264], eax
test eax, eax
je 0x440e45
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x440e45
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x440e45
mov edx, dword [ecx + 8]
mov dword [0x53c280], edx
push 0x51a2e0
call fcn.00404690
add esp, 4
push eax
call esi
mov dword [0x53c268], eax
test eax, eax
je 0x440e86
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x440e86
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x440e86
mov edx, dword [ecx + 8]
mov dword [0x53c284], edx
mov eax, dword [ecx + 0x50]
mov dword [0x53c26c], eax
push 0x51a2d0
call fcn.00404690
add esp, 4
push eax
call esi
mov dword [0x53c270], eax
test eax, eax
je 0x440ec7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x440ec7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x440ec7
mov edx, dword [ecx + 8]
mov dword [0x53c288], edx
mov eax, dword [ecx + 0x50]
mov dword [0x53c274], eax
push 0x51a2c0
call fcn.00404690
add esp, 4
push eax
call esi
mov dword [0x53c278], eax
test eax, eax
je 0x440f08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x440f08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x440f08
mov edx, dword [ecx + 8]
mov dword [0x53c28c], edx
mov eax, dword [ecx + 0x50]
mov dword [0x53c27c], eax
call fcn.0043d250
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x488270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
je 0x488299
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004b6da3
add esp, 0x34
ret
mov edx, dword [esp + 0x40]
push esi
mov cl, 0x63
push 1
mov byte [esp + 0x33], cl
mov byte [esp + 0x37], cl
lea ecx, [esp + 0xc]
push ecx
mov al, 0x2f
push edx
mov byte [esp + 0x3e], al
mov byte [esp + 0x41], al
lea eax, [esp + 0x34]
push ebx
push ebx
mov byte [esp + 0x3c], 0x73
mov byte [esp + 0x3d], 0x79
mov byte [esp + 0x3e], 0x6e
mov byte [esp + 0x3f], 0x64
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x41], 0x76
mov byte [esp + 0x42], 0x2e
mov byte [esp + 0x44], 0x6f
mov byte [esp + 0x45], 0x6d
mov byte [esp + 0x48], 0x65
mov byte [esp + 0x4a], bl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00447730
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
push ebx
push ecx
call fcn.004b6dc0
mov ecx, dword [esp + 0x58]
add esp, 0x20
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x34
ret

Function at 0x488dc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub esp, 8
push esi
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x488e29
push ebp
mov ebp, dword [esp + 0x18]
push edi
jmp 0x488de0
inc cl
movzx edi, cl
mov ecx, dword [eax + edi*4 + 8]
add dl, cl
mov dword [esp + 0xc], ecx
movzx ecx, dl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + ecx*4 + 8]
mov dword [eax + edi*4 + 8], ecx
add cl, dl
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
movzx ecx, cl
mov dword [eax + edi*4 + 8], edx
mov dl, byte [eax + ecx*4 + 8]
xor byte [esi + ebp], dl
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, dword [esp + 0x20]
mov edx, edi
jl 0x488de0
pop edi
pop ebp
mov dword [eax + 4], edx
mov dword [eax], ecx
pop esi
add esp, 8
ret
Function at 0x488e60
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x140
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push esi
push eax
push 0
push 0x1f0fff
call dword [0x5385d8]
mov esi, eax
test esi, esi
jne 0x488ea6
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x140
ret
push edi
push esi
call fcn.00439160
mov edi, eax
add esp, 4
test edi, edi
je 0x488f6b
cmp dword [0x537c84], 0
je 0x488ec8
call fcn.00492260
lea ecx, [esp + 8]
push ecx
push 0x40
lea edx, [esp + 0x10c]
push edx
push edi
push esi
call dword [0x5385e0]
test eax, eax
je 0x488f6b
cmp dword [esp + 8], 0x40
jne 0x488f6b
mov eax, 0x5a4d
cmp word [esp + 0x104], ax
jne 0x488f6b
mov ecx, dword [esp + 0x140]
lea edx, [esp + 8]
push edx
lea eax, [ecx + edi]
push 0xf8
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
call dword [0x5385e0]
test eax, eax
je 0x488f6b
cmp dword [esp + 8], 0xf8
jne 0x488f6b
cmp dword [esp + 0xc], 0x4550
push esi
jne 0x488f6c
mov edx, dword [esp + 0x60]
add edx, edi
mov dword [0x52b48c], edi
mov dword [0x52b488], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x140
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004b6da3
add esp, 0x140
ret
Function at 0x489150
Capabilities:
Copy file
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fed1b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push esi
push edi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x64]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x60]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4891a1
mov cx, word [0x50e37c]
push 0x51db60
mov word [edi], cx
call fcn.00404690
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4891c2
lea edi, [esp + 0x60]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4891d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x80
lea edx, [esp + 0x64]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
lea ecx, [esp + 0x64]
push ecx
push 0x53cd88
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x48928c
lea ecx, [esp + 0x10]
call fcn.00405cc0
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], ebx
call fcn.00406500
test al, al
je 0x489274
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x60]
mov byte [eax + 0x53cd88], cl
inc eax
cmp cl, bl
jne 0x489240
push 0x53cd88
push 0x51db48
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x170], 0xffffffff
call fcn.00405d20
mov eax, ebx
jmp 0x4892b5
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x51db2c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004b6da3
add esp, 0x164
ret
Function at 0x489660
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4fed5b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
push ebp
push esi
push edi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
cmp byte [0x537552], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
je 0x4896ea
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4896d4
push 0x51dd3c
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov eax, dword [0x539714]
push eax
call fcn.0040fe10
add esp, 4
test eax, eax
je 0x48983c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x51dd08
call fcn.00404690
add esp, 4
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp byte [0x537552], 0
mov esi, eax
je 0x48972b
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test esi, esi
jne 0x489820
cmp dword [esp + 0x1c], 2
mov ebp, dword [esp + 0x43c]
jne 0x4897d3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push ebp
call fcn.00404690
mov edx, dword [esp + 0x24]
add esp, 4
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4897d3
lea ecx, [esp + 0x24]
call fcn.00407250
mov edi, dword [esp + 0x438]
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x438], esi
call fcn.00407700
test al, al
jne 0x4897bf
mov esi, dword [esp + 0x424]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x511d14
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x14
lea ecx, [esp + 0x24]
mov dword [esp + 0x430], 0xffffffff
call fcn.004011c0
push ebp
call fcn.00404690
mov ecx, dword [esp + 0x14]
add esp, 4
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x48983c
push ecx
push eax
push 0x51dcf0
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
xor al, al
jmp 0x48983e
push esi
push 0x51dcd8
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x424
ret
Function at 0x48abf0
Capabilities:
Get common file path
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x240], eax
push esi
mov esi, dword [esp + 0x24c]
push edi
push 0x104
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x144]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48ac28
mov cx, word [0x50e37c]
mov eax, esi
mov word [edi], cx
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x48ac40
lea edi, [esp + 0x144]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48ac51
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x80
push 3
push 0
push 3
mov ecx, eax
push closesocket
lea edx, [esp + 0x15c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x48acbe
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0x40
lea ecx, [esp + 0x110]
push ecx
push esi
call edi
mov edx, 0x5a4d
cmp word [esp + 0x104], dx
je 0x48acc2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x48acfe
mov eax, dword [esp + 0x140]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xf8
lea edx, [esp + 0x18]
push edx
push esi
call edi
cmp dword [esp + 0xc], 0x4550
push esi
jne 0x48acb8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x248]
pop edi
pop esi
xor ecx, esp
call fcn.004b6da3
add esp, 0x244
ret 4

Function at 0x48ad80
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
lea eax, [esp + 0xc]
push eax
push ebx
xor ebp, ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x48ade9
push edi
push esi
call fcn.004b97b1
mov ecx, dword [esp + 0x14]
add esp, 4
mov edi, eax
push edi
push esi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x48addf
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x50e37c
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x48addf
movzx ebp, word [eax + 0xa]
push edi
call fcn.004b97a6
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4910b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x509d38
push 0x4b7620
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x52e144]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
cmp byte [0x53d000], bl
je 0x491101
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x51f720
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp byte [0x53b38d], bl
je 0x49114c
call fcn.00423ee0
test eax, eax
jne 0x49114c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x51f700
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push 1
call fcn.0048fa60
add esp, 4
mov byte [ebp - 0x19], al
mov dword [ebp - 4], 0xfffffffe
jmp 0x4911b2
cmp byte [0x53ce8d], bl
je 0x4911c5
push 0x53cd88
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [0x53788c], bl
je 0x49123b
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x539708], bl
je 0x491230
mov ecx, dword [esi + 0x539720]
push ecx
call fcn.0043d170
add esp, 4
test al, al
je 0x491230
push 0xfa0
mov edx, dword [esi + 0x539720]
push edx
call edi
cmp eax, 0x102
jne 0x491230
push 9
mov eax, dword [esi + 0x539720]
push eax
call dword [0x5385dc]
push eax
push 0x51f6a0
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
add esi, 0x6c
cmp esi, 0x1518
jb 0x4911d5
cmp byte [0x53b38d], bl
je 0x4912a2
cmp dword [0x537c2c], 2
je 0x49127a
push 1
call fcn.0042b520
add esp, 4
test eax, eax
setne al
movzx ecx, al
push ecx
push 0x51f688
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00488400
call fcn.00429260
mov byte [0x53b38d], bl
push 0x51f674
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [0x53d000], 1
push 0x51f658
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret