joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e900
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0x1000
mov ebx, 3
mov eax, dword [ebp - 0x30]
push eax
call fcn.0055b249
mov edi, eax
add esp, 4
test edi, edi
je 0x40e974
push 1
lea ecx, [ebp - 0x30]
push ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, 0x7a
jne 0x40e987
push edi
call fcn.0055a19c
inc ebx
add esp, 4
cmp ebx, 3
jl 0x40e937
jmp 0x40e9fc
push str._logIPv4Routes__No_memory
push 1
call fcn.005304d0
add esp, 8
xor al, al
jmp 0x40ea03
test esi, esi
jne 0x40e9f3
xor ebx, ebx
cmp dword [edi], ebx
jbe 0x40e9f3
lea esi, [edi + 4]
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], eax
call fcn.0040e760
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 0x10
jae 0x40e9be
lea eax, [ebp - 0x2c]
push eax
push ebx
push str._logIPv4Routes___d:__s
push 3
call fcn.005304d0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x40e9e8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00558723
add esp, 4
inc ebx
add esi, 0x38
cmp ebx, dword [edi]
jb 0x40e994
mov esi, dword [ebp - 0x34]
push edi
call fcn.0055a19c
add esp, 4
xor eax, eax
test esi, esi
sete al
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.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x416070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x416191
cmp byte [edi + 0x49], bl
je 0x416191
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x416185
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4160e5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4160fd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x416126
dec eax
je 0x41612a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x416180
jmp 0x41618c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41613a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x416163
cmp ebx, 0x10
jae 0x416149
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0055d5db
add esp, 0x10
cmp esi, eax
jne 0x41617d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x416189
test esi, esi
jne 0x4160f1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00414850
jmp 0x4160eb
lea ecx, [ebp - 0x2c]
call fcn.00421b10
xor al, al
jmp 0x416193
lea ecx, [ebp - 0x2c]
call fcn.00421b10
mov al, 1
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.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x416f10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8b0b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62d12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00542726
push 4
mov dword [ebp - 4], 0
call fcn.00559a21
mov edi, eax
add esp, 4
test edi, edi
je 0x416f90
call fcn.0054225f
mov dword [edi], eax
call fcn.005420c3
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00541f2c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x416f86
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00541f54
jmp 0x416f92
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426460
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a98e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x62d12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.IManagedObjectImpl_class_managed_objects::IPropertyMap_.0
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [esi], vtable.IPropertyMapImpl.0
push 0x70
mov dword [esi + 0x28], 0
call fcn.00559a21
add esp, 4
test eax, eax
je 0x4264f9
mov dword [esi + 0x24], eax
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x24]
mov byte [ecx + 0x68], 1
mov edx, dword [esi + 0x24]
mov byte [edx + 0x69], 1
mov byte [esi + 0x30], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
call fcn.0055909d
push 0x60e354
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00559aa1
int3
Function at 0x45c950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45c96b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45c9a2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x45c99e
jmp 0x45c990
cmp esi, eax
jae 0x45c9a2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x45c990
cmp esi, eax
jb 0x45c9a9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x463790
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x62d12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebx + 0x88]
mov dword [ebp - 0x24], ecx
call fcn.0050a830
push 0xc
call fcn.00559a21
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, eax
je 0x4637fb
mov eax, dword [ebp + 8]
mov dword [esi], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [ebp - 0x10], esi
jmp 0x4637fe
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], edx
call sub.KERNEL32.dll_GetTickCount
mov edi, dword [ebx + 0x94]
mov esi, dword [edi]
add ebx, 0x94
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
cmp esi, edi
je 0x46384f
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 8]
push eax
call fcn.0045ce80
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
call fcn.0045ce80
cmp eax, ebx
jb 0x46384c
mov esi, dword [esi]
cmp esi, edi
jne 0x463828
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, 4
ja case.default.0x463859
jmp dword [eax*4 + 0x463918]
mov ecx, str.Device_Volume_Mount_Requested
jmp 0x463888
mov ecx, str.Device_Attached
jmp 0x463888
mov ecx, str.Device_Detached
jmp 0x463888
mov ecx, str.Device_Network_Address_Update
jmp 0x463888
mov ecx, str.Device_Cleanup
jmp 0x463888
mov ecx, str.Device_Work_Unknown
mov eax, dword [ebp - 0x1c]
add eax, 0x40
cmp dword [eax + 0x14], 8
jb 0x463896
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push str._S__QueueDelayedWork__Delay:__d_Work:__s
push 0xa
push str.DeviceVolumeManager
push 0x289
push str.DeviceVolumeManager.cpp
mov ecx, 0x632598
call fcn.004deb10
push eax
call fcn.004e2af0
mov eax, dword [esi + 4]
add esp, 0x1c
lea edx, [ebp - 0x20]
push edx
push eax
push esi
mov ecx, ebx
call fcn.004618f0
mov ecx, dword [ebx + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x4638ee
push str.list_T__too_long
call fcn.00541b18
inc ecx
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x24]
call fcn.0050a850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469cd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5949f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x62d12c]
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
push 9
mov esi, ecx
xor eax, eax
xor ebx, ebx
push str._cleanall
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00422a20
mov eax, dword [ebp - 0x2c]
mov edi, 8
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], edi
jae 0x469d31
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.00469a70
test al, al
jne 0x469d8d
cmp dword [esi + 0x3c], edi
lea eax, [esi + 0x28]
jb 0x469d4b
mov eax, dword [eax]
push eax
push str._S_LaunchProxy_failed.
push 1
push str.VolumeMounter
push 0x85
push str.DeviceVolumeMounter.cpp
mov ecx, 0x632598
call fcn.004deb10
push eax
call fcn.004e2af0
add esp, 0x14
cmp dword [ebp - 0x18], edi
jb 0x469d86
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00558723
add esp, 4
xor al, al
jmp 0x469e99
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1d4c0
push eax
call edi
add esi, 0x28
test eax, eax
jne 0x469ddc
cmp dword [esi + 0x14], 8
jb 0x469daf
mov eax, dword [esi]
jmp 0x469db1
mov eax, esi
push eax
push str._S_VolumeMountController_process_complete.
push 1
push str.VolumeMounter
push 0x8d
push str.DeviceVolumeMounter.cpp
mov ecx, 0x632598
call fcn.004deb10
push eax
call fcn.004e2af0
mov bl, 1
jmp 0x469e0f
cmp dword [esi + 0x14], 8
jb 0x469de6
mov eax, dword [esi]
jmp 0x469de8
mov eax, esi
push eax
push str._S_VolumeMountController_Unknown_wait_result.
push 1
push str.VolumeMounter
push 0x90
push str.DeviceVolumeMounter.cpp
mov ecx, 0x632598
call fcn.004deb10
push eax
call fcn.004e2af0
mov ecx, dword [ebp - 0x3c]
add esp, 0x14
push 0x2710
push ecx
call edi
test eax, eax
jne 0x469e3d
cmp dword [esi + 0x14], 8
jb 0x469e29
mov esi, dword [esi]
push esi
push str._S_VolumeMountController_client_process_exited_closed
push 1
push str.VolumeMounter
push 0x94
jmp 0x469e63
mov edx, dword [ebp - 0x3c]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esi + 0x14], 8
jb 0x469e51
mov esi, dword [esi]
push esi
push str._S_VolumeMountController_terminate_client_process
push 1
push str.VolumeMounter
push 0x97
push str.DeviceVolumeMounter.cpp
mov ecx, 0x632598
call fcn.004deb10
push eax
call fcn.004e2af0
mov eax, dword [ebp - 0x3c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 8
jb 0x469e97
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00558723
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x46d810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x1b65
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x100
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46d851
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x204]
push edx
lea ecx, [esi + 0x2c]
call fcn.00422a20
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00558b78
mov esp, ebp
pop ebp
ret 0x10
Function at 0x471320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595181
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x62d12c]
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, ecx
mov dword [ebp - 0xb4], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], vtable.IRimModemNotify.0
mov dword [esi], vtable.modemcontrollerimpl.1.0
mov dword [esi + 4], vtable.modemcontrollerimpl.0
mov dword [esi + 0x58], 0xf
mov dword [esi + 0x54], ebx
mov byte [esi + 0x44], bl
push 0x14
mov byte [ebp - 4], 2
mov dword [esi + 0x68], ebx
call fcn.00559a21
add esp, 4
cmp eax, ebx
je 0x4714a1
mov dword [esi + 0x64], eax
mov dword [eax], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x64]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x64]
mov byte [ecx + 0x11], 1
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
push str.modemcontrollerimpl
push str.ENTER:__s
push 0x14
push str.ModemController
push 0x96
push str.modemcontroller.cpp
mov ecx, 0x632598
mov byte [ebp - 4], 5
mov dword [ebp - 0xac], vtable.CDMLogFunction.0
mov dword [ebp - 0xa8], 0x14
mov dword [ebp - 0xa4], str.modemcontrollerimpl
mov dword [ebp - 0xa0], str.ModemController
mov dword [ebp - 0x9c], str.modemcontroller.cpp
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x14], 0x96
call fcn.004deb10
push eax
call fcn.004e2af0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x14
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x28], eax
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x2c], eax
call edi
lea edx, [esi + 0xc]
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], ecx
lea ecx, [ebp - 0xac]
mov dword [esi + 0x24], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x38], bl
mov word [esi + 0x39], 0x100
mov dword [esi + 0x7c], ebx
call fcn.004372a0
mov eax, esi
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.00558b78
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], ebx
call fcn.0055909d
push 0x60e354
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xc0], vtable.std::bad_alloc.0
call fcn.00559aa1
int3
Function at 0x471510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5951bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.start
push str.ENTER:__s
push 0x14
push str.ModemController
push 0xc4
mov esi, ecx
push str.modemcontroller.cpp
mov ecx, 0x632598
mov dword [ebp - 0xac], vtable.CDMLogFunction.0
mov dword [ebp - 0xa8], 0x14
mov dword [ebp - 0xa4], str.start
mov dword [ebp - 0xa0], str.ModemController
mov dword [ebp - 0x9c], str.modemcontroller.cpp
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xc4
call fcn.004deb10
push eax
call fcn.004e2af0
add esp, 0x14
cmp dword [esi + 0x24], 0
mov dword [ebp - 4], 0
mov byte [esi + 0x3a], 1
je 0x4715c3
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [ebp - 0xb0]
push eax
push 0
push esi
push 0x471310
push 0
push 0
call fcn.0055b93d
add esp, 0x18
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
test eax, eax
jne 0x4715fb
call fcn.004372a0
xor al, al
jmp 0x471602
call fcn.004372a0
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.00558b78
mov esp, ebp
pop ebp
ret

Function at 0x476ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5958f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62d12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov dword [esi], vtable.DeviceNetworkAddress.0
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov word [esi + 0x30], ax
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.0050a7d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49a4a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a56
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x62d12c]
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, ecx
xor ebx, ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 0xb4], esi
mov byte [esi + 0x44], bl
or eax, 0xffffffff
mov dword [ebp - 4], ebx
mov dword [esi + 4], vtable.Timer.0
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov word [esi + 0x60], bx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 4
mov dword [esi + 0x80], 0x101
call fcn.004415b0
push ebx
push 1
lea ecx, [esi + 0x1c4]
mov byte [ebp - 4], 5
mov dword [esi + 0x1c0], ebx
call fcn.0050a510
push 1
push ebx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 6
call fcn.0050a510
push ebx
push 1
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 7
call fcn.0050a510
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1e4], ebx
mov word [esi + 0x1d4], cx
mov dword [esi + 0x1f0], ebx
xor edx, edx
mov dword [esi + 0x208], eax
mov dword [esi + 0x204], ebx
mov word [esi + 0x1f4], dx
mov dword [esi + 0x224], eax
xor eax, eax
mov dword [esi + 0x220], ebx
mov word [esi + 0x210], ax
push esi
mov byte [ebp - 4], 0xb
mov dword [esi + 0x22c], ebx
push str._________:_X_
push edi
call fcn.004ebbe0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x49a5f4
mov edi, dword [edi]
push 0x14
push str.CRIMDevice
push edi
push str.RimDevice
push 0x43
push str.RIMDevice.cpp
lea ecx, [ebp - 0xac]
call fcn.004371e0
push 0x80
mov byte [ebp - 4], 0xc
call fcn.00559a21
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
mov byte [ebp - 4], 0xd
cmp edi, ebx
je 0x49a645
mov ecx, edi
call fcn.00457070
mov dword [edi], vtable.ATL::CComObjectNoLock_class_CRIMDataStore_.0
mov eax, edi
jmp 0x49a647
xor eax, eax
mov dword [esi + 0x48], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov byte [ebp - 4], 0xc
call edx
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x88]
push eax
call edi
lea ecx, [esi + 0xa0]
push ecx
call edi
lea edx, [esi + 0x1b8]
push edx
call fcn.0055ae71
add esp, 4
push esi
call fcn.00493160
lea ecx, [ebp - 0xac]
mov dword [esi + 0x1cc], ebx
mov byte [ebp - 4], 0xb
call fcn.004372a0
mov eax, esi
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.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x49d780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0049c1c0
mov ebx, eax
cmp ebx, esi
je 0x49d7fa
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x49d7e5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x49d87c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0049d780
mov ebx, eax
cmp ebx, esi
jne 0x49d7d4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x49d830
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x49d895
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.0049c050
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x49d8b8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret 4