joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad404
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x392948]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x31d5dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a55d4
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a67fc
mov eax, dword [esi]
call fcn.004940e4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4ad476
mov eax, dword [esi]
call fcn.004940e4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004940f0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4ad49a
mov eax, dword [esi]
call fcn.004940f0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004940d8
cmp eax, dword [ebp - 0x18]
jle 0x4ad4b0
mov eax, dword [esi]
call fcn.004940d8
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004940cc
cmp eax, dword [ebp - 0xc]
jle 0x4ad4c6
mov eax, dword [esi]
call fcn.004940cc
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call fcn.00407808
call fcn.00406d28
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4ad58d
mov eax, ebx
call fcn.00404418
cmp eax, 0x64
jge 0x4ad58d
cmp dword [0x3906d4], 0
je 0x4ad58d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ad58d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ad550
mov bl, 2
jmp 0x4ad56b
lea edx, [ebp - 0x20]
mov eax, dword [0x39a830]
call fcn.004b069c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4ad569
xor ebx, ebx
jmp 0x4ad56b
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x3907dc]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call dword [0x3906d4]
mov eax, dword [0x392778]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004a94c0
push 4
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call fcn.00407850
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x31d5e4
call fcn.00406d28
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4d0848
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x340936
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x4d0897
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x4d08b6
mov ecx, edx
add ecx, ebx
jmp 0x4d08b6
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4d08b6
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x4d0928
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x4d0911
test esi, esi
jbe 0x4d0928
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a510
test eax, eax
jne 0x4d0903
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4d0928
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4d08e0
jmp 0x4d0928
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x4d0928
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x34093d
ret
Function at 0x4d1bc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x341de3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404868
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d1c03
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d1c1c
lea eax, [ebp - 0x10]
mov edx, dword [0x392760]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.004048c8
jmp 0x4d1c2f
lea eax, [ebp - 0x10]
mov edx, dword [0x392760]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004048c8
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d1c3b
adc edx, 0
mov edx, dword [edx*4 + 0x390d0c]
call fcn.00404ac8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404aac
push eax
call fcn.00406a50
mov esi, eax
cmp esi, 0xffffffff
je 0x4d1db5
mov eax, 0x40
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d1da8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ef8
mov eax, edi
call fcn.00402744
mov eax, 0x18
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d1da8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4d1d46
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4d1d46
mov eax, edi
call fcn.00402744
mov eax, 0xf0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1d46
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1d46
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
cmp byte [ebp - 1], 0
jne 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4d1da8
mov eax, edi
call fcn.00402744
mov eax, 0xe0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1da8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
mov eax, edi
call fcn.00402744
push esi
call fcn.00406a08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404bd4
jne 0x4d1dcd
inc ebx
cmp ebx, 0x19
jne 0x4d1bf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x341dea
lea eax, [ebp - 0x10]
call fcn.00404868
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x47b0dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47b0dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47b0e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47b0e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x47b0ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x47b0e8], eax
mov eax, dword [0x47b0e8]
cmp eax, ebx
je 0x406664
cmp dword [0x47b0ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x47b0ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x47b0e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x47b0e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47b0dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4736b1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x489044]
push dword [0x488d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x473740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x47376a
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.00473735
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x47374d
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
jne 0x473782
or dword [0x489054], 0xffffffff
mov dword [0x489050], 0xa62e7790
leave
ret
Function at 0x431006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x407860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x40787c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x407898
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x407887
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4078d1
cmp eax, edi
jne 0x4078c9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4078d9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4078d9
cmp eax, edi
jne 0x4078d9
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00408d90
push 0x28
push edi
call fcn.0051238c
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583683
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ea6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebp - 4], 0
call fcn.0040a770
mov ecx, eax
test ecx, ecx
je 0x4084c2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 4], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
call fcn.0040a770
mov ecx, eax
test ecx, ecx
je 0x4084cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 8], eax
lea edi, [ebx + 0x10]
mov byte [ebx + 0xc], 0
mov dword [ebp - 0x14], edi
lea ecx, [edi + 4]
push 0
mov dword [edi], 0
push 0
mov byte [ebp - 4], 3
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0040d7a0
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 8
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi], 0x3f800000
call fcn.0040e010
lea esi, [ebx + 0x30]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d780
mov dword [esi], eax
lea esi, [ebx + 0x38]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d780
mov dword [esi], eax
lea esi, [ebx + 0x40]
mov byte [ebp - 4], 8
push 0
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d7d0
mov dword [esi], eax
lea esi, [ebx + 0x48]
mov byte [ebp - 4], 9
push 0
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d7d0
mov dword [esi], eax
lea esi, [ebx + 0x50]
mov byte [ebp - 4], 0xa
push 0
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d7d0
mov dword [esi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409c80
push 0x80004005
call fcn.00409c80
int3
Function at 0x409390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x114], 0x740068
push edi
mov dword [ebp - 0x110], 0x700074
mov dword [ebp - 0x10c], 0x2f003a
mov dword [ebp - 0x108], 0x61002f
mov dword [ebp - 0x104], 0x690070
mov dword [ebp - 0x100], 0x6c002e
mov dword [ebp - 0xfc], 0x640075
mov dword [ebp - 0xf8], 0x730061
mov dword [ebp - 0xf4], 0x690068
mov dword [ebp - 0xf0], 0x63002e
mov dword [ebp - 0xec], 0x6d006f
mov dword [ebp - 0xe8], 0x67002f
mov dword [ebp - 0xe4], 0x2f006d
mov dword [ebp - 0xe0], 0x680077
mov dword [ebp - 0xdc], 0x740069
mov dword [ebp - 0xd8], 0x4c0065
mov dword [ebp - 0xd4], 0x730069
mov dword [ebp - 0xd0], 0x560074
mov dword [ebp - 0xcc], 0x720065
mov dword [ebp - 0xc8], 0x690073
mov dword [ebp - 0xc4], 0x6e006f
mov dword [ebp - 0xc0], 0x6c003f
mov dword [ebp - 0xbc], 0x730069
mov dword [ebp - 0xb8], 0x5f0074
mov dword [ebp - 0xb4], 0x650076
mov dword [ebp - 0xb0], 0x3d0072
mov dword [ebp - 0xac], 0x6c007b
mov dword [ebp - 0xa8], 0x730069
mov dword [ebp - 0xa4], 0x5f0074
mov dword [ebp - 0xa0], 0x650076
mov dword [ebp - 0x9c], 0x7d0072
mov dword [ebp - 0x98], 0x700026
mov dword [ebp - 0x94], 0x640069
mov dword [ebp - 0x90], 0x7b003d
mov dword [ebp - 0x8c], 0x690070
mov dword [ebp - 0x88], 0x7d0064
mov dword [ebp - 0x84], 0x610026
mov dword [ebp - 0x80], 0x700070
mov dword [ebp - 0x7c], 0x7b003d
mov dword [ebp - 0x78], 0x700061
mov dword [ebp - 0x74], 0x7d0070
mov dword [ebp - 0x70], 0x6d0026
mov dword [ebp - 0x6c], 0x640069
mov dword [ebp - 0x68], 0x7b003d
mov dword [ebp - 0x64], 0x69006d
mov dword [ebp - 0x60], 0x7d0064
mov dword [ebp - 0x5c], 0x6d0026
mov dword [ebp - 0x58], 0x640069
mov dword [ebp - 0x54], 0x3d0032
mov dword [ebp - 0x50], 0x6d007b
mov dword [ebp - 0x4c], 0x640069
mov dword [ebp - 0x48], 0x7d0032
mov dword [ebp - 0x44], 0x6d0026
mov dword [ebp - 0x40], 0x64006f
mov dword [ebp - 0x3c], 0x650076
mov dword [ebp - 0x38], 0x3d0072
mov dword [ebp - 0x34], 0x6d007b
mov dword [ebp - 0x30], 0x64006f
mov dword [ebp - 0x2c], 0x650076
mov dword [ebp - 0x28], 0x7d0072
mov dword [ebp - 0x24], 0x610026
mov dword [ebp - 0x20], 0x700070
mov dword [ebp - 0x1c], 0x650076
mov dword [ebp - 0x18], 0x3d0072
mov dword [ebp - 0x14], 0x61007b
mov dword [ebp - 0x10], 0x700070
mov dword [ebp - 0xc], 0x650076
mov dword [ebp - 8], 0x7d0072
mov word [ebp - 4], ax
call fcn.0040a770
mov ecx, eax
test ecx, ecx
je 0x40965a
mov eax, dword [ecx]
push 2
push 0x88
call dword [eax]
test eax, eax
je 0x409664
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x88
jl 0x409650
mov dword [eax - 0xc], 0x88
xor eax, eax
mov ecx, dword [esi]
push 0x110
mov word [ecx + 0x110], ax
lea eax, [ebp - 0x114]
push eax
push 0x110
push dword [esi]
call fcn.00410270
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00409c80
push 0x80004005
call fcn.00409c80
call fcn.0040d420
int3
Function at 0x40d720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d779
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d779
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40d76a
cmp esi, edx
jae 0x40d779
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40d758
cmp esi, edx
jae 0x40d779
cmp word [esi], 0
je 0x40d779
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40f320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583f78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5ea6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0051235c
mov edi, eax
add esp, 4
test edi, edi
je 0x40f3bd
push 1
mov dword [ebp - 4], 0
call fcn.00475b8e
add esp, 4
mov dword [edi + 4], eax
jmp 0x40f3bf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
mov eax, dword [edi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.00475108
mov eax, dword [0x5f3440]
mov ebx, dword [0x5f695c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
test ebx, ebx
jne 0x40f43f
push ebx
lea ecx, [ebp - 0x14]
call fcn.00475108
cmp dword [0x5f695c], ebx
jne 0x40f431
mov eax, dword [0x5f6948]
inc eax
mov dword [0x5f6948], eax
mov dword [0x5f695c], eax
lea ecx, [ebp - 0x14]
call fcn.00475160
mov ebx, dword [0x5f695c]
cmp ebx, dword [edi + 0xc]
jae 0x40f450
mov eax, dword [edi + 8]
mov edi, dword [eax + ebx*4]
test edi, edi
jne 0x40f4af
jmp 0x40f452
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x14], 0
je 0x40f46b
call fcn.00475b88
cmp ebx, dword [eax + 0xc]
jae 0x40f46f
mov eax, dword [eax + 8]
mov edi, dword [eax + ebx*4]
test edi, edi
jne 0x40f4af
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x40f4af
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040ddc0
add esp, 8
cmp eax, 0xffffffff
je 0x40f528
mov edi, dword [ebp + 8]
mov dword [ebp + 8], edi
push edi
mov byte [ebp - 4], 4
call fcn.00475b5c
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 4]
mov dword [0x5f3440], edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00475160
mov eax, dword [edi]
mov ecx, edi
push 0x20
call dword [eax + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40f4e4
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x40f505
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.0040ec70
cmp byte [ebp + 0xc], 0
je 0x40f514
push esi
call fcn.00476487
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
call fcn.00408570
push 0x5d30cc
lea eax, [ebp - 0x30]
push eax
call fcn.00552712
int3
Function at 0x4113f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5841c7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ea6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x41144c
mov dword [esi], 0x598140
mov dword [esi + 0x10], 0x598148
mov dword [esi + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.00410fc0
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0051235c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4114a1
push 1
mov byte [ebp - 4], 2
call fcn.00475b8e
add esp, 4
mov dword [ebx + 4], eax
jmp 0x4114a3
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8