joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2001f514
Capabilities:
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc0
mov eax, dword [ebp + 0x7c]
push ebx
xor ebx, ebx
cmp word [eax], 0x23
push esi
sete bl
movzx ecx, bl
lea esi, [eax + ecx*2]
test esi, esi
push edi
mov dword [ebp + 0x70], 1
je 0x2001f651
cmp word [esi], 0
je 0x2001f651
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x2001f651
and word [edi], 0
inc edi
push esi
inc edi
call fcn.2000c372
xor esi, esi
cmp ebx, esi
pop ecx
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x7c], esi
jne 0x2001f5aa
push 0x23
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x2001f5a3
mov word [eax], si
add eax, 2
push eax
call fcn.200042be
pop ecx
push 0x10
pop ecx
cmp eax, ecx
mov dword [ebp + 0x7c], eax
jbe 0x2001f5aa
mov dword [ebp + 0x7c], ecx
jmp 0x2001f5aa
mov dword [ebp + 0x7c], 6
push edi
call fcn.2000c372
mov edi, dword [ebp + 0x6c]
cmp edi, esi
pop ecx
je 0x2001f651
cmp word [edi], si
je 0x2001f651
cmp eax, esi
je 0x2001f651
cmp word [eax], si
je 0x2001f651
fldz
push eax
lea ecx, [ebp + 0x54]
fstp qword [ebp + 0x5c]
mov dword [ebp + 0x54], 6
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], esi
call fcn.2001eff4
test eax, eax
je 0x2001f642
push 0x9e
lea eax, [ebp - 0x4a]
push esi
push eax
mov word [ebp - 0x4c], si
call sub.MSVCRT.dll_memset
fld qword [ebp + 0x5c]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0x7c]
push ecx
push ecx
fstp qword [esp]
call fcn.200090fc
lea eax, [ebp - 0x4c]
push eax
call fcn.2000c372
add esp, 0x14
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [ebp + 0x54]
inc esi
call fcn.200096c1
mov eax, esi
jmp 0x2001f65d
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x70], 0x57
call fcn.200096c1
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x2001f7dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x2001f861
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 3
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
jbe 0x2001f860
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov eax, dword [esi]
add eax, 0x10
push eax
call fcn.20004210
pop ecx
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esi]
push ebx
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
push ebx
mov byte [edi + eax], 0
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x2001f860
cmp dword [esi], 0xc
jbe 0x2001f860
push 1
push dword [ebp + 0x18]
push esi
push edi
call fcn.2001f75a
add esp, 0x10
mov edi, eax
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret
Function at 0x2001fd3f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
mov word [ebp - 0x208], bx
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x208]
push 0x20003d4c
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, ebx
je 0x2001fd9f
cmp edi, 0xffffffff
jne 0x2001fda3
xor eax, eax
jmp 0x2001fdf2
lea eax, [ebp - 0x42c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push 0x200029c0
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push eax
call fcn.2001fce3
add esp, 0x1c
test eax, eax
je 0x2001fdd7
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x458]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2001fda3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x200201cf
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x40e]
push edi
push eax
mov word [ebp - 0x410], di
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call sub.MSVCRT.dll_memset
add esp, 0x18
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x410]
push eax
call fcn.20004446
pop ecx
lea eax, [ebp - 0x660]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, edi
je 0x200202dc
cmp esi, 0xffffffff
je 0x200202dc
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push 0x200029c0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
test byte [ebp - 0x660], 0x10
je 0x200202a2
lea eax, [ebp - 0x634]
push eax
call fcn.20007e6f
test eax, eax
pop ecx
jne 0x200202bf
push dword [ebp + 0x14]
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push eax
call fcn.2001fd3f
add esp, 0xc
jmp 0x200202bd
push dword [ebp + 0x18]
lea eax, [ebp - 0x208]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.20020084
add esp, 0x14
mov edi, eax
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2002024e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x20020ba3
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [esp + 4], 0
je 0x20020bce
cmp dword [0x2002dd88], 0
jne 0x20020be5
push 0
push dword [0x2003f03c]
push 0x20020b43
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x2002dd88], eax
ret
mov eax, dword [0x2002dd88]
test eax, eax
je 0x20020be5
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and dword [0x2002dd88], 0
ret

Function at 0x20020f72
Capabilities:
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x12c
push ebx
push esi
push edi
push 0x2c
push 4
push dword [ebp + 0x7c]
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp + 0x68], 1
call fcn.2000c4a6
add esp, 0x10
push 0x10
pop ecx
mov esi, eax
lea edi, [ebp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x28]
xor ebx, ebx
cmp esi, ebx
je 0x200210a0
cmp word [esi], bx
je 0x200210a0
push esi
call fcn.20004465
test eax, eax
pop ecx
je 0x200210a0
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x200210a0
cmp word [eax], bx
je 0x200210a0
push ebx
push ebx
push ebx
push esi
call fcn.2001fbd2
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x200210a0
push edi
call fcn.20012fa7
or dword [ebp + 0x6c], 0xffffffff
movzx eax, al
push 4
lea esi, [edi + eax*2]
call fcn.20004210
pop ecx
pop ecx
push 1
push esi
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x70], eax
call fcn.200089a8
mov eax, dword [ebp + 0x2c]
xor esi, esi
cmp eax, ebx
je 0x20021034
cmp word [eax], bx
je 0x20021034
push eax
call fcn.200042be
pop ecx
mov esi, eax
and word [ebp - 0x78], bx
push 0x9e
lea eax, [ebp - 0x76]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
test esi, esi
jge 0x2002106b
mov eax, dword [ebp + 0x6c]
inc eax
push eax
lea eax, [ebp - 0x78]
push 0x20002b9c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ebx, [ebp - 0x78]
jmp 0x20021083
jne 0x20021072
push dword [ebp + 0x6c]
jmp 0x20021079
dec esi
cmp esi, dword [ebp + 0x6c]
jg 0x20021083
push esi
lea ecx, [ebp + 0x6c]
call fcn.200087e4
mov ebx, eax
push ebx
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
call sub.MSVCRT.dll_free
and dword [ebp + 0x68], 0
pop ecx
lea ecx, [ebp + 0x6c]
call fcn.2001e526
mov eax, dword [ebp + 0x68]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x20023df3
Capabilities:
Get common file path
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 1
xor ebx, ebx
push ebx
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.2001fbd2
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x20023e31
xor eax, eax
inc eax
jmp 0x20023f52
push esi
push edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x61a]
push ebx
push eax
mov word [ebp - 0x61c], bx
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x822]
push ebx
push eax
mov word [ebp - 0x824], bx
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x412]
push ebx
push eax
mov word [ebp - 0x414], bx
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0x30
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
push 0x20002b34
call edi
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x20002b44
call edi
push esi
lea eax, [ebp - 0x414]
push eax
push 0x20003b14
call edi
lea eax, [ebp - 0x824]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0xa2c]
push eax
call fcn.2001b464
push dword [ebp - 4]
call fcn.2001b39a
cmp word [ebp - 0x61c], bx
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop ecx
pop ecx
mov edi, eax
je 0x20023f0a
lea eax, [ebp - 0x61c]
push eax
push 0x20002b34
call esi
cmp word [ebp - 0x20c], bx
je 0x20023f21
lea eax, [ebp - 0x20c]
push eax
push 0x20002b44
call esi
cmp word [ebp - 0x414], bx
je 0x20023f38
lea eax, [ebp - 0x414]
push eax
push 0x20003b14
call esi
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 4]
call sub.MSVCRT.dll_free
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20023f55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
mov ebx, dword [0x2002dd98]
push esi
push edi
xor edi, edi
push 0x7fe
lea eax, [ebp - 0x806]
push edi
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
mov word [ebp - 0x808], di
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
cmp word [esi], 0x5c
jne 0x20023fcb
push 0x2c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, edi
je 0x20023fcb
mov word [eax], di
add eax, 2
push eax
call fcn.2000c372
pop ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
cmp eax, edi
je 0x20023fcb
movzx eax, word [eax]
cmp ax, di
je 0x20023fcb
movzx eax, ax
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jle 0x20024032
cmp word [esi], 0x5c
je 0x20023fe4
cmp word [esi + 2], 0x3a
jne 0x2002403c
push esi
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 8]
lea eax, [ebp - 0x808]
push eax
call fcn.2001b4bd
lea eax, [ebp - 0x808]
push eax
call fcn.20004465
add esp, 0xc
test eax, eax
je 0x20024024
lea eax, [ebp - 0x808]
push eax
call fcn.20023df3
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [0x2002dd98], ebx
pop ebx
leave
ret
cmp eax, edi
jle 0x2002403c
cmp word [esi], 0x5c
je 0x20023fe4
lea eax, [ebp - 0x808]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x20003248
lea eax, [ebp - 0x808]
push eax
call edi
push esi
lea eax, [ebp - 0x808]
push eax
call edi
jmp 0x20023ff2
Function at 0x200246b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push 0x23
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x80]
push eax
call fcn.2000c4a6
add esp, 0x10
push 0x10
mov esi, eax
pop ecx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
xor ebx, ebx
cmp eax, ebx
je 0x200246f9
cmp word [eax], bx
je 0x200246f9
push eax
call fcn.200042be
pop ecx
mov dword [0x2003f0ac], eax
jmp 0x20024703
mov dword [0x2003f0ac], 0xac0
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x20024718
cmp word [eax], bx
je 0x20024718
push eax
call fcn.200042be
pop ecx
jmp 0x2002471d
mov eax, 0xffffe0
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [0x2003f0b8], eax
call esi
mov dword [0x2003f0c4], eax
mov eax, dword [0x2002dd5c]
cmp eax, ebx
jne 0x20024852
mov eax, 0xf0fbff
push eax
mov byte [ebp - 0x40], 1
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xff
mov byte [ebp - 0x3d], 0xff
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], 0xc8
mov byte [ebp - 0x33], 8
mov byte [ebp - 0x32], 0xca
mov byte [ebp - 0x31], 0x80
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xfd
mov byte [ebp - 0x29], 1
mov byte [ebp - 0x28], 0x33
mov byte [ebp - 0x27], 1
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], 8
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], 0x90
mov byte [ebp - 0x1d], 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 1
mov byte [ebp - 0x1a], 0x4d
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], bl
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], bl
mov byte [ebp - 4], 0x67
mov byte [ebp - 3], bl
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
mov dword [0x2003f0b0], 0x80
mov dword [0x2003f0bc], eax
call esi
push ebx
push 0x200233bf
push dword [0x2002dd6c]
mov dword [0x2003f0c8], eax
lea eax, [ebp - 0x40]
push eax
push dword [0x2003f03c]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x20024860
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c783
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x44c06c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x80c], 0
lea eax, [ebp - 0x810]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 4
push eax
lea eax, [ebp - 0x814]
mov esi, edx
push eax
push 0x10
push str.AllowMsiOverride
push 0x4468e8
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [ebp - 0x80c], 0
jne 0x40c7ed
mov byte [esi], 0
xor al, al
jmp 0x40c8c6
mov ecx, str.entered_MsiOverride_mode
mov byte [esi], 1
call fcn.00409d9d
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40c81e
mov ecx, str.could_not_get_the_full_path_of_the_Setup_file___skipping_installation
call fcn.00409d9d
jmp 0x40c7e6
xor eax, eax
lea edi, [ebp - 0x824]
stosd dword es:[edi], eax
lea edx, [ebp - 0x824]
lea ecx, [ebp - 0x808]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040c498
test al, al
jne 0x40c846
mov ecx, str.could_not_get_the_Setup_version___skipping_installation
jmp 0x40c817
lea edx, [ebp - 0x824]
mov ecx, str.Setup_version_is
call fcn.0040c5db
push 0x445e84
lea ecx, [ebp - 0x824]
call fcn.0040c572
test al, al
je 0x40c871
mov ecx, str.the_version_of_the_Setup_file_is_invalid___skipping_installation
jmp 0x40c817
xor eax, eax
lea edi, [ebp - 0x834]
stosd dword es:[edi], eax
lea edx, [ebp - 0x834]
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040c498
lea edx, [ebp - 0x834]
mov ecx, str.App_version_is
call fcn.0040c5db
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040c572
test al, al
jne 0x40c8ba
mov ecx, str.The_app_version_already_installed_is_not_older_than_the_setup_version__skipping_installation
jmp 0x40c817
mov ecx, str.Setup_version_is_newer__re_installing_Teams_from_the_machine_wide_installer...
call fcn.00409d9d
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a95
leave
ret
Function at 0x4312c2
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], 0x21243825
mov ecx, 0x3d090c
mov dword [esp + 0x14], 0x62765874
mov dword [esp + 0x18], 0x562a677a
mov dword [esp + 0x1c], 0x2a25723f
mov dword [esp + 0x20], 0x36682b43
mov dword [esp + 0x24], 0x6a394d74
mov word [esp + 0x28], 0x43
mov dword [esp + 0x3c], 0x65006b
mov dword [esp + 0x40], 0x6e0072
mov dword [esp + 0x44], 0x6c0065
mov dword [esp + 0x48], 0x320033
mov dword [esp + 0x4c], 0x64002e
mov dword [esp + 0x50], 0x6c006c
mov word [esp + 0x54], ax
lea ecx, [ecx]
xor eax, eax
mov byte [esp + eax + 0x68], al
inc eax
cmp eax, 0x6a
jb 0x431344
dec ecx
jne 0x431342
cmp byte [esp + 0x98], 0x30
push ebx
push ebp
push esi
push edi
jne 0x43136c
invalid
lea ecx, [esp + 0x4c]
call fcn.00431802
mov esi, eax
jmp 0x431370
mov esi, dword [esp + 0x48]
mov edx, 0xe3142
mov ecx, esi
call fcn.00431842
mov ebx, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.00431842
mov edx, 0x348bfa
mov dword [esp + 0x74], eax
mov ecx, esi
call fcn.00431842
push 4
push 0x3000
add byte [eax], al

Function at 0x431353
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], 0x21243825
mov ecx, 0x3d090c
mov dword [esp + 0x14], 0x62765874
mov dword [esp + 0x18], 0x562a677a
mov dword [esp + 0x1c], 0x2a25723f
mov dword [esp + 0x20], 0x36682b43
mov dword [esp + 0x24], 0x6a394d74
mov word [esp + 0x28], 0x43
mov dword [esp + 0x3c], 0x65006b
mov dword [esp + 0x40], 0x6e0072
mov dword [esp + 0x44], 0x6c0065
mov dword [esp + 0x48], 0x320033
mov dword [esp + 0x4c], 0x64002e
mov dword [esp + 0x50], 0x6c006c
mov word [esp + 0x54], ax
lea ecx, [ecx]
xor eax, eax
mov byte [esp + eax + 0x68], al
inc eax
cmp eax, 0x6a
jb 0x431344
dec ecx
jne 0x431342
cmp byte [esp + 0x98], 0x30
push ebx
push ebp
push esi
push edi
jne 0x43136c
invalid
lea ecx, [esp + 0x4c]
call fcn.00431802
mov esi, eax
jmp 0x431370
mov esi, dword [esp + 0x48]
mov edx, 0xe3142
mov ecx, esi
call fcn.00431842
mov ebx, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.00431842
mov edx, 0x348bfa
mov dword [esp + 0x74], eax
mov ecx, esi
call fcn.00431842
push 4
push 0x3000
add byte [eax], al

Function at 0x43140f
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
dec edi
in al, dx
les ecx, [esi - 9]
out 0xc1, eax
ljmp 0xc82b
Function at 0x431842
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x24]
add ecx, edi
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x431898
jmp 0x431882
mov ecx, dword [ebp + esi*4]
add ecx, edi
call fcn.004317d2
cmp eax, dword [esp + 0x10]
je 0x4318a2
inc esi
cmp esi, ebx
jb 0x431882
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x32311e11
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a4a07af
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x537040]
test eax, eax
je 0x401ce2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x401cf8
cmp dword [eax + 4], 0
je 0x401cf8
add eax, 8
pop esi
ret
mov ecx, 0x537040
call fcn.004dccd0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x401cd7
mov eax, dword [0x537040]
test eax, eax
je 0x401d76
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x401d8c
mov esi, eax
test eax, eax
jne 0x401d63
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x401d33
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x401d9c
mov dword [0x5371d8], eax
push 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x401d9c
mov dword [eax], 0x537040
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x537040]
test eax, eax
je 0x401d90
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi + 4], 1
lea eax, [esi + 8]
mov dword [esi + 8], 0
pop esi
ret
mov ecx, 0x537040
call fcn.004dccd0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x401d0e
xor eax, eax
pop esi
ret
mov ecx, 0x537040
call fcn.004dccd0
jmp 0x401d5b
mov ecx, 4
mov edx, 0xc
call fcn.004d6180
int3