joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415e8d
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
push 0x38
pop edi
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x20]
and edx, 0x3f
mov ebp, dword [esi + 0x24]
shld ebp, ebx, 3
shl ebx, 3
mov byte [edx + esi + 0x28], 0x80
inc edx
cmp edx, edi
je 0x415ef0
jbe 0x415edd
push 0x40
pop ecx
cmp edx, ecx
jae 0x415ed4
sub ecx, edx
lea eax, [esi + 0x28]
push ecx
add eax, edx
push 0
push eax
call fcn.00424db0
add esp, 0xc
mov ecx, esi
call fcn.00415c63
xor edx, edx
sub edi, edx
lea eax, [esi + 0x28]
push edi
add eax, edx
push 0
push eax
call fcn.00424db0
add esp, 0xc
lea edx, [esi + 0x60]
mov ecx, ebp
call fcn.00415c0d
lea edx, [esi + 0x64]
mov ecx, ebx
call fcn.00415c0d
mov ecx, esi
call fcn.00415c63
mov ebx, dword [esp + 0x10]
mov edx, ebx
mov ecx, dword [esi]
call fcn.00415c0d
mov ecx, dword [esi + 4]
lea edx, [ebx + 4]
call fcn.00415c0d
mov ecx, dword [esi + 8]
lea edx, [ebx + 8]
call fcn.00415c0d
mov ecx, dword [esi + 0xc]
lea edx, [ebx + 0xc]
call fcn.00415c0d
mov ecx, dword [esi + 0x10]
lea edx, [ebx + 0x10]
call fcn.00415c0d
mov ecx, dword [esi + 0x14]
lea edx, [ebx + 0x14]
call fcn.00415c0d
mov ecx, dword [esi + 0x18]
lea edx, [ebx + 0x18]
call fcn.00415c0d
mov ecx, dword [esi + 0x1c]
lea edx, [ebx + 0x1c]
call fcn.00415c0d
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00415c23
Function at 0x4170bb
Capabilities:
Get common file path

Disassembly:
push 0x5c
mov eax, 0x43a4c7
call fcn.00438b46
mov edi, ecx
push ecx
push 0x104
lea ecx, [ebp - 0x68]
call fcn.00401a88
xor esi, esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.00401895
mov edx, eax
call fcn.0040188a
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41715d
lea ecx, [ebp - 0x2c]
call fcn.004021e6
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401d16
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040188a
push eax
lea ecx, [ebp - 0x44]
call fcn.00401d16
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00410fab
lea ecx, [ebp - 0x44]
call fcn.00401e5c
lea ecx, [ebp - 0x5c]
call fcn.00401e5c
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00401e5c
lea ecx, [ebp - 0x68]
call fcn.0040189d
mov eax, esi
call fcn.00438af5
ret

Function at 0x41716d
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4171d0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00423145
leave
ret

Function at 0x417291
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0
push edx
push 0x417510
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4172d4
push str.CreateThread_failed
mov edi, 0x44a850
push edi
call fcn.00409f3c
pop ecx
pop ecx
call fcn.0040a1c6
push 2
mov ecx, edi
call fcn.0040a0f9
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x41c011
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x4c]
push 0
push ebx
mov dword [esp + 0x18], ebx
mov dword [ebp + 8], ebx
mov byte [ebp + 0x42], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, ebp
call fcn.0041c17d
cmp dword [ebp + 0x20], 0
je 0x41c05c
push dword [ebp + 0x20]
call fcn.0042c3ce
pop ecx
test edi, edi
jne 0x41c064
xor eax, eax
jmp 0x41c06b
push edi
call fcn.0042ced4
pop ecx
and dword [ebp + 0x24], 0
mov dword [ebp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebp + 4], 0
je 0x41c0a4
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push dword [esp + 0x10]
mov esi, dword [ebp]
sub edi, eax
lea ebx, [eax + 1]
sub edi, 2
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push esi
xor esi, esi
push esi
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
push edi
push dword [esp + 0x30]
push ebx
push 0x40000000
push esi
push str.RarHtmlClassName
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebp + 0x1c], 0
mov dword [ebp + 4], eax
jne 0x41c134
cmp dword [ebp + 0x10], esi
jne 0x41c134
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x41c14a
cmp dword [ebp + 0x24], esi
jne 0x41c14a
cmp dword [ebp + 0x20], esi
je 0x41c14a
push dword [ebp + 0x20]
lea eax, [esp + 0x28]
push eax
call fcn.0041c668
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.004022aa
lea ecx, [esp + 0x24]
call fcn.00401e5c
jmp 0x41c14a
test eax, eax
je 0x41c14a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423145
add esp, 0x30
ret 0x14
Function at 0x41d42a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x4435f8
push ecx
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41d537
push esi
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41d537
push esi
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41d537
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41d537
and dword [ebp - 8], 0
push edi
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41d531
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41d52a
push ebx
push esi
push eax
call fcn.00424830
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 0xc
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41d523
mov ecx, dword [ebp - 4]
call fcn.0041da71
mov ecx, dword [ebp - 4]
mov ebx, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
test ebx, ebx
je 0x41d523
mov ecx, ebx
call fcn.0041d950
test eax, eax
jne 0x41d511
push ecx
lea ecx, [ebp - 0xc]
call fcn.0041d91f
lea eax, [ebp - 8]
push eax
mov eax, ecx
mov ecx, ebx
push eax
call fcn.0041d92a
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43c270]
mov ecx, ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
pop edi
jmp 0x41d539
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x41d845
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00424db0
add esp, 0xc
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
shrd eax, ecx, 0x1e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423145
leave
ret
Function at 0x41df7d
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
lea ecx, [ebp + 0x1c]
call fcn.0041def1
test al, al
je 0x41e03a
push ebx
push edi
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], 0x11060000
xor edi, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], edi
push eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp + 4], edi
inc ebx
mov dword [ebp - 0xc], 3
push eax
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp], edi
mov dword [ebp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x41e038
push ebx
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x41e02a
push edi
push dword [ebp + 0x18]
lea eax, [ebp + 0x60]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x41e02a
lea eax, [ebp + 0x60]
mov dword [ebp + 0xc], 0xc
mov dword [ebp + 0x10], eax
mov ecx, esi
lea eax, [ebp + 0xc]
mov dword [ebp + 0x14], edi
push eax
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0x18], edi
je 0x41e038
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.00423145
add ebp, 0x78
leave
ret

Function at 0x41e04a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x43aace
call fcn.00438b13
mov esi, ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 1
push ebx
mov ecx, edx
call fcn.0040126f
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e13a
mov ecx, dword [ebp + 8]
call fcn.0040126f
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e12d
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
shr edx, 1
call fcn.00401891
cmp eax, edx
jbe 0x41e0b1
call fcn.00401891
mov edx, eax
inc edx
mov eax, 0x10000
cmp edx, eax
jb 0x41e0bd
mov edx, eax
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401a88
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00401895
add eax, eax
mov dword [ebp - 0x1c], eax
call fcn.0040188a
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.0040126f
lea ecx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e121
mov word [ebp - 0xe], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xe]
push eax
call fcn.00421e68
lea ecx, [ebp - 0x2c]
call fcn.0040188a
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00401279
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040189d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x41e145
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.0040335d
mov al, bl
call fcn.00438ae1
ret 0xc
Function at 0x41e1a5
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x60
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov bl, cl
call fcn.0041dbdd
push 0x68
push dword [0x44a7f4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x44a7ee], 0
mov esi, eax
mov ebp, 0xc2
jne 0x41e212
call fcn.0041c15f
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4422dc
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x44a7ee], 1
mov eax, 0x5f5e100
push eax
push eax
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
push 0
push 0x43a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov byte [esp + 0x29], 0
inc ecx
mov dword [esp + 0x14], ecx
test bl, bl
je 0x41e26f
mov eax, dword [esp + 0x18]
and eax, 0xbfffffff
mov dword [esp + 0x24], 0xa0
or eax, ecx
mov dword [esp + 0x14], 0x40000001
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0040126f
push eax
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0x5f5e100
push eax
push eax
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x41e2cd
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 1
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x442620
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423145
add esp, 0x60
ret
Function at 0x4219a7
Capabilities:
Delete file
Move file

Disassembly:
push 0x74
mov eax, 0x43b0e9
call fcn.00438b46
mov esi, 0x44a99c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x60], ebx
call fcn.00405d09
test al, al
jne 0x421a00
push 0x4436cc
lea ecx, [ebp - 0x40]
call fcn.00401d16
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
mov edx, esi
mov dword [ebp - 0x60], 1
call fcn.00410bbe
push 3
pop ebx
push 6
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00422396
mov byte [ebp - 0x59], 1
test eax, eax
je 0x421a04
mov byte [ebp - 0x59], 0
test bl, 2
je 0x421a14
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffd
call fcn.00401e5c
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x421a25
lea ecx, [ebp - 0x40]
call fcn.00401e5c
cmp byte [ebp - 0x59], 0
je 0x421a8a
mov ecx, 0x44a980
call fcn.00411d8b
push esi
lea ecx, [ebp - 0x28]
call fcn.00408cf5
xor ebx, ebx
mov dword [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x28]
call fcn.004085c4
push 0x14
pop eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6e], ebx
mov dword [ebp - 0x6a], ebx
mov dword [ebp - 0x66], ebx
mov dword [ebp - 0x7c], 3
mov word [ebp - 0x70], ax
call fcn.0040126f
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x28]
call fcn.00401e5c
call fcn.00438af5
ret

Function at 0x421bb7
Capabilities:
Hide graphical window

Disassembly:
and dword [0x44a7fc], 0
push esi
mov esi, ecx
mov byte [0x44a7e8], 1
push 1
push esi
mov byte [0x44a7e9], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
pop edx
mov ecx, esi
call fcn.004021fd
mov ecx, 0x44ae90
call fcn.00405d09
test al, al
je 0x421bfb
cmp byte [0x44a7ee], 0
je 0x421c04
cmp dword [0x44a7f0], 0
jne 0x421c14
push 0
push 1
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret

Function at 0x421c76
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x439cac
call fcn.00438b46
mov esi, ecx
cmp byte [0x44a9bc], 0
je 0x421d18
mov ebx, 0x44a9c0
mov ecx, ebx
call fcn.00405d09
test al, al
jne 0x421d18
lea ecx, [ebp - 0x28]
call fcn.004021e6
xor edi, edi
lea edx, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00421c16
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x421d10
mov ecx, esi
call fcn.00401891
lea edx, [eax*2 + 2]
call fcn.0040126f
push edx
push eax
push 1
push edi
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00401e5c
call fcn.00438af5
ret
Function at 0x423fda
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424019
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424019
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424019
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x424019
cmp dword [ecx + 0x74], 0xe
jbe 0x424019
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x43180e
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 0x4318ab
push ebx
push esi
call fcn.004317d7
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.0043176b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x431858
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4318aa
push edi
push eax
call fcn.0042eb34
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x431878
call fcn.0042eafa
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4318a9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043176b
add esp, 0x20
test eax, eax
jne 0x431897
push edi
call fcn.0042eafa
jmp 0x43189f
push ebx
call fcn.0042eafa
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 0x431b18
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ea08
push 0x43ea00
push str.FlsAlloc
push 0x1f
call fcn.00431a34
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431b4c
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c270]
call esi
jmp 0x431b52
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x431b96
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ea18
push 0x43ea10
push str.FlsGetValue
push 0x21
call fcn.00431a34
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431bcd
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c270]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x431bd5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ea20
push 0x43ea18
push str.FlsSetValue
push 0x22
call fcn.00431a34
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431c0f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43c270]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x438ab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438add
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438add
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7126b4f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x29436fa6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x492336
Capabilities:
Encode data using xor

Disassembly:
int 0x35
sub dword [edx - 0xacc312], ebx
popfd
jle 0x4922eb
xor al, 0xa6
nop
mov byte [edx - 0x25f43f8a], cl
lodsb al, byte [esi]
mov edx, 0xd1cde440
xchg edi, eax
std
or bh, ch
mov dh, byte [ecx + eax - 0x444d20da]
xor bl, dl
push es
ret
mov esi, 0xec06b7d8
jle 0x492360
retf 0x36b3
push edx
inc esp
jl 0x4922e2
arpl word [edx + 0x6b], di
pop eax
mov eax, dword [0xa4abf984]
dec ebx
mov ecx, 0x869795d3
inc ebx
out 0xa7, eax
pop edi
out 0x52, al
xor dh, dh
popal
push ebx
push eax
xor al, 0x86
movsd dword es:[edi], dword [esi]
mov dword [0x7828aa3e], eax
xor al, 0xf9
mov eax, 0xf3981573
mov esi, 0xe2f9042
adc eax, 0x42bef398
nop
das
push cs
cmp ebp, dword [ecx + esi*4 - 0x4a]
mov byte [0xd0ce9ff3], al
inc ecx
add al, dl
movsd dword es:[edi], dword [esi]
sub dword [eax + 0x12], 0x2dc64544
pop esp
cmovs edi, dword [edi + ecx*8]
mov word [edx + 0x6a14d15f], ss
aam 0xf6
jge 0x492409
push 0xc6454412
sub eax, 0x3c480f5c
iretd
jle 0x492327
wait
xor dword [ebx - 0x3f], ebx
rcr esi, 0x6a
or ecx, dword [ebx]
and al, 0x17
and eax, 0x440abcad
aad 0xf9
dec esp
fisttp dword ss:[ebp + 0x65]
mov al, byte [0x8438b13c]
insb byte es:[edi], dx
imul ecx, dword [0xa2b95030], 0x503117fb
loopne 0x49238a
or eax, 0xa2b95030
sti
pop ss
xor dword [eax - 0xd], edx
loopne 0x49238a
pop esi
pushal
or ebx, edi
les eax, [ecx + 0x68]
xor ch, byte [esi - 0x769f3f0c]
sbb edx, dword [edi + 0x7240fff8]
lcall 0x7be2, 0x44d99c55
loope 0x492417
pop ss
push es
jbe 0x492376
je 0x4923b0
invalid
rcl dword [ebp - 0x4362274d]
push ds
loope 0x4923a9
mov dh, 0x37
lahf
test byte [esi + edi*4], ch
insb byte es:[edi], dx
ljmp 0xf847
mov esi, 0x26e1ea6c
cli
rol byte [edi - 8], cl
dec ebx
xor dword [esi + 0x4101f881], ecx
cmc
mov eax, 0x58a97bc8
inc edi
stosd dword es:[edi], eax
mov ss, word [edx + 0x431c488]
mov ebx, 0x93c62b99
aam 0x97
jle 0x49243f
sub dword [esi], ebp
lock sub esp, dword [eax - 0x71]
lock sub esp, dword cs:[eax - 0x71]
sbb ebx, ebp
and eax, 0xac6a344f
push esi
jecxz 0x492473
movsb byte es:[edi], byte [esi]
invalid
stosb byte es:[edi], al
int1
popfd
pop ebx
enter 0xffffffffffff9374, 0xfffffffffffffff7
sbb byte [edx], bh
pushal
sbb edi, dword [ebp + ebx*8 - 0x7c]
sub dword [ebp + 0x6c], ebx
push ebp
and al, 8
int3