joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a12
Capabilities:
Create directory

Disassembly:
push 0x68
mov eax, 0x6d3ba3
call fcn.00579a84
xor ebx, ebx
push 0xf
pop eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x40], bl
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040d86d
push ecx
push 2
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041ec49
mov byte [ebp - 0x74], bl
lea eax, [ebp - 0x58]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040e39d
lea ecx, [ebp - 0x58]
call fcn.00402554
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0041ec49
mov byte [ebp - 0x74], bl
lea eax, [ebp - 0x58]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040e39d
lea ecx, [ebp - 0x58]
call fcn.00402554
mov byte [ebp - 0x74], bl
push ebx
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0041e244
push ecx
mov esi, eax
lea ecx, [ebp - 0x70]
push esi
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0041ec49
push 0x5c
push 1
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041f97c
push eax
lea ecx, [ebp - 0x58]
call fcn.0040240f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d833
lea ecx, [ebp - 0x58]
call fcn.00402554
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00402554
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.006ac200
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x426b29
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.006ac28a
pop ecx
push ecx
push dword [ebp - 0x18]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041ec49
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e39d
lea ecx, [ebp - 0x70]
call fcn.00402554
test esi, esi
jns 0x426aa4
lea ecx, [ebp - 0x40]
call fcn.00402554
lea ecx, [ebp - 0x28]
call fcn.00402554
call fcn.00579a33
ret
Function at 0x428528
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x6d3e38
call fcn.00579a84
mov esi, edx
mov dword [ebp - 0x3c], esi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], 7
push ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
push 0x80
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00425b60
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x80
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], 0x44
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x4285f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4285f0
cmp dword [ebp - 0x34], 0x44
ja 0x4285f5
mov eax, dword [ebp - 0x30]
cmp eax, 0x80
jbe 0x4285cb
lea ecx, [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
ja 0x4285c1
push eax
call fcn.0040e1f9
jmp 0x4285cb
sub eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.0040e216
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
setne bl
lea ecx, [ebp - 0x2c]
call fcn.004024d8
mov al, bl
call fcn.00579a33
ret

Function at 0x428660
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7b6e84]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
push 8
mov esi, ecx
mov dword [esp + 0x10], 0x10
pop ecx
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4286aa
push 0x14
pop eax
jmp 0x4286e1
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.00428528
pop ecx
test al, al
jne 0x4286c1
push 0x15
jmp 0x4286a7
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.00428605
push eax
mov ecx, esi
call fcn.0040d895
lea ecx, [esp + 0x10]
call fcn.00402554
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.00579020
mov esp, ebp
pop ebp
ret
Function at 0x42acbe
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42ae57
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42ae57
cmp eax, 0x29
jne 0x42acf7
cmp dword [esi + 0x10], 0
jne 0x42ae57
test dword [esi + 0x50], edx
je 0x42ae5d
cmp eax, 0x2e
jne 0x42ad12
push 5
lea ecx, [esi + 0x24]
call fcn.0041193f
mov ecx, esi
call fcn.0042ac95
jmp 0x42ae41
cmp eax, 0x5c
jne 0x42ad67
mov ecx, esi
call fcn.0042ac95
test byte [esi + 0x50], 0x80
je 0x42ad5b
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x42ad43
push 4
lea ecx, [esi + 0x24]
call fcn.0041193f
mov ecx, esi
call fcn.0042ac95
jmp 0x42ae48
cmp eax, 0x42
jne 0x42ad5b
push 4
lea ecx, [esi + 0x24]
call fcn.0041193f
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42ad37
mov ecx, esi
call fcn.0042b330
jmp 0x42ae41
cmp eax, 0x5b
jne 0x42adca
mov ecx, esi
call fcn.0042ac95
lea ecx, [esi + 0x24]
call fcn.0042c5d9
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x42ad94
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042ac95
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x42adb2
cmp eax, 0x5d
jne 0x42adb2
push eax
lea ecx, [esi + 0x24]
call fcn.0042c62b
mov ecx, esi
call fcn.0042ac95
mov ecx, esi
call fcn.0042c2f6
cmp dword [esi + 0x4c], 0x5d
je 0x42ad06
push 4
jmp 0x42ae5f
cmp eax, 0x28
jne 0x42ade7
mov ecx, esi
call fcn.0042ac95
mov ecx, esi
call fcn.0042b415
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x42ae5d
jmp 0x42ae36
cmp eax, 0x5e
jne 0x42adf3
push 2
jmp 0x42ad2f
cmp eax, 0x24
jne 0x42adff
push 3
jmp 0x42ad2f
cmp eax, 0x2a
je 0x42ae53
cmp eax, 0x2b
je 0x42ae53
cmp eax, 0x3f
je 0x42ae53
cmp eax, 0x7b
je 0x42ae53
cmp eax, 0x7d
jne 0x42ae1d
test dword [esi + 0x50], edx
je 0x42ae4f
cmp eax, 0x5d
jne 0x42ae27
test dword [esi + 0x50], edx
je 0x42adc3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042b55c
mov bl, 1
mov ecx, esi
call fcn.0042ac95
test bl, bl
je 0x42ae48
mov ecx, esi
call fcn.0042b496
mov cl, 1
jmp 0x42acc5
push 6
jmp 0x42ae5f
push 0xa
jmp 0x42ae5f
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00410a8c
int3
Function at 0x42e9d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00453da4
push 0x789eb4
mov edi, dword [eax + 0xc]
movzx eax, si
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42ea8d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42ea8d
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.006a09b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x42ea71
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x42ea73
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
inc eax
jmp 0x42ea8f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43165b
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x6d4802
call fcn.00579a51
mov esi, ecx
push 4
call fcn.0043171a
xor ebx, ebx
pop ecx
test eax, eax
je 0x43167f
mov dword [eax], 0x405a08
jmp 0x431681
mov eax, ebx
mov dword [ebp - 0x10], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x4316c7
push ebx
push ebx
call fcn.006ae2be
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4316ac
mov eax, esi
call fcn.00579a1f
ret 4
push 6
mov dword [edi], ebx
call fcn.0057be58
int3

Function at 0x440dce
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 0x440e21
push esi
push dword [ebp + 8]
call fcn.00440fb4
mov edi, eax
test edi, edi
je 0x440e1c
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_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x440e1c
mov eax, dword [ebp - 8]
jmp 0x440e33
mov eax, dword [ebp + 0x10]
jmp 0x440e33
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x443e95
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 0x443ed4
call fcn.00453da4
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x443ed4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x443edc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0045208f
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4448f9
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 0x444985
cmp dword [esi + 0x20], 0
je 0x444985
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444985
cmp dword [ebp + 8], 0
je 0x444985
xor edi, edi
mov ebx, edi
call fcn.00453da4
push 0x6e9d40
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x444969
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 0x444985
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004c51dd
mov edi, eax
add esp, 0xc
test edi, edi
je 0x444981
mov ecx, esi
call fcn.00444697
mov eax, edi
jmp 0x444987
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44936c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6d5503
call fcn.00579a51
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x449392
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4493ec
lea ecx, [ebp - 0x10]
call fcn.00403449
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 [0x6e7b8c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.006af155
push eax
call fcn.0042d715
add esp, 0x14
test esi, esi
je 0x4493df
push esi
call fcn.006ae360
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402e54
mov eax, ebx
call fcn.00579a1f
ret 8

Function at 0x449c25
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 0x449c50
cmp dword [edi + 0x80], 0
jne 0x449c50
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00453da4
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00449ebe
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x449c7d
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.00453da4
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x449cb0
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.00449cc3
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44c2e3
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 0x44c328
call fcn.00453da4
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44c325
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44c36f
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 0x44c34b
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6e7b8c]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x44c36c
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x6e7b8c]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x459c44
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 0x459c5d
call fcn.00453da4
mov esi, dword [eax + 0xc]
push 0x789eb4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x459c9f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x459c9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x459c9f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00459ca8
jmp 0x459ca1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c6c29
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 0x4c6c7f
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c6c58
call fcn.004321b2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c6c6d
call fcn.004321b2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c6c7f
call fcn.004321b2
call fcn.00453da4
cmp dword [eax + 0x3c], 0
je 0x4c6c94
push edi
mov ecx, ebx
call fcn.004c634c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c6e7a
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4c6cbd
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4c6cc9
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 0x4f0c49
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.00448f49
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 0x4f0c85
call fcn.004f0e66
mov dword [esi + 0xc], 1
jmp 0x4f0c8a
call fcn.004f0e66
cmp dword [esi], 0
je 0x4f0cd5
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4f0cb0
push edi
call fcn.00443f50
lea ecx, [edi + 1]
push ecx
jmp 0x4f0cbf
push 0xff
call fcn.0040361d
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004410f0
pop edi
jmp 0x4f0cf9
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 0x4f0cf9
push dword [esi]
push dword [ebp - 4]
call fcn.00454de5
pop esi
leave
ret 0xc

Function at 0x4f0dbd
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.004f0e66
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4f0e05
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00443f50
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004410f0
jmp 0x4f0e10
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00454de5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4fbb94
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x6dd62b
call fcn.00579a84
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0042ff68
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x786c10
call fcn.004345b2
cmp eax, 0xffffffff
jne 0x4fbc6f
push 0
push 0x78883c
lea ecx, [ebp - 0x278]
call fcn.004345b2
cmp eax, 0xffffffff
jne 0x4fbc6f
push 0
push 0x788894
lea ecx, [ebp - 0x278]
call fcn.004345b2
cmp eax, 0xffffffff
jne 0x4fbc6f
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0042ff68
add eax, 0x10
pop ecx
mov dword [ebp - 0x280], eax
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x114]
push ecx
push 0x104
push edx
push eax
lea edi, [eax - 0x10]
push edx
mov dword [ebp - 0x27c], edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4fbc3e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x6e7b8c]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.00402e54
jmp 0x4fbca8
lea eax, [ebp - 0x114]
push eax
call fcn.006ae360
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040377d
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402e54
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4fbc95
mov edi, dword [ebp - 0x274]
jmp 0x4fbca8
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x6e7b8c]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402e54
mov eax, edi
call fcn.00579a33
ret

Function at 0x542ffe
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.006b52f4
pop ecx
test eax, eax
jne 0x543040
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.00413594
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x543006
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret
Function at 0x583ff0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00584000
Function at 0x586ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x586af5
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x586b0d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x586b3b
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x586b7a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x586c4e
sub edx, 0x10000
js 0x586c4e
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x586b60
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x586b60
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x586bd1
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x586bce
add edx, 8
jne 0x586bb5
jmp 0x586c3f
add edx, 4
test eax, 0xffff
jne 0x586bde
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x586c3f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x586c12
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x586b60
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x586c4e
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x586b60
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x586c5f
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x5e1d20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x5e1d47
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5e1d36
pop edi
movzx eax, dl
pop esi
ret