joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce1de
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x510620]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
lea ecx, [esi + 0x30]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
mov byte [ebp - 4], 2
xor edx, edx
mov byte [esi + 0x54], 0
mov eax, 6
cmp byte [str.._log_], dl
cmove eax, edx
push eax
push str.._log_
call fcn.00402470
mov dword [esi + 0x48], 1
mov eax, esi
mov word [esi + 0x4c], 0x101
mov byte [esi + 0x4e], 0
mov dword [esi + 0x50], 0x64
mov byte [esi + 0x55], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
mov dword [ebp - 4], 0
cmp dword [ebx], 0
je 0x408ad5
jmp 0x408aa0
push dword [ebx]
lea eax, [ebp - 0x214]
push 0x200
push 1
push eax
call fcn.00496da9
add esp, 0x10
lea ecx, [ebp - 0x22c]
mov esi, eax
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.0040c520
cmp esi, 0x200
je 0x408aa0
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.0040c3f0
cmp dword [ebp - 0x218], 0x10
jb 0x408afa
push dword [ebp - 0x22c]
call fcn.00494c0b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x409be0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce458
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x510620]
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 dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x409d16
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00408c00
push 1
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x2f
push eax
lea ecx, [ebp + 8]
call fcn.0040d140
mov esi, eax
cmp esi, 0xffffffff
je 0x409d16
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
push esi
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.0040c6d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
jbe 0x409ce0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.004021e0
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
setne bl
cmp dword [ebp - 0x4c], 0x10
jb 0x409cc3
push dword [ebp - 0x60]
call fcn.00494c0b
add esp, 4
test bl, bl
jne 0x409ce0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call edi
test eax, eax
setne al
test al, al
je 0x409d47
push 1
lea eax, [esi + 1]
mov byte [ebp - 0x14], 0x2f
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040d140
mov byte [ebp - 4], 1
mov esi, eax
cmp dword [ebp - 0x18], 0x10
jb 0x409d0d
push dword [ebp - 0x2c]
call fcn.00494c0b
add esp, 4
cmp esi, 0xffffffff
jne 0x409c60
mov bl, 1
cmp dword [ebp + 0x1c], 0x10
jb 0x409d29
push dword [ebp + 8]
call fcn.00494c0b
add esp, 4
mov al, bl
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.00494c10
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0x10
jb 0x409d58
push dword [ebp - 0x2c]
call fcn.00494c0b
add esp, 4
xor bl, bl
jmp 0x409d18
Function at 0x41ef50
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0042c5a0
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xd8]
xor al, al
ret
Function at 0x429560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d159d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 0
xor edi, edi
mov dword [esi + 0x60], 7
mov dword [esi + 0x5c], 0
mov word [esi + 0x4c], di
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
cmp ecx, eax
je 0x429631
mov eax, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, dword [ecx]
mov dword [ecx], eax
test edi, edi
je 0x429631
mov ecx, edi
call fcn.00424e30
push edi
call fcn.00494c0b
mov edx, dword [ebp - 0x30]
add esp, 4
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x48], al
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x21]
xor al, al
xchg byte [ecx], al
test edx, edx
je 0x42967d
cmp word [edx], 0
jne 0x42965f
xor ecx, ecx
jmp 0x429673
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429664
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x4c]
call fcn.00402710
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
movdqu xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call fcn.0047fa45
mov dword [ebp - 0x2c], 0x4e8ef8
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2c]
call fcn.0047fafb
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0047fab6
cmp dword [esi + 8], 0
je 0x4296c3
call fcn.00496215
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 8], eax
test edi, edi
je 0x4296e6
mov ecx, edi
call fcn.00424e30
push edi
call fcn.00494c0b
add esp, 4
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.00494c10
mov esp, ebp
pop ebp
ret 0x14
Function at 0x431e20
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d27c3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push 0x10
movq qword [esp + 0x1c], xmm0
call fcn.004952af
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x431e99
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00420990
mov dword [esi + 4], eax
jmp 0x431e9b
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0044c0b0
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x18]
push ebx
push str.appid
mov dword [ecx], 6
add ecx, 4
call fcn.00424830
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x40]
call fcn.00446f50
mov eax, dword [edi]
mov ecx, edi
push 0xc
push ebx
call dword [eax + 0xd4]
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x431f2c
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x431f2c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x431f2c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x431f50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d27c3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x10
movq qword [esp + 0x1c], xmm0
call fcn.004952af
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x431fc9
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00420990
mov dword [esi + 4], eax
jmp 0x431fcb
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0044c0b0
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x18]
mov dword [ecx], 7
test edi, edi
je 0x432011
push edi
push 0x4e7d60
add ecx, 4
call fcn.00424830
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 0x40]
call fcn.00446f50
mov eax, dword [ebx]
mov ecx, ebx
push 2
push 0
call dword [eax + 0xd4]
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x432061
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x432061
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x432061
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x432360
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d27c3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push 0x10
movq qword [esp + 0x1c], xmm0
call fcn.004952af
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x4323d9
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00420990
mov dword [esi + 4], eax
jmp 0x4323db
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0044c0b0
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x18]
push ebx
push str.appid
mov dword [ecx], 4
add ecx, 4
call fcn.00424830
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x40]
call fcn.00446f50
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x43245f
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x43245f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x43245f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x434420
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2b90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xc8]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434496
push 0x4e6da4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00445530
call fcn.00452b80
call fcn.004344e0
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0xd4]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x4344e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2bec
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x2ac], eax
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
lea ecx, [esp + 0x6c]
call fcn.00452930
push str..lnk
lea edx, [esp + 0x70]
mov dword [esp + 0x2cc], 0
lea ecx, [esp + 0x28]
call fcn.00406890
add esp, 4
mov byte [esp + 0x2c8], 1
lea ecx, [esp + 0x84]
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push ecx
cmovae eax, dword [esp + 0x28]
push eax
call fcn.00498c90
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x434699
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [esp + 0x84], 0x10
jne 0x434680
push 0x4e9238
lea edx, [esp + 0x70]
lea ecx, [esp + 0x10]
call fcn.00406890
add esp, 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2c8], 2
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.004069e0
add esp, 4
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x20], 8
jb 0x4345dc
push dword [esp + 0xc]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x50], 8
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], 0
cmovae edx, dword [esp + 0x3c]
mov word [esp + 0xc], ax
call fcn.00452a40
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0x54]
mov edx, 0x4ea2a0
cmovae ecx, dword [esp + 0x54]
push ecx
call fcn.004514d0
add esp, 4
test al, al
je 0x43463b
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
call edi
cmp dword [esp + 0x68], 8
jb 0x43464e
push dword [esp + 0x54]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov byte [esp + 0x2c8], 1
cmp dword [esp + 0x50], 8
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x434680
push dword [esp + 0x3c]
call fcn.00494c0b
add esp, 4
lea eax, [esp + 0x84]
push eax
push esi
call fcn.00498db7
add esp, 8
test eax, eax
je 0x434580
push esi
call fcn.00498ece
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x4346b5
push dword [esp + 0x24]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
cmp dword [esp + 0x80], 8
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jb 0x4346e2
push dword [esp + 0x6c]
call fcn.00494c0b
add esp, 4
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2ac]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x43a780
Capabilities:
Connect socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21b4
call fcn.004b6c70
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21a8]
push eax
mov esi, ecx
mov byte [ebp - 0x21a9], 0
push 0x101
mov ebx, edx
mov dword [ebp - 0x21b0], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43a8d9
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push str.127.0.0.1
mov esi, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x2014], eax
mov eax, 2
push ebx
mov word [ebp - 0x2018], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2016], ax
lea eax, [ebp - 0x2018]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x43a8be
push eax
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x43a8a0
mov ecx, dword [0x519de8]
push 5
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x43a87f
push ebx
push dword [ebp - 0x21b0]
lea eax, [ebp - 0x2008]
push str.send_data_error__to_app:__s_at:__d
push 0x1000
push eax
call fcn.0040b1a0
mov ecx, dword [0x519de8]
lea edx, [ebp - 0x2008]
add esp, 0x14
mov eax, dword [ecx]
push 0xe25
push str.AppManager.cpp
push edx
push 5
call dword [eax + 4]
push esi
call edi
push esi
xor bl, bl
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
push esi
mov bl, 1
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
xor bl, bl
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x519de8]
push 5
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x43a92a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push str.wSAStartup_error_for_app:__s___error:__d
lea eax, [ebp - 0x2008]
push 0x1000
push eax
call fcn.0040b1a0
mov ecx, dword [0x519de8]
lea esi, [ebp - 0x2008]
add esp, 0x14
mov edx, dword [ecx]
push 0xe38
push str.AppManager.cpp
push esi
push 5
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21a9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x43d860
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x3b4], 0
jne 0x43d959
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x68]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x43d8b2
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00453580
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x43d8d1
push dword [ebp - 0x48]
call fcn.00494c0b
add esp, 4
push 1
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x4e9238
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00406030
push 6
push str..g.jar
mov ecx, eax
call fcn.00406030
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
mov ecx, dword [0x51989c]
mov edx, 0x85
push 0x4eae54
push 0x4eae5c
call fcn.004522a0
add esp, 0xc
mov byte [ebp - 0x2d], al
cmp byte [ebp + 8], 0
je 0x43d943
mov byte [esi + 0x3b4], al
cmp dword [ebp - 0x18], 8
jb 0x43d95b
push dword [ebp - 0x2c]
call fcn.00494c0b
mov al, byte [ebp - 0x2d]
add esp, 4
jmp 0x43d95b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x43e630
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x510620]
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 edi, ecx
mov eax, dword [0x51a130]
mov dword [ebp - 0x444], 0
test al, 1
jne 0x43e6ae
or eax, 1
mov dword [0x51a14c], 7
mov dword [0x51a130], eax
xor eax, eax
push 0x4dba20
mov dword [0x51a148], 0
mov word [0x51a138], ax
mov dword [0x51a134], 0x4e7088
call fcn.004957fd
add esp, 4
cmp dword [0x51a148], 0
jne 0x43e7fe
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x43e7fe
push esi
call fcn.0047d9ae
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x22c]
push ebx
push esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43e7f5
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x440]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43e7f5
mov eax, dword [ebp - 0x440]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
lea eax, [ebp - 0x24]
push ecx
push str._08x
push eax
call esi
push 0x4eaea4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x43c], 0
push eax
lea eax, [ebp - 0x42c]
push str.StringFileInfo_s_s
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
push dword [ebp - 0x43c]
lea ecx, [ebp - 0x460]
call fcn.00455d60
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x51a138
call fcn.00402990
lea ecx, [ebp - 0x460]
mov dword [ebp - 4], 0xffffffff
call fcn.00416900
push ecx
push 0x4e4f80
push 0x4e7d44
mov ecx, 0x51a134
call fcn.00456160
push ebx
call fcn.00495300
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x51a138
mov word [edi], ax
call fcn.00402990
mov eax, edi
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.00494c10
mov esp, ebp
pop ebp
ret