joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e61c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x10
lea ecx, [ebp - 0x118]
add eax, 2
pop esi
movzx edi, byte [eax]
xor edx, edx
mov dh, byte [eax - 2]
mov dl, byte [eax - 1]
add eax, 4
shl edx, 8
or edx, edi
movzx edi, byte [eax - 3]
shl edx, 8
or edx, edi
mov dword [ecx], edx
add ecx, 4
dec esi
jne 0x43e637
push 0x30
lea esi, [ebp - 0xe0]
pop edi
push dword [esi - 0x34]
call fcn.0043e7c7
push dword [esi]
mov ebx, eax
call fcn.0043e7ed
add ebx, eax
pop ecx
add ebx, dword [esi - 0x38]
add esi, 4
pop ecx
add ebx, dword [esi - 0x18]
dec edi
mov dword [esi + 4], ebx
jne 0x43e664
mov esi, dword [ebp + 0xc]
and dword [ebp - 8], 0
mov eax, dword [esi]
mov ebx, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
push ebx
call fcn.0043e79a
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov eax, ebx
and ecx, ebx
not eax
and eax, dword [ebp - 4]
push dword [ebp + 8]
xor eax, ecx
add edi, eax
mov eax, dword [ebp - 8]
add edi, dword [eax + 0x521a84]
add edi, dword [ebp + eax - 0x118]
add edi, dword [ebp - 0x18]
call fcn.0043e76d
mov edx, dword [ebp + 0xc]
pop ecx
and edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
add dword [ebp - 8], 4
xor ecx, dword [ebp + 8]
and ecx, dword [ebp - 0x10]
xor ecx, edx
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
add eax, edi
lea ebx, [edi + ecx]
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0x100
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
jl 0x43e6bb
add dword [esi], eax
mov eax, ecx
add dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
add dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
add dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 0x10], ebx
add dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e813
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, 0x80
xor edi, edi
cmp edx, ebx
mov dword [ebp - 0x40], 0xf3bcc908
mov dword [ebp - 0x3c], 0x6a09e667
mov dword [ebp - 0x38], 0x84caa73b
mov dword [ebp - 0x34], 0xbb67ae85
mov dword [ebp - 0x30], 0xfe94f82b
mov dword [ebp - 0x2c], 0x3c6ef372
mov dword [ebp - 0x28], 0x5f1d36f1
mov dword [ebp - 0x24], 0xa54ff53a
mov dword [ebp - 0x20], 0xade682d1
mov dword [ebp - 0x1c], 0x510e527f
mov dword [ebp - 0x18], 0x2b3e6c1f
mov dword [ebp - 0x14], 0x9b05688c
mov dword [ebp - 0x10], 0xfb41bd6b
mov dword [ebp - 0xc], 0x1f83d9ab
mov dword [ebp - 8], 0x137e2179
mov dword [ebp - 4], 0x5be0cd19
jl 0x43e8be
mov esi, ebx
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi - 0x80]
push eax
call fcn.0043ea16
add esi, ebx
pop ecx
add edi, ebx
cmp esi, dword [ebp + 0xc]
pop ecx
jle 0x43e89f
mov edx, dword [ebp + 0xc]
mov esi, edx
sub esi, edi
test esi, esi
jle 0x43e8df
mov eax, dword [ebp + 8]
push esi
add edi, eax
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.0046d560
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp + esi - 0xc8], bl
inc esi
cmp esi, 0x70
jle 0x43e922
cmp esi, ebx
jge 0x43e90b
mov ecx, ebx
lea edi, [ebp + esi - 0xc8]
sub ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0043ea16
mov edx, dword [ebp + 0xc]
pop ecx
pop ecx
xor esi, esi
push 0x70
pop ecx
cmp esi, ecx
jge 0x43e942
sub ecx, esi
lea edi, [ebp + esi - 0xc8]
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
and byte [ebp - 0x58], 0
sar eax, 0x15
mov byte [ebp - 0x4c], al
mov eax, edx
sar eax, 0xd
mov byte [ebp - 0x4b], al
mov eax, edx
sar eax, 5
and byte [ebp - 0x57], 0
and byte [ebp - 0x56], 0
and byte [ebp - 0x55], 0
and byte [ebp - 0x54], 0
and byte [ebp - 0x53], 0
and byte [ebp - 0x52], 0
and byte [ebp - 0x51], 0
and byte [ebp - 0x50], 0
and byte [ebp - 0x4f], 0
and byte [ebp - 0x4e], 0
and byte [ebp - 0x4d], 0
mov byte [ebp - 0x4a], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc8]
shl dl, 3
push eax
mov byte [ebp - 0x49], dl
call fcn.0043ea16
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
lea edi, [ebp - 0x40]
lea esi, [eax + 2]
mov dword [ebp + 0xc], 8
mov ebx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, ebx
push 0x18
shr ecx, 0x18
mov byte [esi - 2], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi - 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
mov cl, bl
mov byte [esi + 1], cl
pop ecx
mov edx, ebx
mov dword [ebp - 0x44], ebx
call fcn.00470030
push 0x10
mov byte [esi + 2], al
mov eax, dword [edi]
pop ecx
mov edx, ebx
call fcn.00470030
push 8
mov byte [esi + 3], al
mov eax, dword [edi]
pop ecx
mov edx, ebx
call fcn.00470030
mov byte [esi + 4], al
mov al, byte [edi]
mov byte [esi + 5], al
add edi, 8
add esi, 8
dec dword [ebp + 0xc]
jne 0x43e9b2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43eefa
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, 0x80
xor edi, edi
cmp edx, ebx
mov dword [ebp - 0x40], 0xc1059ed8
mov dword [ebp - 0x3c], 0xcbbb9d5d
mov dword [ebp - 0x38], 0x367cd507
mov dword [ebp - 0x34], 0x629a292a
mov dword [ebp - 0x30], 0x3070dd17
mov dword [ebp - 0x2c], 0x9159015a
mov dword [ebp - 0x28], 0xf70e5939
mov dword [ebp - 0x24], 0x152fecd8
mov dword [ebp - 0x20], 0xffc00b31
mov dword [ebp - 0x1c], 0x67332667
mov dword [ebp - 0x18], 0x68581511
mov dword [ebp - 0x14], 0x8eb44a87
mov dword [ebp - 0x10], 0x64f98fa7
mov dword [ebp - 0xc], 0xdb0c2e0d
mov dword [ebp - 8], 0xbefa4fa4
mov dword [ebp - 4], 0x47b5481d
jl 0x43efa5
mov esi, ebx
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi - 0x80]
push eax
call fcn.0043ea16
add esi, ebx
pop ecx
add edi, ebx
cmp esi, dword [ebp + 0xc]
pop ecx
jle 0x43ef86
mov edx, dword [ebp + 0xc]
mov esi, edx
sub esi, edi
test esi, esi
jle 0x43efc6
mov eax, dword [ebp + 8]
push esi
add edi, eax
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.0046d560
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp + esi - 0xc8], bl
inc esi
cmp esi, 0x70
jle 0x43f009
cmp esi, ebx
jge 0x43eff2
mov ecx, ebx
lea edi, [ebp + esi - 0xc8]
sub ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0043ea16
mov edx, dword [ebp + 0xc]
pop ecx
pop ecx
xor esi, esi
push 0x70
pop ecx
cmp esi, ecx
jge 0x43f029
sub ecx, esi
lea edi, [ebp + esi - 0xc8]
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
and byte [ebp - 0x58], 0
sar eax, 0x15
mov byte [ebp - 0x4c], al
mov eax, edx
sar eax, 0xd
mov byte [ebp - 0x4b], al
mov eax, edx
sar eax, 5
and byte [ebp - 0x57], 0
and byte [ebp - 0x56], 0
and byte [ebp - 0x55], 0
and byte [ebp - 0x54], 0
and byte [ebp - 0x53], 0
and byte [ebp - 0x52], 0
and byte [ebp - 0x51], 0
and byte [ebp - 0x50], 0
and byte [ebp - 0x4f], 0
and byte [ebp - 0x4e], 0
and byte [ebp - 0x4d], 0
mov byte [ebp - 0x4a], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc8]
shl dl, 3
push eax
mov byte [ebp - 0x49], dl
call fcn.0043ea16
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
lea edi, [ebp - 0x40]
lea esi, [eax + 2]
mov dword [ebp + 0xc], 6
mov ebx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, ebx
push 0x18
shr ecx, 0x18
mov byte [esi - 2], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi - 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
mov cl, bl
mov byte [esi + 1], cl
pop ecx
mov edx, ebx
mov dword [ebp - 0x44], ebx
call fcn.00470030
push 0x10
mov byte [esi + 2], al
mov eax, dword [edi]
pop ecx
mov edx, ebx
call fcn.00470030
push 8
mov byte [esi + 3], al
mov eax, dword [edi]
pop ecx
mov edx, ebx
call fcn.00470030
mov byte [esi + 4], al
mov al, byte [edi]
mov byte [esi + 5], al
add edi, 8
add esi, 8
dec dword [ebp + 0xc]
jne 0x43f099
pop edi
pop esi
pop ebx
leave
ret
Function at 0x474971
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x52bf48
cmp edx, dword [eax]
je 0x474993
add eax, 8
inc ecx
cmp eax, 0x52bfd8
jl 0x474984
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x52bf48]
jne 0x474ac1
mov eax, dword [0x531c20]
cmp eax, 1
je 0x474a9b
test eax, eax
jne 0x4749c4
cmp dword [0x52b524], 1
je 0x474a9b
cmp edx, 0xfc
je 0x474ac1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4749fb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0046c930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0046ce10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x474a3e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0046ce10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x493714
push edi
call fcn.0046fc20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0046c930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0046c940
lea eax, [ebp - 0xa0]
push 0x4936f4
push eax
call fcn.0046c940
push dword [esi + 0x52bf4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0046c940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00478759
add esp, 0x2c
pop edi
jmp 0x474ac1
lea eax, [ebp + 8]
lea esi, [esi + 0x52bf4c]
push 0
push eax
push dword [esi]
call fcn.0046ce10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x47e1f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0046cab0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x47e2bb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x47e2bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x47e26e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x47e279
or bh, 8
and edi, 0x8000000
je 0x47e294
mov eax, dword [0x53339c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x47e2bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x47e6bb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x47e6df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x47e6fa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4828d0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x482908
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048199c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00481974
jmp 0x482914
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x482918
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x52fc50
mov ecx, edi
call fcn.00481785
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x48296b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x48297e
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0048199c
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00481974
jmp 0x48297e
mov ecx, esi
call fcn.004845cc
test eax, eax
je 0x48297e
push edi
mov ecx, eax
call fcn.004828d0
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x483e92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x483ed4
call fcn.0048859d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x483ed4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x483ecb
xor eax, eax
jmp 0x483edc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00483ee2
pop edi
pop esi
pop ebx
ret 4

Function at 0x4890d3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x489101
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48911f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489039
jmp 0x48911f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48911f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00489039
test edi, edi
mov eax, edi
jne 0x489109
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b3c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041d9c0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b3e7
xor al, al
jmp 0x40b551
push ebx
push edi
push esi
call fcn.0040b563
push esi
call fcn.00422b93
pop ecx
push esi
mov edi, eax
call fcn.0040b58f
test al, al
je 0x40b479
push esi
call fcn.0040b563
test al, al
je 0x40b430
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b54d
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.0040fae7
push dword [ebp + 0x10]
jmp 0x40b540
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b54d
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b54d
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b54d
push esi
push str.__
push dword [ebp + 0xc]
call fcn.0040fae7
push esi
push 0x4325ec
push dword [ebp + 0xc]
call fcn.0040fabf
push esi
push ebx
jmp 0x40b541
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b54d
cmp eax, ebx
ja 0x40b54d
movzx eax, word [esi]
push eax
call fcn.0040b66a
test al, al
je 0x40b4e0
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b54d
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040fae7
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.0040fabf
jmp 0x40b53f
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040af49
lea eax, [ebp - 0x1000]
push eax
call fcn.00422b93
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b54d
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040fae7
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.0040fabf
cmp word [esi], 0x2e
jne 0x40b53f
movzx eax, word [esi + 2]
push eax
call fcn.0040b66a
test al, al
je 0x40b53f
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.0040fabf
mov al, 1
jmp 0x40b54f
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c187
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c1a4
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c19c
cmp cl, byte [edx]
jne 0x40c1df
push esi
push edx
push 0xffffffffffffffff
call fcn.00405eab
not eax
mov ecx, ebx
cmp dword [ecx + 0x43d02c], eax
jne 0x40c1c5
cmp dword [ecx + 0x43d028], esi
je 0x40c1d0
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c1b5
jmp 0x40c1df
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43d030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xb350008
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6a3e0885
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
jmp 0x431219