joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4103d47a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4103d491
mov eax, 1
leave
ret 0xc
mov dword [ebp - 0x54], 0x411b776c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x50], eax
push eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
invalid

Function at 0x4103d4b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
inc ebp
mov ah, 0x8b
inc ebp
mov ah, 0x89
inc ebp
mov eax, 0x2404c750
add byte [eax], al
add byte [eax], al

Function at 0x4103d4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
inc ebp
enter 0xffffffffffff8b50, 0x45
enter 0x489, 0x24
call fcn.4103d5b0
mov dword [ebp - 0x34], eax
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
neg eax
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
neg eax
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
add esp, 0xfffffff0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
add byte [eax], al
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x24]
mov dword [ebp - 8], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
call fcn.4103d61d
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, 1
leave
ret 0xc

Function at 0x4103e6f0
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
lea eax, [edx + 0x94]
lea ecx, [edx + 0x988]
mov dword [edx + 0xb18], eax
mov dword [edx + 0xb24], ecx
xor ecx, ecx
lea eax, [edx + 0xa7c]
mov dword [edx + 0xb20], 0x411b6c00
mov dword [edx + 0xb2c], 0x411b6c14
mov dword [edx + 0xb30], eax
mov dword [edx + 0xb38], 0x411b6c28
mov word [edx + 0x16b8], cx
mov dword [edx + 0x16bc], ecx
pop ebp
jmp fcn.4103d4e0
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40604c], 1
mov dword [0x406050], 1
mov dword [0x406054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x401970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x402544
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402563
mov eax, 0
jmp 0x4025a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x402586
mov eax, 0
jmp 0x4025a7
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x4025a2
mov eax, 0
jmp 0x4025a7
mov eax, 1
leave
ret
Function at 0x4025a9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x402608
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402600
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402600
mov eax, dword [ebp - 4]
jmp 0x40261c
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4025dd
mov eax, 0
leave
ret
Function at 0x401360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x350
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x150]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x150]
push eax
push 0x104
call fcn.00419150
mov ecx, eax
call fcn.0041b3c0
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 4
lea ecx, [esp + 0x150]
lea edx, [esp + 0x4c]
push eax
push ecx
push str._s_u
push edx
call edi
mov cl, 0x64
mov al, 0x31
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], cl
mov cl, 0x38
mov byte [esp + 0x1a], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x35], al
mov byte [esp + 0x37], al
mov byte [esp + 0x27], cl
mov byte [esp + 0x32], cl
push 0x43706c
lea eax, [esp + 0x1c]
push 0x20
lea ecx, [esp + 0x64]
mov dl, 0x65
push eax
push ecx
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x29], 0x32
mov byte [esp + 0x2b], 0x30
mov byte [esp + 0x2c], 0x37
mov byte [esp + 0x2d], 0x35
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x33
mov byte [esp + 0x30], 0x36
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], dl
mov byte [esp + 0x36], 0x30
mov byte [esp + 0x38], 0x34
mov byte [esp + 0x39], dl
mov byte [esp + 0x3b], 0x37
mov byte [esp + 0x3c], 0x36
mov byte [esp + 0x3f], 0x61
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x41], 0x33
mov byte [esp + 0x43], 0x63
mov byte [esp + 0x44], 0x37
mov byte [esp + 0x46], 0x30
mov byte [esp + 0x48], 0
call fcn.0040f800
add esp, 0x20
lea edx, [esp + 0x4c]
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push edx
call fcn.00419150
mov ecx, eax
call fcn.0041b4b0
mov esi, eax
cmp esi, 0xffffffff
je 0x4014d9
lea eax, [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push esi
call fcn.00419150
mov ecx, eax
call fcn.0041b2f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
call fcn.00411080
add esp, 0xc
push esi
call fcn.00419150
mov ecx, eax
call fcn.0041b350
lea eax, [esp + 0x4c]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b550
lea ecx, [esp + 0x150]
lea edx, [esp + 0x254]
push ecx
push str._s9ca9f808
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x254]
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocString
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b4b0
mov esi, eax
cmp esi, 0xffffffff
je 0x401571
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
push esi
call fcn.00419150
mov ecx, eax
call fcn.0041b2f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.00411080
add esp, 0xc
push esi
call fcn.00419150
mov ecx, eax
call fcn.0041b350
lea ecx, [esp + 0x254]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b550
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub eax, ecx
xor edx, edx
cmp eax, 0xa
pop edi
setle dl
dec edx
pop esi
and eax, edx
add esp, 0x350
ret
Function at 0x402a40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
push edi
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x20], 1
mov byte [esp + 0x21], 2
mov byte [esp + 0x22], 4
mov byte [esp + 0x23], 8
mov byte [esp + 0x24], 0x10
mov byte [esp + 0x25], 0x20
mov byte [esp + 0x26], 0x40
mov byte [esp + 0x27], 0x80
mov byte [esp + 0x28], 0x1b
mov byte [esp + 0x29], 0x36
xor ebp, ebp
mov edi, esi
xor eax, eax
lea edx, [ecx + ebp]
mov bl, byte [edx]
add edx, 4
mov byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x402a8e
inc ebp
add edi, 4
cmp ebp, 4
jl 0x402a89
lea eax, [esp + 0x20]
mov ebp, 1
dec eax
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x1c], eax
xor edi, edi
xor eax, eax
test edi, edi
lea ecx, [eax + ebp*4]
je 0x402acf
lea edx, [edi + ecx*4]
mov dl, byte [edx + esi - 1]
jmp 0x402ad3
mov dl, byte [esi + ecx*4 - 0xd]
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, 4
jl 0x402abf
test edi, edi
jne 0x402b47
mov dl, byte [esp + 0x30]
mov esi, 1
lea ecx, [esp + 0x30]
xor eax, eax
mov byte [esp + 0x18], dl
sub esi, ecx
lea edx, [esp + eax + 0x30]
lea ecx, [esi + edx]
and ecx, 0x80000003
jns 0x402b0a
dec ecx
or ecx, 0xfffffffc
inc ecx
xor ebx, ebx
inc eax
mov bl, byte [esp + ecx + 0x30]
mov ecx, dword [esp + 0x14]
cmp eax, 3
mov bl, byte [ebx + ecx + 4]
mov byte [edx], bl
jl 0x402af6
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
and edx, 0xff
mov al, byte [edx + ecx + 4]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x33], al
mov al, byte [esp + 0x30]
mov dl, byte [ecx + ebp]
xor al, dl
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x10]
xor edx, edx
add eax, edi
add eax, esi
mov cl, byte [esp + edx + 0x30]
mov bl, byte [eax - 0x10]
xor cl, bl
inc edx
mov byte [eax], cl
add eax, 4
cmp edx, 4
jl 0x402b51
inc edi
cmp edi, 4
jl 0x402abd
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, 0x10
cmp ebp, 0xa
mov dword [esp + 0x10], ecx
jle 0x402abb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x402b90
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
push ecx
mov al, byte [esp + 0xc]
push ebx
mov byte [esp + 0x10], al
mov byte [esp + 7], 0
mov edx, 1
mov al, 0x80
mov cl, byte [esp + edx + 0xf]
shl cl, 1
mov byte [esp + edx + 0x10], cl
mov bl, byte [esp + edx + 0xf]
test al, bl
je 0x402bbf
xor cl, 0x1b
mov byte [esp + edx + 0x10], cl
inc edx
cmp edx, 4
jl 0x402ba6
mov bl, byte [esp + 0xc]
xor edx, edx
mov al, bl
mov cl, dl
shr al, cl
test al, 1
je 0x402be3
mov cl, byte [esp + edx + 0x10]
mov al, byte [esp + 7]
xor al, cl
mov byte [esp + 7], al
inc edx
cmp edx, 4
jl 0x402bcb
mov al, byte [esp + 7]
pop ebx
pop ecx
ret 8

Function at 0x402d90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov ecx, edx
lea eax, [edi + ebp]
sub ecx, edi
mov esi, 4
mov bl, byte [ecx + eax]
xor byte [eax], bl
add eax, 4
dec esi
jne 0x402daa
inc ebp
cmp ebp, 4
jl 0x402d9e
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x402fc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
cmp esi, 1
jge 0x402fcf
or eax, 0xffffffff
pop esi
ret
xor eax, eax
xor ecx, ecx
test esi, esi
je 0x402fff
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4336d4]
xor eax, edx
inc ecx
cmp ecx, esi
jne 0x402fdd
pop edi
pop ebx
not eax
pop esi
ret

Function at 0x404640
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x4045e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40466a
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
xor eax, eax
pop ecx
ret

Function at 0x4048e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x1b70
mov dword [esi + 8], 0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 4], eax
lea eax, [esp + 4]
mov dword [esi + 0xc], 0x400
push eax
push 0
push esi
push 0x404930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop esi
je 0x40492b
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
pop ecx
ret
Function at 0x405d90
Capabilities:
Get disk information

Disassembly:
push ecx
movsx eax, byte [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea ecx, [esp + 0x14]
push str._c:_
push ecx
call edi
add esp, 0xc
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push 0
push 0
push 0
push 0
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x405de8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
push ecx
push str.0x_08x
push edx
call edi
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ecx
ret 8

Function at 0x405df0
Capabilities:
Get disk size

Disassembly:
movsx eax, byte [esp + 4]
sub esp, 0x18
lea ecx, [esp + 0x1c]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
push str._c:_
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push edx
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esi, eax
test esi, esi
je 0x405e49
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
push eax
push ecx
push str._I64d
push edx
call edi
add esp, 0x10
mov eax, esi
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x406450
Capabilities:
Get common file path

Disassembly:
sub esp, 0x364
mov ecx, 0x19
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x268]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x168]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x26c]
push edx
push eax
push ecx
call fcn.00406090
mov al, byte [esp + 0x78]
add esp, 0x10
test al, al
pop edi
jne 0x4064e5
lea edx, [esp + 0x64]
lea eax, [esp + 0x164]
push edx
mov edx, dword [esp + 4]
lea ecx, [esp + 0x268]
push eax
push ecx
push edx
call fcn.00404ac0
add esp, 0x10
lea eax, [esp + 0x64]
lea ecx, [esp + 0x164]
push eax
mov eax, dword [esp + 0x36c]
lea edx, [esp + 0x268]
push ecx
push edx
push str._s_t_s_t_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, 1
add esp, 0x378
ret

Function at 0x407630
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x407490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40765a
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
xor eax, eax
pop ecx
ret
Function at 0x4081e0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x408030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40820a
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
xor eax, eax
pop ecx
ret
Function at 0x409c20
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x438d58]
test eax, eax
jne 0x409c5d
lea eax, [esp]
push eax
push 0
push 0
push 0x40ab90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x409c53
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov dword [0x438d58], 1
pop ecx
ret
Function at 0x409e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x21c
lea eax, [esp + 0x118]
push eax
call fcn.0040f3c0
add esp, 4
test eax, eax
jne 0x409ea1
add esp, 0x21c
ret
mov al, 0x54
push ebx
mov byte [esp + 0xa], al
mov byte [esp + 0xc], al
mov byte [esp + 0xe], al
mov al, 0x68
push esi
push edi
mov byte [esp + 0x17], al
mov byte [esp + 0x19], al
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xc], 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0xd], 0x6c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0xe], 0x49
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
mov byte [esp + 0xf], 0x65
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x67
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x15], 0x7a
mov byte [esp + 0x18], 0x48
mov byte [esp + 0x1a], 0x55
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x58
mov byte [esp + 0x1d], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x234]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x230]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0040f740
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x21c
ret

Function at 0x409f80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x21c
lea eax, [esp + 0x118]
push eax
call fcn.0040f3c0
add esp, 4
test eax, eax
jne 0x409fa1
add esp, 0x21c
ret
push ebx
mov cl, 0x54
mov al, 0x6e
push esi
push edi
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x11], al
mov byte [esp + 0x18], cl
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0xc], 0x5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0xd], 0x70
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
mov byte [esp + 0x10], 0x41
mov byte [esp + 0x12], 0x4a
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x50
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x57
mov byte [esp + 0x17], 0x61
mov byte [esp + 0x19], 0x7a
mov byte [esp + 0x1a], 0x51
mov byte [esp + 0x1b], 0x6b
mov byte [esp + 0x1c], 0x48
mov byte [esp + 0x1d], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x234]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x230]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0040f740
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x21c
ret
Function at 0x40a1d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
push 0
push esi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x40a358
push 0x437878
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40a358
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebx, eax
call edi
push ebx
call sub.MFC42.DLL_operatornew
mov ecx, ebx
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
rep stosb byte es:[edi], al
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov ebx, dword [esp + 0x15c]
push 0
push ebx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x3c
test eax, eax
jne 0x40a30d
mov ecx, 0x41
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], al
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x10], 0x5f
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
mov byte [esp + 0x11], 0x62
mov byte [esp + 0x12], 0x61
mov byte [esp + 0x13], 0x6b
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00419150
mov ecx, eax
call fcn.0041b570
push 0
push ebx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x40a358
push 0x43706c
push ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40a33b
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
test ebp, ebp
jne 0x40a348
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
Function at 0x40a9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov al, 0x61
mov dl, 0x65
mov byte [esp + 5], al
mov byte [esp + 0xb], al
mov al, 0x73
mov cl, 0x6c
mov byte [esp + 0xc], al
mov byte [esp + 0xd], al
mov byte [esp + 0xf], al
mov byte [esp + 0x18], al
lea eax, [esp]
mov byte [esp], 0x53
push eax
push SysReAllocString
mov byte [esp + 9], 0x6f
mov byte [esp + 0xa], 0x66
mov byte [esp + 0xb], 0x74
mov byte [esp + 0xc], 0x77
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], dl
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x43
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], dl
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x6f
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x64
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x5c
mov byte [esp + 0x21], 0x68
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0
call fcn.0040a8f0
add esp, 0x28
ret