joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58fc20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6dc4f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x74c], ecx
cmp dword [ebp + 8], 0
jne 0x58fc46
xor eax, eax
jmp 0x58feab
cmp dword [ebp + 0xc], 0
jne 0x58fc53
xor eax, eax
jmp 0x58feab
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 0x331]
push edx
call fcn.00596c20
add esp, 0x10
mov eax, dword [ebp - 0x74c]
add eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x33c], 0
push 0x200
push 0
lea ecx, [ebp - 0x330]
push ecx
call fcn.00596250
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push str._02X
mov eax, dword [ebp - 4]
push eax
call fcn.00598799
add esp, 0xc
test eax, eax
jle 0x58fcf4
cmp dword [ebp - 0x33c], 0x200
jge 0x58fcf4
mov ecx, dword [ebp - 0x33c]
mov dl, byte [ebp - 0x130]
mov byte [ebp + ecx - 0x330], dl
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
jmp 0x58fc9f
push 0x100
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.0058e6c0
add esp, 0xc
mov cl, byte [ebp + 0x14]
mov byte [ebp - 5], cl
mov dword [ebp - 0x338], 0
jmp 0x58fd30
mov edx, dword [ebp - 0x338]
add edx, 0x10
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x744]
jge 0x58fe2a
mov ecx, dword [ebp + 8]
push ecx
push 0x10
push 1
lea edx, [ebp - 0x740]
push edx
call fcn.00596c20
add esp, 0x10
cmp eax, 0x10
je 0x58fda5
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea eax, [ebp - 0x740]
push eax
call fcn.00596250
add esp, 0xc
push 0x118
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00596250
add esp, 0xc
xor eax, eax
jmp 0x58feab
lea edx, [ebp - 0x740]
push edx
lea eax, [ebp - 0x740]
push eax
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.0058e9c0
add esp, 0x10
mov dword [ebp - 0x748], 0
jmp 0x58fddf
mov edx, dword [ebp - 0x748]
add edx, 1
mov dword [ebp - 0x748], edx
cmp dword [ebp - 0x748], 0x10
jge 0x58fe25
mov eax, dword [ebp - 0x338]
add eax, dword [ebp - 0x748]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x748]
mov dl, byte [ebp + edx - 0x740]
mov byte [ecx + eax], dl
movsx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x748]
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 5], al
jmp 0x58fdd0
jmp 0x58fd21
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 0x129]
push eax
call fcn.00596c20
add esp, 0x10
movsx ecx, byte [ebp - 0x331]
movsx edx, byte [ebp - 0x129]
cmp ecx, edx
jne 0x58fe62
movsx eax, byte [ebp - 0x331]
movsx ecx, byte [ebp - 5]
cmp eax, ecx
je 0x58fea6
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea edx, [ebp - 0x740]
push edx
call fcn.00596250
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00596250
add esp, 0xc
xor eax, eax
jmp 0x58feab
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0059641f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x59641f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6dc4f0]
jne 0x596429
repz ret
jmp fcn.0059e407

Function at 0x5a4583
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6dc4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005a25b5
and dword [ebp - 0x14], 0
cmp dword [0x7136dc], 0
mov dword [ebp - 0x18], eax
jne 0x5a4636
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5a46de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5a46de
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5cc084
push ebx
mov dword [0x7136dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x7136e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x7136e4], eax
call edi
push eax
call esi
mov dword [0x7136ec], eax
test eax, eax
je 0x5a4636
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x7136e8], eax
mov eax, dword [0x7136e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5a468f
cmp dword [0x7136ec], ecx
je 0x5a468f
push eax
call esi
push dword [0x7136ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5a468f
test ebx, ebx
je 0x5a468f
call edi
test eax, eax
je 0x5a4686
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5a4686
test byte [ebp - 8], 1
jne 0x5a468f
or dword [ebp + 0x10], 0x200000
jmp 0x5a46c2
mov eax, dword [0x7136e0]
cmp eax, dword [ebp - 0x18]
je 0x5a46c2
push eax
call esi
test eax, eax
je 0x5a46c2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5a46c2
mov eax, dword [0x7136e4]
cmp eax, dword [ebp - 0x18]
je 0x5a46c2
push eax
call esi
test eax, eax
je 0x5a46c2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x7136dc]
call esi
test eax, eax
je 0x5a46de
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5a46e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059641f
leave
ret
Function at 0x40a3a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov al, 0x45
mov cl, 0x6c
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x4c
mov byte [esp + 0x1a], cl
mov byte [esp + 0x15], al
mov byte [esp], al
mov byte [esp + 4], al
mov byte [esp + 0x1b], cl
mov al, 0x72
mov cl, 0x61
push ebp
mov byte [esp + 0xb], al
mov byte [esp + 0xd], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [esp + 0xa], cl
mov byte [esp + 0x10], cl
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x64
push eax
push ecx
mov byte [esp + 0x24], 0x4b
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x4e
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], dl
mov byte [esp + 0x30], 0
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x17], dl
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x62
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], 0
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov edi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40a45b
mov edx, dword [esp + 0x38]
push edx
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret
mov eax, dword [esp + 0x34]
push eax
call esi
test eax, eax
jne 0x40a471
mov ecx, dword [esp + 0x34]
push ecx
call edi
test eax, eax
je 0x40a480
mov edx, dword [esp + 0x38]
push edx
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x40a490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov al, 0x73
push esi
mov byte [esp + 0x38], al
mov byte [esp + 0x39], al
lea eax, [esp + 0x30]
push edi
lea ecx, [esp + 0x24]
push eax
mov bl, 0x65
push ecx
push 0
mov byte [esp + 0x30], 0x4b
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x4e
mov byte [esp + 0x35], 0x4c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x47
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x50
mov byte [esp + 0x44], 0x72
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x46], 0x63
mov byte [esp + 0x47], bl
mov byte [esp + 0x4a], 0x48
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x61
mov byte [esp + 0x4d], 0x70
mov byte [esp + 0x4e], 0
call fcn.0040a3a0
mov esi, eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push 0
mov byte [esp + 0x30], 0x48
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x52
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0x6c
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], 0
call fcn.0040a3a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
mov edi, eax
mov byte [esp + 0x30], 0x48
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], 0x63
mov byte [esp + 0x39], 0
call fcn.0040a3a0
mov ebx, eax
mov eax, dword [esp + 0x6c]
add esp, 0x24
test eax, eax
je 0x40a5e4
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push 0
call esi
push eax
call edi
pop edi
pop esi
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x4c]
push edx
push 0
call esi
push eax
call ebx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x40a600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x45
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
push esi
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x73
push edi
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov bl, 0x65
push ecx
push 0
mov byte [esp + 0x24], 0x4b
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x4e
mov byte [esp + 0x29], 0x4c
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x34], 0x47
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3e], 0x48
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], 0x70
mov byte [esp + 0x42], 0
call fcn.0040a3a0
mov esi, eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push 0
mov byte [esp + 0x24], 0x48
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call fcn.0040a3a0
mov ecx, dword [esp + 0x54]
add esp, 0x18
mov edi, eax
push ecx
push 0
call esi
push eax
call edi
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x40a980
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov al, 0x6c
push ebp
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x1c], 0x56
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], 0
call fcn.0040a3a0
mov ebx, eax
mov eax, dword [esp + 0x48]
xor edx, edx
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebp, [edx + eax + 0x18]
jbe 0x40aadd
push esi
push edi
add ebp, 0x10
jmp 0x40aa4f
mov ecx, dword [esp + 0x14]
cmp dword [ebp], 0
jne 0x40aa89
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x40aabb
mov edx, dword [ebp - 4]
push 4
push 0x1000
add edx, ecx
push esi
push edx
call ebx
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40aabb
mov edx, dword [ebp - 4]
mov eax, dword [ebp]
push 4
push 0x1000
add edx, ecx
push eax
push edx
call ebx
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [esp + 0x3c]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40aa4b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x40aaf0
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x10]
push esi
lea ecx, [esp + 0x20]
push eax
mov bl, 0x74
push ecx
push 0
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x6c
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x56
mov byte [esp + 0x21], 0x69
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x75
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], 0x6c
mov byte [esp + 0x27], 0x46
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0
call fcn.0040a3a0
mov dword [esp + 0x14], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
mov byte [esp + 0x48], 0x56
mov byte [esp + 0x49], 0x69
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x50
mov byte [esp + 0x50], 0x72
mov byte [esp + 0x51], 0x6f
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x63
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0
call fcn.0040a3a0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebx, ebx
add esp, 0x18
mov esi, dword [ecx]
mov dword [esp + 0xc], eax
mov dx, word [esi + 0x14]
cmp word [esi + 6], bx
lea eax, [edx + esi + 0x18]
jbe 0x40ac9b
push ebp
push edi
lea ebp, [eax + 0x24]
mov eax, dword [ebp]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x40ac3b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x1c]
jmp 0x40ac81
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [edi + edx*2]
mov edi, dword [ecx*4 + 0x4a7480]
je 0x40ac55
or edi, 0x200
mov edx, dword [ebp - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40ac70
test al, 0x40
je 0x40ac67
mov ecx, dword [esi + 0x20]
jmp 0x40ac6e
test al, 0x80
je 0x40ac81
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x40ac81
mov ecx, dword [ebp - 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push edx
push ecx
call dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
xor eax, eax
inc ebx
add ebp, 0x28
mov esi, dword [edx]
mov ax, word [esi + 6]
cmp ebx, eax
jl 0x40ac09
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x40ad30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov al, 0x45
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
mov cl, 0x52
push ebp
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
push esi
mov byte [esp + 0x1a], cl
mov byte [esp + 0x2d], cl
lea eax, [esp + 0x28]
push edi
lea ecx, [esp + 0x1c]
push eax
mov bl, 0x61
push ecx
push 0
mov byte [esp + 0x28], 0x4b
mov byte [esp + 0x2b], 0x4e
mov byte [esp + 0x2d], 0x4c
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x38], 0x49
mov byte [esp + 0x39], 0x73
mov byte [esp + 0x3a], 0x42
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0x64
mov byte [esp + 0x3e], 0x65
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x64
mov byte [esp + 0x41], 0x50
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x44], 0
call fcn.0040a3a0
mov ebp, eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x28]
push edx
push eax
push 0
mov dword [esp + 0x30], ebp
mov byte [esp + 0x54], 0x4c
mov byte [esp + 0x55], 0x6f
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x64
mov byte [esp + 0x58], 0x4c
mov byte [esp + 0x59], 0x69
mov byte [esp + 0x5a], 0x62
mov byte [esp + 0x5b], 0x72
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 0x72
mov byte [esp + 0x5e], 0x79
mov byte [esp + 0x5f], 0x41
mov byte [esp + 0x60], 0
call fcn.0040a3a0
mov edi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
add esp, 0x18
mov ecx, 1
mov eax, dword [edi]
mov ebx, dword [edi + 4]
add eax, 0x80
mov edx, dword [eax + 4]
test edx, edx
jbe 0x40af1e
mov esi, dword [eax]
push 0x14
add esi, ebx
push esi
mov dword [esp + 0x18], esi
call ebp
test eax, eax
jne 0x40af28
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40af28
add eax, ebx
push eax
call dword [esp + 0x18]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40af14
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.0040a490
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x40af14
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx*4], ebp
mov edx, dword [edi + 0xc]
inc edx
mov dword [edi + 0xc], edx
mov eax, dword [esi]
test eax, eax
je 0x40aeb2
mov esi, dword [esi + 0x10]
lea edi, [eax + ebx]
add esi, ebx
jmp 0x40aeba
mov edx, dword [esi + 0x10]
lea edi, [edx + ebx]
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x40aef1
test eax, 0x80000000
je 0x40aece
and eax, 0xffff
jmp 0x40aed2
lea eax, [eax + ebx + 2]
push eax
push 0
push ebp
call fcn.0040a3a0
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x40af14
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
jne 0x40aec0
mov eax, dword [esp + 0x10]
push 0x14
add eax, 0x14
push eax
mov dword [esp + 0x18], eax
call dword [esp + 0x20]
test eax, eax
jne 0x40af28
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
jmp 0x40ae5a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret
Function at 0x40b010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov al, 0x45
push ebx
mov byte [esp + 0x31], al
mov byte [esp + 0x34], al
mov al, 0x4c
push ebp
mov byte [esp + 0x39], al
mov byte [esp + 0x20], al
push esi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x3c]
push eax
xor edi, edi
mov bl, 0x65
push ecx
push edi
mov byte [esp + 0x48], 0x4b
mov byte [esp + 0x4a], 0x52
mov byte [esp + 0x4b], 0x4e
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], 0x6c
mov byte [esp + 0x54], 0
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x62
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0
call fcn.0040a3a0
mov ebp, eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x48]
push edx
push eax
push edi
mov byte [esp + 0x48], 0x56
mov byte [esp + 0x49], 0x69
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x74
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x46
mov byte [esp + 0x50], 0x72
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0
call fcn.0040a3a0
lea ecx, [esp + 0x64]
lea edx, [esp + 0x54]
mov dword [esp + 0x28], eax
push ecx
mov al, 0x73
push edx
push edi
mov byte [esp + 0x70], 0x47
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], 0x74
mov byte [esp + 0x73], 0x50
mov byte [esp + 0x74], 0x72
mov byte [esp + 0x75], 0x6f
mov byte [esp + 0x76], 0x63
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], al
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], 0x48
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], 0x61
mov byte [esp + 0x7d], 0x70
mov byte [esp + 0x7e], 0
call fcn.0040a3a0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x60]
push eax
push ecx
push edi
mov byte [esp + 0x48], 0x48
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x61
mov byte [esp + 0x4b], 0x70
mov byte [esp + 0x4c], 0x46
mov byte [esp + 0x4d], 0x72
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0
call fcn.0040a3a0
mov esi, dword [esp + 0x90]
add esp, 0x30
cmp esi, edi
mov ebx, eax
je 0x40b1fe
cmp dword [esi + 0x10], edi
je 0x40b1b3
mov edx, dword [esi]
mov eax, dword [esi + 4]
push edi
push edi
mov ecx, dword [edx + 0x28]
push eax
add ecx, eax
call ecx
mov dword [esi + 0x10], edi
cmp dword [esi + 8], edi
je 0x40b1e1
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x40b1d5
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
cmp eax, 0xffffffff
je 0x40b1cd
push eax
call ebp
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x40b1bf
mov eax, dword [esi + 8]
push eax
call fcn.0040a600
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x40b1f4
push 0x8000
push 0
push eax
call dword [esp + 0x1c]
push esi
push 0
call dword [esp + 0x1c]
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x427fed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x42800f
cmp dword [edi + 0x3c], 0
jne 0x42800f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0043ebcb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0042803c
pop edi
pop esi
pop ebx
ret 8

Function at 0x42808a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0043ebcb
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4280bb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004280ce
pop edi
pop esi
pop ebx
ret 8