joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424fe0
Capabilities:
Delete file

Disassembly:
mov ecx, 0x501e18
call fcn.004a2830
mov eax, dword [0x56610c]
test eax, eax
je 0x42500b
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x56610c], 0
cmp dword [0x55eccc], 7
jne 0x42502f
push 0xc53
call fcn.004ae820
add esp, 4
push eax
mov eax, dword [0x566108]
push 0x421
push eax
jmp 0x425049
push 0xc54
call fcn.004ae820
mov ecx, dword [0x566108]
add esp, 4
push eax
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x55ece0
call esi
push 0x565f00
call esi
mov edx, dword [0x566108]
push 1
push 2
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, 0x501e18
call fcn.004a25b0
pop esi
ret
Function at 0x4250f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x4ffed8]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x425256
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x4ed264
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x42523e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x425223
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x4ed260]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x4252c8
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
Function at 0x425930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004252e0
add esp, 4
cmp eax, ebx
mov dword [0x56610c], eax
je 0x425af4
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], dx
mov word [ebp - 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push 0x4ed468
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x501e18
call fcn.004a25b0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.http:__doctor.se.360.cn_index.php_doadderrorlog
mov ecx, 0x412
xor eax, eax
mov edi, 0x55f0f0
push 0x4eb504
push 0x824
push 0x55f0f0
rep stosd dword es:[edi], eax
call esi
mov ecx, 0x82
xor eax, eax
mov edi, 0x55ece0
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x414]
push ecx
push 0x4eb504
push 0x104
push 0x55ece0
call esi
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, str.___________________________7d9114302a0cb6
mov dword [0x5044b0], 0x2710
test eax, eax
mov dword [0x5044a8], 0x425b10
mov dword [0x5044a4], ebx
je 0x425a96
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.004d3780
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push str.___________________________7d9114302a0cb6
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push str.multipart_form_data__boundary_s
lea ecx, [ebp - 0x61c]
push 0x103
push ecx
call esi
mov eax, dword [ebp - 4]
mov edx, dword [0x56610c]
mov dword [0x504288], eax
mov ecx, 0x82
xor eax, eax
mov edi, 0x50428c
mov dword [0x504284], edx
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x4eb504
push 0x104
push 0x50428c
call esi
add esp, 0x10
mov ecx, 0x501e18
call fcn.004a2530
lea esp, [ebp - 0x628]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425b50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
push ebp
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x425c47
push ebx
push esi
push str.MiniDumpWriteDump
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x425c3e
mov ax, word [0x4ffec0]
push edi
mov word [esp + 0x1c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x565f00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x24]
push 0x4ed468
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x565f00
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x425c3e
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x224]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
pop ebp
add esp, 0x214
ret
Function at 0x42aa70
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x868
mov ax, word [0x4ffec0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x878]
push edi
mov word [esp + 0x468], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.favsorder.db
rep stosd dword es:[edi], eax
push esi
push 0x4ec998
lea ecx, [esp + 0x474]
push 0x103
push ecx
stosw word es:[edi], ax
call ebp
add esp, 0x14
lea edx, [esp + 0x468]
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x880]
test eax, eax
je 0x42ac1c
mov cx, word [0x4ffec0]
xor eax, eax
mov word [esp + 0x670], cx
mov ecx, 0x81
lea edi, [esp + 0x672]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x14]
push str._s.
lea edx, [esp + 0x678]
push 0x103
rep stosd dword es:[edi], eax
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x670]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42ac1c
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test byte [esp + 0x10], 0x10
je 0x42abf4
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x3c]
push 0x4eb808
push eax
call edi
add esp, 8
test eax, eax
je 0x42abf4
lea ecx, [esp + 0x3c]
push 0x4eb800
push ecx
call edi
add esp, 8
test eax, eax
je 0x42abf4
lea edx, [esp + 0x3c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x260]
push edx
push esi
rep stosd dword es:[edi], eax
push 0x4ec998
lea eax, [esp + 0x26c]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x274]
push 1
push ecx
call fcn.004a7ba0
lea edx, [esp + 0x27c]
push 1
push edx
call fcn.0042aa70
add esp, 0x24
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ab76
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret
Function at 0x42c920
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x218]
test esi, esi
je 0x42c99e
mov ebx, dword [esp + 0x214]
push esi
mov ecx, ebx
call fcn.004af190
test eax, eax
jne 0x42c99e
mov ax, word [0x4ffec0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push 0x104
push ecx
push esi
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004aefe0
test eax, eax
pop edi
je 0x42c99e
lea edx, [esp + 8]
push edx
push 0
push str.LoveFav
push 0x4ee644
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
pop esi
neg eax
sbb eax, eax
pop ebx
inc eax
add esp, 0x208
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
Function at 0x42e590
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d747e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dx, word [0x4ffec0]
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x5e]
mov dword [esp + 0x4c], 0x5b
mov byte [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xae]
mov dword [esp + 0x9c], 0x59
mov byte [esp + 0xa0], 4
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0x8c
mov word [esp + 0xac], dx
rep stosd dword es:[edi], eax
push 5
push 0
stosw word es:[edi], ax
mov ecx, esi
mov dword [esp + 0xf4], 0x5a
mov byte [esp + 0xf8], 4
mov dword [esp + 0xfc], 0x40
mov dword [esp + 0x100], 1
call fcn.004cf710
push 1
mov ecx, esi
call fcn.004cfb60
push 0
push 0
push 2
push 1
push 5
push 3
push 1
push str.BTN_MASK
push 0
push 0
mov ecx, esi
call fcn.004cf600
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x104], 0
je 0x42e6c1
mov ecx, eax
call fcn.004baf00
mov edi, eax
jmp 0x42e6c3
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.004bb5e0
push 0x4ee7b8
mov ecx, edi
call fcn.004bb060
push edi
mov ecx, esi
call fcn.004cfd50
lea eax, [esp + 0xc]
push 3
push eax
mov ecx, esi
call fcn.004cd570
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10c]
push 0
push 1
push 0
push 0
push 0x3ec
push ecx
push edx
push str.FindBar
mov ecx, esi
call fcn.004cd440
mov eax, dword [0x6dcf84]
mov ecx, dword [esi + 8]
push 0
push eax
push 0x3e8
push ecx
push 0x16
push 0x8c
push 0
push 0
push 0x54000080
push 0x4ffec0
push str.edit
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x42e4b0
lea ecx, [esi + 0x6bc]
mov dword [esi + 0x6c0], eax
call fcn.004d25b0
mov edx, dword [esi + 0x6c0]
push esi
push str.CLASSPROC
push edx
call dword [sym.imp.USER32.dll_SetPropW]
mov edi, dword [esi + 0x6c0]
push 0
push 0
mov ecx, esi
call fcn.004c4d10
push eax
push 0x30
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov eax, dword [esi + 0x6c0]
push 0x4b14e0
push 0
push 0xd0
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
push 0x42e540
push esi
push edx
lea ecx, [esi + 0x69c]
call fcn.004a76b0
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x100
ret 4
Function at 0x42f1c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
push 0x3ec
mov ecx, dword [esi + 0xac]
call fcn.004c1a60
mov edi, eax
test edi, edi
je 0x42f202
push ebx
mov ebx, dword [esi + 0x6c0]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
pop ebx
je 0x42f251
mov ecx, esi
call fcn.0042f5a0
pop edi
pop esi
add esp, 0x208
ret
mov ecx, dword [esi + 0x6c0]
lea eax, [esp + 8]
push 0x103
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x42f251
lea eax, [esp + 8]
push 0x103
push eax
mov ecx, 0x69a810
call fcn.004b48a0
mov edx, dword [esi + 0x6c0]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
mov ecx, esi
test edi, edi
sete al
push eax
call fcn.0042eb30
pop edi
pop esi
add esp, 0x208
ret

Function at 0x431970
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea ebx, [esi + 0x930]
mov dword [esi + 0x928], eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4319cf
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4319bd
push edi
push 0x4eb504
push 0x103
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x4319cf
mov ecx, dword [esi + 0x928]
push 1
push ecx
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi + 0x6c8]
test eax, eax
je 0x431a1f
mov edx, dword [esi + 0x6e4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push edx
call edi
lea ecx, [esi + 0x6e0]
call fcn.004d17f0
mov eax, dword [esi + 0x6e4]
push 0
push 1
push 0xb
push eax
call edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, esi
call fcn.004322e0
push 0
mov ecx, esi
call fcn.00432230
pop edi
pop esi
pop ebx
ret 8

Function at 0x432230
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c4]
test eax, eax
je 0x4322d4
mov eax, dword [esi + 0xd48]
test eax, eax
jne 0x4322d4
mov eax, dword [esi + 0xd40]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
jne 0x432270
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 0xd40], eax
mov eax, dword [esi + 0xd44]
test eax, eax
jne 0x43228d
mov eax, dword [esp + 0xc]
push 0
push eax
push 0
push 0
call edi
mov dword [esi + 0xd44], eax
mov eax, dword [esi + 0xd40]
pop edi
test eax, eax
je 0x4322d4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xd40]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 8]
mov dword [esp + 8], 0
push edx
push 0
push esi
push 0x432460
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xd48], eax
pop esi
ret 4
Function at 0x432b30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x410
push 0x6c4770
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x432bee
mov ax, word [0x4ffec0]
push esi
mov edx, dword [0x6dcf84]
push edi
mov word [esp + 8], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x214]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.004a7ac0
add esp, 0x10
lea eax, [esp + 8]
push 0x104
push eax
push 0x6c4770
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [esp + 0x41c]
lea ecx, [esp + 8]
lea edx, [esp + 0x210]
push ecx
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
push esi
call fcn.004a7ba0
mov eax, dword [esp + 0x42c]
add esp, 8
test eax, eax
je 0x432be0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x432be0
push esi
call fcn.004a7f30
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x410
ret
xor eax, eax
add esp, 0x410
ret

Function at 0x432c00
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x410
push 0x6c3f0c
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x432cb2
mov ax, word [0x4ffec0]
mov edx, dword [0x6dcf84]
push edi
mov word [esp + 0x20c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x20e]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x210]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.004a7ac0
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x14], ax
xor eax, eax
lea edi, [esp + 0x16]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push 0x104
push ecx
push 0x6c3f0c
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esp + 0x418]
lea edx, [esp + 4]
lea eax, [esp + 0x20c]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 1
pop edi
add esp, 0x410
ret
xor eax, eax
add esp, 0x410
ret

Function at 0x432d60
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x410
push 0x6c4114
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x432e22
mov ax, word [0x4ffec0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push 0x104
push ecx
stosw word es:[edi], ax
call fcn.00432c00
add esp, 8
cmp word [esp + 4], 0
jne 0x432dc2
push 1
lea edx, [esp + 8]
push 6
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x20c], ax
xor eax, eax
lea edi, [esp + 0x20e]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x210]
push ecx
push 0x6c4114
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esp + 0x418]
lea edx, [esp + 0x20c]
lea eax, [esp + 4]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 1
pop edi
add esp, 0x410
ret
mov edx, dword [esp + 0x418]
mov eax, dword [esp + 0x414]
push edx
push eax
call fcn.00432c00
add esp, 8
add esp, 0x410
ret
Function at 0x432ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1088
call fcn.004d3780
mov eax, dword [0x4ebb84]
mov ecx, dword [0x4ebb88]
mov dword [esp + 8], eax
xor edx, edx
lea eax, [esp + 4]
push edi
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x1c], ecx
mov word [esp + 0x28], dx
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x432fe1
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__itow]
push ebp
push esi
lea ecx, [esp + 0x1e]
push 0xa
xor esi, esi
push ecx
push edi
mov word [esp + 0x10a2], si
mov dword [esp + 0x1c], 0x1046
call ebx
add esp, 0xc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push esi
push ecx
push edx
mov dword [esp + 0x44], 7
call ebp
test eax, eax
jne 0x432fd3
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x432f9b
mov edx, dword [esp + 0x10a0]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x34], esi
push eax
inc esi
mov dword [esp + 0x3c], ecx
call fcn.00432e50
mov edx, dword [esp + 0x10a4]
add esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], eax
push ecx
push 0xffffffffffffffff
push 0x40b
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x1e]
inc edi
push 0xa
push eax
push edi
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x1046
call ebp
test eax, eax
je 0x432f45
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1088
ret
Function at 0x4332c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, 0x127c
call fcn.004d3780
mov eax, dword [0x6bfb2c]
push ebx
push ebp
push esi
cmp eax, 2
push edi
je 0x4334a4
cmp eax, 1
je 0x4334a4
xor edx, edx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], dx
mov esi, dword [esp + 0x1294]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4ebb88]
mov ebx, dword [esp + 0x1290]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], ecx
stosw word es:[edi], ax
mov eax, dword [0x4ebb84]
mov ecx, 0x80
mov dword [esp + 0x3c], eax
xor eax, eax
lea edi, [esp + 0x44]
cmp esi, edx
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], edx
rep stosd dword es:[edi], eax
je 0x4333af
cmp word [esi], dx
je 0x4334a4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push edx
push esi
push ebx
call fcn.004331f0
add esp, 0xc
test eax, eax
je 0x4334a4
cmp eax, 0xffffffff
je 0x433383
push 0
push eax
push 0x144
push ebx
call ebp
mov eax, dword [esp + 0x10]
jmp 0x433394
mov eax, dword [esp + 0x1298]
push eax
push esi
call fcn.00432e50
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
push ecx
push 0
push 0x40b
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
call ebp
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x14]
push edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4334a4
push eax
push eax
push 0x146
push ebx
call ebp
cmp eax, 0x18
mov dword [esp + 0x10], eax
jle 0x4333fb
mov dword [esp + 0x10], 0x18
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jle 0x433499
mov esi, 1
lea ecx, [esp + 0x18]
lea eax, [esp + 0x244]
push ecx
push 0
push 0x40d
push ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], 0x824
mov dword [esp + 0x30], eax
mov word [esp + 0x254], 0
call ebp
lea edx, [esp + 0x42]
push 0xa
push edx
push esi
call dword [sym.imp.MSVCRT.dll__itow]
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x43348c
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x43348c
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x24]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x48]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc esi
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x43340a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x127c
ret