joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b000
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41c26c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 0xa
call fcn.004196e0
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004196e0
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 8
call fcn.004196e0
lea ecx, [edi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 6
call fcn.004196e0
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xb
call fcn.004196e0
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004196e0
lea edi, [esi + 0x9c]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 0xd
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xc
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0xe
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004196e0
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
lea ebp, [edi + 0x18]
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x11
call fcn.004196e0
mov ecx, ebp
mov byte [esp + 0x1c], 3
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xf
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004196e0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419a64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x4104b0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41d0bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 0xa
call fcn.004196e0
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004196e0
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 8
call fcn.004196e0
lea ecx, [edi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 6
call fcn.004196e0
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xb
call fcn.004196e0
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004196e0
lea edi, [esi + 0x9c]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 0xd
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xc
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0xe
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004196e0
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
lea ebp, [edi + 0x18]
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x11
call fcn.004196e0
mov ecx, ebp
mov byte [esp + 0x1c], 3
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xf
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004196e0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419a64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x4104c9
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41d0bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 0xa
call fcn.004196e0
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004196e0
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 8
call fcn.004196e0
lea ecx, [edi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 6
call fcn.004196e0
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xb
call fcn.004196e0
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004196e0
lea edi, [esi + 0x9c]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 0xd
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xc
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0xe
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004196e0
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
lea ebp, [edi + 0x18]
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x11
call fcn.004196e0
mov ecx, ebp
mov byte [esp + 0x1c], 3
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xf
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004196e0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419a64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x4124f0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41d54c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 0xa
call fcn.004196e0
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004196e0
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 8
call fcn.004196e0
lea ecx, [edi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 6
call fcn.004196e0
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xb
call fcn.004196e0
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004196e0
lea edi, [esi + 0x9c]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 0xd
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xc
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0xe
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004196e0
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
lea ebp, [edi + 0x18]
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x11
call fcn.004196e0
mov ecx, ebp
mov byte [esp + 0x1c], 3
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xf
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004196e0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419a64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x4163d0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41e23c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 0xa
call fcn.004196e0
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004196e0
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 8
call fcn.004196e0
lea ecx, [edi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 6
call fcn.004196e0
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0xb
call fcn.004196e0
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004196e0
lea edi, [esi + 0x9c]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x1c], 0xd
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xc
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0xe
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004196e0
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
lea ebp, [edi + 0x18]
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x11
call fcn.004196e0
mov ecx, ebp
mov byte [esp + 0x1c], 3
call fcn.004196e0
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 0xf
call fcn.004196e0
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call fcn.004196e0
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004196e0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419a64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x41a240
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422808
push 0x41a3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x42aacc], 0xffffffff
mov dword [0x42aad0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x42aac0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x42aabc]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x42aac8], ecx
call fcn.0041a450
mov eax, dword [0x42a988]
test eax, eax
jne 0x41a2d1
push 0x41a440
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.0041a420
push 0x429014
push 0x429010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x42aab8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x42aab4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x42900c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x41a3df
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x41a345
cmp al, 0x22
jne 0x41a337
cmp byte [esi], 0x22
jne 0x41a34e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x41a35e
cmp al, 0x20
ja 0x41a35e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x41a34e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x41a37f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x41a384
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x41a3c4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x41a34e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x41a3df
Function at 0xd10010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7f3000]
push edi
or ebp, 0xffffffff
jmp 0xd10032
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd10039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd10028
mov eax, 1
add ebx, ebx
jne 0xd1004b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd10040
jne 0xd1005c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd10040
xor ecx, ecx
sub eax, 3
jb 0xd10070
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd100e2
mov ebp, eax
add ebx, ebx
jne 0xd1007b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xd10088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xd100ac
inc ecx
add ebx, ebx
jne 0xd10098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd1008d
jne 0xd100a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd1008d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd100cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd100bd
jmp 0xd1002e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd100cc
add edi, ecx
jmp 0xd1002e
pop esi
mov edi, esi
mov ecx, 0x14b73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd100ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0xd100ef
lea edi, [esi + 0x90e000]
mov eax, dword [edi]
or eax, eax
je 0xd10160
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91c088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x91c0c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd10115
mov ecx, edi
jns 0xd10144
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x91c0c8]
or eax, eax
je 0xd1015a
mov dword [ebx], eax
add ebx, 4
jmp 0xd10132
call dword [esi + 0x91c0cc]
popal
jmp 0x407b90
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1f987065
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x8491a7c
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4016a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff0b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x46c098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
call fcn.0042ddc0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x104
lea eax, [ebp - 0x114]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x401737
xor ecx, ecx
jmp 0x401749
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401740
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402dd0
push 0x1a
push str.DocumentsLSIDELSIDE.ini
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.00402610
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push esi
push str.EdgePort
push str.UIHelper
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4017b9
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00403540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aad6
mov esp, ebp
pop ebp
ret

Function at 0x401930
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff0b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x46c098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0042ddc0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x104
lea eax, [ebp - 0x114]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x4019c4
xor ecx, ecx
jmp 0x4019d9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4019d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402dd0
push 0x1a
push str.DocumentsLSIDELSIDE.ini
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.00402610
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push 0
push str.isWeblog
push str.UIHelper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov esi, eax
cmp ecx, 0x10
jb 0x401a4c
inc ecx
push ecx
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
call fcn.00403540
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aad6
mov esp, ebp
pop ebp
ret
Function at 0x403f10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x100], 0
je 0x403f5d
mov eax, dword [esi]
push 0
push 0
push 0x12
call dword [eax + 0x28]
push dword [ebp + 8]
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403f5d
mov eax, dword [esi + 0x104]
test eax, eax
je 0x403f5d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x104], 0
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x404160
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45018d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x46c098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0xfc
lea eax, [edi + 4]
mov dword [ebp - 0x1ac], edi
push 0
push eax
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
call fcn.0042ddc0
add esp, 0xc
mov dword [ebp - 4], 0
lea esi, [edi + 0x11c]
mov dword [edi], vtable.CLocalCallMonitor.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407380
mov dword [esi], eax
lea esi, [edi + 0x128]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407380
mov dword [esi], eax
lea esi, [edi + 0x130]
mov byte [ebp - 4], 2
push 0
push 0
mov dword [ebp - 0x1a8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407350
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
mov dword [edi + 0x110], 0xffffffff
mov dword [edi + 0x114], 0x4268
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1a4]
push eax
push 2
mov dword [edi + 0x118], 0
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x124], 0
add ecx, ecx
add dword [edi + 0x114], ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aad6
mov esp, ebp
pop ebp
ret
Function at 0x409440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450950
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
mov eax, dword [0x46c098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x409549
call fcn.004214d0
lea eax, [ebp - 0x54]
push eax
call fcn.00422de0
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x4094a3
mov edx, dword [edx]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
cmp byte [edx], 0
jne 0x4094be
xor ecx, ecx
jmp 0x4094cc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4094c3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.00402dd0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str.CMonitorThread::StartThread_CreateEvent_Failed_ErrorCode___d
push eax
call fcn.00421490
add esp, 4
push eax
call fcn.004212a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, 0x10
jb 0x409510
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00403540
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
cmp eax, 0x10
jb 0x409537
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00403540
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x408b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x40960a
call fcn.004214d0
lea eax, [ebp - 0x6c]
push eax
call fcn.00422de0
add esp, 4
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x40958a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402ed0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
push str.CMonitorThread::StartThread_CreateThread_Failed_ErrorCode___d
push eax
call fcn.00421490
add esp, 4
push eax
call fcn.004212a0
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, 0x10
jb 0x4095cd
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00403540
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x409537
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00403540
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409620
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x409656
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x409656
mov eax, dword [esi + 8]
test eax, eax
je 0x409656
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], 0
mov eax, 1
pop esi
pop ebp
ret 4