joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56a440
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56a5b1
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x56a471
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x56a471
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x56a477
mov byte [esp + 0xc], 0
ret
mov ecx, dword [esp + 8]
cmp ecx, 3
je 0x56a485
cmp ecx, 4
jne 0x56a4b6
cmp al, 0x2c
ja 0x56a49e
lea edx, [eax - 0x21]
cmp dl, 1
jbe 0x56a4b0
cmp al, 0x24
je 0x56a4b0
cmp al, 0x26
jae 0x56a4b0
jmp 0x56a4b6
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x56a4b0
cmp al, 0x5b
je 0x56a4b0
cmp al, 0x5d
jne 0x56a4b6
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
ja 0x56a4ed
cmp al, 0x26
ja 0x56a4cf
cmp al, 0x24
je 0x56a50c
cmp al, 0x26
je 0x56a50c
jmp 0x56a593
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x56a50c
lea edx, [eax - 0x2d]
cmp dl, 1
jbe 0x56a58d
cmp al, 0x2f
je 0x56a50c
jmp 0x56a593
cmp al, 0x3d
ja 0x56a504
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x56a50c
cmp al, 0x3d
je 0x56a50c
jmp 0x56a593
lea edx, [eax - 0x3f]
cmp dl, 1
ja 0x56a583
cmp ecx, 2
jg 0x56a547
cmp ecx, 1
je 0x56a53c
cmp ecx, 2
jne 0x56a593
cmp al, 0x2f
je 0x56a52a
cmp al, 0x3b
je 0x56a52a
cmp al, 0x2c
jne 0x56a531
mov eax, 1
jmp 0x56a537
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x56a56d
cmp al, 0x40
je 0x56a55b
cmp al, 0x2f
je 0x56a55b
cmp al, 0x3f
jne 0x56a562
mov eax, 1
jmp 0x56a568
cmp al, 0x3a
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 6
je 0x56a57d
cmp ecx, 7
jne 0x56a593
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x5f
je 0x56a58d
cmp al, 0x7e
jne 0x56a593
mov byte [esp + 0xc], 0
ret
cmp ecx, 7
jne 0x56a5ab
cmp al, 0x21
je 0x56a5a5
add eax, 0xffffffd8
cmp al, 2
ja 0x56a5ab
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
call fcn.0046eae0
jmp fcn.0056a440
Function at 0x56e120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56e2e5
sub esp, 0x5c
xor eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
jmp 0x56e1ff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov ebp, dword [0x74d278]
mov esi, dword [0x74d27c]
mov edi, dword [0x74d280]
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
call fcn.0056e4e0
mov eax, dword [esp + 0x50]
inc eax
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x88]
lea esi, [ebp - 1]
cmp eax, esi
jl 0x56e14a
cmp ebp, esi
jbe 0x56e2db
mov eax, dword [esp + 0x84]
lea eax, [eax + ebp*8 - 8]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
call fcn.0056e4e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
add esp, 0x5c
ret
mov eax, esi
mov ecx, ebp
call fcn.0046ff60
nop
call fcn.0046eae0
jmp fcn.0056e120
Function at 0x56e2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56e4d1
sub esp, 0x74
nop
lea eax, [0x622800]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [0x78be40]
test eax, eax
jne 0x56e328
mov eax, dword [esp + 0x88]
jmp 0x56e33c
call fcn.0046fef0
mov eax, dword [esp + 0x88]
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], eax
mov ebx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.005733b0
movzx eax, byte [esp + 0x19]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test al, al
jne 0x56e40a
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ecx
mov byte [esp + 0x57], dl
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x5e3951]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1c
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0056ae90
mov ecx, dword [esp + 0x64]
movzx edx, byte [esp + 0x57]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], dl
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x44], eax
call fcn.0056f260
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
call fcn.0046eae0
jmp fcn.0056e2f0
Function at 0x402130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
mov dword [esp + 4], eax
jmp fcn.0040fc58

Function at 0x40fcbd
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.0041be08
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40fcf4
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.0040fd15
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 0x4119ae
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x565ccd
call fcn.00545a70
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x411a58
push dword [ebp + 8]
mov ecx, eax
call fcn.00411ce6
mov esi, eax
test esi, esi
je 0x411aeb
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x411a41
push edx
call fcn.004023a5
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411a41
xor edi, edi
inc edi
jmp 0x411a4b
push dword [ebx]
call fcn.004023ae
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00411873
jmp 0x411ae9
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.00545a22
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x411ae1
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.004023a5
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x411adb
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041184f
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0041184f
add al, bl
mov edx, edi
test edx, edx
jns 0x411acc
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x411aa3
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.0040397a
mov eax, edi
call fcn.00545a39
ret 0x10
Function at 0x411af3
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x411b46
push esi
push dword [ebp + 8]
call fcn.00411ce6
mov edi, eax
test edi, edi
jne 0x411b16
mov eax, dword [ebp + 0x10]
jmp 0x411b58
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x411b11
mov eax, dword [ebp - 8]
jmp 0x411b58
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x414bc7
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 0x414c0c
call fcn.0041be08
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414c0c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x414c28
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00490a0d
mov ebx, eax
test edi, edi
je 0x414c26
test esi, esi
je 0x414c26
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

Function at 0x415675
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x415733
cmp dword [esi + 0x20], 0
je 0x415733
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415733
cmp dword [ebp + 8], 0
je 0x415733
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041be08
push 0x57adc0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x415704
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415733
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00493b82
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x415724
test edi, edi
je 0x415724
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41572f
mov ecx, esi
call fcn.00415411
mov eax, ebx
jmp 0x415735
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419c59
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56651a
call fcn.00545a70
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x419c7f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x419cde
call fcn.0041b116
push eax
lea ecx, [ebp - 0x10]
call fcn.004023c8
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00545a22
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054e547
push eax
call fcn.004029e6
add esp, 0x14
test esi, esi
je 0x419cd1
push esi
call fcn.0054b2a4
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040397a
mov eax, ebx
call fcn.00545a39
ret 8
Function at 0x42a24e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x42a267
call fcn.0041be08
mov esi, dword [eax + 0xc]
push 0x57dd38
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42a2bd
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42a2bc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42a29d
xor esi, esi
jmp 0x42a2b3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0042a2c5
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4957e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x4957fd
mov edi, dword [esi + 0xc]
jmp 0x49583d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x495816
call fcn.0042123b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x49582b
call fcn.0042123b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x49583d
call fcn.0042123b
call fcn.0041be08
cmp dword [eax + 0x3c], 0
je 0x495852
push edi
mov ecx, ebx
call fcn.00494e66
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00495a2f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x49587b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x495887
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x508f8c
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00540bbf
call fcn.0041be5c
cmp dword [eax + 0x14], 0
jne 0x508fa7
mov ecx, esi
pop esi
jmp fcn.00508294
pop esi
ret
Function at 0x5090d5
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.00419ba3
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x509111
call fcn.005092f7
mov dword [esi + 0xc], 1
jmp 0x509116
call fcn.005092f7
cmp dword [esi], 0
je 0x50915f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x509139
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00414c9d
jmp 0x50914a
push 0xff
mov ecx, esi
call fcn.004035c5
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411e22
jmp 0x509183
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x509183
push dword [esi]
push dword [ebp - 4]
call fcn.0041d299
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x50924c
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.005092f7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x509294
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414c9d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411e22
jmp 0x50929f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d299
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x53e3aa
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004170a6
call fcn.0041be5c
cmp dword [eax + 0x14], 0
jne 0x53e3c5
mov ecx, esi
pop esi
jmp fcn.0053dbc9
pop esi
ret

Function at 0x55f242
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055ef02
Function at 0x563920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, 0x35
mov dword [esp + 0x5c], 0x360044
mov word [esp + 0x18], ax
mov eax, 0x45
mov ebp, 0x41
mov word [esp + 0x3a], ax
mov dword [esp + 0x46], 0x46002d
mov eax, 0x46
mov dword [esp + 0x56], 0x440036
mov word [esp + 0x44], ax
mov ecx, 0x42
xor eax, eax
mov dword [esp + 0x3c], 0x38002d
lea edi, [ebp - 8]
mov dword [esp + 0x28], 0x38002d
mov dword [esp + 0x32], 0x34002d
mov dword [esp + 0x52], 0x430039
mov dword [esp + 0x1e], 0x370037
mov dword [esp + 0x40], 0x430034
mov dword [esp + 0x4e], 0x460037
mov dword [esp + 0x36], 0x410030
mov dword [esp + 0x2c], 0x420030
mov dword [esp + 0x1a], 0x320034
mov dword [esp + 0x22], 0x330046
mov word [esp + 0x5a], cx
mov dword [esp + 0x4a], 0x360032
mov word [esp + 0x30], di
mov word [esp + 0x26], bp
mov word [esp + 0x60], ax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov dword [esp + 0x14], 0
cmp word [esp + 0x18], ax
je 0x563a1f
lea eax, [esp + 0x18]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x563a10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00401fe0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x5640e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, 0x35
mov dword [esp + 0x5c], 0x360044
mov word [esp + 0x18], ax
mov eax, 0x45
mov ebp, 0x41
mov word [esp + 0x3a], ax
mov dword [esp + 0x46], 0x46002d
mov eax, 0x46
mov dword [esp + 0x56], 0x440036
mov word [esp + 0x44], ax
mov ecx, 0x42
xor eax, eax
mov dword [esp + 0x3c], 0x38002d
lea edi, [ebp - 8]
mov dword [esp + 0x28], 0x38002d
mov dword [esp + 0x32], 0x34002d
mov dword [esp + 0x52], 0x430039
mov dword [esp + 0x1e], 0x370037
mov dword [esp + 0x40], 0x430034
mov dword [esp + 0x4e], 0x460037
mov dword [esp + 0x36], 0x410030
mov dword [esp + 0x2c], 0x420030
mov dword [esp + 0x1a], 0x320034
mov dword [esp + 0x22], 0x330046
mov word [esp + 0x5a], cx
mov dword [esp + 0x4a], 0x360032
mov word [esp + 0x30], di
mov word [esp + 0x26], bp
mov word [esp + 0x60], ax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov dword [esp + 0x14], 0
cmp word [esp + 0x18], ax
je 0x5641df
lea eax, [esp + 0x18]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5641d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00401fe0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x564410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
lea eax, [esp]
mov dword [esp + 0x14], 0x6c
push eax
mov dword [esp + 4], 0x680053
mov dword [esp + 0x10], 0x2e0069
mov dword [esp + 8], 0x77006c
mov dword [esp + 0x14], 0x6c0064
mov dword [esp + 0xc], 0x700061
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x18
ret