joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
movsx eax, byte [ebx]
push esi
push edi
push eax
call fcn.0054b1d4
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x19
ja 0x441ab2
push ebx
call fcn.0055f1a0
add esp, 4
test eax, eax
je 0x441ab2
push ebx
mov dword [ebp + 8], 0x14
call fcn.0055f1f0
add esp, 4
test eax, eax
je 0x441ab2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 5
je 0x441ad4
call edi
mov esi, eax
lea ecx, [ecx]
call fcn.0055f470
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x441a90
dec dword [ebp + 8]
js 0x441ab2
push ebx
call fcn.0055f1f0
add esp, 4
test eax, eax
jne 0x441a84
push 0
push ebx
call fcn.00580050
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x441acd
push esi
call fcn.005800a0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x441b20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
jne 0x441b5c
push 0x56
xor esi, esi
call fcn.00561090
add esp, 4
test eax, eax
je 0x441b63
push 0xa2
call fcn.0056106d
add esp, 4
test eax, eax
jne 0x441b5c
push 0xa3
call fcn.0056106d
add esp, 4
test eax, eax
je 0x441b63
pop esi
pop ebp
jmp 0x55d9d0
mov eax, esi
pop esi
pop ebp
ret
mov eax, dword [0x695670]
push esi
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x55d9f3
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
ret
Function at 0x464a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
call fcn.0055d770
mov esi, dword [ebp + 8]
cmp eax, dword [esi]
jl 0x464b68
call fcn.0055d770
add eax, 0x3e8
mov dword [esi], eax
call fcn.0040edc0
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x364]
push eax
call fcn.0057a0e0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x464b68
mov esi, dword [eax + 0x124]
push ebx
mov ebx, dword [eax + 0x128]
mov eax, dword [0x5b789c]
push edi
mov edi, dword [0x5b7898]
push 0x280
push eax
push edi
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.0048ad80
add esp, 0x14
test eax, eax
je 0x464aaf
mov ecx, dword [ebp + 8]
push ecx
push edi
call fcn.0046cdc0
add esp, 8
call fcn.00464a10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1900
jle 0x464ae4
mov edx, dword [ebp + 8]
push 0x1900
push edx
push edi
push ebx
push esi
call fcn.0048ad80
add esp, 0x14
test eax, eax
jne 0x464ae4
cmp esi, edi
setle al
dec eax
and eax, 0x80
jmp 0x464af3
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
push esi
call fcn.0057a730
add esp, 0x10
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
push 0x5000000
call fcn.0057aa40
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add ecx, ebx
add eax, esi
mov dword [ebp - 0xc], ecx
push 0
mov dword [ebp - 0x10], eax
sar ecx, 6
push ecx
sar eax, 6
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00403a40
add esp, 0x20
cmp eax, 0xffffffff
je 0x464b66
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x10]
push ecx
movzx ecx, byte [edx + 0x330]
movzx edx, ax
sar eax, 0x10
movzx eax, ax
push ecx
shl edx, 6
push edx
shl eax, 6
push eax
call fcn.004035a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
call fcn.0046cdc0
add esp, 0x18
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47ce90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0057c070
add esp, 4
test eax, eax
je 0x47d0e8
mov eax, dword [0x636f8c]
test eax, eax
je 0x47cec9
push eax
call fcn.0055ea20
add esp, 4
push ebx
push esi
push 0x9d02
call fcn.0055e950
mov esi, eax
push 0x9d02
push 0
push esi
mov dword [ebp - 0xd0], esi
mov dword [0x636f8c], esi
call fcn.00549550
push 1
push str.city_guard
call fcn.0057bdc0
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x47d0e1
push edi
jmp 0x47cf16
mov esi, dword [ebp - 0xd0]
push 0
push ebx
push 1
push str.city
call fcn.00483c50
add esp, 0x10
test eax, eax
je 0x47d0c8
mov ecx, eax
imul ecx, ecx, 0x9a
push 0x694c44
push ebx
lea esi, [ecx + esi - 0x9a]
push 1
push str.select_role
mov word [esi], ax
call fcn.0057be80
add esp, 0x10
test eax, eax
je 0x47cfa5
push 0xc8
lea edx, [ebp - 0xcc]
push 0
push edx
call fcn.00549550
push 8
lea eax, [ebp - 0xcc]
push eax
push 0x694c44
call fcn.00483e50
add esp, 0x18
cmp eax, 8
jg 0x47cfa5
xor ecx, ecx
test eax, eax
jle 0x47cfa5
lea edx, [esi + 2]
mov di, word [ebp + ecx*4 - 0xcc]
mov word [edx], di
inc ecx
add edx, 2
cmp ecx, eax
jl 0x47cf92
push 0x694c44
push ebx
push 1
push str.select_role2
call fcn.0057be80
add esp, 0x10
test eax, eax
je 0x47d013
push 0xc8
lea ecx, [ebp - 0xcc]
push 0
push ecx
call fcn.00549550
push 8
lea edx, [ebp - 0xcc]
push edx
push 0x694c44
call fcn.00483e50
add esp, 0x18
cmp eax, 8
jg 0x47d013
xor ecx, ecx
test eax, eax
jle 0x47d013
lea edx, [esi + 0x12]
jmp 0x47d000
mov di, word [ebp + ecx*4 - 0xcc]
mov word [edx], di
inc ecx
add edx, 2
cmp ecx, eax
jl 0x47d000
push 0x694c44
push ebx
push 1
push str.guard_data
xor edi, edi
call fcn.0057be80
add esp, 0x10
test eax, eax
je 0x47d0c8
add esi, 0x24
cmp edi, 6
jge 0x47d0c8
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00549550
push 6
lea ecx, [ebp - 0xcc]
push ecx
push 0x694c44
call fcn.00483e50
add esp, 0x18
cmp eax, 6
jne 0x47d0c8
mov dx, word [ebp - 0xcc]
mov word [esi - 2], dx
mov ax, word [ebp - 0xc8]
mov word [esi], ax
mov ecx, dword [ebp - 0xc4]
mov dword [esi + 2], ecx
mov edx, dword [ebp - 0xc0]
mov dword [esi + 6], edx
mov eax, dword [ebp - 0xbc]
push 0x694c44
inc edi
mov dword [esi + 0xa], eax
mov ecx, dword [ebp - 0xb8]
push ebx
lea edx, [edi + 1]
push edx
mov dword [esi + 0xe], ecx
push str.guard_data
add esi, 0x14
call fcn.0057be80
add esp, 0x10
test eax, eax
jne 0x47d035
push ebx
push str.city_guard
call fcn.0057be20
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47cf10
pop edi
call fcn.0057c260
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549540
mov esp, ebp
pop ebp
ret
Function at 0x51c9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x804]
push edx
call fcn.0054b360
lea eax, [ebp - 0x804]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x51ca21
mov cx, word [0x59d124]
mov dl, byte [0x59d126]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x804]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51ca45
mov ecx, dword [0x67338c]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x804]
push 1
push edx
call fcn.0054d1b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
call fcn.00549540
mov esp, ebp
pop ebp
ret

Function at 0x529860
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x52991a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x52991a
cmp byte [eax + 1], 0x64
jne 0x52991a
cmp byte [eax + 2], 0x6f
jne 0x52991a
cmp byte [eax + 3], 0x62
jne 0x52991a
cmp byte [eax + 4], 0x65
jne 0x52991a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x110], 1
mov byte [esi + 0x111], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x52b290
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x52b2c0
push esi
call fcn.0052b7a0
mov al, byte [esi + 0x48]
add esp, 4
test al, al
je 0x52b2b9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x52b346
mov eax, dword [esi + 0x198]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x52b32f
mov eax, dword [esi + 8]
test eax, eax
je 0x52b2e4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x198]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x52b32b
cmp eax, 2
je 0x52b32f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x52b2d7
cmp eax, 3
je 0x52b30a
cmp eax, 1
jne 0x52b2d7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x52b2d7
mov edx, dword [esi + 0x124]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x52b2d7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x84]
push esi
mov dword [esi + 0x8c], eax
call fcn.0052b380
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x52b366
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0052b380
add esp, 4
pop esi
ret
Function at 0x532950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x42c
push ebx
push ebp
mov eax, dword [esp + 0x438]
push esi
push edi
mov edi, dword [esp + 0x448]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x18], closesocket
lea ebp, [edi + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x444]
mov ebx, dword [esp + 0x1c]
lea edx, [edi + ebp]
mov dword [esp + 0x10], 0
sar edx, 1
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x44c]
lea esi, [ecx + ecx + 0x18]
lea edx, [edx + edx + 0x18]
sar esi, 1
sar edx, 1
test ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edx
jle 0x532b0b
mov eax, dword [eax + 0x7c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
jmp 0x5329e5
mov ecx, dword [esp + 0x444]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edx + ebx]
cmp eax, ecx
jge 0x532a2c
mov edx, eax
sub edx, ecx
shl edx, 1
imul edx, edx
add ecx, 0x18
sub eax, ecx
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [esi + ebx]
shl eax, 1
imul eax, eax
cmp ecx, edi
jge 0x532a48
mov esi, ecx
sub esi, edi
lea esi, [esi + esi*2]
mov ebx, esi
imul ebx, esi
add edx, ebx
sub ecx, ebp
jmp 0x532a5c
lea ebx, [ecx + 0x18]
cmp eax, ebx
jle 0x532a3e
mov edx, eax
sub edx, ebx
shl edx, 1
imul edx, edx
jmp 0x532a02
xor edx, edx
cmp eax, esi
jg 0x532a02
sub eax, ebx
jmp 0x532a04
cmp ecx, ebp
jle 0x532a97
mov esi, ecx
sub esi, ebp
lea esi, [esi + esi*2]
mov ebx, esi
imul ebx, esi
add edx, ebx
sub ecx, edi
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + 0x10]
mov esi, ecx
imul esi, ecx
add eax, esi
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [esi + ebx]
mov ebx, dword [esp + 0x44c]
cmp ecx, ebx
jge 0x532aa1
mov esi, ecx
sub esi, ebx
mov ebx, esi
imul ebx, esi
mov esi, dword [esp + 0x44c]
add edx, ebx
add esi, 0x18
sub ecx, esi
jmp 0x532ad2
cmp ecx, dword [esp + 0x30]
jg 0x532a5a
sub ecx, ebp
jmp 0x532a5c
lea esi, [ebx + 0x18]
cmp ecx, esi
mov dword [esp + 0x2c], esi
jle 0x532ac6
mov ebx, dword [esp + 0x2c]
mov esi, ecx
sub esi, ebx
mov ebx, esi
imul ebx, esi
mov esi, dword [esp + 0x44c]
add edx, ebx
sub ecx, esi
jmp 0x532ad2
cmp ecx, dword [esp + 0x34]
jg 0x532ad0
sub ecx, esi
jmp 0x532ad2
sub ecx, ebx
mov esi, ecx
imul esi, ecx
mov ecx, dword [esp + 0x14]
add eax, esi
mov dword [ecx], edx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge 0x532aeb
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
inc eax
add edx, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x5329da
xor eax, eax
xor ecx, ecx
test ebx, ebx
jle 0x532b34
mov esi, dword [esp + 0x450]
lea edx, [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ebp, dword [edx]
cmp ebp, edi
jg 0x532b2c
mov byte [eax + esi], cl
inc eax
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x532b1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret
Function at 0x5457f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00549540
mov esp, ebp
pop ebp
ret
Function at 0x545c70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x15fd3]
push edi
xor edi, edi
test eax, eax
jle 0x545d3f
push edi
push eax
mov eax, dword [esi]
lea ebx, [esi + 0x755d]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x545d07
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x545cf6
test byte [esi + 0xe], 4
je 0x545ccb
mov eax, dword [esi + 0x15fd7]
test eax, eax
jne 0x545cd2
mov ecx, dword [ebp + 0xc]
add ecx, 0xa
mov dword [esi + 0x15fd7], ecx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
cmp dword [ebp + 0xc], eax
jle 0x545ccb
push 0xff10000b
call fcn.00545880
add esp, 4
pop edi
pop esi
mov dword [0x693a90], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
push eax
call fcn.00545880
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
test byte [esi + 0xe], 4
je 0x545d17
mov dword [esi + 0x15fd7], 0
test edi, edi
je 0x545ccb
mov eax, dword [esi + 0x15fd3]
sub eax, edi
test eax, eax
jle 0x545d39
push eax
lea edx, [edi + esi + 0x755d]
push edx
push ebx
call fcn.00549780
add esp, 0xc
sub dword [esi + 0x15fd3], edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x549540
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5bb204]
jne 0x54954a
repz ret
jmp fcn.0054e6ae

Function at 0x558c5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00550325
and dword [ebp - 0x14], 0
cmp dword [0x6948dc], 0
mov dword [ebp - 0x18], eax
jne 0x558d0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x558db6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x558db6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x6948dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6948e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6948e4], eax
call edi
push eax
call esi
mov dword [0x6948ec], eax
test eax, eax
je 0x558d0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6948e8], eax
mov eax, dword [0x6948e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x558d67
cmp dword [0x6948ec], ecx
je 0x558d67
push eax
call esi
push dword [0x6948ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x558d67
test ebx, ebx
je 0x558d67
call edi
test eax, eax
je 0x558d5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x558d5e
test byte [ebp - 8], 1
jne 0x558d67
or dword [ebp + 0x10], 0x200000
jmp 0x558d9a
mov eax, dword [0x6948e0]
cmp eax, dword [ebp - 0x18]
je 0x558d9a
push eax
call esi
test eax, eax
je 0x558d9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x558d9a
mov eax, dword [0x6948e4]
cmp eax, dword [ebp - 0x18]
je 0x558d9a
push eax
call esi
test eax, eax
je 0x558d9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6948dc]
call esi
test eax, eax
je 0x558db6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x558db8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00549540
leave
ret

Function at 0x55d710
Capabilities:
Get common file path

Disassembly:
mov edx, dword [0x695644]
push 0x695544
or edx, 0x80000000
mov dword [0x695644], edx
call fcn.0055d690
push 0x695544
call fcn.005601b0
add esp, 8
push 0x695444
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x695444
call fcn.005601b0
pop ecx
ret
Function at 0x55da00
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x44
mov byte [eax], 0
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
cmp eax, 0x14
push edi
jle 0x55db6a
lea ecx, [esp + 0x30]
mov edi, 0x4e20
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x58]
xor edx, edx
mov eax, esi
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualQuery]
div dword [esp + 0x34]
sub esi, edx
lea edx, [esp + 0x14]
push 0x1c
push edx
push esi
call ebp
cmp eax, 0x1c
je 0x55da74
dec edi
test edi, edi
jle 0x55db6a
mov eax, dword [esp + 0x34]
sub esi, eax
cmp esi, eax
jbe 0x55db6a
lea eax, [esp + 0x14]
push 0x1c
push eax
push esi
call ebp
cmp eax, 0x1c
jne 0x55da4e
mov eax, dword [esp + 0x24]
cmp eax, 0x1000
je 0x55da93
cmp eax, 0x2000
je 0x55da93
cmp eax, 0x10000
jne 0x55da9b
mov ebx, dword [esp + 0x14]
jmp 0x55da97
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x55dab4
mov eax, dword [esp + 0x34]
sub esi, eax
cmp esi, eax
jbe 0x55db6a
dec edi
test edi, edi
jle 0x55db6a
jmp 0x55da3f
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x55db6a
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push 3
push ecx
push ebx
call ebp
test eax, eax
je 0x55db6a
mov eax, dword [esp + 0x64]
mov edi, 0x5bc8ac
test eax, eax
je 0x55daef
mov edi, str.Error_module:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x5c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x60]
mov edi, edx
not ecx
dec ecx
sub eax, ecx
or ecx, 0xffffffff
dec eax
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
push ebx
call ebp
mov edi, 0x5bc898
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x5c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret

Function at 0x55e410
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x55e431
ret
mov eax, dword [esp + 0xc]
ret

Function at 0x55e440
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x55e461
ret
mov eax, dword [esp + 0xc]
ret
Function at 0x55e4c0
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.0055e4a0
add esp, 4
pop esi
ret

Function at 0x55e590
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
xor esi, esi
test eax, eax
je 0x55e601
push edi
push 0x103
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0054c120
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov dl, byte [esp + ecx + 3]
lea eax, [esp + ecx + 4]
cmp dl, 0x3a
je 0x55e601
cmp ecx, 2
jle 0x55e5e5
cmp dl, 0x5c
jne 0x55e5e5
cmp byte [eax - 2], 0x3a
je 0x55e5e5
mov byte [eax - 1], 0
lea ecx, [esp + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x55e601
or eax, 0xffffffff
pop esi
add esp, 0x104
ret
mov eax, esi
pop esi
add esp, 0x104
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x55e77a
test al, 0x10
jne 0x55e77a
mov eax, 1
ret
xor eax, eax
ret

Function at 0x55ea60
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
lea eax, [esp]
mov dword [esp], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x28]
mov dword [ecx], edx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [edx], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
add esp, 0x20
ret

Function at 0x55f1a0
Capabilities:
Get disk information

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
or ecx, 0xffffffff
xor eax, eax
push esi
push edi
mov edi, edx
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jl 0x55f1e6
cmp byte [edx + 1], 0x3a
jne 0x55f1e6
mov cl, byte [edx]
mov eax, dword [0x5bce24]
lea edx, [esp + 8]
mov dword [esp + 8], eax
push edx
mov byte [esp + 0xc], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
mov eax, 1
je 0x55f1e8
mov eax, esi
pop edi
pop esi
add esp, 8
ret

Function at 0x55fd60
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [0x694b04]
test al, al
je 0x55fda8
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov eax, dword [0x695660]
test eax, eax
jne 0x55fd88
mov eax, dword [0x695670]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0055f470
push 0x30
push str.Message
push 0x694b04
call fcn.0055d8a0
add esp, 0xc
mov byte [0x694b04], 0
ret

Function at 0x560320
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [0x69571c]
push esi
lea esi, [eax + 1]
mov eax, dword [0x695718]
and esi, 0xff
cmp esi, eax
je 0x560367
xor ecx, ecx
push 1
mov cl, byte [esp + 0xe]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xffff
xor edx, edx
mov dl, byte [esp + 0xc]
mov dh, al
mov eax, dword [0x69571c]
mov dword [0x69571c], esi
mov word [eax*2 + 0x69a140], dx
pop esi
ret