joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425690
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x595e23
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], eax
mov dword [esi], vtable.CButtonST.0
mov dword [esi + 0x34], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
push 0x425c30
push 0x425c20
push 2
push 0x14
lea edi, [esi + 0x278]
push edi
mov byte [esp + 0x30], 3
call fcn.0058ee7a
and byte [esi + 0x38], 0xfe
xor eax, eax
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], eax
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov cl, byte [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
and byte [esi + 0x39], 0xf1
and cl, 0x1f
or cl, 0x60
push 0xf
mov dword [esi + 0x28], ebp
mov byte [esi + 0x38], cl
call edi
push 0x12
mov dword [esi + 0x48], eax
call edi
push 0xf
mov dword [esi + 0x4c], eax
call edi
push 0x12
mov dword [esi + 0x50], eax
call edi
and byte [esi + 0x38], 0xfd
push 0x208
lea edx, [esi + 0x58]
push ebp
mov dword [esi + 0x54], eax
mov dword [esi + 0x34], ebp
push edx
mov dword [esi + 0x44], ebp
call sub.MSVCR90.dll_memset
and byte [esi + 0x39], 0xfe
add esp, 0xc
and byte [esi + 0x38], 0xe3
mov dword [esi + 0x30], ebp
mov dword [esi + 0x2c], 0x64
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x4278f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x42790c
mov eax, dword [esi + 0x8c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [esi + 0x20], 0
pop esi
ret
Function at 0x427b30
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.ArchiveExtractor.0
cmp byte [esi + 0x20], bl
je 0x427b53
mov eax, dword [esi + 0x8c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [esi + 0x20], bl
cmp dword [esi + 0x88], 0x10
jb 0x427b68
mov ecx, dword [esi + 0x74]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
cmp dword [esi + 0x64], 0x10
jb 0x427b8d
mov edx, dword [esi + 0x50]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], ebx
mov byte [esi + 0x50], bl
cmp dword [esi + 0x3c], 0x10
jb 0x427bac
mov eax, dword [esi + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], bl
pop esi
pop ebx
ret

Function at 0x428d70
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], 1
call fcn.0040b880
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x70]
call fcn.0040b880
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x427c30
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x8c], eax
pop esi
ret 8

Function at 0x428dd0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], 0
call fcn.0040b880
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x70]
call fcn.0040b880
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x427c30
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x8c], eax
pop esi
ret 8
Function at 0x428e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x595ff8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x2c], ebp
call fcn.0043d560
mov edx, dword [esp + 0x1c]
add esp, 8
push 0x5a2308
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebp
jne 0x428ef5
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x428ef1
push eax
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
jmp 0x428f31
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x428ee0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
setne bl
cmp eax, ebp
je 0x428f2f
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x429220
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x596238
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x28], 0
call fcn.0043d560
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 8
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call edi
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 2
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 0x1234
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4292be
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4
Function at 0x42aba0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x596571
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x9c]
xor edi, edi
lea ebp, [esi + 0x68]
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [ebp], edi
cmp ebx, edi
jbe 0x42ac4c
mov ecx, dword [esp + 0x98]
push ebp
push 0
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [esi + 0x20]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ac1d
mov edx, dword [esi + 0x20]
push 1
lea ecx, [esp + 0x18]
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x42ac44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42ace7
mov ecx, dword [esi + 0x20]
push 1
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x42ac6a
add edi, dword [esp + 0x14]
cmp edi, ebx
jb 0x42abe8
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8
lea edx, [esp + 0x50]
push edx
call fcn.0042a4c0
push eax
lea eax, [esp + 0x20]
push str.GetOverlappedResult_failed:
xor edi, edi
push eax
mov dword [esp + 0xa0], edi
call fcn.0040c620
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x9c], 1
call fcn.0040b880
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x42acbc
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x68], esi
jb 0x42ace0
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x42ac4e
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00442ec0
push eax
lea ecx, [esp + 0x40]
push str.ReadFile_failed:
push ecx
mov dword [esp + 0xa4], 2
call fcn.0040c620
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x9c], 3
call fcn.0040b880
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x42ad3d
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x84], esi
jb 0x42ace0
mov eax, dword [esp + 0x70]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x42ac4e
Function at 0x42b0c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x596639
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [ecx + 0x60]
xor eax, eax
lea ebp, [ecx + 0x4c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.0042a470
push 1
mov ecx, ebp
mov edi, eax
call fcn.0042b320
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor edi, edi
cmp dword [esp + 0x84], edi
jbe 0x42b1b2
mov eax, dword [ebp]
mov esi, dword [ebp + 0x14]
mov ebx, eax
mov dword [esp + 0x20], esi
test eax, eax
jne 0x42b14b
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov esi, dword [esi + 4]
test ebx, ebx
je 0x42b156
mov eax, dword [ebx]
jmp 0x42b158
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x42b162
call sub.MSVCR90.dll__invalid_parameter_noinfo
test ebx, ebx
jne 0x42b1ca
call sub.MSVCR90.dll__invalid_parameter_noinfo
cmp esi, dword [ebx + 0x14]
jne 0x42b175
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov ecx, dword [esp + 0x80]
lea eax, [esi + 8]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
sub eax, edi
push eax
mov eax, dword [esi + 0x20]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42b1ce
add edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x84]
jb 0x42b136
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8
mov ebx, dword [ebx]
jmp 0x42b16b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42b1b2
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00442ec0
push eax
lea edx, [esp + 0x44]
push str.WriteFile_failed:
xor edi, edi
push edx
mov dword [esp + 0x8c], edi
call fcn.0040c620
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x84], 1
call fcn.0040b880
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x42b22e
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x6c], esi
jb 0x42b252
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x42b1b4

Function at 0x42b630
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x8a4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xc5c], 1
xor eax, eax
pop esi
ret 0x10
Function at 0x42b685
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42b6a2
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10

Function at 0x42b727
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push esi
mov esi, ecx
cmp eax, 0x201
jne 0x42b75c
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x8a4]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [esi + 0xc5c], 0
xor eax, eax
pop esi
add esp, 8
ret 0x10
mov edx, 0x205
cmp ax, dx
jne 0x42b7af
push ebx
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edi, dword [esi + 4]
push eax
push ecx
mov ebx, eax
call fcn.0042c9a0
mov edx, dword [esi + 0x60]
add esp, 8
push 0
push edi
push 0
push ebx
push eax
push 4
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 8
ret 0x10

Function at 0x42b7c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc5c], 0
je 0x42b7ee
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x8a4]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [esi + 0xc5c], 0
xor eax, eax
pop esi
ret 0x10
Function at 0x435ee0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x435f00
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x435f14
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x435f40
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x435f56
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x435f63
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x4365c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x436636
xor eax, eax
cmp ecx, edi
je 0x436624
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x436644
cmp ecx, edi
je 0x4366e2
push ecx
jmp 0x4366dc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x4366ac
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.004365c0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4366fb
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x436670
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4366bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4366e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0058ecc6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x4366e4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058ecc6
mov esp, ebp
pop ebp
ret 4
Function at 0x438d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x597200
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6204e0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x438de2
call fcn.0042eb00
mov edi, eax
jmp 0x438ec4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x438dfb
call fcn.0042eb00
jmp 0x438ebb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x438e16
call fcn.0042eb00
jmp 0x438ebb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x438e4c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x438e3a
lea ecx, [ebp]
call fcn.00436560
lea ecx, [ebp - 0x20]
call fcn.004271d0
mov eax, 0x8007000e
jmp 0x438ed6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00436e50
mov dword [ebp - 4], 1
jmp 0x438e78
mov eax, dword [ebp]
test eax, eax
jne 0x438e86
mov edi, 0x8007000e
jmp 0x438ebd
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x438e9f
call fcn.0042eb00
jmp 0x438ebb
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00437c40
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x438ed4
lea ecx, [ebp]
call fcn.00436560
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0058ecc6
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.00434450
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x43971f
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x439694
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x4396f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4396f8
push ebx
push edi
call fcn.00435840
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
test esi, esi
jne 0x4396e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x439706
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x439706
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439715
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x439fa0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x439fe4
mov eax, dword [esi + 0x150]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xd4]
mov byte [esi + 0x20], 0
test eax, eax
je 0x439fd7
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xd4], 0
mov ecx, dword [esi + 0x194]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret