joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413f00
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4878f3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0042f400
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.par::PipeServer.0
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
call fcn.00415b60
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
call fcn.004064f0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x6c], 0
push 0x14
push 0
mov eax, dword [ebp - 0x34]
add eax, 0x74
push eax
call fcn.0046ad80
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x84], eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x28], 1
lea edx, [ebp - 0x24]
mov dword [ebp - 0x2c], edx
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea edx, [ebp - 0x30]
push edx
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
call fcn.00402050
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x70], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x88], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret 4
Function at 0x414060
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487952
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4ae498]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x70], 0xffffffff
jne 0x414148
call fcn.00427fe0
test eax, eax
je 0x4140d7
push str.server:_CreatePipe_failed
lea ecx, [ebp - 0x3c]
call fcn.00401d70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
or ecx, 1
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00429850
add esp, 4
mov dword [ebp - 0x64], 0
jmp 0x41410b
push str.server:_CreatePipe_failed
lea ecx, [ebp - 0x58]
call fcn.00401d70
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
or eax, 2
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00427fe0
mov ecx, eax
call fcn.00428c70
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
and edx, 2
je 0x414126
and dword [ebp - 0x5c], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.00401db0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
and eax, 1
je 0x414141
and dword [ebp - 0x5c], 0xfffffffe
lea ecx, [ebp - 0x3c]
call fcn.00401db0
xor eax, eax
jmp 0x41424e
mov ecx, 1
test ecx, ecx
je 0x414249
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x60]
add ecx, 0x74
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x414186
mov dword [ebp - 0x68], 1
jmp 0x414199
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x217
sete cl
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x414206
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x60]
call fcn.00439150
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x18]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x4141e9
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov eax, 1
jmp 0x41424e
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x60]
add eax, 0x74
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x414214
mov ecx, dword [ebp - 0x60]
call fcn.00414260
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov ecx, dword [ebp - 0x60]
call fcn.0042f8a0
movzx ecx, al
test ecx, ecx
je 0x414244
mov eax, 1
jmp 0x41424e
jmp 0x414148
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x415740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401ee0
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402050
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41577b
xor al, al
jmp 0x41577d
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x423c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.00467940
jmp 0x423cb8
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
call fcn.00443000
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.004608e0
push eax
lea ecx, [ebp - 8]
call fcn.0043ca20
movzx eax, al
test eax, eax
je 0x423d3a
lea ecx, [ebp - 8]
call fcn.00424790
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jne 0x423d35
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.00424c70
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00423620
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x423d4f
jmp 0x423caa
mov dword [ebp - 0x2c], str.Attempt_to_remove_Window_that_is_not_a_child_of_this_one.
push 0x4a3850
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0046aefb
mov esp, ebp
pop ebp
ret 4

Function at 0x427670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xb0]
call fcn.00423830
mov ecx, dword [ebp - 8]
call fcn.00428c10
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xb0]
call fcn.00423620
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xb0]
call fcn.00423620
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xb0]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x4276d6
push 1
mov ecx, dword [ebp - 4]
call fcn.004276e0
mov esp, ebp
pop ebp
ret
Function at 0x428740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a155
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
push 0x49ce84
call fcn.00427fe0
add eax, 8
push eax
call fcn.00402e20
add esp, 8
movzx eax, al
test eax, eax
je 0x4287c3
push 0x49ce84
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp + 8]
jmp 0x428896
lea edx, [ebp - 0x220]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00401de0
mov dword [ebp - 4], 1
call fcn.00427fe0
add eax, 8
push eax
push 0x49d0c0
lea ecx, [ebp - 0x258]
push ecx
call fcn.00406940
add esp, 0xc
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00406470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00401e50
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov edx, dword [ebp - 0x25c]
or edx, 1
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00401e50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret 4
Function at 0x4288c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a155
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
push 0x49ce84
call fcn.00427fe0
add eax, 8
push eax
call fcn.00402e20
add esp, 8
movzx eax, al
test eax, eax
je 0x428943
push 0x49ce84
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp + 8]
jmp 0x428a16
lea edx, [ebp - 0x220]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00401de0
mov dword [ebp - 4], 1
call fcn.00427fe0
add eax, 8
push eax
push 0x49d0c0
lea ecx, [ebp - 0x258]
push ecx
call fcn.00406940
add esp, 0xc
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00406470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00401e50
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov edx, dword [ebp - 0x25c]
or edx, 1
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00401e50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret 4
Function at 0x429b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a2d1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
push 0x49ce84
lea ecx, [ebp - 0x30]
call fcn.00401de0
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046941e
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004021d0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0046ac7a
add esp, 4
cmp dword [ebp - 0x34], 0
jne 0x429c01
push 0x49ce84
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401e50
mov eax, dword [ebp + 8]
jmp 0x429c25
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401e50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret
Function at 0x429c40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401ed0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0046941e
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00401ed0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x429d25
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x49d0c0
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x429d25
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0046ac7a
add esp, 4
xor eax, eax
cmp dword [ebp - 4], 1
sete al
mov esp, ebp
pop ebp
ret

Function at 0x42f600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ae498]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push str._Create_thread_
lea ecx, [ebp - 0x28]
call fcn.00401d70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004358f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401db0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x2c]
add edx, 8
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x42f8e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f6e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9f3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4ae498]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.0042fa70
add esp, 4
movzx edx, al
test edx, edx
je 0x42f75e
push str._requestStopAndWait___already_stopped_
lea ecx, [ebp - 0x34]
call fcn.00401d70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004358f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
jmp 0x42f86b
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x10], eax
push 0x7d0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42f7d9
push str._requestStopAndWait____wait_done:_thread_stopped_
lea ecx, [ebp - 0x50]
call fcn.00401d70
mov dword [ebp - 4], 1
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.004358f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401db0
jmp 0x42f86b
cmp dword [ebp - 0x18], 1
jne 0x42f81e
mov ecx, dword [ebp - 0x8c]
call fcn.0042f880
push str._requestStopAndWait____thread_is_legally_terminated_
lea ecx, [ebp - 0x6c]
call fcn.00401d70
mov dword [ebp - 4], 2
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004358f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401db0
jmp 0x42f86b
push str._DEAD_LOCK_in_requestStopAndWait___._The_thread_will_be_terminated_now.
lea ecx, [ebp - 0x88]
call fcn.00401d70
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.004358f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00401db0
push 1
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42f880
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret
Function at 0x433030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48adf8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x433070
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x43307c
mov al, 1
jmp 0x43321f
mov dword [ebp - 0x10], 8
call fcn.004304f0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004304f0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00430d10
add esp, 8
movzx eax, al
test eax, eax
je 0x4330bf
xor al, al
jmp 0x43321f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00432130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0042e350
mov ecx, eax
call fcn.00433410
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401ee0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042e350
mov ecx, eax
call fcn.00433410
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00433e10
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x43313a
cmp dword [ebp - 0x6c], 1
je 0x433141
cmp dword [ebp - 0x6c], 3
je 0x4331db
jmp 0x4331f3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042e350
mov ecx, eax
call fcn.00433410
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4331a4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042e350
mov ecx, eax
call fcn.00433410
push eax
call fcn.0046ed03
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4331a4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov al, byte [ebp - 0x61]
jmp 0x43321f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4331c7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov al, byte [ebp - 0x62]
jmp 0x43321f
cmp dword [ebp - 0x38], 0
jne 0x4331d9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00429210
jmp 0x43320b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov al, byte [ebp - 0x63]
jmp 0x43321f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov al, byte [ebp - 0x64]
jmp 0x43321f
jmp 0x4330d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret
Function at 0x452fe0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x45303d
push 0x49ce84
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
jmp 0x45305e
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret 4
Function at 0x460660
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f018
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add eax, 0x50
push eax
lea ecx, [ebp - 0x34]
call fcn.00406440
mov dword [ebp - 4], 0
push 0x49d9fc
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040f210
add esp, 8
movzx edx, al
test edx, edx
je 0x4606c2
mov dword [ebp - 0x40], 0
jmp 0x4606cd
lea ecx, [ebp - 0x34]
call fcn.00402050
mov dword [ebp - 0x40], eax
push 0
push 1
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
mov dword [ebp - 0x14], eax
xor ecx, ecx
cmp dword [ebp - 0x14], 1
sete cl
mov byte [ebp - 0xd], cl
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x35], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret