joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
mov ecx, 0x5e600d
call fcn.00403138
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00403ce0
add esp, 0xc
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push 0x8000020
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401414
push str.Create_the_child_process_failed._n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x401436
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4014e0
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x5e3780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x5e600d
call fcn.00403138
mov eax, dword [str.Auto_eject]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x419424]
mov dword [ebp - 0x104], ecx
mov dx, word [0x419428]
mov word [ebp - 0x100], dx
mov al, byte [0x41942a]
mov byte [ebp - 0xfe], al
push 0xf9
push 0
lea eax, [ebp - 0xfd]
push eax
call fcn.00403ce0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00403ce0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x318
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x41942c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4015b7
push str.Open_sc_manager_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x40164d
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
push 1
push 2
push 0x10
push 0x10
push str.ZTOPMICRO_9101DV20_auto_eject
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x40160a
push str.Create_sc_service_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x40164d
push 0
push 0
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401631
push str.Service_start_failed__n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x40164d
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040316a
mov esp, ebp
pop ebp
ret
Function at 0x401660
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x5e3780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x5e600d
call fcn.00403138
mov dword [ebp - 8], 0x419284
push 0x104
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.00403ce0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00403ce0
add esp, 0xc
mov dword [ebp - 0x358], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x419288
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0xffffffff
jne 0x401715
push str.No_files_found._n
call fcn.00401160
add esp, 4
jmp 0x40181b
cmp dword [ebp - 0x358], 0
jne 0x4017e8
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x324]
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + ecx]
cmp edx, ecx
je 0x4017a5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4192a4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x350]
and eax, 0x10
je 0x401798
lea eax, [ebp - 0x210]
push eax
call fcn.00401660
add esp, 4
jmp 0x4017a5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4017e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4017d4
mov dword [ebp - 0x358], 1
jmp 0x4017e3
push str.Couldnt_find_next_file._n
call fcn.00401160
add esp, 4
jmp 0x40181b
jmp 0x401715
mov eax, dword [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40181b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.delete_directory_path_s_error_d_n
call fcn.00401160
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040316a
mov esp, ebp
pop ebp
ret
Function at 0x4022b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x5e3780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x5e6029
call fcn.00403138
mov dword [ebp - 8], str.version
mov dword [ebp - 0xc], str.usbwifi_ndis
mov dword [ebp - 0x10], str.inf_
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00403ce0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov word [ebp - 0x114], ax
mov byte [ebp - 0x112], al
push 0x100
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00403ce0
add esp, 0xc
mov dword [ebp - 0x228], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x224], 0
jmp 0x40237a
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0x258
jge 0x402437
mov eax, dword [ebp - 0x224]
push eax
push str.oem_d.inf
lea ecx, [ebp - 0x120]
push ecx
call fcn.00401490
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00402640
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x402432
push 0
push 1
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupUninstallOEMInfA]
test eax, eax
je 0x40241e
mov eax, dword [ebp - 0x224]
push eax
push str.Uninstall:_d_n
call fcn.00401160
add esp, 8
jmp 0x402432
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Delete_failed__error:_d_n
call fcn.00401160
add esp, 8
jmp 0x40236b
push str.Previous_version_are_deleted_n
call fcn.00401160
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040316a
mov esp, ebp
pop ebp
ret
Function at 0x4027e0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e3780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x5e6029
call fcn.00403138
push 0x9c
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00403ce0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x402887
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_system_version_failed__error_x_n
call fcn.00401160
add esp, 8
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push str.major_x__minor_x__arch_d_n
call fcn.00401160
add esp, 0x10
cmp dword [ebp - 0x9c], 6
jbe 0x4028ff
movzx eax, word [ebp - 0xc4]
cmp eax, 9
je 0x4028e4
movzx eax, word [ebp - 0xc4]
cmp eax, 6
je 0x4028e4
movzx eax, word [ebp - 0xc4]
cmp eax, 7
jne 0x4028f0
mov eax, 6
jmp 0x4029de
mov eax, 5
jmp 0x4029de
cmp dword [ebp - 0x9c], 6
jne 0x402981
cmp dword [ebp - 0x98], 1
jbe 0x40294b
movzx eax, word [ebp - 0xc4]
cmp eax, 9
je 0x402935
movzx eax, word [ebp - 0xc4]
cmp eax, 6
je 0x402935
movzx eax, word [ebp - 0xc4]
cmp eax, 7
jne 0x402941
mov eax, 4
jmp 0x4029de
mov eax, 3
jmp 0x4029de
movzx eax, word [ebp - 0xc4]
cmp eax, 9
je 0x40296f
movzx eax, word [ebp - 0xc4]
cmp eax, 6
je 0x40296f
movzx eax, word [ebp - 0xc4]
cmp eax, 7
jne 0x402978
mov eax, 4
jmp 0x4029de
mov eax, 3
jmp 0x4029de
cmp dword [ebp - 0x9c], 5
jne 0x4029c0
movzx eax, word [ebp - 0xc4]
cmp eax, 9
je 0x4029ae
movzx eax, word [ebp - 0xc4]
cmp eax, 6
je 0x4029ae
movzx eax, word [ebp - 0xc4]
cmp eax, 7
jne 0x4029b7
mov eax, 2
jmp 0x4029de
mov eax, 1
jmp 0x4029de
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
push str.system_version_is_not_support__ver_d._d
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040316a
mov esp, ebp
pop ebp
ret
Function at 0x402c20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d4
mov eax, dword [0x5e3780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x5e6037
call fcn.00403138
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00403ce0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00403ce0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x310]
push eax
call fcn.00403ce0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.00403ce0
add esp, 0xc
push str.Start_decompress_file_n
call fcn.00401160
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0x110
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.cab_file.cab
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
add eax, 0x110
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._setup.txt
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00402e10
add esp, 0xc
test eax, eax
je 0x402d25
push str.gen_dst_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402df7
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00402e10
add esp, 0xc
test eax, eax
je 0x402d55
push str.gen_dst_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402df7
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403000
add esp, 8
test eax, eax
je 0x402d7e
push str.set_up_driver_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402df7
mov eax, dword [ebp + 8]
add eax, 0x41d
push eax
push 0x419280
lea ecx, [ebp - 0x414]
push ecx
call fcn.00401490
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push str.drv_s_n
call fcn.00401160
add esp, 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402dd2
push str.delete_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402df7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402df5
push str.delete_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402df7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040316a
mov esp, ebp
pop ebp
ret
Function at 0x402e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x5e6037
call fcn.00403138
push 0x419730
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004068d5
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x402e50
push str.open_src_file_failed__n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402ea7
mov dword [ebp - 8], 0
jmp 0x402e62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jge 0x402e99
mov eax, dword [ebp - 4]
push eax
push 1
push 1
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
push ecx
call fcn.004090b3
add esp, 0x10
test eax, eax
ja 0x402e97
push str.write_file_failed_n
call fcn.00401160
add esp, 4
or eax, 0xffffffff
jmp 0x402ea7
jmp 0x402e59
mov eax, dword [ebp - 4]
push eax
call fcn.00406992
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410a8a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041074a
Function at 0x683c1580
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
movzx eax, byte [eax]
cmp al, 6
je 0x683c15d0
jbe 0x683c15b8
sub eax, 0x30
cmp al, 0x14
ja 0x683c15aa
mov edx, 0x110001
bt edx, eax
jae 0x683c15aa
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x683c1610
mov byte [ebx], 5
mov ebx, dword [ebp - 4]
leave
ret
sub eax, 3
cmp al, 1
jbe 0x683c15a3
mov byte [ebx], 5
mov ebx, dword [ebp - 4]
leave
ret
mov edx, dword [ebx + 8]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 8], 0
mov byte [ebx], 5
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret
mov edx, dword [ebx + 4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 4], 0
mov byte [ebx], 5
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x683c16e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movzx eax, byte [edx]
cmp al, 0x47
ja case.0x683c1712.0
mov esi, edx
movzx edx, al
jmp dword [edx*4 + 0x683c6018]
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
movzx eax, byte [esi]
mov byte [ebx], al
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x683c4030], 4
jne 0x683c1850
xor eax, eax
jmp 0x683c1730
mov edx, dword [esi + 8]
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x683c174d
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], 1
mov dword [ebx + 8], edx
jmp 0x683c1726
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
jmp 0x683c1726
mov eax, dword [esi + 4]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x683c174d
mov dword [ebx + 8], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
test edx, edx
je 0x683c1726
mov edx, dword [esi + 8]
mov edx, dword [edx]
mov dword [eax], edx
cmp dword [ebx + 4], 1
mov eax, 1
jbe 0x683c1726
lea esi, [esi]
mov edx, dword [esi + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebx + 8]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [ebx + 4]
jb 0x683c1830
jmp 0x683c1726
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.unknown_ASN_type:__d_n
mov dword [esp + 8], str.asn_any_copy
mov dword [esp + 4], 0x683c4030
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
xor eax, eax
jmp 0x683c1730

Function at 0x683c1b50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 8]
test byte [0x683c4030], 8
jne 0x683c1b90
cmp ebx, 1
je 0x683c1bc5
lea esp, [ebp - 0xc]
mov eax, 1
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__ld__p__n
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp ebx, 1
jne 0x683c1b79
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DisableThreadLibraryCalls]
sub esp, 4
call dword [sym.imp.kernel32.dll_GetTickCount64]
mov dword [0x683c7228], eax
mov dword [0x683c722c], edx
jmp 0x683c1b79
Function at 0x683c1c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [0x683c4030], 1
jne 0x683c1c80
ret
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x20
mov eax, dword [ebp + 0xc]
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.__d___s__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x683c665c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x683c4030
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
leave
ret

Function at 0x683c1cd0
Capabilities:
Contain obfuscated stackstrings
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x683c4030], 8
jne 0x683c1d20
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__d__n
mov dword [esp + 8], str.SnmpUtilMemAlloc
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x683c1ced

Function at 0x683c1d50
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x683c4030], 8
jne 0x683c1db0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___d__n
mov dword [esp + 8], str.SnmpUtilMemReAlloc
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x683c1d71

Function at 0x683c1de0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x683c4030], 8
jne 0x683c1e30
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.SnmpUtilMemFree
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x683c1dfd
Function at 0x683c1f30
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x683c4030], 8
jne 0x683c1ff0
test ebx, ebx
je 0x683c1fe0
test esi, esi
je 0x683c2028
mov edx, dword [esi + 4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x683c1fe0
mov dword [ebx + 8], 1
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
test edx, edx
je 0x683c1fcb
mov edx, dword [esi]
movzx edx, byte [edx]
mov byte [eax], dl
cmp dword [ebx + 4], 1
mov eax, 1
jbe 0x683c1fcb
lea esi, [esi]
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [ebx]
mov byte [edx + eax], cl
add eax, 1
cmp eax, dword [ebx + 4]
jb 0x683c1fb8
mov eax, 1
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.SnmpUtilOctetsCpy
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x683c1f55
mov dword [ebx + 8], 0
mov eax, 1
mov dword [ebx + 4], 0
mov dword [ebx], 0
jmp 0x683c1fd0

Function at 0x683c2050
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x683c4030], 8
jne 0x683c20d0
test ebx, ebx
je 0x683c208c
mov eax, dword [ebx + 8]
mov dword [ebx + 4], 0
test eax, eax
jne 0x683c20a0
mov dword [ebx], 0
mov dword [ebx + 8], 0
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov edx, dword [ebx]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x683c207f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.SnmpUtilOctetsFree
mov dword [esp + 4], 0x683c4030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x683c206d