joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54a3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x610860
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00605ee0
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x54a413
xor al, al
jmp 0x54a53f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x54a435
xor al, al
jmp 0x54a53f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x54a448
xor al, al
jmp 0x54a53f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x54a45c
xor al, al
jmp 0x54a53f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.005f82b1
test eax, eax
jne 0x54a490
xor al, al
jmp 0x54a53f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x71d6bc
mov dword [esp + 0x20], ebp
call fcn.00605ee0
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.006013f5
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0060144c
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x54a524
mov ax, word [ebx]
test ax, ax
je 0x54a516
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0054a560
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x54a4fa
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0060144c
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x54aaa0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00603f55
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x54aae6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.005cf8b0
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x82449c
push ecx
call fcn.005d1012
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x54fb30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x610c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0054ff00
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.0054ff00
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.0054ff70
lea ecx, [esp + 0x10]
call fcn.00502d60
cmp eax, 1
jae 0x54fbd8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x54fc43
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x54fc43
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0054ff70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00502d60
cmp eax, 1
jb 0x54fc43
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0054f9d0
test eax, eax
je 0x54fc43
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0054fcb0
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0054ffd0
push edi
lea ecx, [esp + 0x24]
call fcn.0054fff0
push esi
lea ecx, [esp + 0x24]
call fcn.00550090
push str..tmp
lea ecx, [esp + 0x24]
call fcn.0054fff0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.0054f9b0
test eax, eax
je 0x54fc79
inc esi
cmp esi, 0x7a0a1f00
jb 0x54fbfa
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0054ff20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0054ff20
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.0054ffd0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0054ff20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0054ff20
mov eax, 1
jmp 0x54fc64
Function at 0x550400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x610d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0054ff00
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.0054ff70
push 0
mov ecx, esi
call fcn.00550380
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x550538
lea ecx, [esp + 0xc]
call fcn.00502d60
cmp eax, 1
jae 0x550487
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0054ff20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x5504d4
push 0
lea ecx, [esp + 0x10]
call fcn.00502d50
push eax
push edi
mov ecx, 0x879f6c
call fcn.0054fb30
test eax, eax
jne 0x5504dc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0054ff20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.0054ff70
push edi
mov ecx, 0x879f6c
call fcn.0054fa90
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00502d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x550538
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x550538
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x550568
push 1
mov ecx, esi
call fcn.00550380
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0054ff20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.0054ff20
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x550ee0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.0054ff70
pop edi
add esp, 0x104
ret 4
Function at 0x552a80
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x8246cc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x552a93
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x552ad4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x824774]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x552b06
mov bl, byte [esp + ecx + 0x4c]
jmp 0x552b0a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x552afb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x552b28
mov bl, byte [esp + ecx + 0x4c]
jmp 0x552b2c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x552b1d
xor ecx, ecx
mov eax, 0x8246dc
xor ebx, ebx
mov bl, byte [ecx + 0x824784]
cmp byte [esp + ebx + 0x14], 0
je 0x552b57
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x82479c]
cmp byte [esp + ebx + 0x14], 0
je 0x552b6e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x552b3e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x552ac7
lea edx, [esp + 0x84]
push edx
call fcn.00552bb0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x55d6a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x55d6ec
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x55d6ec
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x55d6d6
push eax
call ebp
test ax, ax
jl 0x55d6e4
inc esi
add edi, 4
cmp esi, 6
jb 0x55d6c8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0055d3a0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x561240
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x5612a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x5612a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x5612a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x5612a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x5612b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x5679c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x611838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00567db0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x89c564
call fcn.005d1648
mov ecx, dword [0x71fc78]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00565110
mov esi, 0x71fcd0
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x567a67
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x567a5e
cmp al, 0xff
je 0x567a5e
dec al
mov byte [ecx], al
jmp 0x567a67
push ecx
call fcn.005f9fe2
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005f4e70
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x567aad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x567aa4
cmp al, 0xff
je 0x567aa4
dec al
mov byte [ecx], al
jmp 0x567aad
push ecx
call fcn.005f9fe2
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005d16cf
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x578710
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x578743
push esi
call fcn.0057d690
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x57873c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5787c9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5787b2
mov eax, dword [esi + 8]
test eax, eax
je 0x578767
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5787ae
cmp eax, 2
je 0x5787b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x57875a
cmp eax, 3
je 0x57878d
cmp eax, 1
jne 0x57875a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x57875a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x57875a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00578800
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5787e9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00578800
add esp, 4
pop esi
ret
Function at 0x5a9220
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5a922b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5a932e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x7e8400]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7e8400]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7e8400]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7e8400]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7e8400]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7e8400]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7e8400]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7e8400]
xor eax, edx
inc ecx
dec edi
jne 0x5a9246
pop edi
test esi, esi
je 0x5a9350
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7e8400]
xor eax, edx
inc ecx
dec esi
jne 0x5a9332
pop esi
pop ebx
not eax
ret
Function at 0x5ef4b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6130d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.005e4465
mov eax, dword [0x805360]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.005e4397
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.005effa0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x5ef557
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5ef54e
cmp al, 0xff
je 0x5ef54e
dec al
mov byte [ecx], al
jmp 0x5ef557
push ecx
call fcn.005f9fe2
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5ef588
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5ef57f
cmp al, 0xff
je 0x5ef57f
dec al
mov byte [ecx], al
jmp 0x5ef588
push ecx
call fcn.005f9fe2
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x5fb0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00605ee0
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5fb101
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005fb114
pop edi
pop esi
pop ebx
ret 8

Function at 0x5fc6e8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5fc720
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005fa71f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005fa6f7
jmp 0x5fc72c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5fe0ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5fe0ef
call fcn.00605ee0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5fe0ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5fe0e6
xor eax, eax
jmp 0x5fe0f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005fe0fd
pop edi
pop esi
pop ebx
ret 4

Function at 0x606410
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x60643e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x60645c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00606376
jmp 0x60645c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x60645c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00606376
test edi, edi
mov eax, edi
jne 0x606446
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404851
Capabilities:
Copy file

Disassembly:
sub esp, 0x24
mov eax, dword [0x457640]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov ecx, dword [ebx + 0x30]
sub ecx, dword [ebx + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x404874
call 0x42cc40
mov ecx, dword [ebx + 0x2c]
push edi
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x5c]
push ecx
mov ecx, edi
call fcn.00402150
fldz
inc dword [esi + 0x58]
fstp dword [esi + 0x78]
push edi
add esi, 0x20
push esi
lea edi, [esp + 0x18]
call fcn.00403110
mov eax, dword [esp + 0x1c]
add esp, 8
mov esi, 0x10
mov dword [esp + 0xc], 0
pop edi
cmp dword [esp + 0x24], esi
jae 0x4048bc
lea eax, [esp + 0x10]
cmp dword [ebx + 0x18], esi
jb 0x4048c6
mov ebx, dword [ebx + 4]
jmp 0x4048c9
add ebx, 4
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0x404950
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
test eax, eax
setne bl
cmp dword [esp + 0x24], esi
jb 0x4048f7
mov eax, dword [esp + 0x10]
push eax
call fcn.0040fc42
add esp, 4
mov ecx, dword [esp + 0x28]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0042c7ef
add esp, 0x24
ret

Function at 0x4061e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
mov eax, 1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x45b730], al
jne 0x406204
or dword [0x45b730], eax
call ebx
mov dword [0x45b72c], eax
call ebx
mov ecx, eax
sub ecx, dword [0x45b72c]
cmp ecx, 0x1f4
jb 0x4062b6
movzx edx, word [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
shl edx, 0x10
push edx
push 0
mov dword [0x45b72c], eax
mov eax, dword [esi + 0xd8]
push 0x401
push eax
call ebx
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0xd8]
push 0
push ecx
push 0x402
push edx
call ebx
cmp dword [edi + 0x20], 0x10
jb 0x40625b
mov eax, dword [edi + 0xc]
jmp 0x40625e
lea eax, [edi + 0xc]
push eax
push 0x3ea
mov ecx, esi
call 0x41982f
mov eax, dword [esi + 0x12c]
push 0x640000
push 0
push 0x401
push eax
call ebx
fld dword [edi + 0x24]
mov edx, dword [esi + 0x12c]
fnstcw word [esp + 6]
movzx eax, word [esp + 6]
or eax, 0xc00
mov dword [esp + 8], eax
push 0
fldcw word [esp + 0xc]
fistp qword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push ecx
push 0x402
fldcw word [esp + 0x12]
push edx
call ebx
pop ebx
add esp, 0xc
ret
Function at 0x406510
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x443a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x457640]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x254]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x141]
push ebx
push eax
mov byte [esp + 0x148], bl
call 0x42f220
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4065a1
push ebx
push 0x44a850
push 0x44aaf4
mov ecx, ebp
call 0x415894
xor al, al
jmp 0x406716
lea eax, [esp + 0x13c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
jmp 0x4065c0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4065c0
sub eax, edx
push eax
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x24]
call fcn.004026a0
mov dword [esp + 0x24c], ebx
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp eax, ebx
je 0x406624
lea esi, [eax - 1]
cmp eax, esi
ja 0x4065fb
call fcn.00441f16
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x406609
lea eax, [esp + 0x20]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x406624
cmp al, 0x5c
je 0x406624
push 1
push 0x44a860
lea eax, [esp + 0x24]
call fcn.00401fb0
push 0x103
lea eax, [esp + 0x3d]
push ebx
push eax
mov byte [esp + 0x44], bl
call 0x42f220
push ebx
call 0x42d0d4
mov esi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x18], edx
cmp dword [esp + 0x34], edi
jae 0x406653
lea esi, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push esi
lea ecx, [esp + 0x44]
push 0x44ab0c
push ecx
call 0x42ceb9
add esp, 0x14
push ebx
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
cmp al, bl
jne 0x4066d5
push ebx
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
sete cl
cmp eax, 0xb7
je 0x4066d5
cmp eax, 3
je 0x4066ac
cmp cl, bl
jne 0x4066d5
push ebx
push 0x44a850
push 0x44ab14
mov ecx, ebp
call 0x415894
cmp dword [esp + 0x34], edi
jb 0x4066d1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040fc42
add esp, 4
xor al, al
jmp 0x406716
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4066e0
sub eax, edx
push eax
lea edx, [esp + 0x3c]
lea esi, [ebp + 0x80]
push edx
mov ecx, esi
call fcn.004026a0
call fcn.00401b60
cmp dword [esp + 0x34], edi
jb 0x406714
mov eax, dword [esp + 0x20]
push eax
call fcn.0040fc42
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0042c7ef
add esp, 0x23c
ret 4