joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a9ba0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049fef1
mov eax, dword [0x62f0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x632a38]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x5a9d78
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x5a9cc7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x5a9cc7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x5a9ca5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x5a9c29
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5a9d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x5a9d98
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x5a9d73
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5a9d98
jmp 0x5a9c02
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a142c
mov esp, ebp
pop ebp
ret
Function at 0x5a9e30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049fef1
mov eax, dword [0x62f0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x632a38]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x5aa01b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x5a9f66
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x5a9f66
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x5a9f42
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x5a9eb9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5a9fd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5aa03b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x5aa016
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x5aa03b
jmp 0x5a9e92
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a142c
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401240
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x41ad16
call fcn.0041a713
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
and dword [ebp - 0x10], 0
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x4278b4]
cmp eax, dword [esi + 4]
jg 0x4012d2
mov ecx, edi
call fcn.00401df6
and dword [ebp - 4], 0
mov edx, ebx
movzx eax, word [0x4278b8]
mov ecx, dword [0x426c90]
push eax
mov dword [ebp - 0x10], 1
call fcn.004020c7
mov ebx, eax
pop ecx
mov ecx, edi
test ebx, ebx
je 0x4012c2
movzx esi, word [ebx]
push esi
call fcn.0040241a
movzx ecx, word [ebx]
mov edx, esi
push ecx
lea ecx, [ebx + 2]
push ecx
mov ecx, eax
call fcn.00402193
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.0040247c
jmp 0x4012ca
push dword [ebp + 8]
call fcn.004018c6
mov eax, edi
call fcn.0041a6e1
ret
mov esi, 0x4278b4
push esi
call fcn.00408948
cmp dword [0x4278b4], 0xffffffff
pop ecx
jne 0x40126c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push esi
mov word [0x4278b8], ax
call fcn.004088fe
pop ecx
jmp 0x40126c

Function at 0x401496
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x1c
mov eax, 0x41ad48
call fcn.0041a713
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x14]
xor ebx, ebx
call fcn.00401df6
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
or dword [ebp - 0x20], 0xffffffff
mov edi, 0xf6
push edi
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.0040241a
push eax
push edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00401766
test edi, edi
je 0x4014ec
cmp edi, 0xf6
jbe 0x401502
mov edi, 0x421e70
push edi
call fcn.0040d7ad
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00401d3f
lea ecx, [ebp - 0x10]
call fcn.00401df6
push ebx
push 0x421fc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov edi, ebx
push str._s_s_d.tmp
push eax
call fcn.00401994
add esp, 0x14
push ebx
push dword [ebp - 0x10]
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
jmp 0x401565
cmp eax, 0xb7
je 0x401543
cmp eax, 0x50
jne 0x401590
inc edi
lea eax, [ebp - 0x10]
push edi
push 0x421fc0
push dword [ebp - 0x14]
push str._s_s_d.tmp
push eax
call fcn.00401994
add esp, 0x14
push 0
push dword [ebp - 0x10]
push 0
call ebx
test eax, eax
jne 0x401537
push 0x5c
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004017e4
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004020ac
lea ecx, [ebp - 0x14]
call fcn.004020ac
mov eax, esi
call fcn.0041a6e1
ret
push 0x421ed8
mov ecx, esi
call fcn.00401c80
jmp 0x401578

Function at 0x4016a5
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebx
push esi
mov esi, dword [0x426c90]
mov ebx, ecx
push edi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
movzx eax, di
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x4016d8
pop edi
pop esi
xor edx, edx
mov ecx, eax
pop ebx
jmp fcn.00401637
push 0
mov edx, edi
mov ecx, ebx
call fcn.0040167c
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x4016e8
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
push ecx
push dword [0x426c90]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x40175f
lea edx, [ebp - 4]
mov ecx, eax
call fcn.00401637
mov esi, eax
test esi, esi
je 0x40175f
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40175f
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x401756
mov al, 1
jmp 0x401761
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4020f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402151
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402151
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x402141
cmp esi, ecx
jae 0x402151
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40212f
cmp esi, ecx
jae 0x402151
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x402153
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402906
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x1b8]
cmp dword [ecx - 0xc], eax
je 0x402936
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x4030cb
Capabilities:
Identify system language via api

Disassembly:
push 0x218
mov eax, 0x41af48
call fcn.0041a746
mov edi, dword [0x426c90]
lea esi, [ecx - 0x1d]
xor ebx, ebx
mov dword [ebp - 0x224], 4
xor eax, eax
mov dword [ebp - 0x21c], ebx
test ecx, ecx
mov dword [ebp - 0x220], edi
mov edx, 0x422250
cmove esi, dword [ebp - 0x224]
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x224], esi
mov esi, dword [esi]
test eax, eax
je 0x40312d
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp - 0x218]
mov esi, eax
test esi, esi
je 0x4031c9
test bx, bx
jne 0x403149
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
mov dword [ebp - 0x21c], ebx
mov edx, dword [ebp - 0x218]
mov ecx, edi
push ebx
mov edx, dword [edx + 4]
call fcn.004020c7
mov edi, eax
pop ecx
test edi, edi
je 0x4031bd
and dword [ebp - 0x214], 0
and dword [ebp - 4], 0
movzx ecx, word [edi]
inc ecx
push ecx
lea ecx, [ebp - 0x214]
call fcn.00403884
mov ebx, eax
test ebx, ebx
je 0x40319a
movzx ecx, word [edi]
inc ecx
push ecx
lea ecx, [edi + 2]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x210]
cmp dword [ebp - 0x214], eax
je 0x4031b7
lea ecx, [ebp - 0x214]
call fcn.004038c5
mov ebx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x220]
mov esi, dword [ebp - 0x224]
add edx, 8
mov dword [ebp - 0x218], edx
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x403117
call fcn.0041a6f5
ret 8
Function at 0x403ce7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0x30
pop esi
push esi
push 0
push eax
mov ebx, ecx
call fcn.0040a160
push 0x110
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x114
push 0
push eax
call fcn.0040a160
add esp, 0x18
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403d4b
cmp dword [ebp - 0x14c], 6
jae 0x403d4e
push 0x2c
pop esi
mov dword [ebp - 0x34], esi
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 1
test esi, esi
je 0x403d6e
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x426c90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push ecx
push 0x432
push dword [ebx]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408808
leave
ret 0x10
Function at 0x4056cb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x405716
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
jmp 0x40573d
shr ecx, 2
test bl, cl
je 0x405746
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x405773
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
jbe 0x405773
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x407398
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x42600c]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.00401c05
jmp 0x4073f0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00407398
mov esi, eax
test esi, esi
jne 0x407444
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4073e2
cmp dword [esp + 0xc], esi
je 0x407433
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.004074f4
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x407455
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00408808
mov esp, ebp
pop ebp
ret 4
Function at 0x407e7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x41b316
call fcn.0041a7b2
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x407ef8
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x407ef8
call fcn.00403e99
mov esi, eax
jmp 0x407ffe
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x407f1b
call fcn.00403e99
jmp 0x407ff1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x407f11
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x407f4e
mov esi, 0x8007000e
jmp 0x407ff3
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x408021
jb 0x407f69
cmp eax, 0xffffffff
ja 0x408021
cmp eax, 0x400
jbe 0x407f7e
push eax
lea ecx, [ebp - 0x418]
call fcn.0040385f
jmp 0x407fa0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x407fa0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x407f44
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x407f11
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00407d34
mov esi, eax
test edi, edi
je 0x407ffe
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408017
lea ecx, [ebp - 0x418]
call fcn.004038c5
mov eax, esi
call fcn.0041a704
ret 0x10
push 0x80070216
call fcn.00402460
int3

Function at 0x409260
Capabilities:
Parse pe header

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

Function at 0x41a6b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a6dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a6dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x2a435ab8
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42f314
nop
mov ecx, 0x17fc646d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000e07a
Capabilities:
Parse pe header

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

Function at 0x100129ed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001feb0
push 0x1001fea8
push str.FlsAlloc
push 0x1f
call fcn.100128ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012a21
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c1fc]
call esi
jmp 0x10012a27
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10012a6b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001fec0
push 0x1001feb8
push str.FlsGetValue
push 0x21
call fcn.100128ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012aa2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c1fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012aaa
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001fec8
push 0x1001fec0
push str.FlsSetValue
push 0x22
call fcn.100128ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012ae4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c1fc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]