joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a28
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push edx
sub edx, 0x2d31
sub edx, 0x12589
add edx, 0x12a2f
xor edx, 0x34e8
pop edx
push edx
push eax

Function at 0x404a50
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
xor edx, 0xf4fb
and edx, 0x15339
xor edx, 0xf196
pop edx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
invalid
push ebx

Function at 0x404a80
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
adc cl, ah
invalid
Function at 0x4081b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0xb80], 0x52
mov byte [ebp - 0xb7f], 0xb9
mov byte [ebp - 0xb7e], 0x20
mov byte [ebp - 0xb7d], 0x20
mov byte [ebp - 0xb7c], 0x20
mov byte [ebp - 0xb7b], 0x20
mov byte [ebp - 0xb7a], 0x5a
push edx
call 0x4081f2
add byte [esi + 0x4f], al
inc ebx
dec edi
inc edx
aas
xor ecx, dword [ebx + 0x34]
add esp, 4
jmp 0x4081fe
jmp 0x408203
jmp 0x40820a
pop edx
push edi
sub edi, 0xef9d
pop edi
mov dword [ebp - 0x1fa4], 0xe
push edx
push esi
add esp, 4
jmp 0x40822a
or edx, 0xc306
pop edx
push edi
push ebx
add esp, 4
call 0x408245
add byte [0x42404f35], bh
inc edx
aaa
inc edx
inc edx
add esp, 4
add edi, 0x10919
pop edi
mov ecx, 1
add dword [eax], eax
add byte [eax], al

Function at 0x4081f2
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0xb80], 0x52
mov byte [ebp - 0xb7f], 0xb9
mov byte [ebp - 0xb7e], 0x20
mov byte [ebp - 0xb7d], 0x20
mov byte [ebp - 0xb7c], 0x20
mov byte [ebp - 0xb7b], 0x20
mov byte [ebp - 0xb7a], 0x5a
push edx
call 0x4081f2
add byte [esi + 0x4f], al
inc ebx
dec edi
inc edx
aas
xor ecx, dword [ebx + 0x34]
add esp, 4
jmp 0x4081fe
jmp 0x408203
jmp 0x40820a
pop edx
push edi
sub edi, 0xef9d
pop edi
mov dword [ebp - 0x1fa4], 0xe
push edx
push esi
add esp, 4
jmp 0x40822a
or edx, 0xc306
pop edx
push edi
push ebx
add esp, 4
call 0x408245
add byte [0x42404f35], bh
inc edx
aaa
inc edx
inc edx
add esp, 4
add edi, 0x10919
pop edi
mov ecx, 1
add dword [eax], eax
add byte [eax], al

Function at 0x408245
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0xb80], 0x52
mov byte [ebp - 0xb7f], 0xb9
mov byte [ebp - 0xb7e], 0x20
mov byte [ebp - 0xb7d], 0x20
mov byte [ebp - 0xb7c], 0x20
mov byte [ebp - 0xb7b], 0x20
mov byte [ebp - 0xb7a], 0x5a
push edx
call 0x4081f2
add byte [esi + 0x4f], al
inc ebx
dec edi
inc edx
aas
xor ecx, dword [ebx + 0x34]
add esp, 4
jmp 0x4081fe
jmp 0x408203
jmp 0x40820a
pop edx
push edi
sub edi, 0xef9d
pop edi
mov dword [ebp - 0x1fa4], 0xe
push edx
push esi
add esp, 4
jmp 0x40822a
or edx, 0xc306
pop edx
push edi
push ebx
add esp, 4
call 0x408245
add byte [0x42404f35], bh
inc edx
aaa
inc edx
inc edx
add esp, 4
add edi, 0x10919
pop edi
mov ecx, 1
add dword [eax], eax
add byte [eax], al

Function at 0x408250
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add dword [eax], eax
add byte [eax], al
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb78]
mov dword [ebp - 0x14bc], eax
push edx
push edx
add esp, 4
add edx, 0x1205a
and edx, 0x12b19
pop edx
push esi
push edi
add esp, 4
and esi, 0x172f9
pop esi
push ebx
add ebx, 0x1792b
sub ebx, 0xc4e
or ebx, 0x1846f
pop ebx
mov dword [ebp - 0x1fa8], 0xffffffff
push edx
call 0x4082b1
add byte [edx], dh
dec ecx
cmp eax, 0x464d4d45
inc edi
cmp al, 0x37
add esp, 4
and edx, 0x1620c
pop edx
push ebx
xor ebx, 0xa5b1
pop ebx
push eax
push esi
add esp, 4
jmp 0x4082d1
pop eax
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4cc], ecx
jmp 0x4082ef
Function at 0x4082b1
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add dword [eax], eax
add byte [eax], al
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb78]
mov dword [ebp - 0x14bc], eax
push edx
push edx
add esp, 4
add edx, 0x1205a
and edx, 0x12b19
pop edx
push esi
push edi
add esp, 4
and esi, 0x172f9
pop esi
push ebx
add ebx, 0x1792b
sub ebx, 0xc4e
or ebx, 0x1846f
pop ebx
mov dword [ebp - 0x1fa8], 0xffffffff
push edx
call 0x4082b1
add byte [edx], dh
dec ecx
cmp eax, 0x464d4d45
inc edi
cmp al, 0x37
add esp, 4
and edx, 0x1620c
pop edx
push ebx
xor ebx, 0xa5b1
pop ebx
push eax
push esi
add esp, 4
jmp 0x4082d1
pop eax
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4cc], ecx
jmp 0x4082ef
Function at 0x408ecc
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
cmp dword [ebp - 0x2e0], 0
jne 0x4097e9
mov edx, 0x6b
mov word [ebp - 0x16cc], dx
mov eax, 0x65
mov word [ebp - 0x16ca], ax
mov ecx, 0x72
mov word [ebp - 0x16c8], cx
mov edx, 0x6e
mov word [ebp - 0x16c6], dx
mov eax, 0x65
mov word [ebp - 0x16c4], ax
mov ecx, 0x6c
mov word [ebp - 0x16c2], cx
mov edx, 0x33
mov word [ebp - 0x16c0], dx
mov eax, 0x32
mov word [ebp - 0x16be], ax
mov ecx, 0x2e
mov word [ebp - 0x16bc], cx
mov edx, 0x64
mov word [ebp - 0x16ba], dx
mov eax, 0x6c
mov word [ebp - 0x16b8], ax
mov ecx, 0x6c
mov word [ebp - 0x16b6], cx
xor edx, edx
mov word [ebp - 0x16b4], dx
push eax
push eax
add esp, 4
add eax, 0x14448
add eax, 0xa1e1
add eax, 0x28e2
and eax, 0x17149
pop eax
push eax
or eax, 0xd3b8
add eax, 0x11b45
and eax, 0xfcd
pop eax
mov byte [ebp - 0x820], 0x4c
mov byte [ebp - 0x81f], 0x6f
mov byte [ebp - 0x81e], 0x61
mov byte [ebp - 0x81d], 0x64
mov byte [ebp - 0x81c], 0x4c
mov byte [ebp - 0x81b], 0x69
mov byte [ebp - 0x81a], 0x62
mov byte [ebp - 0x819], 0x72
mov byte [ebp - 0x818], 0x61
mov byte [ebp - 0x817], 0x72
mov byte [ebp - 0x816], 0x79
mov byte [ebp - 0x815], 0x57
mov byte [ebp - 0x814], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1898], eax
mov ecx, dword [ebp - 0x1898]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x189c], edx
mov eax, dword [ebp - 0x189c]
mov dword [ebp - 0x14dc], eax
push edi
push eax
add esp, 4
sub edi, 0x3a73
call 0x409045
add byte [edx + 0x4d], cl
inc edx
xor dl, byte [eax + 0x48]
dec edi
dec ecx
inc eax
xor eax, dword [ebx + 0xbe804c4]
add byte [eax], al
add byte [eax], al
dec ebp
dec edi
Function at 0x409045
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
cmp dword [ebp - 0x2e0], 0
jne 0x4097e9
mov edx, 0x6b
mov word [ebp - 0x16cc], dx
mov eax, 0x65
mov word [ebp - 0x16ca], ax
mov ecx, 0x72
mov word [ebp - 0x16c8], cx
mov edx, 0x6e
mov word [ebp - 0x16c6], dx
mov eax, 0x65
mov word [ebp - 0x16c4], ax
mov ecx, 0x6c
mov word [ebp - 0x16c2], cx
mov edx, 0x33
mov word [ebp - 0x16c0], dx
mov eax, 0x32
mov word [ebp - 0x16be], ax
mov ecx, 0x2e
mov word [ebp - 0x16bc], cx
mov edx, 0x64
mov word [ebp - 0x16ba], dx
mov eax, 0x6c
mov word [ebp - 0x16b8], ax
mov ecx, 0x6c
mov word [ebp - 0x16b6], cx
xor edx, edx
mov word [ebp - 0x16b4], dx
push eax
push eax
add esp, 4
add eax, 0x14448
add eax, 0xa1e1
add eax, 0x28e2
and eax, 0x17149
pop eax
push eax
or eax, 0xd3b8
add eax, 0x11b45
and eax, 0xfcd
pop eax
mov byte [ebp - 0x820], 0x4c
mov byte [ebp - 0x81f], 0x6f
mov byte [ebp - 0x81e], 0x61
mov byte [ebp - 0x81d], 0x64
mov byte [ebp - 0x81c], 0x4c
mov byte [ebp - 0x81b], 0x69
mov byte [ebp - 0x81a], 0x62
mov byte [ebp - 0x819], 0x72
mov byte [ebp - 0x818], 0x61
mov byte [ebp - 0x817], 0x72
mov byte [ebp - 0x816], 0x79
mov byte [ebp - 0x815], 0x57
mov byte [ebp - 0x814], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1898], eax
mov ecx, dword [ebp - 0x1898]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x189c], edx
mov eax, dword [ebp - 0x189c]
mov dword [ebp - 0x14dc], eax
push edi
push eax
add esp, 4
sub edi, 0x3a73
call 0x409045
add byte [edx + 0x4d], cl
inc edx
xor dl, byte [eax + 0x48]
dec edi
dec ecx
inc eax
xor eax, dword [ebx + 0xbe804c4]
add byte [eax], al
add byte [eax], al
dec ebp
dec edi
Function at 0x409fa0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
loopne 0x409fa2
invalid
dec dword [edx]
add byte [eax], al
add byte [esi - 0x7f], dl
invalid

Function at 0x40a11f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
push ecx
and ecx, 0x1483e
pop ecx
cmp dword [ebp - 0x150c], 0
jne 0x40a143
mov dword [ebp - 0x2a8], 0
jmp 0x40a3ea
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push edi
call 0x40a164
add byte [ecx + 0x4e], cl
xor ecx, dword [ebp + 0x47]
xor ecx, dword [ecx + 0x4f]
add esp, 4
add edi, 0xfe01
and edi, 0x9e6b
or edi, 0x12a59
pop edi
push edi
sub edi, 0x17a29
jmp 0x40a186
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x40a19f
mov dword [ebp - 0x2a8], 0
jmp 0x40a3ea
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx

Function at 0x40a164
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
push ecx
and ecx, 0x1483e
pop ecx
cmp dword [ebp - 0x150c], 0
jne 0x40a143
mov dword [ebp - 0x2a8], 0
jmp 0x40a3ea
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push edi
call 0x40a164
add byte [ecx + 0x4e], cl
xor ecx, dword [ebp + 0x47]
xor ecx, dword [ecx + 0x4f]
add esp, 4
add edi, 0xfe01
and edi, 0x9e6b
or edi, 0x12a59
pop edi
push edi
sub edi, 0x17a29
jmp 0x40a186
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x40a19f
mov dword [ebp - 0x2a8], 0
jmp 0x40a3ea
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
Function at 0x413db0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, esp
or al, 0xf3
push cs
cmp eax, 0x4d4c3a56
dec eax
mov esi, ecx
invalid
Function at 0x423a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
push edi
cmp eax, 9
jne 0x423be2
push 0
push 0x10002
push 0x127
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x48]
mov ecx, edi
sub ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x50]
sar ax, 0xf
mov word [ebp - 6], ax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x423b30
mov ecx, dword [esi + 0x44]
mov eax, ebx
shl eax, 4
add eax, ebx
lea eax, [ecx + eax*4]
mov ecx, esi
push eax
call fcn.004228f0
xor eax, eax
cmp word [ebp - 6], ax
sete al
lea eax, [eax*2 - 1]
add dword [esi + 0x50], eax
mov ebx, dword [esi + 0x50]
mov edi, dword [esi + 0x48]
sub edi, dword [esi + 0x44]
mov eax, 0x78787879
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x423b69
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
xor ecx, ecx
cmp word [ebp - 6], cx
setne cl
push ecx
push dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
jmp 0x423b6c
mov edi, dword [esi + 4]
test edi, edi
je 0x423b96
mov eax, dword [esi + 4]
cmp edi, eax
je 0x423b96
push eax
mov dword [esi + 0x50], 0xffffffff
call dword [sym.imp.USER32.dll_GetParent]
push 1
push edi
push 0x28
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x423c6a
mov ecx, dword [esi + 0x48]
mov eax, 0x78787879
mov edi, dword [esi + 0x44]
sub ecx, edi
imul ecx
mov eax, dword [esi + 0x50]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
add eax, ecx
div ecx
mov dword [esi + 0x50], edx
cmp edx, dword [ebp - 0xc]
je 0x423c6a
mov eax, edx
mov ecx, esi
shl eax, 4
add eax, edx
lea eax, [edi + eax*4]
push eax
call fcn.004228f0
mov ecx, esi
call fcn.0041c9b0
jmp 0x423c6a
cmp eax, 0xd
je 0x423bec
cmp eax, 0x20
jne 0x423c61
cmp byte [esi + 0x56], 0
jne 0x423c26
mov ecx, dword [esi + 0x48]
mov eax, 0x78787879
mov ebx, dword [esi + 0x44]
sub ecx, ebx
mov edi, dword [esi + 0x50]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x423c61
mov eax, edi
shl eax, 4
add eax, edi
lea eax, [ebx + eax*4]
push eax
mov ecx, esi
call fcn.0041c5f0
jmp 0x423c6a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0xb0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
je 0x423c61
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
nop dword [eax]
cmp edi, dword [eax + 0x34]
jb 0x423c5a
cmp edx, dword [eax + 0x38]
jbe 0x423c1c
add eax, 0x44
cmp eax, ecx
jne 0x423c50
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aeb30
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4244b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x56], 0
je 0x4244cc
mov eax, dword [ebp + 0x14]
pop esi
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
cmp dword [ebp + 8], 7
push ebx
push edi
jne 0x424534
cmp byte [esi + 0x55], 0
jne 0x424534
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x48]
je 0x424534
cmp dword [esi + 0x50], 0xffffffff
jne 0x4244ef
mov dword [esi + 0x50], 0
push 9
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xffff8000
test di, ax
je 0x424534
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x424528
mov ecx, dword [esi + 0x48]
mov eax, 0x78787879
sub ecx, dword [esi + 0x44]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
jmp 0x42452a
xor eax, eax
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.0041c9b0
mov ecx, dword [esi + 0x48]
mov eax, 0x78787879
mov ebx, dword [esi + 0x44]
sub ecx, ebx
mov edi, dword [esi + 0x50]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x424566
mov eax, edi
mov ecx, esi
shl eax, 4
add eax, edi
lea eax, [ebx + eax*4]
push eax
call fcn.004228f0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x42cae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
cmp dword [edi + 0xa4], 0
jne 0x42cbf4
mov eax, dword [edi]
push ebx
push esi
push 0
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cbf2
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [ebp + 8]
shr eax, 0x1c
and eax, 0xffffff01
mov dword [ebp - 8], eax
test esi, esi
jne 0x42cb57
test al, al
je 0x42cb57
call dword [sym.imp.USER32.dll_GetFocus]
cmp ebx, eax
jne 0x42cb57
push esi
push esi
push 0x28
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 7
not al
and eax, 0xffffff01
mov dword [ebp - 0xc], eax
test esi, esi
je 0x42cbbe
mov edx, dword [edi - 4]
push 0
mov esi, dword [edx + 0x94]
mov ecx, esi
call dword [0x4da544]
lea ecx, [edi - 4]
call esi
test eax, eax
je 0x42cbbe
cmp byte [ebp - 8], 0
jne 0x42cbf2
cmp byte [ebp - 0xc], 0
je 0x42cbac
mov eax, edi
push dword [eax + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi - 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4da544]
lea ecx, [edi - 4]
call esi
cmp byte [ebp - 8], 0
je 0x42cbe0
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xc], 0
je 0x42cbf2
push 0x4de014
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x42cc00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
cmp dword [edi + 0xa4], 0
jne 0x42cd0f
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cd0f
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [ebp + 8]
shr eax, 0x1c
and eax, 0xffffff01
mov dword [ebp - 8], eax
test esi, esi
jne 0x42cc7a
test al, al
je 0x42cc7a
call dword [sym.imp.USER32.dll_GetFocus]
cmp ebx, eax
jne 0x42cc7a
push esi
push esi
push 0x28
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 7
not al
and eax, 0xffffff01
mov dword [ebp - 0xc], eax
test esi, esi
je 0x42ccd8
mov edx, dword [edi - 4]
push 0
mov esi, dword [edx + 0x94]
mov ecx, esi
call dword [0x4da544]
lea ecx, [edi - 4]
call esi
test eax, eax
je 0x42ccd8
cmp byte [ebp - 8], 0
jne 0x42cd0f
cmp byte [ebp - 0xc], 0
je 0x42cccd
push dword [edi + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42cd0f
mov eax, dword [edi - 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4da544]
lea ecx, [edi - 4]
call esi
cmp byte [ebp - 8], 0
je 0x42ccfa
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xc], 0
je 0x42cd0c
push 0x4de014
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x42cdc5
mov eax, dword [edi - 4]
lea ebx, [edi - 4]
mov esi, dword [eax + 0x120]
mov ecx, esi
call dword [0x4da544]
mov ecx, ebx
call esi
cmp dword [ebp + 8], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x42cd5d
mov ecx, dword [ebx]
push 0
mov esi, dword [ecx + 0x94]
mov ecx, esi
call dword [0x4da544]
mov ecx, ebx
call esi
mov dword [ebp - 0xc], 1
test eax, eax
jne 0x42cd64
mov dword [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
jle 0x42cdc5
lfence
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x124]
mov ecx, esi
call dword [0x4da544]
mov ecx, ebx
call esi
mov edi, eax
push 0x4e5750
mov ecx, dword [edi]
mov esi, dword [ecx + 0x11c]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
push dword [ebp + 0xc]
mov edi, eax
push dword [ebp - 0xc]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 4]
jl 0x42cd70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ed00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0042ede0
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x42edcc
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], edi
test eax, eax
je 0x42ed51
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
push dword [ebp - 8]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42edb9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42edb9
push dword [ebp - 4]
push eax
call fcn.0042b6b0
add esp, 8
mov dword [ebp - 8], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, eax
test edi, edi
jne 0x42ed9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x42edc1
test eax, eax
je 0x42edc1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42edc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x42edcc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42f1c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b94
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x532804]
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 + 8], 0
mov dword [ebp - 0x10], 0
je 0x42f2ac
lea ecx, [esi + 0x44]
mov dword [esi + 0x20], 0x4e5e48
mov dword [esi + 0x4c], 0x4e5e60
mov dword [esi + 0x88], 0x4e5e68
mov dword [esi + 0x9c], 0x4e5e74
mov dword [esi + 0xa4], 0x4e5e84
call dword [0x4d96cc]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x48]
push 0
mov dword [ebp - 0x10], 1
call dword [0x4d9894]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x84]
push 0
mov dword [ebp - 0x10], 3
call dword [0x4d989c]
mov dword [ebp - 4], 2
lea ecx, [esi + 0x98]
push 0
mov dword [ebp - 0x10], 7
call dword [0x4da4e8]
mov dword [ebp - 4], 3
lea ecx, [esi + 0xa0]
push 0
mov dword [ebp - 0x10], 0xf
call dword [0x4da4f0]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0x1f
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 9
mov eax, dword [esi + 0x20]
mov dword [esi], vtable.wui::DialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__class_ATL::CDialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__.0
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__class_ATL::CDialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__.1.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__class_ATL::CDialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__.2.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x10]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__class_ATL::CDialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__.3.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__class_ATL::CDialogImpl_class_DlgPlayerPrefsWrapper__class_ATL::CWindow__.4.0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x64]
mov dword [ecx + esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
lea eax, [ecx - 0x78]
mov dword [ecx + esi + 0x1c], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x40]
call dword [0x4d96cc]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4