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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x523904
xor eax, eax
jmp 0x523984
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x52391b
xor eax, eax
jmp 0x523984
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x523967
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x523967
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x52393e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x523973
xor eax, eax
jmp 0x523984
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x523981
xor eax, eax
jmp 0x523984
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5395c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x5395de
mov ecx, dword [ebp - 8]
call fcn.00539ad0
jmp 0x5395f1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x5395f1
mov ecx, dword [ebp - 8]
call fcn.00539950
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x539950
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x53996b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jae 0x5399d7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x5399af
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x5399b6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x539962
jmp 0x5399e2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jae 0x539a4e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x539a26
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x539a2d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x5399d9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x539a8c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x539a93
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x539ad0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x539aeb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x539b57
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x539b2f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x539b36
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x539ae2
mov esp, ebp
pop ebp
ret

Function at 0x53ce40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c398e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00523e20
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00523e20
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00523e20
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00523e20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00523e20
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x7c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x53cf50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c3a87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00523e20
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00523e20
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00523e20
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00523e20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00523e20
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x7c], ecx
mov edx, dword [ebp + 8]
add edx, 0x80
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.00523e20
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x98
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00523e20
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
mov dword [ecx + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x55340c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x55344b
call fcn.0055b194
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x55344b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x553453
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0055a577
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x553e66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x553ef2
cmp dword [esi + 0x20], 0
je 0x553ef2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x553ef2
cmp dword [ebp + 8], 0
je 0x553ef2
xor edi, edi
mov ebx, edi
call fcn.0055b194
push 0x6f39d8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x553ed6
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x553ef2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0056764c
mov edi, eax
add esp, 0xc
test edi, edi
je 0x553eee
mov ecx, esi
call fcn.00553c04
mov eax, edi
jmp 0x553ef4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x558dac
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6cad32
call fcn.006943a1
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x558dd2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x558e2c
lea ecx, [ebp - 0x10]
call fcn.0054e3e1
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 dword [0x6da9d8]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.006a05cd
push eax
call fcn.0054e1b4
add esp, 0x14
test esi, esi
je 0x558e1f
push esi
call fcn.006a8478
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00523770
mov eax, ebx
call fcn.0069436f
ret 8

Function at 0x559665
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x559690
cmp dword [edi + 0x80], 0
jne 0x559690
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0055b194
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00559903
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5596bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.0055b194
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5596f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00559703
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x560175
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 0x5601c8
push esi
push dword [ebp + 8]
call fcn.0056035e
mov edi, eax
test edi, edi
je 0x5601c3
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 0x5601c3
mov eax, dword [ebp - 8]
jmp 0x5601da
mov eax, dword [ebp + 0x10]
jmp 0x5601da
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
leave
ret 0xc

Function at 0x561772
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x5617b7
call fcn.0055b194
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5617b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5617fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x5617da
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6da9d8]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x5617fb
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x6da9d8]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x569cd4
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
mov edi, dword [esi + 0xc]
jne 0x569d2a
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x569d03
call fcn.0054fdcc
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x569d18
call fcn.0054fdcc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x569d2a
call fcn.0054fdcc
call fcn.0055b194
cmp dword [eax + 0x3c], 0
je 0x569d3f
push edi
mov ecx, ebx
call fcn.005693f7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00569f25
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x569d68
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x569d74
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x56b354
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.00558989
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 0x56b390
call fcn.0056b571
mov dword [esi + 0xc], 1
jmp 0x56b395
call fcn.0056b571
cmp dword [esi], 0
je 0x56b3e0
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x56b3bb
push edi
call fcn.0054ef96
lea ecx, [edi + 1]
push ecx
jmp 0x56b3ca
push 0xff
call fcn.005236a0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00526610
pop edi
jmp 0x56b404
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 0x56b404
push dword [esi]
push dword [ebp - 4]
call fcn.0056567d
pop esi
leave
ret 0xc

Function at 0x56b4c8
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.0056b571
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x56b510
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0054ef96
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00526610
jmp 0x56b51b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0056567d
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x57c4cc
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005c3730
call fcn.0055b1e8
cmp dword [eax + 0x14], 0
jne 0x57c4e7
mov ecx, esi
pop esi
jmp fcn.0057b7f0
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.00555722
call fcn.0055b1e8
cmp dword [eax + 0x14], 0
jne 0x58ae67
mov ecx, esi
pop esi
jmp fcn.0058a6bd
pop esi
ret

Function at 0x5929f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x592a0f
call fcn.0055b194
mov esi, dword [eax + 0xc]
push 0x6fd6fc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x592a51
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x592a51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x592a51
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00592a5a
jmp 0x592a53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x64d2d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.006a9703
pop ecx
test eax, eax
jne 0x64d312
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.005606f9
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x64d2d8
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x6afa70
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006af8ef

Function at 0x6b3302
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006b2fc2
Function at 0x434f70
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x43d290
call fcn.00435200
push 1
call fcn.00434847
pop ecx
test al, al
je 0x434f58
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00434815
mov byte [ebp - 0x24], al
mov eax, dword [0x443820]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x434f58
test eax, eax
jne 0x434e7c
mov dword [0x443820], ecx
push 0x438464
push 0x438454
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x434e5f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x434f48
push 0x438450
push 0x438434
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x443820], 2
jmp 0x434e81
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0043499b
pop ecx
call fcn.00435a85
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x434eb2
push esi
call fcn.00434907
pop ecx
test al, al
je 0x434eb2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x438430]
call esi
call fcn.00435a8b
mov esi, eax
cmp dword [esi], edi
je 0x434ed0
push esi
call fcn.00434907
pop ecx
test al, al
je 0x434ed0
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.004358a9
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004358df
test al, al
je 0x434f5f
test bl, bl
jne 0x434efe
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004349b8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x434f48
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0043578f
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.005b6000
jmp 0x434df2
Function at 0x7eee49d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.7eee3648
test esi, esi
jne 0x7eee4a07
mov edx, esp
mov ecx, 0x105
xor eax, eax
call fcn.7eee497c
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.7eee3738
jmp 0x7eee4a25
call sub.kernel32.dll_GetCommandLineA_1
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.7eee47fc
mov edi, eax
test esi, esi
je 0x7eee4a25
cmp dword [ebx], 0
je 0x7eee4a25
dec esi
jmp 0x7eee4a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x7eee505c
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffe0
push ebx
nop
pop ebx
push eax
nop
pop eax
mov dword [esp], 0x20
nop
push eax
nop
pop eax
push esp
call sub.kernel32.dll_GlobalMemoryStatus
call fcn.7eee4fe4
nop
push eax
nop
pop eax
call fcn.7eee4fe4
mov ebx, 3
call fcn.7eee4fe4
cmp dword [esp + 8], 0x11e1a300
jae 0x7eee509e
call fcn.7eee4b50
dec ebx
jne 0x7eee508a
add esp, 0x20
pop ebx
ret

Function at 0xdda058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00dda1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xdda07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdda06a
add dl, dl
jne 0xdda089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdda0dc
xor eax, eax
add dl, dl
jne 0xdda096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdda17d
add dl, dl
jne 0xdda0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdda0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdda0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdda0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdda0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdda075
mov eax, 1
add dl, dl
jne 0xdda0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdda0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdda0e1
sub eax, ebx
mov ebx, 1
jne 0xdda128
mov ecx, 1
add dl, dl
jne 0xdda10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdda119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdda105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdda075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdda13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdda14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdda136
cmp eax, 0x7d00
jae 0xdda16d
cmp eax, 0x500
jb 0xdda168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdda075
cmp eax, 0x7f
ja 0xdda170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdda075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdda19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xdda075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10