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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x580fff
cmp dword [edi + 0x54], 0
jne 0x580fff
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0057f6be
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00580fa6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x584c02
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x584c3b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0057f7d1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0057f7ac
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x586190
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x5d7dcc
mov ecx, edi
call fcn.0057e6e4
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x5861e3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5861f6
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0057f7d1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057f7ac
jmp 0x5861f6
mov ecx, esi
call fcn.0058a5bf
test eax, eax
je 0x5861f6
push edi
mov ecx, eax
call fcn.00584c02
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x5867d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x58681a
call fcn.0057f6be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x58681a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x586835
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00586391
test ebx, ebx
mov esi, eax
je 0x586833
test edi, edi
je 0x586833
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x586d5f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x613ad0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x586d9c
push 0x5ee230
push 4
push eax
call fcn.005b12ba
push eax
call fcn.00402bf0
add esp, 0x10
jmp 0x586dae
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x586e19
push edi
call fcn.005b1361
mov edi, dword [eax]
call fcn.005b1361
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.005ab6ac
add esp, 0x18
mov ebx, eax
call fcn.005b1361
cmp dword [eax], 0
je 0x586df9
call fcn.005b1361
push dword [eax]
call fcn.0057e38b
pop ecx
jmp 0x586e00
call fcn.005b1361
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x586e19
cmp ebx, esi
jae 0x586e19
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x586e1b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005aac48
leave
ret
Function at 0x58b7b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x58b7f9
call fcn.0057f6be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x58b7f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x58b83c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x58b825
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x58b825
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x58b839
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5917af
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x5917d8
call fcn.0057f6be
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x5917fb
push eax
push dword [esi + 4]
call fcn.0059173a
push esi
push eax
mov ecx, 0x61f818
call fcn.005913e9
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x591fc5
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5d468c
call fcn.005b10d1
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00591f87
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.0057e4ab
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 4], eax
jne 0x59202b
push eax
push dword [esi + 8]
call fcn.0059173a
push dword [esi + 0xc]
mov ecx, 0x61f818
push eax
call fcn.005913e9
mov eax, esi
call fcn.005b11a9
ret 0x18
Function at 0x59b909
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jne 0x59b939
push dword [ebp + 8]
call edi
push eax
call fcn.00596937
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x59b964
test byte [ebp - 4], 1
je 0x59b964
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x59b964
push dword [ebp + 8]
call edi
push eax
call fcn.00596937
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x59ba1e
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0059b86e
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x59b99a
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0059b86e
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x59b9b0
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0059b86e
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x59b9dd
push dword [ebp + 8]
call edi
push eax
call fcn.00596937
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x59ba09
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00596937
push ebx
call esi
test eax, eax
jne 0x59ba1b
push dword [ebp + 8]
call edi
push eax
call fcn.00596937
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x59ba46
test byte [ebp - 4], 1
jne 0x59ba46
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x59ba46
push dword [ebp + 8]
call edi
push eax
call fcn.00596937
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x59c60b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x59c614
xor eax, eax
jmp 0x59c67d
cmp dword [esp + 8], 0
jne 0x59c620
call fcn.0057e0f5
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.005ad23f
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x59c65b
push dword [esi + 0x10]
call fcn.005b05c5
test eax, eax
pop ecx
jne 0x59c65b
mov esi, dword [esi + 0xc]
call fcn.005b1374
push esi
push dword [eax]
push 1
call fcn.005968f1
push dword [esi + 0x10]
call fcn.005b05f4
test eax, eax
pop ecx
je 0x59c67a
push dword [esi + 0x10]
call fcn.005b3ea3
push eax
call fcn.00402bf0
pop ecx
pop ecx
jmp 0x59c649
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x59c686
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x59c690
call fcn.0057e0f5
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.005acf21
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x59c6bd
mov esi, dword [esi + 0xc]
call fcn.005b1374
push esi
push dword [eax]
push 1
call fcn.005968f1
pop esi
ret 8

Function at 0x5aac48
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x613ad0]
jne 0x5aac52
repz ret
jmp fcn.005b656c
Function at 0x5acfa3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x5acfe0
cmp dword [ebp + 0x14], edi
je 0x5acfe0
cmp ecx, edi
jne 0x5acfe7
call fcn.005b1361
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.005b686e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5acffb
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5ad01c
cmp ebx, 0xffffffff
je 0x5ad00b
push ebx
push edi
push ecx
call fcn.005abb20
add esp, 0xc
cmp esi, edi
je 0x5acfc8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5acfc8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5ad038
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5ad03f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5ad130
test word [esi + 0xc], 0x10c
je 0x5ad093
mov eax, dword [esi + 4]
test eax, eax
je 0x5ad093
jl 0x5ad191
cmp ebx, eax
mov edi, ebx
jb 0x5ad064
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x5ad138
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.005aacd9
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x5ad128
cmp ebx, dword [ebp - 0xc]
jb 0x5ad100
cmp dword [ebp - 0xc], 0
je 0x5ad0bd
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x5ad0b2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5ad0b9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5ad0c8
mov eax, SysReAllocString
cmp ebx, eax
ja 0x5ad0c8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x5ad164
push eax
push dword [ebp - 8]
push esi
call fcn.005b3cf0
pop ecx
push eax
call fcn.005bef1a
add esp, 0xc
test eax, eax
je 0x5ad1a3
cmp eax, 0xffffffff
je 0x5ad191
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5ad128
push esi
call fcn.005be839
cmp eax, 0xffffffff
pop ecx
je 0x5ad195
cmp dword [ebp - 4], 0
je 0x5ad164
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x5ad047
mov eax, dword [ebp + 0x14]
jmp 0x5acfe2
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x5ad14f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.005abb20
add esp, 0xc
call fcn.005b1361
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5acfd8
cmp dword [ebp + 0xc], 0xffffffff
je 0x5ad17a
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.005abb20
add esp, 0xc
call fcn.005b1361
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5acfd8
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5acfe2
or dword [esi + 0xc], 0x10
jmp 0x5ad195
Function at 0x5b4587
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x613f90]
je 0x5b45a2
inc edi
cmp edi, 0x17
jb 0x5b4593
cmp edi, 0x17
jae 0x5b4722
push ebp
push 3
call fcn.005c58a3
cmp eax, 1
pop ecx
je 0x5b46ee
push 3
call fcn.005c58a3
test eax, eax
pop ecx
jne 0x5b45d6
cmp dword [0x613acc], 1
je 0x5b46ee
cmp ebx, 0xfc
je 0x5b4721
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x61fbf8
push ebp
call fcn.005c1ef4
add esp, 0xc
test eax, eax
je 0x5b460c
push esi
push esi
push esi
push esi
push esi
call fcn.005b6772
add esp, 0x14
push 0x104
mov esi, 0x61fc11
push esi
push 0
mov byte [0x61fd15], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5b4650
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.005c1ef4
add esp, 0xc
test eax, eax
je 0x5b4650
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.005b6772
add esp, 0x14
push esi
call fcn.005b3780
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5b4695
push esi
call fcn.005b3780
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x61ff0c
push 0x5f2b9c
sub ecx, eax
push ecx
push eax
call fcn.005c1e41
add esp, 0x14
test eax, eax
je 0x5b4695
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.005b6772
add esp, 0x14
jmp 0x5b4697
xor esi, esi
push 0x5f2b98
push ebx
push ebp
call fcn.005c1dd0
add esp, 0xc
test eax, eax
je 0x5b46b7
push esi
push esi
push esi
push esi
push esi
call fcn.005b6772
add esp, 0x14
push dword [edi*8 + 0x613f94]
push ebx
push ebp
call fcn.005c1dd0
add esp, 0xc
test eax, eax
je 0x5b46d9
push esi
push esi
push esi
push esi
push esi
call fcn.005b6772
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005c56e6
add esp, 0xc
jmp 0x5b4721
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5b4721
cmp ebp, 0xffffffff
je 0x5b4721
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x613f94]
push dword [esi]
call fcn.005b3780
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5c56e6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.005b5137
xor ebx, ebx
cmp dword [0x620710], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5c57bc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5c589c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5f51d0
push edi
call esi
cmp eax, ebx
je 0x5c589c
push eax
call fcn.005b50c9
mov dword [esp], 0x5f51c0
push edi
mov dword [0x620710], eax
call esi
push eax
call fcn.005b50c9
mov dword [esp], 0x5f51ac
push edi
mov dword [0x620714], eax
call esi
push eax
call fcn.005b50c9
mov dword [0x620718], eax
lea eax, [ebp - 0xc]
push eax
call fcn.005b1c00
test eax, eax
pop ecx
pop ecx
je 0x5c578a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005b6772
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5c57bc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.005b50c9
cmp eax, ebx
pop ecx
mov dword [0x620720], eax
je 0x5c57bc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005b50c9
pop ecx
mov dword [0x62071c], eax
mov eax, dword [0x62071c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5c5841
cmp dword [0x620720], ecx
je 0x5c5841
push eax
call fcn.005b5140
push dword [0x620720]
mov esi, eax
call fcn.005b5140
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5c5841
cmp edi, ebx
je 0x5c5841
call esi
cmp eax, ebx
je 0x5c580e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5c580e
test byte [ebp - 0x18], 1
jne 0x5c5841
lea eax, [ebp - 0x10]
push eax
call fcn.005b1c37
test eax, eax
pop ecx
je 0x5c5829
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005b6772
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5c5838
or dword [ebp + 0x10], 0x200000
jmp 0x5c587c
or dword [ebp + 0x10], 0x40000
jmp 0x5c587c
mov eax, dword [0x620714]
cmp eax, dword [ebp - 8]
je 0x5c587c
push eax
call fcn.005b5140
cmp eax, ebx
pop ecx
je 0x5c587c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5c587c
mov eax, dword [0x620718]
cmp eax, dword [ebp - 8]
je 0x5c587c
push eax
call fcn.005b5140
cmp eax, ebx
pop ecx
je 0x5c587c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x620710]
call fcn.005b5140
cmp eax, ebx
pop ecx
je 0x5c589c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5c589e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5caeda
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x613ad0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.005cae6f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.005abb20
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x5caf29
cmp dword [ebp - 0x1c], 5
jb 0x5caf41
jmp 0x5caf3d
cmp dword [ebp - 0x10], 1
jne 0x5caf41
cmp dword [ebp - 0x1c], 4
ja 0x5caf3d
jne 0x5caf41
cmp dword [ebp - 0x18], 0
jbe 0x5caf41
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x5f7b1c
call fcn.005cad43
test eax, eax
jge 0x5caf62
mov byte [0x61d004], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005aac48
add ebp, 0x78
leave
ret

Function at 0x5cb289
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x5cb2b6
call fcn.005b1374
mov dword [eax], esi
call fcn.005b1361
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005b686e
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x5cb292
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5cb2e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b1387
pop ecx
call fcn.005b1361
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x5cb30c
test al, 1
je 0x5cb30c
test byte [esp + 0xc], 2
je 0x5cb30c
call fcn.005b1374
mov dword [eax], 5
call fcn.005b1361
mov dword [eax], 0xd
jmp 0x5cb2dc
xor eax, eax
pop esi
ret
Function at 0x401020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0xc27060], 0x594
push edi
mov dword [ebp - 0xc], eax
jne 0x401060
push esi
lea ecx, [ebp - 0x82c]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push str.wabux
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x807f3c]
mov edx, dword [0x807f38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], edx
call fcn.00401010
mov edi, dword [ebp - 8]
mov ecx, dword [0x807f40]
mov edx, dword [0x807f44]
add edi, 0x23f
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x20
jmp 0x4010a2
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov ecx, dword [0xc27060]
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4010f9
push esi
lea eax, [ebp - 0x82c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x24]
push ecx
push esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc27060]
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401113
mov dword [0xc265fc], 0xedeb2e40
jmp 0x401121
cmp ecx, 0x3eb
jne 0x401121
mov dword [0xc25fb0], esi
mov ecx, dword [ebp - 8]
lea edx, [edi + ebx]
mov dword [ebp - 0x10], edx
mov edx, ebx
shr edx, cl
mov dword [0xc265f8], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0xc27060], 0xc
jne 0x40116d
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, edx
shr esi, cl
lea eax, [edi + edx]
xor dword [ebp - 4], eax
add esi, dword [ebp - 0x20]
cmp dword [0xc27060], 0x121
jne 0x4011ad
push str.ledolinosiwogula
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor eax, esi
sub ebx, eax
add edi, 0x61c88647
sub dword [ebp - 0x14], 1
mov dword [ebp - 4], eax
jne 0x4010a0
cmp dword [0xc27060], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jne 0x4011e5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401200
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc27060]
mov ecx, dword [0xc25fb4]
shr eax, 3
sub esp, 0x41c
test eax, eax
jbe 0x401308
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0xc27060], 0x959
jne 0x4012ee
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.kiyujiyelu
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0
push str.ribabacotecisuseyobowozic
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.abohaxezize
push str.ofipokuyitipi
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.yavub_socaxofuhod
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret