joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443664
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443809
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40c9b0]
call fcn.00402d54
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403930
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4437df
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004339bc
test al, al
je 0x4437d2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x443818
lea eax, [ebp - 0x254]
call fcn.00408984
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4437d2
xor eax, eax
push ebp
push 0x4437cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x443850
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4437b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b5c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4437b4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4437d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4436d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040ffe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443810
lea eax, [ebp - 0x260]
call fcn.00403930
ret

Function at 0x443f6c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46c7ac]
cmp byte [eax + 0x8d], 0
jne 0x443fdd
cmp dword [0x46c7e8], 0
jne 0x443f9e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x443f28
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46c7e8], eax
cmp dword [0x46c7e4], 0
jne 0x443fb9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46c7e4], eax
cmp dword [0x46c7ec], 0
jne 0x443fdd
push esp
push 0
push 0
push 0x443ecc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46c7ec], eax
pop edx
ret
Function at 0x4440d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4440eb
add esp, 0xfffffff0
call fcn.0040307c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412dc0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40c534]
call fcn.00402d54
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40c534]
call fcn.00402d54
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x414b4c]
call fcn.0041be60
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x44425c
mov eax, dword [0x46b724]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041c204
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x445b70
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b724]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a144
test eax, eax
je 0x4441db
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082f8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a16c
test eax, eax
je 0x4441ef
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403b5c
mov eax, dword [0x46b61c]
cmp byte [eax], 0
jne 0x444220
mov eax, ebx
call fcn.00444348
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444252
call fcn.004030d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4445a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46c7ac]
cmp dword [eax + 0x24], 0
je 0x444634
cmp dword [ebx + 0x7c], 0
jne 0x444631
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444538
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x444631
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x444600
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444631
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040dcd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44460c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x444f84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x444fb9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a14
jmp 0x444fc3
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.004039c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x445ea0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x445ed8
mov eax, esi
call fcn.0042f870
test al, al
je 0x445ed8
mov eax, dword [ebx + 0x6c]
call fcn.0042f490
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x445ed8
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042f490
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44f318
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44f3a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0044ee78
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403d70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44f393
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x46b800]
call fcn.0040521c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x44ed30]
call fcn.00409734
call fcn.00403428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f3b0
lea eax, [ebp - 0x10]
call fcn.00403930
ret

Function at 0x44f3bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44f457
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403d70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44f431
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x46b9c8]
call fcn.0040521c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x44ed30]
call fcn.00409734
call fcn.00403428
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044eea8
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f45e
lea eax, [ebp - 0x10]
call fcn.00403930
ret
Function at 0x450bec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x450dc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2c], 0
jne 0x450da8
mov eax, dword [esi + 0x24]
call fcn.00403bac
test eax, eax
jne 0x450c41
mov eax, dword [esi + 0x28]
call fcn.00403bac
test eax, eax
jne 0x450c41
mov eax, esi
call fcn.00450e60
jmp 0x450da8
cmp dword [esi + 0x94], 0
jne 0x450c78
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x24]
call fcn.00408380
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c82c]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x94], eax
cmp dword [esi + 0x98], 0
jne 0x450caf
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x28]
call fcn.00408380
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c82c]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.00450ea0
mov ebx, eax
test bl, bl
jne 0x450d5d
mov eax, dword [esi + 0x24]
call fcn.00403bac
test eax, eax
jne 0x450ce7
mov eax, dword [esi + 0xb0]
call fcn.00403bac
test eax, eax
je 0x450d5d
mov eax, dword [esi + 0xb0]
call fcn.00403bac
test eax, eax
je 0x450d09
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xb0]
call fcn.00408380
jmp 0x450d35
push dword [esi + 0x24]
push 0x450ddc
push dword [esi + 0x28]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00403c6c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00408380
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x450d5d
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.00450ea0
mov ebx, eax
test bl, bl
jne 0x450d6a
mov eax, esi
call fcn.00450e60
jmp 0x450da8
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x450d79
mov dword [esi + 0x9c], eax
jmp 0x450d83
mov dword [esi + 0x9c], 1
mov eax, esi
call fcn.00450f18
test al, al
je 0x450da8
mov eax, esi
mov bx, 0xffef
call fcn.00402f58
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004510e8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450dc8
lea eax, [ebp - 0x108]
call fcn.00403930
ret
Function at 0x45512c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45515a
mov eax, ebx
call fcn.00455bd0
cmp dword [ebx + 0x3c], 0
je 0x455153
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4551cb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4551bd
cmp dword [ebx + 8], 0
je 0x45517c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x45518e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4551bd
cmp dword [ebx + 8], 0
je 0x45516f
cmp eax, 3
je 0x4551a1
dec eax
jne 0x45516f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45516f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x45516f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4551e9
cmp dword [ebx + 0x10], 0xcc
je 0x4551e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004551f4
pop ebx
ret
Function at 0x468ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d60
xor eax, eax
push ebp
push 0x468d92
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 8]
mov eax, 0x468da8
call fcn.0046896c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00407be4
mov edx, dword [ebp - 0xc]
mov eax, 0x468db4
call fcn.00403e94
push eax
mov eax, dword [ebp - 8]
call fcn.00403bac
mov ecx, eax
lea eax, [ebp - 8]
pop edx
call fcn.00403df0
mov edx, dword [ebp - 0xc]
mov eax, 0x468dc4
call fcn.00403e94
test eax, eax
jle 0x468caf
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44f614]
call fcn.00450758
mov ebx, eax
lea eax, [ebx + 0xb0]
mov edx, dword [ebp - 8]
call fcn.00403984
mov ecx, 0x468ddc
mov edx, 0x468df0
mov eax, ebx
call fcn.00451128
test al, al
je 0x468ca3
lea eax, [ebp - 0xa4]
mov ecx, 0x468e04
mov edx, dword [ebp - 4]
call fcn.00403bf8
mov edx, dword [ebp - 0xa4]
mov eax, ebx
call fcn.00450f78
test eax, eax
je 0x468ca3
mov ecx, 0x468e18
mov edx, 0x468df0
mov eax, ebx
call fcn.00451128
test al, al
je 0x468ca3
mov edx, 0x468e30
mov eax, ebx
call fcn.00450f78
test eax, eax
setne al
neg al
sbb esi, esi
mov eax, ebx
call fcn.00402d84
jmp 0x468d4c
mov edx, dword [ebp - 0xc]
mov eax, 0x468e48
call fcn.00403e94
test eax, eax
jle 0x468d4c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44f614]
call fcn.00450758
mov ebx, eax
lea eax, [ebx + 0xb0]
mov edx, dword [ebp - 8]
call fcn.00403984
mov ecx, 0x468ddc
mov edx, 0x468e60
mov eax, ebx
call fcn.00451128
test al, al
je 0x468d45
lea eax, [ebp - 0xa4]
mov ecx, 0x468e74
mov edx, dword [ebp - 4]
call fcn.00403bf8
mov edx, dword [ebp - 0xa4]
mov eax, ebx
call fcn.00450f78
test eax, eax
je 0x468d45
mov ecx, 0x468e18
mov edx, 0x468e60
mov eax, ebx
call fcn.00451128
test al, al
je 0x468d45
mov edx, 0x468e80
mov eax, ebx
call fcn.00450f78
test eax, eax
setne al
neg al
sbb esi, esi
mov eax, ebx
call fcn.00402d84
neg esi
sbb eax, eax
neg eax
test al, al
jne 0x468d6c
push 1
lea eax, [ebp - 0x9d]
mov edx, dword [ebp - 4]
call fcn.00408380
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468d99
lea eax, [ebp - 0xa4]
call fcn.00403930
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403954
ret
Function at 0x468f0c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d60
mov eax, dword [ebp - 8]
call fcn.00403d60
lea eax, [ebp - 0x168]
mov edx, dword [0x407048]
call fcn.004040d8
xor eax, eax
push ebp
push 0x4690b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
mov ecx, 0x4690c8
mov edx, dword [ebp - 4]
call fcn.00403bf8
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040807c
test eax, eax
je 0x468faf
mov eax, 0x4690d0
mov dword [0x46c98c], eax
mov eax, 0x4690f0
mov dword [0x46c990], eax
push 0
mov eax, dword [0x46c990]
push eax
mov eax, dword [0x46c98c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 8]
call fcn.004027f0
call fcn.0040279c
push dword [ebp - 4]
push 0x469100
push dword [ebp - 0x15c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403c6c
mov eax, dword [ebp - 0xc]
call fcn.00403d70
mov ebx, eax
push dword [ebp - 8]
push 0x469100
push dword [ebp - 0x15c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403c6c
mov eax, dword [ebp - 0x10]
call fcn.00403d70
push 0xffffffffffffffff
push eax
push ebx
call sub.kernel32.dll_CopyFileA
jmp 0x469060
push dword [ebp - 4]
push 0x469100
push dword [ebp - 0x15c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403c6c
mov eax, dword [ebp - 0xc]
call fcn.00403d70
mov ebx, eax
push dword [ebp - 8]
push 0x469100
push dword [ebp - 0x15c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403c6c
mov eax, dword [ebp - 0x10]
call fcn.00403d70
push 0xffffffffffffffff
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x168]
call fcn.004080cc
test eax, eax
je 0x46900f
lea eax, [ebp - 0x168]
call fcn.004080f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4690b8
lea eax, [ebp - 0x16c]
call fcn.00403930
lea eax, [ebp - 0x168]
mov edx, dword [0x407048]
call fcn.004041a4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403954
ret
Function at 0x409480
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x9ec8908
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
sub eax, 0x86ddf31c
je 0x409585
jmp 0x4094af
mov eax, dword [ebp - 0x28]
sub eax, 0xba93dbd3
je 0x409600
jmp 0x4094c2
mov eax, dword [ebp - 0x28]
sub eax, 0xfa4f2326
je 0x409531
jmp 0x4094d5
mov eax, dword [ebp - 0x28]
sub eax, 0x239d2bb
je 0x4095de
jmp 0x4094e8
mov eax, dword [ebp - 0x28]
sub eax, 0x9ec8908
je 0x409513
jmp 0x4094fb
mov eax, dword [ebp - 0x28]
sub eax, 0x2f467530
je 0x409573
jmp 0x40950e
jmp 0x409608
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0xfa4f2326
jmp 0x409608
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 2
mov eax, 0xffffffff
xor eax, 0x6149d544
or edx, ecx
or eax, 0x6149d544
xor edx, 0xffffffff
and edx, eax
mov eax, 0xba93dbd3
mov ecx, 0x2f467530
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409608
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x86ddf31c
jmp 0x409608
mov ecx, dword [ebp - 0x14]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x27804941
and eax, 0x27804941
and ecx, edx
mov edi, esi
and edi, 0x27804941
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x2c]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0x27804941
and ecx, edx
or eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0x239d2bb
jmp 0x409608
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x24], 0xba93dbd3
jmp 0x409608
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x409499
Function at 0x423ddb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423e1a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423e1a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423e1a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423e1a
cmp dword [ecx + 0x74], 0xe
jbe 0x423e1a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42b57b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42b618
push ebx
push esi
call fcn.0042b544
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042b4d8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42b5c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b617
push edi
push eax
call fcn.0042a010
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42b5e5
call fcn.0042a05e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b616
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042b4d8
add esp, 0x20
test eax, eax
jne 0x42b604
push edi
call fcn.0042a05e
jmp 0x42b60c
push ebx
call fcn.0042a05e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42c827
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4348b0
push 0x4348a8
push str.FlsAlloc
push 0x1f
call fcn.0042c6e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c85b
push dword [ebp + 8]
mov ecx, esi
call dword [0x432144]
call esi
jmp 0x42c861
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42c8a5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4348c0
push 0x4348b8
push str.FlsGetValue
push 0x21
call fcn.0042c6e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c8dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x432144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42c8e4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4348c8
push 0x4348c0
push str.FlsSetValue
push 0x22
call fcn.0042c6e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c91e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x432144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x431bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x431c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x431c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xa6efce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esi, [eax + 0x75]
cmp ecx, edx
sub ecx, 0xc2cb3be5
and cl, 0x73
mov ecx, esp
cwde
cld
mov esi, dword [edx + 0x20]
test al, bh
stc
add esi, ebx
or ecx, 0xffffffff
inc ecx
lodsd eax, dword [esi]
jmp 0xa6ef19
sub dword [esp], eax
stc
and ch, 0xff
movzx eax, byte [edi]
xor dl, 0
nop
sahf
lea ebx, [ebx]
stc
inc edi
not bl
not bl
sub dword [esp], eax
jmp 0xa6efb2
mov eax, dword [esi + ecx*2]
test edx, edx
add edi, ebx
and eax, 0xffff
lea edx, [edx]
sbb edx, 0x545e4665
mov esi, dword [edi + eax*4]
add esi, ebx
jmp 0xa6f0df
cmp eax, dword [esp + 4]
not cl
not cl
jne 0xa6b049
mov edi, dword [edx + 0x1c]
inc eax
xchg al, ah
mov esi, dword [edx + 0x24]
add esi, ebx
jmp 0xa6b15b
lea edi, [eax + ebx]
cmp ecx, dword [edx + 0x18]
je 0xa6efcd
cld
mov ebp, ebp
xor eax, eax
jmp 0xa6ef7c
xchg ebx, ebx
xchg ebx, ebx
test edi, 0x3d395806
cld
push eax
xchg edx, ebx
xchg edx, ebx
shl eax, 4
xchg dword [esp], eax
jmp 0xa6b101
cmp byte [edi], 0
cld
cld
mov dh, dh
pop eax
jne 0xa6ef87
xor eax, 0x9e8f7119
jmp 0xa6eefb
ret
mov eax, dword [ebx + 0x3c]
lea ecx, [eax + 0x4335b981]
test edi, 0x2da22b9
mov edx, dword [eax + ebx + 0x78]
lea edx, [edx + ebx]
jmp 0xa6b02c
ret 4