joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a7f11
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x24], vtable.CBitmapBkgnd_class_CDownloadDlg__248_.0
mov dword [esi + 0x28], ebx
mov eax, dword [0x4cf65c]
push 0xf8
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x28], eax
mov edi, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi], vtable.CDownloadDlg.2.0
mov dword [esi + 0x20], vtable.CDownloadDlg.1.0
mov dword [esi + 0x24], vtable.CDownloadDlg.0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
or eax, 0xffffffff
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x68], ebx
and dword [esi + 0x70], 0xfffffff8
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x2c], vtable.WTL::CBitmapButton.0
lea ecx, [esi + 0x78]
mov dword [esi + 0x74], ebx
call fcn.0041af10
lea ecx, [esi + 0xdc]
mov byte [esp + 0x20], 5
call fcn.0041ae80
mov dword [esi + 0x110], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], edi
mov dword [esi + method.CWOTIconStatic.virtual_0], vtable.CWOTIconStatic.0
mov edx, dword [0x4cf698]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cf698
mov byte [esp + 0x20], 7
lea edi, [esi + 0x130]
call eax
add eax, 0x10
mov dword [edi], eax
mov edx, dword [0x4cf698]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cf698
mov byte [esp + 0x20], 8
lea ebp, [esi + 0x134]
call eax
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x24], 9
call fcn.00410d70
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.00410d70
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esi + 0x13c], ebx
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a310
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a338
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x42b300
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8038
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043f850
mov edi, dword [esp + 0x24]
push edi
push 0x4ad104
push str.Config
mov ecx, eax
mov dword [eax + 0xc], edi
call fcn.0043f010
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004412f0
push eax
lea ecx, [esp + 0x18]
push 0x4ae404
push ecx
mov dword [esp + 0x30], 0
call fcn.00420320
push 0x4ae3f8
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 1
call fcn.00413780
add esp, 0x20
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x468]
mov byte [esp + 0x20], 2
call fcn.00420410
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b3b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b3dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3f4
mov ecx, esi
call fcn.0042a4d0
mov ecx, dword [esi + 4]
push 0x3f7
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4ae3e4
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3f7
mov ecx, esi
call fcn.0042a4d0
push 0
push 0
push esi
push 0x427550
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x42c320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8161
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x24]
lea ecx, [esi + 0xa8]
push eax
mov dword [esp + 0x20], 2
call fcn.00410d70
lea edx, [esp + 0x30]
lea ecx, [esi + 0xac]
push edx
call fcn.00410d70
lea eax, [esp + 0x2c]
push 0x4ae58c
push eax
call fcn.004198b0
add esp, 8
test al, al
je 0x42c391
lea eax, [esp + 0x2c]
jmp 0x42c3ad
push 0x4ae584
lea ecx, [esp + 0x14]
call fcn.004039d0
mov ebx, 1
mov byte [esp + 0x1c], 3
mov dword [esp + 0xc], ebx
lea ecx, [esi + 0xb0]
push eax
call fcn.00410d70
mov dword [esp + 0x1c], 2
test bl, 1
je 0x42c3e6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xb4], ecx
mov ecx, esi
call fcn.00429270
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c41c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c469
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x42cc80
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a82d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043f850
mov ecx, eax
call fcn.004139c0
test eax, eax
je 0x42ce54
lea eax, [esp + 0x10]
push eax
call fcn.0043f8e0
add esp, 4
test eax, eax
je 0x42cd07
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42cce6
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
push eax
call fcn.0043f920
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
call fcn.0043f850
mov ecx, eax
call fcn.004139c0
test eax, eax
je 0x42cd33
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
call fcn.0043f850
mov ecx, eax
call fcn.00413750
call fcn.00440790
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.0043f850
mov ecx, eax
call fcn.00413750
push str.WOTLauncher.exe
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
call fcn.00413780
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 5
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x42ce33
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42cdfb
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1b58
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ad224
call fcn.004039d0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ae650
mov byte [esp + 0x3c], 3
call fcn.00403a80
mov ecx, esi
mov byte [esp + 0x38], 2
call fcn.0041a720
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42ce1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42ce54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x42eff0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a8588
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00401d10
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42f050
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00427fc0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401d10
cmp dword [esp + 0x28], 8
jb 0x42f09d
mov eax, dword [esp + 0x14]
push eax
call fcn.0048668b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x42ffd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.0042fe10
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 0x4300af
push pe_nt_image_headers32
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
xor ebx, ebx
test eax, eax
je 0x430024
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 0x430088
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
je 0x430088
push ebx
push edi
call fcn.00417a50
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 0x430074
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x430096
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x430096
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 0x4300a5
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 0x430590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a86d4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00403ce0
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00403ce0
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.00403ce0
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.00403ce0
add eax, 0x10
mov dword [esi + 0x10], eax
mov al, byte [edi + 0x14]
mov byte [esi + 0x14], al
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.00403ce0
add esp, 0x18
add eax, 0x10
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4345e0
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 0x434600
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x434614
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 0x434640
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x434656
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 0x434663
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 0x434ca0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4cdbb4]
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 0x434d16
xor eax, eax
cmp ecx, edi
je 0x434d04
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 0x434d24
cmp ecx, edi
je 0x434dc2
push ecx
jmp 0x434dbc
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 0x434d8c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00434ca0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x434ddb
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 0x434d50
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x434d9f
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 0x434dc2
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.004874cc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x434dc4
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.004874cc
mov esp, ebp
pop ebp
ret 4
Function at 0x437590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4a8cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4cdbb4]
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 0x437612
call fcn.0041ca10
mov edi, eax
jmp 0x4376f4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43762b
call fcn.0041ca10
jmp 0x4376eb
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x437646
call fcn.0041ca10
jmp 0x4376eb
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 0x43767c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x43766a
lea ecx, [ebp]
call fcn.00434c60
lea ecx, [ebp - 0x20]
call fcn.004181d0
mov eax, 0x8007000e
jmp 0x437706
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00435620
mov dword [ebp - 4], 1
jmp 0x4376a8
mov eax, dword [ebp]
test eax, eax
jne 0x4376b6
mov edi, 0x8007000e
jmp 0x4376ed
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x4376cf
call fcn.0041ca10
jmp 0x4376eb
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.00437050
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x437704
lea ecx, [ebp]
call fcn.00434c60
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.004874cc
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4378f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a8d20
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
call edx
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
mov dword [esp + 0x14], 0
call edx
add eax, 0x10
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x14], 1
jge 0x437976
push 0x104
lea ecx, [esp + 0xc]
call fcn.00403ee0
mov edx, dword [esp + 8]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004876e0
add esp, 8
test eax, eax
jl 0x437ad1
mov ecx, dword [esp + 8]
cmp eax, dword [ecx - 8]
jg 0x437ad1
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 8]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4379e1
push 0x104
lea ecx, [esp + 8]
call fcn.00403ee0
mov edx, dword [esp + 4]
push 0
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x437a18
push 0x104
lea ecx, [esp + 8]
call fcn.00403ee0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004876e0
add esp, 8
test eax, eax
jl 0x437ad1
mov ecx, dword [esp + 4]
cmp eax, dword [ecx - 8]
jg 0x437ad1
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 4]
xor ecx, ecx
push 0xc
mov word [edx + eax*2], cx
push 0x4af06c
lea ecx, [esp + 0xc]
call fcn.00436640
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0043fd40
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x14], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437a99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437ac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
push 0x80070057
call fcn.004033e0
int3