joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 4
call fcn.100014b0
movzx eax, al
test eax, eax
je 0x10024b3e
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
push 0
push 0x1fffff
lea ecx, [ebp - 8]
push ecx
mov edx, dword [0x10053824]
mov eax, dword [edx + 0x11c]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10024b39
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [0x10053830]
call fcn.10023f80
mov eax, dword [ebp - 8]
jmp 0x10024c0e
jmp 0x10024c0c
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
mov edx, dword [0x10053824]
mov eax, dword [edx + 0x114]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10024c0c
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.10024f20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jae 0x10024bf8
mov byte [ebp - 0x34], 0x54
mov byte [ebp - 0x33], 0x68
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x20
mov byte [ebp - 0x24], 0x71
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x66
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x21
mov byte [ebp - 0x17], 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [0x10053830]
call fcn.10023f80
mov eax, dword [ebp - 8]
jmp 0x10024c0e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 8], 0
jmp 0x10028ac2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 9
jge 0x10028b01
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x16c2867b]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10028afc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10028ab9
mov eax, dword [ebp - 0xc]
mov byte [eax + 9], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10028b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x5f
mov dword [ebp - 8], 0
jmp 0x10028b42
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jge 0x10028b81
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x7161b027]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10028b7c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10028b39
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x12], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10028ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xc2
mov dword [ebp - 8], 0
jmp 0x10028bc2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1a
jge 0x10028c01
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0xf03ad50]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10028bfc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10028bb9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1a], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10028c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xa7
mov dword [ebp - 8], 0
jmp 0x10028c42
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jge 0x10028c81
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x2079c0a8]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10028c7c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10028c39
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10028ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x93
mov dword [ebp - 8], 0
jmp 0x10028cc2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 7
jge 0x10028d01
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x53062dc]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10028cfc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10028cb9
mov eax, dword [ebp - 0xc]
mov byte [eax + 7], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10028f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
call fcn.10028d90
movzx eax, al
test eax, eax
je 0x1002906c
mov byte [ebp - 0x34], 0x46
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x20
mov byte [ebp - 0x2e], 0x45
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x20
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x7a
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x21
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x20
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x3a
mov byte [ebp - 3], 0x20
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0
mov ecx, dword [0x10053828]
call fcn.100014d0
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [0x1005382c]
call fcn.10013ed0
mov esp, ebp
pop ebp
ret

Function at 0x1002ad1c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10052b44]
jne 0x1002ad26
repz ret
jmp fcn.1002b37c
Function at 0x1002ca20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002cb28
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1002cb28
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1002cb28
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.1002b720
add esp, 0x10
cmp eax, 2
je 0x1002ca69
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x1002ca5d
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.1002b720
add esp, 0x10
cmp eax, 4
jne 0x1002ca5d
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1002ca98
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.1002b720
add esp, 0x10
cmp eax, 2
jne 0x1002ca5d
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x1002caf3
cmp eax, 0x8664
jne 0x1002ca5d
push 0x108
push ebx
push edi
push esi
call fcn.1002b720
add esp, 0x10
cmp eax, 0x108
jne 0x1002ca5d
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.1002b720
add esp, 0x10
cmp eax, 0xf8
jne 0x1002ca5d
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ed1
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ecx
push ebp
push edi
mov ebp, 0x104
mov edi, 0x40b4f8
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x403f57
push esi
push str.ShellExecuteA
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0xc], eax
je 0x403f4e
push ebx
mov esi, 0x40b5fc
push str._c_del__
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push esi
call ebx
push str._____NUL
push esi
call ebx
push ebp
push edi
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
pop ebx
je 0x403f4e
xor eax, eax
push eax
push eax
push esi
push edi
push eax
push eax
call dword [esp + 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x4043cd
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov ch, byte [eax + 3]
mov esi, dword [ebp + 8]
mov cl, byte [eax + 2]
push edi
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
xor edi, edi
movzx edx, byte [eax]
movzx ebx, byte [eax + 5]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax + 7]
mov dl, byte [eax + 6]
movzx eax, byte [eax + 4]
shl edx, 8
or edx, ebx
shl edx, 8
or eax, edx
cmp dword [ebp + 0x14], edi
jne 0x40446a
mov edx, dword [esi]
test edx, edx
jle 0x4044c3
mov dword [ebp + 8], edx
mov edx, eax
mov ebx, eax
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, edi
and ebx, 3
add edx, eax
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edi
sub edi, 0x61c88647
xor edx, ebx
add ecx, edx
mov edx, ecx
mov ebx, ecx
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, edi
shr ebx, 0xb
and ebx, 3
add edx, ecx
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edi
xor edx, ebx
add eax, edx
dec dword [ebp + 8]
jne 0x404420
jmp 0x4044c3
mov edi, dword [esi]
mov edx, edi
imul edx, edx, 0x9e3779b9
test edi, edi
jle 0x4044c3
mov dword [ebp + 8], edi
mov edi, ecx
mov ebx, ecx
shr edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, edx
shr ebx, 0xb
and ebx, 3
add edi, ecx
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edx
add edx, 0x61c88647
xor edi, ebx
sub eax, edi
mov edi, eax
mov ebx, eax
shr edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, edx
and ebx, 3
add edi, eax
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edx
xor edi, ebx
sub ecx, edi
dec dword [ebp + 8]
jne 0x40447b
mov esi, dword [ebp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [esi + 1], dl
mov byte [esi], cl
mov edx, ecx
mov byte [esi + 4], al
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 5], cl
mov ecx, eax
shr edx, 0x10
shr ecx, 0x10
shr eax, 0x18
mov byte [esi + 2], dl
mov byte [esi + 6], cl
mov byte [esi + 7], al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43bea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43beba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43bec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43beb0
mov eax, 1
add ebx, ebx
jne 0x43bed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43bec8
jne 0x43bee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43bec8
xor ecx, ecx
sub eax, 3
jb 0x43bef8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43bf6a
mov ebp, eax
add ebx, ebx
jne 0x43bf03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43bf10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43bf34
inc ecx
add ebx, ebx
jne 0x43bf20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43bf15
jne 0x43bf31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43bf15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43bf54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43bf45
jmp 0x43beb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43bf54
add edi, ecx
jmp 0x43beb6
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43bf72
cmp byte [edi], 9
jne 0x43bf72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43bf77
lea edi, [esi + 0x39000]
mov eax, dword [edi]
or eax, eax
je 0x43bfef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x59510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x595f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43bfa4
mov ecx, edi
jns 0x43bfd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x595f8]
or eax, eax
je 0x43bfe9
mov dword [ebx], eax
add ebx, 4
jmp 0x43bfc1
call dword [esi + 0x595f4]
mov ebp, dword [esi + 0x595fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43c023
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40a850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, ecx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, esi
shr eax, 4
add eax, 1
movzx eax, ax
push 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
xor eax, eax
test ebp, ebp
je 0x40a94a
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a948
mov dword [esp], ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40a948
mov ebx, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and esi, 0xf
je 0x40a8e7
test eax, eax
jle 0x40a8e7
mov edx, ebx
add edx, eax
add esi, 0xffffffff
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
cmp ebx, edx
setb cl
add esi, 0xffffffff
jae 0x40a8e7
cmp ebx, edx
jb 0x40a8d0
test cl, cl
je 0x40a948
movzx esi, word [ebx]
test esi, esi
mov eax, 0
je 0x40a94a
mov eax, dword [esp]
mov eax, dword [eax]
mov ecx, 1
sub ecx, dword [eax - 4]
lea edi, [ebx + 2]
mov edx, dword [eax - 8]
sub edx, esi
or edx, ecx
mov ecx, esi
jns 0x40a923
mov ebp, dword [esp]
mov ecx, ebp
push esi
call fcn.0040ab20
mov eax, dword [ebp]
movzx ecx, word [ebx]
push ecx
push edi
push esi
push eax
call fcn.004241c2
add esp, 0x10
cmp eax, 0x22
ja case.default.0x40a937
mov ecx, dword [esp]
jmp dword [eax*4 + 0x40a98c]
push 0x8007000e
call fcn.004082f0
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp eax, 0x50
mov ecx, dword [esp]
jne case.0x40a937.1
mov eax, dword [ecx]
cmp dword [eax - 8], esi
jl case.0x40a937.22
mov dword [eax - 0xc], esi
mov eax, dword [ecx]
mov word [eax + esi*2], 0
mov eax, 1
jmp 0x40a94a
push 0x80070057
call fcn.004082f0
push 0x80004005
call fcn.004082f0
nop dword [eax]
pop esp
test eax, -1451294656
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [esi], bh
test eax, 0xa97f0040
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [ebp - 0x57], dh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [edi - 0x57], bh
inc eax
add byte [ebp - 0x57], dh
inc eax
add ah, cl
int3
Function at 0x40aa20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, 0x449164
push 0
call fcn.004138a3
test eax, eax
je 0x40ab0b
mov esi, eax
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 4
add eax, 1
movzx eax, ax
mov dword [esp + 0xc], eax
and ecx, 0xf
mov dword [esp + 4], ecx
lea eax, [ecx - 1]
mov dword [esp], eax
mov ebp, 1
movzx eax, word [esp + 0x28]
mov dword [esp + 8], eax
jmp 0x40aa88
mov ecx, 0x449164
push ebp
add ebp, 1
call fcn.004138a3
mov esi, eax
test eax, eax
je 0x40ab0b
push dword [esp + 8]
push dword [esp + 0x10]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x40aa70
mov ebx, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40aa70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40aa70
mov edi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
cmp dword [esp + 4], 0
je 0x40aaf7
test eax, eax
jle 0x40aaf7
mov edx, edi
add edx, eax
mov eax, dword [esp]
nop word [eax + eax]
movzx ecx, word [edi]
lea edi, [edi + ecx*2]
add edi, 2
cmp edi, edx
setb cl
add eax, 0xffffffff
jae 0x40aaf7
cmp edi, edx
jb 0x40aae0
test cl, cl
je 0x40aa70
cmp word [edi], 0
je 0x40aa70
jmp 0x40ab0d
xor esi, esi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40bd10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x413020
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.004138e8
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x40bdbf
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.00413a10
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.00413e44
add esp, 4
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x40bdfc
push eax
call fcn.00422932
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40be15
push eax
call fcn.00422932
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40be2e
push eax
call fcn.00422932
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40be47
push eax
call fcn.00422932
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40be60
push eax
call fcn.00422932
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40be79
push eax
call fcn.00422932
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.00413919
add esp, 8
pop ebp
ret