joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004e73
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x14], edi
je 0x1004f8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHBrowseForFolder
push edi
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1004f7c
push 0xc3
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1004f7c
push str.SHGetPathFromIDList
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1004f7c
cmp byte [0x100ba80], bl
mov esi, 0x100ba80
jne 0x1004f19
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.USER32.dll_CharPrevA]
add eax, esi
push eax
push esi
call edi
cmp byte [eax], 0x5c
mov dword [ebp - 4], eax
jne 0x1004f19
push eax
push esi
call edi
cmp byte [eax], 0x3a
je 0x1004f19
mov eax, dword [ebp - 4]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov byte [edi], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x1002d5a
mov dword [ebp - 0x1c], esi
call dword [ebp - 8]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1004f6a
push esi
push eax
call dword [ebp - 0xc]
cmp byte [0x100ba80], bl
je 0x1004f64
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp byte [edi], bl
setne al
jmp 0x1004fa3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 0x10
push ebx
push ebx
push 0x4c1
jmp 0x1004f99
push ebx
push 0x10
push ebx
push ebx
push 0x4c2
push dword [ebp + 8]
call fcn.01003ebe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1004faf
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
inc ebx
call fcn.0100672a
test eax, eax
je 0x100501d
cmp dword [0x100bc3c], 0
jne 0x1005011
test byte [0x100c898], bl
jne 0x1005011
push 6
push 0
push 0x1003e28
push dword [0x100ba4c]
mov dword [0x100be64], esi
push 0x7d3
push dword [0x100c4a4]
call fcn.01004819
sub eax, 6
je 0x1005011
dec eax
je 0x1005025
sub eax, 0x832
jne 0x1005011
mov dword [0x100bc3c], ebx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
xor ebx, ebx
jmp 0x100501d
Function at 0x10052d4
Capabilities:
Create directory
Delete directory
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100b2d0]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
je 0x100537f
mov edi, 0x104
push edi
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.0100342e
test eax, eax
je 0x10053e4
lea eax, [ebp - 0x108]
push eax
mov esi, 0x100bc44
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100c494], 0x20
je 0x1005371
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x12c]
sub eax, ebx
je 0x1005365
dec eax
je 0x100535e
dec eax
je 0x1005357
dec eax
jne 0x1005371
push 0x1001420
jmp 0x100536a
push 0x1001418
jmp 0x100536a
push 0x1001410
jmp 0x100536a
push 0x1001408
push edi
push esi
call fcn.010066cf
push 0x1001271
push edi
push esi
call fcn.010066cf
jmp 0x100538c
push eax
mov esi, 0x100bc44
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.010044bd
xor edi, edi
inc edi
test eax, eax
jne 0x10053ab
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10053c3
mov dword [0x100c880], edi
push ebx
push dword [ebp + 0x10]
push esi
call fcn.0100456a
test eax, eax
je 0x10053cf
mov dword [0x100ba5c], ebx
mov eax, edi
jmp 0x10053e6
call fcn.01003aa1
mov dword [0x100ba5c], eax
jmp 0x10053e4
cmp dword [0x100c880], ebx
je 0x10053e4
push esi
mov dword [0x100c880], ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010064de
leave
ret 0xc
Function at 0x10053fa
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100b2d0]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov dword [0x100c4a4], eax
xor eax, eax
mov ecx, 0x23f
mov edi, 0x100bba0
rep stosd dword es:[edi], eax
push 0x41
mov ecx, 0xcb
mov edi, 0x100c880
rep stosd dword es:[edi], eax
pop ecx
mov edi, 0x100ba80
rep stosd dword es:[edi], eax
push 0x7f
mov esi, 0x100bbb4
xor edi, edi
push esi
xor ebx, ebx
inc edi
push 0x100144c
mov dword [ebp - 0x10c], ebx
mov dword [0x100be4c], edi
call fcn.01002e55
cmp eax, ebx
je 0x100564a
cmp eax, 0x80
ja 0x100564a
push ebx
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100ba50], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100c494
push 0x1001440
call fcn.01002e55
test eax, eax
je 0x10054d3
test byte [0x100c494], 0xc0
je 0x1005563
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x1001430
call fcn.01002e55
test eax, eax
jne 0x10054f2
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003ebe
mov dword [0x100ba5c], 0x80070714
jmp 0x100565a
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100ba54], eax
je 0x1005563
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1005563
test byte [0x100c494], 0x80
je 0x1005532
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.01003ebe
jmp 0x1005548
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.01003ebe
cmp eax, 6
je 0x1005563
push dword [0x100ba54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100ba5c], 0x800700b7
jmp 0x100565a
push dword [ebp - 0x114]
mov dword [0x100ba60], ebx
call fcn.0100359c
test eax, eax
jne 0x1005587
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1005654
cmp byte [0x100c89a], bl
je 0x100559e
push 0x100c89a
call fcn.01002a96
jmp 0x100565a
push 0xa
push 0x1001424
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x10055c8
push eax
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10c], eax
cmp dword [0x100b2c4], ebx
je 0x10055d6
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100c884], ebx
jne 0x1005646
push dword [ebp - 0x10c]
call fcn.0100488c
test eax, eax
je 0x100565a
mov ax, word [0x100ba64]
cmp ax, di
je 0x1005604
cmp ax, 2
je 0x1005604
cmp ax, 3
jne 0x1005646
test byte [0x100c495], 1
je 0x1005646
test byte [0x100c898], 1
jne 0x1005646
call fcn.01001760
test eax, eax
jne 0x1005646
push 0x83e
push 0x547
push 0x100189d
push ebx
push 0x7d6
push dword [0x100c4a4]
call fcn.01004819
cmp eax, 0x83d
jne 0x100565a
mov eax, edi
jmp 0x100565c
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003ebe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010064de
leave
ret 0xc
Function at 0x1006205
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100b2d0]
push edi
xor edi, edi
cmp word [0x100c898], di
mov dword [ebp - 4], eax
jne 0x1006247
cmp dword [0x100c884], edi
jne 0x100623e
call fcn.010043ec
test eax, eax
je 0x1006259
cmp word [0x100c898], di
jne 0x1006247
call fcn.01004bc8
test eax, eax
je 0x1006259
call fcn.0100435e
test eax, eax
je 0x1006259
call fcn.01005f21
test eax, eax
jne 0x1006260
xor eax, eax
jmp 0x100636a
push ebx
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x1001264
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.010066cf
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
mov ebx, 0x100bc44
je 0x10062b3
push 0x10014a8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10062b3
push edi
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x100c884], edi
jne 0x10062da
cmp dword [0x100c490], edi
jne 0x10062da
call fcn.010047b3
test eax, eax
jne 0x10062da
xor eax, eax
jmp 0x1006368
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x1006301
push edi
push 0x10
push edi
push edi
push 0x4bc
push edi
call fcn.01003ebe
call fcn.01003aa1
mov dword [0x100ba5c], eax
jmp 0x10062d3
cmp dword [0x100c88c], edi
jne 0x1006312
call fcn.01005a36
test eax, eax
je 0x10062d3
test byte [0x100cba8], 0xc0
jne 0x1006330
xor eax, eax
mov ax, word [0x100ba64]
push eax
call fcn.01001f93
mov dword [0x100bb84], eax
jmp 0x1006336
mov dword [0x100bb84], edi
cmp dword [0x100c884], edi
jne 0x100634f
cmp dword [0x100c490], edi
jne 0x100634f
call fcn.01005abc
test eax, eax
je 0x10062d3
cmp word [0x100c898], di
jne 0x1006365
cmp dword [0x100c884], edi
jne 0x1006365
call fcn.01004de5
xor eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.010064de
leave
ret

Function at 0x100672a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006741
xor eax, eax
jmp 0x1006749
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4
Function at 0x10068b3
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100b2d0]
and dword [ebp - 0xa8], 0
cmp dword [0x100b2dc], 0xfffffffe
mov dword [ebp - 4], eax
mov dword [ebp - 0xb0], 0xc
jne 0x10069d6
and dword [0x100b2dc], 0
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10069d6
cmp dword [ebp - 0x94], 1
jne 0x10069d6
cmp dword [ebp - 0xa0], 4
jne 0x10069d6
cmp dword [ebp - 0x9c], 0xa
jae 0x10069d6
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10069d6
lea eax, [ebp - 0xac]
push eax
push 0x20019
push 0
push 0x10014b8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10069d6
push edi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x1001271
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xac]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x10069d6
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0100678f
test eax, eax
je 0x10069d6
and dword [ebp - 0xa8], 0x3ff
cmp dword [ebp - 0xa8], 1
je 0x10069cc
cmp dword [ebp - 0xa8], 0xd
jne 0x10069d6
mov dword [0x100b2dc], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x100b2dc]
call fcn.010064de
leave
ret

Function at 0x10069ea
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1006a22
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1006a26
xor eax, eax
jmp 0x1006a3c
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1007d01
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007d3e
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007d1b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007d5a
dec esi
je 0x1007d53
dec esi
jne 0x1007d5f
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401fd9
Capabilities:
Packed with generic packer

Disassembly:
mov esi, dword [ebp + 8]
push edi
cmp byte [esi + 0x3a], 0
jne 0x401f36
mov ebx, dword [ebp + 0xc]
movzx eax, word [ebx + 0x86]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call dword [0x48f634]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x48]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp + 8], edi
test ecx, ecx
je 0x43bd51
test eax, eax
je 0x43bd68
cmp dword [esi + 0x19c], 0
jne 0x43bd7f
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [0x48f694]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
mov ax, word [esi + 0x58]
cmp byte [edi + 0x90], 7
mov word [edi + 0x88], ax
mov dword [edi + 0x88], eax
mov ax, word [esi + 0x5c]
mov word [edi + 0x8a], ax
je 0x401fb7
mov ax, word [esi + 0x60]
mov word [edi + 0x8c], ax
mov ax, word [esi + 0x64]
mov word [edi + 0x8e], ax
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f634]
or ebx, 0xffffffff
cmp dword [esi + 0x58], ebx
je 0x401fbf
cmp dword [esi + 0x5c], ebx
je 0x401fcc
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f694]
cmp dword [esi + 0x60], ebx
je 0x43bd2d
cmp dword [esi + 0x64], ebx
je 0x43bd3f
cmp byte [edi + 0x90], 0
jne 0x401f2d
jmp 0x43bd3f
cmp byte [ebp + 0x10], 0
je 0x401f6e
jmp 0x401f58
mov ax, word [ebp - 0x24]
mov word [edi + 0x88], ax
jmp 0x401f82
mov ax, word [ebp - 0x20]
mov word [edi + 0x8a], ax
jmp 0x401f87
push ebp
mov ebp, esp
mov eax, dword [0x4c67b4]
mov ecx, dword [ebp + 0x18]
cmp eax, 1
jne 0x43beae
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x401ff8
mov dword [ecx + 0x58], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x402003
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x40200d
mov dword [ecx + 0x60], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x402017
mov dword [ecx + 0x64], eax
pop ebp
ret 0x14
lahf
cwde
add dword [eax], eax
add byte [edi], cl
test byte [ebx + 0x53fffc60], al
add edi, edi
adc eax, 0x4148f71c
inc ecx
jmp 0x401dbb
add cl, ch
pop ebp
invalid
inc edi
inc ebp
adc byte [ecx], al
add byte [eax], al
add byte [ebp - 0x5d7bf02e], al
pushal
cld
dec dword [ecx - 0x6516efab]
pushal
cld
inc edi
inc ebp
or al, 1
add byte [eax], al
add byte [ebp - 0x6c7bf001], al
pushal
cld
dec dword [ecx - 0x7416f383]
pushal
cld
add byte [esi + 0x2b], ah
jne 0x43bebf
add si, dx
add si, word [ebp - 0x10]
mov word [ebx + 0x4100008a], si
jmp 0x401f45
add byte [ecx - 0x17], al
jg 0x43bf24
cld
inc dword [ebx + 0x217502f8]
cmp dword [ebp + 8], 0xffffffff
je 0x43beda
mov eax, dword [ecx + 0x60]
add eax, dword [ebp + 8]
add dword [ecx + 0x58], eax
cmp dword [ebp + 0xc], 0xffffffff
je fcn.0040201b
mov eax, dword [ecx + 0x64]
add eax, dword [ebp + 0xc]
jmp 0x43bf03
add dword [ecx + 0x5c], eax
call dword [edi + 0x56]
Function at 0x423bba
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esi, eax
cmp byte [ebp - 8], 0
je 0x423bc9
mov ecx, dword [ebp - 0xc]
and dword [ecx + 0x70], 0xfffffffd
mov eax, esi
mov dword [ebp - 0x10], 0xc3000000
push ebx
mov ebx, esp
dec eax
push ecx
xor esp, esp
invalid

Function at 0x48666e
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx - 0xe7cff75], ecx
dec eax
or al, ch
push 0xc8b9804
fsubr qword [ebx]
dec ecx
sbb al, ch
not al
and dword [ebx + 0x3b], eax
fidivr word [esi - 0x20]
cmp dword [ebp + 0xc], 1
mov eax, dword [0x844c6824]
pop esi
jne 0x4866b0
mov ecx, dword [eax]
call 0x1b36602
xor ecx, 0x48
or al, ch
push 0xc8b8804
fsubr qword [ebx]
dec ecx
sbb al, ch
not al
and ebx, ebp
sub dword [ebx - 0xf9547fc], ecx
mov eax, dword [eax + edi*4]
push 0xfffffffffffffff0
mov ecx, dword [esp + ebx*8]
sub ecx, dword [ecx + 0x18]
xchg eax, ebp
add bh, bh
or eax, 0xc4d8ba6
push eax
mov eax, dword [0x844c6824]
add eax, esi
mov eax, dword [eax + edi*4]
mov ecx, dword [esp + ebx*8]
sub ecx, dword [ecx + 0x18]
push ebp
mov ecx, dword [eax + 0x5f]
js 0x4866e4
add byte [esi + 0xc], dh
test byte [eax + 4], 0x8e
or byte [eax], ch
cmp eax, 0xffffffff
mov eax, dword [ebx]
sub byte [ebx + 0x38bfff8], al
push 2
pop eax
cmp eax, 0x10
jge 0x4866f5
or eax, 2
mov ecx, dword [ebp + 0x20]
push esi
mov esi, 0xfd2f8ee8
push eax
stc
push dword [ebp + 2]
xor ebp, dword [edx - 0x3e]
push ebp
and al, 0x83
cli
push dword [ebp + 2]
xor edx, esi
cmp dword [ebp + 0x30], 0
jge 0x48670d
jmp [edx + 1]
Function at 0x402a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672af0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x730b1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x49
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30037includexlocale
push 2
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0061bdc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x402b20
push 1
mov dword [ebp - 4], 0
call fcn.0060cde0
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0060c640
int3
Function at 0x4031e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672c85
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x730b1c]
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 esi, edx
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0x738c18
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x4033ba
cmp dword [ebp - 0x118], 0
je 0x40339e
mov dword [ebp - 0x128], 0x738c18
mov dword [ebp - 0x124], 4
push 8
mov dword [ebp - 4], 0
call fcn.00610870
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 1
mov ecx, dword [esi]
push 0x100
mov dword [eax + 4], ecx
call fcn.00610870
mov dword [ebp - 0x11c], eax
mov dword [eax], vtable.CSimpleLoggerImpl.0
lea edi, [eax + 0x10]
xorps xmm0, xmm0
lea ebx, [eax + 0x18]
movq qword [edi], xmm0
lea esi, [eax + 0x30]
mov dword [ebx], 0
mov byte [ebp - 4], 3
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00405370
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov byte [ebp - 4], 4
add esp, 8
mov esi, dword [ebp - 0x11c]
lea ecx, [esi + 0x50]
call fcn.00412410
push 0
push 0
mov ecx, edi
mov word [esi + 8], 0
mov byte [esi + 0xa], 0
mov dword [esi + 0x20], 0
call fcn.00424190
mov dword [esi + 0x1c], 0xa
mov eax, 0x3c
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], 5
mov dword [esi + 0x2c], 5
xchg dword [ebx], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x114]
mov edi, dword [ebp - 0x120]
push 0x104
push 0
push eax
mov dword [edi], esi
call fcn.00614d30
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.EasyConnectApp.log
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, dword [edi]
lea edx, [ebp - 0x114]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [0x738c14], edi
push 0
push 0
push 0x738c18
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x4033ba
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.00610840
mov esp, ebp
pop ebp
ret
call fcn.0061c0c0
int3
Function at 0x406680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6730a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00614d30
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4066e1
xor al, al
jmp 0x406799
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.00406890
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00406c90
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00402890
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x130]
call fcn.00405180
mov eax, dword [ebp - 0x130]
push 8
push eax
mov dword [ebp - 0x130], 0
call fcn.00405410
lea eax, [ebp - 0x114]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406774
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00405500
lea ecx, [ebp - 0x1e0]
call fcn.004067c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret