joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b2ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600d74
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
cmp esi, eax
je 0x5b30d7
test esi, esi
je 0x5b30d7
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5b30d7
cmp dword [ebp - 0x24], 0
je 0x5b30d7
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc570
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005dc030
push 0x629264
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
je 0x5b2fbc
mov eax, 0x4b50
lea ecx, [ebp - 0x20]
cmp word [ebp - 0x14], ax
sete bl
call fcn.005dc430
jmp 0x5b30e4
push 0x624cc4
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b3090
push 0x62926c
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b3090
push 0x624534
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b3090
push 0x625814
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
je 0x5b3025
mov eax, 0xcfd0
lea ecx, [ebp - 0x20]
cmp word [ebp - 0x14], ax
sete bl
call fcn.005dc430
jmp 0x5b30e4
push 0x629274
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b307a
push str.diagcab
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b307a
push 0x62928c
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
je 0x5b306e
mov eax, 0x7a37
lea ecx, [ebp - 0x20]
cmp word [ebp - 0x14], ax
sete bl
call fcn.005dc430
jmp 0x5b30e4
lea ecx, [ebp - 0x20]
mov bl, 1
call fcn.005dc430
jmp 0x5b30e4
mov eax, 0x534d
lea ecx, [ebp - 0x20]
cmp word [ebp - 0x14], ax
sete bl
call fcn.005dc430
jmp 0x5b30e4
mov eax, 0x5a4d
cmp word [ebp - 0x14], ax
je 0x5b306e
push 0x624cc4
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
je 0x5b30cb
mov eax, 0x4b50
cmp word [ebp - 0x14], ax
jne 0x5b30cb
mov ecx, edi
call fcn.005e0e70
test edx, edx
jl 0x5b30cb
jg 0x5b306e
cmp eax, 0x1e00000
ja 0x5b306e
lea ecx, [ebp - 0x20]
xor bl, bl
call fcn.005dc430
jmp 0x5b30e4
xor al, al
cmp esi, 0xffffffff
je 0x5b30ed
xor bl, bl
test esi, esi
je 0x5b30eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5b3fc0
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600e94
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x4c], xmm0
call fcn.005dc570
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_124.0.0.0_Safari_537.36
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.005dc570
push 1
push str.https:__www.google.com_search
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.005dc570
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x5b3c20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
je 0x5b407a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
call fcn.005d8ff0
test al, al
jne 0x5b406d
push 5
call edi
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x5b4060
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
cmp esi, 0xffffffff
je 0x5b409b
test esi, esi
je 0x5b409b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
Function at 0x5b40e0
Capabilities:
Create thread
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x90
mov ebx, edx
mov edi, ecx
call fcn.0041e3d6
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
lea ecx, [esi + 0x54]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
call fcn.005dc5e0
lea ecx, [esi + 0x60]
call fcn.005dc5e0
lea ecx, [esi + 0x6c]
call fcn.005dc5e0
lea ecx, [esi + 0x78]
call fcn.005dc5e0
lea ecx, [esi + 0x84]
call fcn.005dc5e0
push 0x44
push 0
push esi
call fcn.00420090
add esp, 0xc
lea ecx, [esi + 0x6c]
push edi
call fcn.005dc510
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
push ebx
mov dword [esi + 0x24], eax
call fcn.005dc510
lea ecx, [esi + 0x60]
call fcn.005dc3a0
test eax, eax
je 0x5b41f0
lea ecx, [esi + 0x60]
call fcn.005da040
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x78]
mov dword [esi + 0x28], eax
call fcn.005dc510
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_124.0.0.0_Safari_537.36
lea ecx, [esi + 0x84]
call fcn.005dc510
push 0
push 0
push esi
push 0x5b3310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x5b4296
lea ecx, [esi + 0x84]
call fcn.005dc430
lea ecx, [esi + 0x78]
call fcn.005dc430
lea ecx, [esi + 0x6c]
call fcn.005dc430
lea ecx, [esi + 0x60]
call fcn.005dc430
lea ecx, [esi + 0x54]
call fcn.005dc430
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x5b426d
push eax
call fcn.0041e1c3
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x5b427d
push eax
call fcn.0041e1c3
add esp, 4
push 0x90
push esi
call fcn.0041e7c1
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x5b42cb
xor edx, edx
mov ecx, eax
call fcn.005cca30
test al, al
je 0x5b42cb
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
call fcn.005d8ff0
test al, al
jne 0x5b42bd
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.005cca30
test al, al
jne 0x5b42b0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5b62b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.005b6bd0
mov dword [ebp - 8], eax
test eax, eax
je 0x5b633e
mov ecx, dword [esi + 0x2e8]
test ecx, ecx
je 0x5b6332
push 0
call fcn.005c5730
mov edi, eax
mov byte [ebp - 1], 0
mov ebx, edi
test edi, edi
je 0x5b630c
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x5b630c
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov edx, edi
push 0
call fcn.005d3010
mov byte [ebp - 1], al
push 1
push 5
lea ecx, [esi + 0x78]
call fcn.005c3f80
cmp byte [ebp - 1], 0
je 0x5b633e
push 6
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 5
lea ecx, [esi + 0x78]
call fcn.005c3f80
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5b7280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60113a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov eax, dword [ebp + 8]
je 0x5b7404
cmp dword [esi], 1
jl 0x5b7404
cmp eax, 0xfffffffe
jg 0x5b7404
cmp dword [esi + 4], 2
jne 0x5b72d6
cmp eax, dword [esi + 8]
je 0x5b7404
mov ecx, 0xffffff9c
lea ebx, [esi + 0x3c]
cmp eax, ecx
cmovge ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
je 0x5b7324
test ecx, ecx
je 0x5b7324
xor edx, edx
mov dword [esi + 0x34], 1
call fcn.005cca30
test al, al
je 0x5b7324
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x1e
call edi
mov ecx, dword [ebx]
xor edx, edx
call fcn.005cca30
test al, al
jne 0x5b7310
lea ebx, [esi + 0x3c]
mov ecx, dword [esi + 0xc]
mov edx, ecx
push dword [esi + 0x18]
call fcn.005d1ee0
push eax
lea ecx, [ebp - 0x10]
call fcn.005c6510
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push eax
push dword [ebp - 0x10]
push 0
push dword [esi]
call fcn.005bdc60
push dword [esi]
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x20]
call fcn.005c5730
mov edx, dword [esi + 0x18]
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
push 0
movzx eax, dl
and edx, 0xff00
shl eax, 0x10
push 0
or ecx, eax
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xc]
or ecx, edx
push edi
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
push 0x5c68f0
push 0
neg eax
mov dword [esi + 0x28], ecx
push 0
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx]
mov edi, eax
cmp ecx, 0xffffffff
je 0x5b73c5
test ecx, ecx
je 0x5b73c5
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], edi
test edi, edi
jne 0x5b73d1
mov dword [ebx], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
push 0
mov dword [esi + 4], 2
mov dword [esi + 8], eax
call fcn.005c5730
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5b73fc
test eax, eax
je 0x5b73fc
mov ecx, dword [edx]
push 1
push eax
push edx
call dword [ecx + 0x28]
lea ecx, [ebp - 0x10]
call fcn.005c6500
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5b8420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601202
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
lea ecx, [esi + 0x30]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xfff0f0ff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xc
mov dword [esi + 0x2c], 0
call fcn.005c6300
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x2a0], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005b79d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20

Function at 0x5b8920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push SysReAllocString
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x5b8962
or esi, 0xffffffff
xor bl, bl
jmp 0x5b89a8
cmp esi, 0xffffffff
jne 0x5b896b
xor bl, bl
jmp 0x5b89a8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push str.IMAGE
push ebx
push edi
call fcn.005b8ba0
test eax, eax
je 0x5b89b3
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x5b89b3
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
cmp esi, 0xffffffff
je 0x5b89bc
test esi, esi
jne 0x5b89b5
jmp 0x5b89bc
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5ba150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x5ba162
mov esi, dword [edi + 0x40]
push esi
call fcn.005bc180
test al, al
je 0x5ba19a
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
cmp dword [eax + ecx*8], 0x1d
jne 0x5ba19a
push 0xf000
push dword [ebp + 0xc]
push 0x1127
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
pop edi
and al, 1
pop esi
pop ebp
ret 8
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x5bb420
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp esi, 0xffffffff
jne 0x5bb432
mov esi, dword [ebx + 0x40]
push esi
call fcn.005bc180
test al, al
jne 0x5bb444
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 0x3c]
lea ecx, [esi + esi*8]
shl ecx, 3
push edi
mov dword [ebp + 8], ecx
cmp dword [eax + ecx], 0xf
jne 0x5bb4a7
push 0
push 0
push 0x1004
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x5bb4a7
lea ecx, [edi - 1]
cmp ecx, 0xffffffff
jl 0x5bb4a7
xor esi, esi
test edi, edi
jle 0x5bb4a7
nop
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp + 8]
push 0xf000
push esi
push 0x102c
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x5bb4b1
inc esi
cmp esi, edi
jl 0x5bb480
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5bc780
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x5bc793
mov esi, dword [edi + 0x40]
push esi
call fcn.005bc180
test al, al
je 0x5bc825
mov eax, dword [edi + 0x3c]
lea ebx, [esi + esi*8]
cmp dword [eax + ebx*8], 0x1c
mov ecx, dword [eax + ebx*8 + 4]
jne 0x5bc7e5
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push ecx
call esi
cmp eax, 0xffffffff
je 0x5bc825
push dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0x3c]
push 0x433
push dword [eax + ebx*8 + 4]
call esi
pop edi
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x5bc825
mov eax, dword [edi + 0x3c]
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x5bc825
push 2
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
sub dword [esi + 8], eax
mov eax, dword [esi + 4]
sub dword [esi + 0xc], eax
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
Function at 0x5bcaf0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3fc
mov eax, dword [0x70f200]
xor eax, esp
mov dword [esp + 0x3f8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0xc], eax
cmp edi, 0xffffffff
jne 0x5bcb21
mov edi, dword [esi + 0x40]
push edi
call fcn.005bc180
test al, al
je 0x5bccd1
mov eax, dword [esi + 0x3c]
lea ebx, [edi + edi*8]
cmp dword [eax + ebx*8], 0x26
jne 0x5bcbcc
push 0x3ac
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00420090
mov eax, dword [esi + 0x230]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], 0x3bc
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 4
call fcn.005d8c40
mov edx, 0x7f
cmp eax, edx
cmovg eax, edx
push eax
push ecx
lea eax, [esp + 0x60]
push 0x80
push eax
call fcn.00421833
add esp, 0x10
mov dword [esp + 0x360], 3
lea eax, [esp + 0x40]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x238], 0
jne 0x5bcbe2
call fcn.005b9090
test al, al
je 0x5bccd1
mov ecx, dword [esi + 0x3c]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0x30
mov eax, dword [ecx + ebx*8 + 4]
mov dword [esp + 0x18], eax
lea eax, [ecx + ebx*8]
cmp dword [ecx + ebx*8], 0x1c
jne 0x5bcc67
push 0
push edi
push 0x419
mov dword [esp + 0x20], 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x5bccd1
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esi + 0x3c]
push 0x41d
push dword [eax + ebx*8 + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
test eax, eax
je 0x5bccd1
mov dword [esp + 0x1c], edi
jmp 0x5bcc7c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], 0x11
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
push dword [ebp + 0x14]
push 0
push 0x418
push dword [esi + 0x238]
call ebx
mov eax, dword [esi + 0x11c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x432
push dword [esi + 0x238]
mov dword [esp + 0x44], ecx
call ebx
cmp eax, 1
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x404]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c5b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601618
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x230]
test edx, edx
jne 0x5c5b6e
xor al, al
jmp 0x5c5ce7
push 4
call fcn.005c61d0
test al, al
jne 0x5c5b92
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5c5b92
push 0
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc5e0
push 0x104
push 0
push 0
push 0x104
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.005db9a0
push eax
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x5c5be0
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc4c0
cmp dword [esi + 0x3c], 0
je 0x5c5bf8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x5c5bf8
push ecx
push eax
push 1
mov ecx, esi
call fcn.005bf290
mov eax, dword [esi + 0x238]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x5c5c0b
push eax
call ebx
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c5c18
push eax
call ebx
mov eax, dword [esi + 0x1fc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x5c5c34
cmp dword [esi + 0x204], 4
je 0x5c5c34
push eax
call edi
mov eax, dword [esi + 0x200]
test eax, eax
je 0x5c5c41
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x5c5c4e
push eax
call edi
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x5c5c5f
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x26c]
test eax, eax
je 0x5c5c70
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 0x244]
test eax, eax
je 0x5c5c81
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov edx, dword [esi + 0x230]
mov ecx, esi
push 4
call fcn.005c61d0
test al, al
jne 0x5c5cc7
push edx
call ebx
push 2
mov ecx, esi
call fcn.005c61d0
test al, al
jne 0x5c5cd4
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
test eax, eax
je 0x5c5cd4
push dword [esi + 0x11c]
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x5c5cd4
push esi
push 0x5c84e0
push edx
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
push 0
mov ecx, esi
call fcn.005b8ce0
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5c6610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0
push SysReAllocString
push 2
push 0
push 1
push 0xc0000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x5c664e
or esi, 0xffffffff
xor bl, bl
jmp 0x5c6696
cmp esi, 0xffffffff
jne 0x5c6657
xor bl, bl
jmp 0x5c6696
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xa
mov edx, 0xf5
mov ecx, edi
call fcn.005c6890
test eax, eax
je 0x5c66a1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x5c66a1
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
cmp esi, 0xffffffff
je 0x5c66aa
test esi, esi
jne 0x5c66a3
jmp 0x5c66aa
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8

Function at 0x5c6c50
Capabilities:
Create thread

Disassembly:
test ecx, ecx
jne 0x5c6c57
xor al, al
ret
push 0
push 0
push 0
call fcn.005c5730
push eax
push 0x5c6c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov cl, 1
test eax, eax
je 0x5c6c86
cmp eax, 0xffffffff
je 0x5c6c86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, 1
mov al, cl
ret