joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4539a0
Capabilities:
Encode data using xor
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push ebx
mov ebx, dword [eax]
push esi
mov esi, dword [ecx + 0x20]
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
cmp edi, 0x10
jb 0x453a45
mov eax, dword [ecx + 0x20]
push 0x20
mov dword [ebp - 0x2c], 0x10
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0
push dword [ecx + 0x3c]
movdqu xmmword [ebp - 0x24], xmm0
call edx
test eax, eax
je 0x453b44
add dword [esi], 1
mov eax, dword [esi]
adc dword [esi + 4], 0
or eax, dword [esi + 4]
jne 0x453a17
add dword [esi + 8], 1
adc dword [esi + 0xc], eax
mov eax, dword [ebp - 0x24]
sub edi, 0x10
xor dword [ebx], eax
mov eax, dword [ebp - 0x20]
xor dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebx + 0xc], eax
add ebx, 0x10
mov ecx, dword [ebp - 0x28]
mov edx, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x2c], edi
cmp edi, 0x10
jae 0x4539d2
test edi, edi
je 0x453b2c
mov eax, dword [ecx + 0x20]
push 0x20
mov dword [ebp - 0x28], 0x10
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0
push dword [ecx + 0x3c]
movdqu xmmword [ebp - 0x24], xmm0
call edx
test eax, eax
je 0x453b44
add dword [esi], 1
mov eax, dword [esi]
adc dword [esi + 4], 0
or eax, dword [esi + 4]
jne 0x453a92
add dword [esi + 8], 1
adc dword [esi + 0xc], eax
xor edx, edx
test edi, edi
je 0x453b2c
cmp edi, 0x20
jb 0x453b0a
lea ecx, [ebx - 1]
lea eax, [ebp + edi - 0x25]
add ecx, edi
cmp ebx, eax
ja 0x453ab5
lea eax, [ebp - 0x24]
cmp ecx, eax
jae 0x453b0a
mov eax, edi
lea esi, [ebp - 0x24]
and eax, 0x1f
mov ecx, edi
sub ecx, eax
sub esi, ebx
mov dword [ebp - 0x28], ecx
mov eax, ebx
lea ecx, [ebp - 0x14]
sub ecx, ebx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
movdqu xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edi + eax - 0x20]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x453ad6
mov edi, dword [ebp - 0x2c]
cmp edx, edi
jae 0x453b2c
lea esi, [ebp - 0x24]
sub esi, ebx
lea ecx, [edx + ebx]
sub edi, edx
jmp 0x453b20
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edi
jne 0x453b20
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8
Function at 0x455470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad09e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], vtable.DCAJson.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], vtable.DCAJson.0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
lea esi, [edi + 0x5c]
mov dword [esi + 8], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.0043acd0
mov dword [esi + 0x84], 0
mov eax, edi
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0xffffffff
mov dword [edi + 0xec], vtable.CDPtrArray_class_DCUtilAPI::CertStore__.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x459490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x6006e8
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004342e0
lea ecx, [ebx + 4]
push 0x6006dc
call fcn.00438f50
mov edi, 0x5ef390
test eax, eax
jne 0x4594c5
mov ebx, edi
jmp 0x4594cf
mov eax, dword [eax + 0x24]
mov ebx, edi
test eax, eax
cmovne ebx, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x4594ee
push ebx
push 0x5f6b78
mov ecx, eax
call fcn.00459dd0
mov ecx, dword [ebp - 4]
push 0x60084c
lea ecx, [ecx + 4]
call fcn.00438f50
test eax, eax
jne 0x459509
mov ebx, 0x5ef390
jmp 0x459513
mov eax, dword [eax + 0x24]
mov ebx, edi
test eax, eax
cmovne ebx, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x459532
push ebx
push 0x5f6b70
mov ecx, eax
call fcn.00459dd0
mov ecx, dword [ebp - 4]
push 0x600844
lea ecx, [ecx + 4]
call fcn.00438f50
test eax, eax
jne 0x45954d
mov ebx, 0x5ef390
jmp 0x459557
mov eax, dword [eax + 0x24]
mov ebx, edi
test eax, eax
cmovne ebx, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x459576
push ebx
push 0x5f6b68
mov ecx, eax
call fcn.00459dd0
mov ecx, dword [ebp - 4]
push 0x600a60
lea ecx, [ecx + 4]
call fcn.00438f50
test eax, eax
jne 0x459591
mov ebx, 0x5ef390
jmp 0x45959b
mov eax, dword [eax + 0x24]
mov ebx, edi
test eax, eax
cmovne ebx, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x4595ba
push ebx
push 0x5f6b5c
mov ecx, eax
call fcn.00459dd0
mov ecx, dword [ebp - 4]
push 0x5ffc24
lea ecx, [ecx + 4]
call fcn.00438f50
test eax, eax
jne 0x4595d5
mov ebx, 0x5ef390
jmp 0x4595df
mov eax, dword [eax + 0x24]
mov ebx, edi
test eax, eax
cmovne ebx, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x4595fe
push ebx
push 0x5f6b50
mov ecx, eax
call fcn.00459dd0
mov ebx, dword [ebp - 4]
push 0x5ffc34
lea ecx, [ebx + 4]
call fcn.00438f50
test eax, eax
jne 0x459619
mov edi, 0x5ef390
jmp 0x459621
mov eax, dword [eax + 0x24]
test eax, eax
cmovne edi, eax
push 0
push 0x5f4350
mov ecx, esi
call fcn.00434cd0
test eax, eax
je 0x459640
push edi
push 0x5f6b48
mov ecx, eax
call fcn.00459dd0
push esi
mov ecx, ebx
call fcn.00459eb0
mov eax, dword [ebp + 0xc]
mov ecx, esi
push dword [eax + 4]
push dword [eax]
push 0
push 0x5fdebc
call fcn.00434cd0
mov ecx, eax
call fcn.00434b00
cmp dword [esi + 0xc], 0
je 0x4596a1
mov ecx, esi
call fcn.004374a0
mov edi, eax
push edi
call fcn.0046424b
add esp, 4
test eax, eax
jne 0x459691
mov dword [esi + 4], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
mov ecx, esi
call fcn.00437550
mov dword [esi + 0x34], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45b810
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5f9348
push 0x5f9358
mov dword [ebp - 0xa4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45b85b
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0xa4], 0
je 0x45b873
push 0x100
call fcn.0045b900
cmp eax, 0xffffffff
jne 0x45b8e3
push 0
call fcn.0045b900
mov esi, eax
cmp esi, 0xffffffff
jne 0x45b8e1
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jne 0x45b8d6
mov eax, dword [ebp - 0x98]
cmp eax, 2
jne 0x45b8c0
lea eax, [esi + 0x44]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
jae 0x45b8e1
mov eax, 0x28
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
cmp eax, 5
mov ecx, 0xe
cmove esi, ecx
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
Function at 0x45c250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45c2b1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x45c28d
cmp eax, 2
jne 0x45c29f
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x45c2ad
test eax, eax
je 0x45c2aa
cmp byte [eax + esi - 1], 0
je 0x45c2ad
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45d6d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x45d6ee
push dword [eax + 4]
mov ecx, 0x639fd4
push dword [eax]
call fcn.00432e90
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 1
push 0
push 0
call edi
push 0
push 1
push 0
push 0
mov dword [0x639fc0], eax
call edi
push 0
push 1
push 0
push 0
mov dword [0x639fc4], eax
call edi
push 0x28
mov dword [0x63a018], eax
call fcn.00464219
mov esi, eax
add esp, 4
test esi, esi
je 0x45d770
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x1c], 0
push 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call edi
mov dword [esi], eax
jmp 0x45d772
xor esi, esi
push esi
mov ecx, 0x63a01c
call fcn.0045e940
push 0x28
call fcn.00464219
mov esi, eax
add esp, 4
test esi, esi
je 0x45d7cc
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x1c], 0
push 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call edi
mov dword [esi], eax
jmp 0x45d7ce
xor esi, esi
push esi
mov ecx, 0x63a01c
call fcn.0045e940
push 0x28
call fcn.00464219
mov esi, eax
add esp, 4
test esi, esi
je 0x45d828
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x1c], 0
push 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call edi
mov dword [esi], eax
jmp 0x45d82a
xor esi, esi
push esi
mov ecx, 0x63a01c
call fcn.0045e940
push 0x28
call fcn.00464219
mov esi, eax
add esp, 4
test esi, esi
je 0x45d884
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x1c], 0
push 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call edi
mov dword [esi], eax
jmp 0x45d886
xor esi, esi
push esi
mov ecx, 0x63a01c
call fcn.0045e940
push 0x28
call fcn.00464219
mov esi, eax
add esp, 4
test esi, esi
je 0x45d8e0
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x1c], 0
push 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call edi
mov dword [esi], eax
jmp 0x45d8e2
xor esi, esi
push esi
mov ecx, 0x63a01c
call fcn.0045e940
push 0
push 4
push 0
push 0
push 0x639ef0
push 0x45de10
call fcn.0047662a
mov dword [0x639ef4], eax
test eax, eax
jne 0x45d924
mov eax, dword [0x639ef0]
mov ecx, 0x639ef0
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [eax + 0x28], 0
mov eax, dword [0x639ef4]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45d950
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x45d9af
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
push 1
push dword [edi + 0xd4]
mov dword [edi + 0xdc], 1
call esi
push 0
push 1
push dword [edi + 0x128]
call esi
mov eax, dword [edi + 4]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call ebx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45d9a8
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 4], 0
mov eax, dword [edi + 0xd0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45d9cc
push eax
call esi
mov dword [edi + 0xd0], 0
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x45d9e3
push eax
call esi
mov dword [edi + 0xd4], 0
mov eax, dword [edi + 0x128]
test eax, eax
je 0x45d9fa
push eax
call esi
mov dword [edi + 0x128], 0
lea ecx, [edi + 8]
call fcn.004529f0
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x45da1c
push ecx
call fcn.00429f00
mov dword [edi + 0xd8], 0
push ecx
lea ecx, [edi + 0x12c]
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
call fcn.0045ea80
push ecx
lea ecx, [edi + 0x15c]
call fcn.0045ea80
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x45da6c
push 0xbb8
push eax
call ebx
push dword [edi + 0xf4]
call esi
mov dword [edi + 0xf4], 0
add edi, 0xf8
mov ecx, edi
call fcn.0045e9e0
mov esi, eax
test esi, esi
je 0x45db49
lea ebx, [edi + 0x18]
mov eax, dword [esi]
mov ecx, 0x5ef390
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x45dab0
mov eax, dword [esi]
mov ecx, 0x5ef390
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov edx, dword [esi]
test edx, edx
je 0x45dae0
add edx, 0xfffffff4
dec dword [edx + 8]
jne 0x45dada
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x45dad1
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45dac8
push edx
call fcn.00582cf0
add esp, 4
mov dword [esi], 0
push esi
call fcn.00464246
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi]
xor esi, esi
test ecx, ecx
je 0x45db3a
mov esi, dword [ecx]
mov dword [ecx], 0
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi], eax
test eax, eax
je 0x45db14
mov dword [eax + 4], 0
jmp 0x45db1b
mov dword [edi + 4], 0
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
jae 0x45db31
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
inc dword [edi + 0xc]
mov dword [edi + 8], ecx
jmp 0x45db3a
push ecx
call fcn.00464246
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x45da86
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ebe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc51
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.APICommandBase.0
mov dword [edi], vtable.DCAJson.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x30], vtable.DCAJson.0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x74], 0
test edi, edi
je 0x45ecff
cmp dword [edi + 0xc], 0
jne 0x45ecff
mov ecx, edi
call fcn.00439290
mov dword [edi + 0x14], 2
mov eax, dword [ebp + 8]
test eax, eax
je 0x45ed18
cmp byte [eax], 0
je 0x45ed18
push 0x600288
push eax
mov ecx, edi
call fcn.0043a810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4621e0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.00462270
push 0xfa0
push 0x639bc8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0x7fffffff
push 0
push 0
mov dword [0x639bec], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 4
push 0
push 0
push 0
push 0x462550
mov dword [0x639be0], eax
call fcn.0047662a
mov dword [0x639be8], eax
test eax, eax
jne 0x462245
call fcn.00462270
xor eax, eax
pop esi
ret
push dword [eax + 0x2c]
mov dword [eax + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
je 0x462263
push esi
call fcn.0045d6d0
test eax, eax
je 0x46223c
mov eax, 1
pop esi
ret

Function at 0x462ce0
Capabilities:
Resume thread

Disassembly:
push 0
push 0x7fffffff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x639c4c], eax
test eax, eax
je 0x462d1f
push 0
push 4
push 0
push 0
push 0x639c40
push 0x463e10
call fcn.0047662a
mov dword [0x639c40], eax
test eax, eax
jne 0x462d22
call fcn.00462d40
xor eax, eax
ret
mov dword [eax + 0x28], 0
mov eax, dword [0x639c40]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
ret
Function at 0x465d8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00471068
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465dc3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00465de4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x468ca7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004688ff
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x468ce3
call fcn.00468f69
mov dword [esi + 0xc], 1
jmp 0x468ce8
call fcn.00468f69
cmp dword [esi], 0
je 0x468d31
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x468d0b
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x468d1c
push 0xff
mov ecx, esi
call fcn.00403810
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411a00
jmp 0x468d55
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x468d55
push dword [esi]
push dword [ebp - 4]
call fcn.0047ed2f
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x468ebe
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00468f69
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x468f06
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00424e60
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411a00
jmp 0x468f11
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0047ed2f
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x468fad
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.00468f69
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x46901e
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00586be0
add esp, 0x10
cmp eax, 1
je 0x46906c
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.00466a5b
mov ecx, edi
call fcn.00468f17
jmp 0x46906c
call fcn.0058545b
mov edi, dword [eax]
call fcn.0058545b
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.005827a8
add esp, 0x14
call fcn.0058545b
cmp dword [eax], 0
je 0x46905b
call fcn.0058545b
push dword [eax]
call fcn.0046537a
pop ecx
jmp 0x469062
call fcn.0058545b
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0047ed2f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581fc1
mov esp, ebp
pop ebp
ret

Function at 0x46af6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x46afb3
call fcn.00471068
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46afb3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x46afcf
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00469139
mov ebx, eax
test edi, edi
je 0x46afcd
test esi, esi
je 0x46afcd
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4