joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2f58], 0
lea esi, [edi + 0x2f5c]
je 0x1003f402
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1003f3bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10040e30
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1002f380
mov edx, dword [esi]
mov ecx, 0x10111388
push dword [edi + 0x2f58]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f64]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1002f380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003fa70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1011138c]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2f0c], 0
push edi
test esi, esi
je 0x1003facd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1003fae0
mov edx, 0x10109414
mov ecx, esi
mov edi, eax
call fcn.1002ec40
mov esi, eax
test esi, esi
je 0x1003facd
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100421a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100421da
mov eax, dword [0x1011138c]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x100421cd
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1004220b
mov eax, dword [0x1011138c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x100421fe
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1004223c
mov eax, dword [0x1011138c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1004222f
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10042289
mov eax, dword [0x1011138c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1004227c
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100422ba
mov eax, dword [0x1011138c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100422ad
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100422eb
mov eax, dword [0x1011138c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100422de
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10044f70
Function at 0x1005e750
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10110040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005e84a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1005e843
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x1005e829
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1005e829
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1005e829
mov edx, dword [esi]
test edx, edx
jne 0x1005e7f2
push 0x200
push edx
push dword [0x1011139c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1005e843
jmp 0x1005e81d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1005e81d
shl eax, 3
push eax
push edx
push 0
push dword [0x1011139c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1005e843
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1005e7b1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1005e8a2
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1005e8a2
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov eax, dword [esi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1005e893
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.1005e5e0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 4
mov dword [ebp - 0x24], ecx
cmp ebx, dword [esi + 8]
jb 0x1005e860
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c100d
mov esp, ebp
pop ebp
ret

Function at 0x1005e8c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x1005e924
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x1005e913
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1005e903
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, dword [edi + 8]
jb 0x1005e8e0
pop esi
push dword [edi]
push 0
push dword [0x1011139c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1005e930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10110040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10111470]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1005e991
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c100d
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1005e9b2
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1005e9d3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1005e9d3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1005e9cd
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1005e9d3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.100c100d
mov esp, ebp
pop ebp
ret
Function at 0x10064e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10064e24
push dword [edi + 0x74]
call eax
add esp, 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10064e89
nop dword [eax + eax]
mov ebx, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x10064e82
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x10064e56
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x10064e45
jmp 0x10064e82
test edx, edx
jne 0x10064e5f
mov dword [ebx + 0x54], ecx
jmp 0x10064e62
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10064e6f
push esi
call eax
add esp, 4
push esi
call fcn.100653e0
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [edi + 0x54]
test esi, esi
jne 0x10064e30
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
test eax, eax
je 0x10064f14
test ebx, ebx
je 0x10064f14
mov ebx, dword [eax]
test ebx, ebx
je 0x10064f04
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x10064eb9
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x10064ecc
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10064edd
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x10064ea3
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x58], 0
test eax, eax
je 0x10064f28
push edi
call eax
add esp, 4
push ebx
push edi
call fcn.10064d70
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x10064f42
push edi
call eax
add esp, 4
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x10064f78
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x10064f65
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x10064f78
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [edi + 0x80]
mov dword [edi + 0x68], 0
test eax, eax
je 0x10064f9d
push eax
mov eax, dword [ebx + 8]
push ebx
call eax
add esp, 8
mov dword [edi + 0x80], 0
mov eax, dword [ebx + 8]
push edi
push ebx
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bc030
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100bc046
lea eax, [esi + 0x28]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100bc075
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], ecx
test eax, eax
je 0x100bc16d
mov edx, dword [ebp - 8]
test edx, edx
jg 0x100bc16d
mov eax, dword [ebp - 0xc]
jl 0x100bc0ad
cmp eax, 0x7fffffff
ja 0x100bc16d
or eax, edx
je 0x100bc16d
push 0
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x100bc16a
mov ecx, dword [ebp - 0xc]
push 0
push 0
push 0
push 4
push edi
mov dword [esi + 4], ecx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov dword [esi], eax
call dword [ebp + 8]
cmp dword [esi], 0
je 0x100bc0fe
mov eax, 0x100bc1c0
jmp 0x100bc13a
push dword [esi + 4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100bc166
xor edi, edi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 4]
sub eax, edi
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100bc15c
add edi, dword [ebp - 4]
cmp edi, dword [esi + 4]
jne 0x100bc111
mov eax, 0x100bc190
push ebx
mov dword [esi + 0x18], eax
call dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 0x10], eax
xor eax, eax
pop ebx
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi]
call fcn.100c215f
add esp, 4
push ebx
call dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ebx
call ecx
pop edi
pop ebx
mov dword [esi], 0
mov eax, 0x51
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c0fb3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100c0fda
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100c0fdd
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100c0f8f
pop esi
leave
ret 8

Function at 0x405298
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jnp 0x4052fe
xchg byte [ebp + 0x8eb90c0], al
div edi
xor eax, 0xb86ca0b4
invalid
xchg edi, eax
adc dword [eax], 0x7a
push ds
test ecx, ecx

Function at 0x40abf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
adc dword [eax + ecx], 0xffffff8b
push ebp
mov edi, 0xe5675653
cmp al, byte [ebp - 0x33608601]
jne 0x40ac13
pop edi
pop esi
xor esp, dword [edi]
test eax, 0xc25d3a8b
dec eax
add byte [ebx + 0x455dfc7d], cl
pop ebp
inc ebp
aad 0x83
cmp byte [eax], al
je 0x40ac05
sub dh, byte [ebp + 8]
xor edx, dword [esi]
jne 0x40ac31
add esi, 2
cmp ecx, 0xe0
mov dword [ebp + 8], esi
jge 0x40ac47
test byte [ecx + 0x4f308b3a], cl
pop es
xor byte [ebx + 0x83b1045], cl
inc eax
mov dword [edi], ebp
mov ah, 0xe9
aas
add dword [eax], eax
add byte [ebx - 0x3ffda3f], cl
mov ah, 0
mov eax, ecx
and eax, 0xb4fc00
cmp eax, 0x2d6edc00
je 0x40ad75
cmp eax, 0xd800
jne 0x40aca6
xor dword [edx + eax + 0xf], 0xffffff82
inc byte [eax]
add byte [eax], al
mov ax, word [esi]
mov edx, ecx
and edx, 0xfc00
adc edx, edi
add byte [eax + eax - 0xa7af0c6], al
add byte [esi + ecx - 0x7f], cl
test eax, 0x391
cmp eax, dword [ebx]
add eax, dword [eax]
mov al, 0xc1
loope 0x40ac98
or eax, ecx
add esi, 2
cdq
mov ebx, eax
imul esi, dword [ecx + 0x4697c381], 1
add byte [ecx - 0x2815f78b], cl
add bl, ch
pop es
add ebx, 0x14697
mov dword [ebp + 8], esi
ljmp 0xc18b
mov eax, ecx
sbb ah, bh
cmp cl, byte [ebx - 0x743ce706]
xlatb
mov ecx, 0x9700000b
call fcn.0040b810
lodsd eax, dword [esi]
enter 0x154, 0
add byte [ebx + ecx], al
retf 0x1174
pop edi
xor edi, dword [ecx + 0x2b16]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d7e5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5286a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5e0390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.004fc4ab
pop ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41d82f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ea44
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.0041f62e
lea edx, [ebx + 0x60]
xor eax, eax
mov byte [edx + 0x49], al
mov dword [edx + 0x50], 0x10
test al, al
jne 0x41ea75
mov eax, edx
mov byte [edx + 0x49], 1
neg eax
and eax, 0xf
add eax, edx
push 8
mov dword [edx + 0x54], eax
mov esi, 0x5baa20
mov edi, dword [ebx + 0xb4]
mov eax, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx], vtable.CryptoPP::SHA256.0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420624
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x529fea
call fcn.004e4550
push str.ConnectionManager::Start
push str._s:_enter
push 1
xor esi, esi
push esi
call fcn.00439ccd
add esp, 0x10
mov edi, 0x5e9330
mov ecx, edi
push 1
call fcn.00420524
push ecx
push dword [0x5e9340]
lea ecx, [ebp - 0x2c]
call fcn.0045c49f
xor ecx, ecx
mov dword [ebp - 4], esi
cmp byte [ebp + 8], cl
movzx eax, byte [0x5e9630]
cmove eax, ecx
sub esp, 0x18
mov ecx, esp
mov byte [0x5e9630], al
call fcn.0045826b
call fcn.00456600
add esp, 0x18
mov dword [0x5e9620], eax
call fcn.004581a8
mov byte [0x5e9625], al
call fcn.0044fbf1
push 0xe1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5e9344]
test eax, eax
jne 0x42070c
cmp dword [0x5e9614], eax
jne 0x42070c
push 1
mov ecx, edi
call fcn.004203e9
push esi
push esi
push edi
push 0x420770
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x5e9614], eax
test eax, eax
jne 0x4206fe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Start:_CreateThread_failed___d_
push esi
push esi
call fcn.00439ccd
add esp, 0x10
mov ecx, edi
push esi
call fcn.004203e9
push str.ConnectionManager::Start
push str._s:_exit
push 1
jmp 0x420713
push eax
push str.Invalid_connection_manager_state_in_Start___d_
push esi
push esi
call fcn.00439ccd
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0045c53a
call fcn.004e44fa
ret 4
Function at 0x42346d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x5e0e10
mov dword [0x5e0e0c], 0x5e9330
xor esi, esi
cmp dword [ebp + 8], ecx
je 0x423492
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
call fcn.00416900
mov eax, dword [0x5e961c]
test eax, eax
je 0x4234a7
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4234f2
push esi
push esi
push 0x5e0e0c
push 0x4234f7
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x5e961c], eax
test eax, eax
jne 0x4234f2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ConnectionManager::SendFeedback
push str._s:_CreateThread_failed___d_
push esi
push esi
call fcn.00439ccd
add esp, 0x14
push esi
push esi
push 0x466
push dword [0x5e87b0]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4
Function at 0x42b775
Capabilities:
Get file version info

Disassembly:
push 0x98
mov eax, 0x52b4dd
call fcn.004e4550
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x84], edi
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x94], esi
mov ecx, dword [eax]
mov eax, dword [0x5eb57c]
cmp eax, dword [ecx + 0x139c]
jle 0x42b7f9
push 0x5eb57c
call fcn.004e3b00
cmp dword [0x5eb57c], 0xffffffff
pop ecx
jne 0x42b7f9
mov dword [ebp - 4], esi
mov dword [0x5eb580], esi
mov dword [0x5eb584], esi
call fcn.00430557
push 0x53b0c0
mov dword [0x5eb580], eax
call fcn.004e4170
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x5eb57c
call fcn.004e3ac1
pop ecx
push ebx
lea eax, [ebp - 0x7c]
mov ecx, 0x5eb580
push eax
call fcn.0042f16f
mov esi, dword [ebp - 0x7c]
cmp esi, dword [0x5eb580]
je 0x42b825
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.00414364
shr eax, 0x1f
test al, al
je 0x42b82b
mov esi, dword [0x5eb580]
cmp esi, dword [0x5eb580]
je 0x42b843
add esi, 0x28
mov ecx, edi
push esi
call fcn.004262f0
jmp 0x42b975
cmp dword [ebx + 0x14], 0x10
jb 0x42b84d
mov eax, dword [ebx]
jmp 0x42b84f
mov eax, ebx
lea ecx, [ebp - 0x98]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x42b969
push eax
call fcn.004e4198
mov esi, eax
mov dword [ebp - 0x84], esi
pop ecx
test esi, esi
jne 0x42b89c
push str.GetDLLVersion:324:_memory_allocation_failed
lea ecx, [ebp - 0xa4]
call fcn.0040e6bb
push 0x5dc580
lea eax, [ebp - 0xa4]
push eax
call fcn.004fd5aa
push esi
lea ecx, [ebp - 0x7c]
call fcn.0041fc3f
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
jb 0x42b8b9
mov eax, dword [ebx]
jmp 0x42b8bb
mov eax, ebx
push esi
push dword [ebp - 0x78]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x42b95c
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42b95c
mov ecx, dword [ebp - 0x80]
xor esi, esi
test ecx, 0xfffffffc
jbe 0x42b95c
mov eax, dword [ebp - 0x88]
movzx edx, word [eax + esi*4]
cmp dl, 9
jne 0x42b952
movzx eax, word [eax + esi*4 + 2]
push eax
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.0043189c
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x8c]
and dword [ebp - 0x8c], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x42b97d
mov ecx, dword [ebp - 0x80]
mov eax, ecx
inc esi
shr eax, 2
cmp esi, eax
jb 0x42b8fc
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x7c]
call fcn.004e399c
pop ecx
push 0x5ad5fc
mov ecx, edi
call fcn.004261d3
mov eax, edi
call fcn.004e44fa
ret
mov edi, dword [ebp - 0x78]
mov ecx, 0x5eb580
push ebx
call fcn.0042ee08
push edi
mov esi, eax
call fcn.004261ac
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00426133
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x90]
call fcn.004261d3
push dword [ebp - 0x7c]
call fcn.004e399c
mov eax, dword [ebp - 0x90]
pop ecx
jmp 0x42b977
Function at 0x430643
Capabilities:
Print debug messages

Disassembly:
push 0xa4
mov eax, 0x52bece
call fcn.004e4550
mov edi, edx
mov esi, ecx
push 7
lea ecx, [ebp - 0xb0]
call fcn.00410f67
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0045b7b5
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042610f
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.0041107f
push str.timestamp__timestamp
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.00412345
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004112ab
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.004277fa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.0041104d
push 0x5b0080
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00412345
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.004112ab
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push edi
call fcn.004110c1
push str.data
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00412345
mov ecx, eax
call fcn.004112ab
lea ecx, [ebp - 0x48]
call fcn.004130af
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004130ce
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0x550680
call esi
push ecx
push dword [0x5e9150]
lea ecx, [ebp - 0x94]
call fcn.0045c49f
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x5e9158
call fcn.0041239d
lea ecx, [ebp - 0x94]
call fcn.0045c53a
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00416721
lea ecx, [ebp - 0x48]
call fcn.0040f228
lea ecx, [ebp - 0xb0]
call fcn.0041120b
call fcn.004e44fa
ret