joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6408f7e1
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x6408f832
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.6408f1b5
mov ecx, ebx
call fcn.6408f759
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x6408f888
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x6408f84d
cmp dword [ebp + 0xc], 0x79
je 0x6408f848
cmp dword [ebp + 0xc], 0x12
jne 0x6408f888
xor eax, eax
inc eax
jmp 0x6408f888
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x6408f88d
cmp esi, 0x79
je 0x6408f88d
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x641a3c7c], 0
jne 0x6408f884
test byte [ebx + 0x2f4], 2
jne 0x6408f884
cmp esi, 0x12
je 0x6408f8b1
cmp esi, 0x79
jne 0x6408f884
test edi, edi
jne 0x6408f884
test eax, eax
jne 0x6408f884
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.6402331c
cmp eax, ebx
jne 0x6408f8d4
test dword [ebp + 0x10], 0x40000000
jne 0x6408f8d4
cmp esi, 0x79
jne 0x6408f8e2
mov ecx, dword [ebp + 8]
jmp 0x6408f8db
cmp esi, 0x79
jne 0x6408f8e2
mov ecx, ebx
call fcn.640269fa
jmp 0x6408f8fd
cmp dword [ebx + 0x2a0], 0
jge 0x6408f8fd
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x6408f886

Function at 0x64094260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + edi*8 - 1], eax
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.64093e59
push eax
push esi
push dword [ebp + 8]
call fcn.64093e0e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.64093e49
jp 0x640942b4
pop esp
or byte [eax - 0x8363], cl
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x640944ed
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x640944fd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x640944f8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x640944e2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x640944ea
cmp edx, ebx
jne 0x64094638
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x640944b9
add eax, dword [eax + 4]
jmp 0x640944a6
mov dword [ebp + 0xc], ebx
jmp 0x64094508
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x64094520
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6409453e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6409459c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x64094583
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6409458c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x64094596
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x64094578
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x64094502
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x640945e9
dec eax
je 0x640945e0
sub eax, 3
je 0x640945d7
mov dword [ebp - 4], 0x40
jmp 0x64094606
mov dword [ebp - 4], 4
jmp 0x640945ec
mov dword [ebp - 4], 0x20
jmp 0x640945ec
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x64094638
invalid
invalid
push esp
invalid
Function at 0x640947c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebx]
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.64093e59
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.64093e59
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.64093e49
mov bl, 0xcf
test ecx, edi
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.64093e59
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.64093e49
Function at 0x64094952
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x41], esp
fld qword [eax - 0x6635b]
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
call dword [eax - 0x18]
xchg ebp, eax
hlt
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.64093e59
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.64093e49
shl byte [edx + 0x5c], 1
imul eax, dword [eax - 0x5135b], 0xffffffff
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0

Function at 0x64094a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.64093e59
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64093e0e
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.64093e49
imul esi, dword [esi + edi*2 + 0x10468f5], 0x858d0000
int3

Function at 0x64094d51
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.64093e27
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34

Function at 0x64094d72
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
cwde
cld
invalid
call dword [edx]
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
invalid
invalid
wait
Function at 0x6409ac5a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x6409adb4
je 0x6409adda
cmp eax, 0xa1
jb 0x6409ae06
cmp eax, 0xa2
jbe 0x6409adda
cmp eax, 0xa3
jbe 0x6409ae06
cmp eax, 0xa5
jbe 0x6409adda
cmp eax, 0xa6
jbe 0x6409ae06
cmp eax, 0xa8
jbe 0x6409adda
cmp eax, 0x100
jne 0x6409ae06
cmp dword [esi + 0x80], 0xffffffff
je 0x6409adda
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x6409adda
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x6409ad80
dec eax
jne 0x6409adda
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x6409ad78
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x6409ad39
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x6409ad11
jmp 0x6409ad78
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.640269fa
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x6409ae0e
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x6409ad78
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x6409ad39
dec edi
cmp edi, dword [esi + 0x80]
jg 0x6409ad91
jmp 0x6409ad78
cmp eax, 0x200
jb 0x6409ae06
cmp eax, 0x202
jbe 0x6409adda
cmp eax, 0x203
jbe 0x6409ae06
cmp eax, 0x205
jbe 0x6409adda
add eax, 0xfffffdf9
cmp eax, 1
ja 0x6409ae06
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x6409adf0
cmp dword [ecx + 0x20], 0
je 0x6409adf0
push edi
call fcn.6403f6fe
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x6409ae06
cmp dword [ecx + 0x20], 0
je 0x6409ae06
push edi
call fcn.6403f6fe
push edi
mov ecx, esi
call fcn.640b4fb7
pop edi
pop esi
pop ebp
ret 4
Function at 0x6409f601
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x6409f623
or eax, 0xffffffff
jmp 0x6409f628
mov eax, dword [0x6419b34c]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x6419c680
call fcn.6402954b
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x6409f6c5
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x6409f6c5
cmp edi, ebx
je 0x6409f67a
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x6419cdf0
call fcn.6402954b
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x6409f6ce
test ebx, ebx
je 0x6409f6b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x6409f6c5
cmp dword [ebp - 4], 0
je 0x6409f6b1
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x6409f6c7
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x6409f6c5
test edi, edi
je 0x6409f6c5
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x6409f6c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x6409f6c5
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x6409f6c7
Function at 0x640a2fbe
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x641a3fc4], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x640a2fed
or dword [0x641a3fc4], 1
mov ecx, 0x641a3fc0
call fcn.64002b00
push 0x64144fb5
call fcn.6411a4ff
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x640a2ff9
call fcn.6401d5d9
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x640a3072
cmp dword [eax + 0x20], 0
je 0x640a3072
test eax, eax
je 0x640a3010
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x640a3072
mov eax, dword [edi + 4]
dec eax
je 0x640a3051
dec eax
je 0x640a3027
dec eax
jne 0x640a3072
mov esi, 0x428e
jmp 0x640a3056
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x640a3056
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x640a3056
add esi, 3
jmp 0x640a3056
mov esi, 0x3ea0
push esi
mov ecx, 0x641a3fc0
call fcn.640027c0
test eax, eax
je 0x640a2ff4
mov eax, dword [0x641a3fc0]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x640a3074
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x640a3a02
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x640a3a82
cmp dword [ebp + 0xc], ecx
jne 0x640a3a82
cmp dword [ebx + 0x94], ecx
jne 0x640a3a82
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x640a3a78
cmp eax, 0xffffffff
je 0x640a3a78
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.640210ba
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x640a3a82
xor eax, eax
jmp 0x640a3bc2
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x640a3abd
cmp dword [ebp + 0xc], 0
jne 0x640a3abd
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.640210ba
test eax, eax
jne 0x640a3a71
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x640a3ae3
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x640a3ae3
cmp eax, 0xffffffff
je 0x640a3ae3
cmp dword [ebx + 0x90], ecx
jne 0x640a3ae3
cmp dword [ebx + 0xa8], ecx
je 0x640a3a71
push dword [ebx + 0x6c]
push 0x6419c514
call fcn.6402954b
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x640a3b1c
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x640a3b82
push edi
jmp 0x640a3b7d
push dword [ebx + 0x6c]
push 0x6419c154
call fcn.6402954b
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x640a3b48
cmp eax, edi
je 0x640a3b48
cmp dword [0x641a28e4], edi
jne 0x640a3b48
push 1
push ebx
mov ecx, eax
call fcn.6408c2e7
jmp 0x640a3b75
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x640a3b60
push edi
call fcn.6403ecfa
cmp eax, edi
je 0x640a3b60
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x640a3a71
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x640a3b82
push ebx
call fcn.640418eb
cmp dword [ebx + 0x6c], edi
je 0x640a3bbf
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.64031eda
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x640b80e9
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x6413caf7
call fcn.6411b712
xor edi, edi
cmp dword [0x6419c050], edi
je 0x640b81b2
cmp dword [0x6419cc9c], 0xfffffffe
jne 0x640b819f
cmp dword [ebp + 8], 0xffffffff
je 0x640b81b2
test byte [0x641a4390], 1
mov esi, 0x641a4370
jne 0x640b8148
or dword [0x641a4390], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.6405009f
push 0x64145035
call fcn.6411a4ff
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.640500f6
cmp dword [0x641a436c], edi
je 0x640b815c
call fcn.6401d5d9
push edi
push edi
push 0x640b8091
call fcn.6411f04c
add esp, 0xc
mov dword [0x641a436c], eax
cmp eax, edi
jbe 0x640b818c
cmp eax, 0xffffffff
je 0x640b818c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x6419cc9c], eax
jmp 0x640b8192
mov dword [0x641a436c], edi
push 0x641a4378
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x640b81b2
mov eax, dword [ebp + 8]
mov dword [0x6419cc9c], eax
cmp eax, 0xffffffff
jne 0x640b81b2
mov dword [0x641a436c], edi
call fcn.6411b7ea
ret
Function at 0x640f3372
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x6413f144
call fcn.6411b77b
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.640f8e00
push 0x15c
call fcn.6401c7d2
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x640f33b6
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.640fa27b
jmp 0x640f33b8
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.640f8dd2
call fcn.640283ba
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x640f3558
cmp dword [edi + 4], ebx
jle 0x640f3558
lea ecx, [ebp - 0x21c]
call fcn.64002b00
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x640f353c
lea ecx, [ebp - 0x220]
call fcn.64002b00
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x640f348d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.64002da0
add esp, 0xc
jmp 0x640f34bf
jge 0x640f34ad
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.64002da0
add esp, 0x10
jmp 0x640f34bf
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.64007ac0
push 0x15c
call fcn.6401c7d2
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x640f34e3
mov ecx, eax
call fcn.640cc1b0
mov esi, eax
jmp 0x640f34e5
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.6402d7fc
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.640f8dd2
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.64002b70
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.64002b70
inc ebx
cmp ebx, dword [edi + 4]
jl 0x640f3426
call fcn.6411b7fe
ret
Function at 0x640f7f63
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x640f7f7b
mov edi, dword [esi + 0xc]
jmp 0x640f7fbb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x640f7f94
call fcn.6401df5d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x640f7fa9
call fcn.6401df5d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x640f7fbb
call fcn.6401df5d
call fcn.640283ba
cmp dword [eax + 0x3c], 0
je 0x640f7fd0
push edi
mov ecx, ebx
call fcn.640f6e46
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.640f7e89
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x640f7fee
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x640f7ffa
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8