joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002d670
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov r9, r8
lea rcx, str.SearchCand
xor r8d, r8d
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x1801ebd34]
lea rcx, [rsp + 0x20]
lea r8d, [rax + 1]
call fcn.1800b5a54
lea r8, [rsp + 0x20]
lea rcx, str.SearchCand
mov r9, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret

Function at 0x18002efb0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rbx, vtable.CShareConfigManager.0
xor edi, edi
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002f010
lea ecx, [rdi + 8]
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002f006
mov qword [rax], rbx
jmp 0x18002f009
mov rcx, rdi
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0x65
lea r8d, [rdx - 0x64]
call qword [rax + 0x18]
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002f04c
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002f042
mov qword [rax], rbx
jmp 0x18002f045
mov rcx, rdi
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0x65
call qword [rax + 0x28]
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1800be330
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x18002f0ab
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002f0a1
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], edi
jmp 0x18002f0a4
mov rbx, rdi
mov qword [0x180278790], rbx
lea r8, [rbx + 0xc8]
cmp qword [r8 + 0x18], 8
jb 0x18002f0bc
mov r8, qword [r8]
lea r9, str.WnCore.exe
lea rdx, str._s_s_RunActivity
lea rcx, [rsp + 0x40]
call fcn.1800b5a54
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18002f0e0
test rax, rax
je 0x18002f122
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x18002f122
lea rcx, [rsp + 0x40]
call fcn.18000f6a0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x18003c180
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x230]
mov edx, 0x75
mov rax, qword [rcx]
call qword [rax]
mov ecx, 0x12
mov ebp, eax
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [rbp - 1]
shr eax, 0xf
not eax
and eax, 1
cmp ecx, 2
ja 0x18003c310
test eax, eax
je 0x18003c310
cmp dword [rdi + 0xb4], 0
jne 0x18003c310
mov qword [rsp + 0x48], rsi
lea rsi, [rdi + 0xf0]
lea rdx, [0x1801f3ee0]
mov rcx, rsi
xor r8d, r8d
call fcn.180005450
mov rcx, qword [rdi + 0x230]
mov edx, 0xf
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x18003c27a
mov rax, qword [rdi + 0x138]
mov qword [rsp + 0x50], r14
mov r14, qword [rax + 0x450]
test r14, r14
je 0x18003c262
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rbx
mov rbx, qword [r14]
mov rax, rcx
sub rax, rbx
sar rax, 7
test rax, rax
je 0x18003c25d
cmp rbx, rcx
je 0x18003c25d
nop
lea rdx, [rbx + 0x20]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rsi
call fcn.180004e80
sub rbx, 0xffffffffffffff80
cmp rbx, qword [r14 + 8]
jne 0x18003c240
mov rbx, qword [rsp + 0x40]
lea rdx, [rdi + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rsi
call fcn.180004e80
mov r14, qword [rsp + 0x50]
movzx eax, byte [rdi + 0x2f9]
movzx ecx, byte [rdi + 0x2f8]
and eax, 0x80
and ecx, 0x80
je 0x18003c299
test eax, eax
jne 0x18003c30b
cmp ebp, 1
je 0x18003c2b0
cmp ebp, 2
jne 0x18003c2a7
test ecx, ecx
jmp 0x18003c2ae
cmp ebp, 3
jne 0x18003c30b
test eax, eax
je 0x18003c30b
mov r8, qword [rsi + 0x10]
lea r9, [0x1801f3ee0]
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], 0
call fcn.18000a270
test eax, eax
je 0x18003c2f9
mov rcx, rdi
call fcn.1800490d0
mov edx, 1
mov rcx, rdi
call fcn.180048ab0
lea rdx, [0x1801f3ee0]
xor r8d, r8d
mov rcx, rsi
call fcn.180005450
mov rcx, qword [rdi + 0x240]
test rcx, rcx
je 0x18003c30b
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18003d230
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x230]
mov ebx, edx
mov rax, qword [rcx]
mov edx, 0x84
mov rbp, r8
call qword [rax + 0x88]
test eax, eax
je 0x18003d3ef
mov rcx, qword [rdi + 0x230]
mov edx, 0x85
mov qword [rsp + 0x58], rsi
mov rax, qword [rcx]
call qword [rax + 0x88]
movsxd rsi, eax
lea ecx, [rsi - 1]
cmp ecx, 0xb
ja 0x18003d3e8
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x18003d3e8
mov eax, 0xff
xor r8d, r8d
and bx, ax
cmp bx, 0x20
jne 0x18003d2c6
mov edx, r8d
jmp 0x18003d33e
cmp bx, 0xd
jne 0x18003d2d1
mov edx, r8d
jmp 0x18003d33e
lea eax, [rbx - 0x30]
cmp ax, 9
ja 0x18003d2e2
movzx edx, bx
sub edx, 0x2f
jmp 0x18003d33e
lea eax, [rbx - 0x41]
cmp ax, 0x19
ja 0x18003d2f3
movzx edx, bx
sub edx, 0x36
jmp 0x18003d33e
mov ecx, 0xba
movzx eax, bx
sub ax, cx
cmp ax, 5
ja 0x18003d30f
movzx edx, bx
sub edx, 0x95
jmp 0x18003d33e
mov ecx, 0xdb
movzx eax, bx
sub ax, cx
cmp ax, 3
ja 0x18003d32b
movzx edx, bx
sub edx, 0xaf
jmp 0x18003d33e
mov eax, 0xc0
cmp bx, ax
jne 0x18003d3e1
mov edx, 0x2b
cmp byte [rbp + 0x14], 1
movzx eax, byte [rbp + 0x10]
mov ecx, r8d
sete cl
shr eax, 7
xor ecx, eax
mov rcx, rsi
movsxd rax, edx
je 0x18003d371
imul rcx, rcx, 0x62
add rcx, rax
lea rax, [0x180000000]
movzx eax, word [rax + rcx*2 + 0x25dc00]
jmp 0x18003d387
imul rcx, rcx, 0x62
add rcx, rax
lea rax, [0x180000000]
movzx eax, word [rax + rcx*2 + 0x25e600]
mov ecx, 0x3000
cmp ax, cx
je 0x18003d3e1
xor ecx, ecx
mov word [rsp + 0x20], ax
mov qword [rsp + 0x22], rcx
mov word [rsp + 0x22], r8w
test ax, ax
je 0x18003d3bb
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], cx
jne 0x18003d3b1
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x20]
call fcn.180005450
mov rcx, rdi
call fcn.1800490d0
mov edx, 1
mov rcx, rdi
call fcn.180048ab0
mov eax, 1
jmp 0x18003d3ea
xor eax, eax
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180041470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x148]
movzx edi, dx
call fcn.180016980
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
jne 0x1800414b0
movzx edx, di
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180040540
mov qword [rsp + 0x30], rsi
cmp di, 0x3a
jne 0x180041509
mov rcx, qword [rbx + 0x230]
mov edx, 0x55
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180041509
cmp qword [rbx + 0x40], 8
lea rsi, [rbx + 0x28]
jb 0x1800414e0
mov rcx, qword [rsi]
jmp 0x1800414e3
mov rcx, rsi
call fcn.18001f860
test eax, eax
jne 0x180041502
cmp qword [rsi + 0x18], 8
jb 0x1800414f6
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.18001f410
test eax, eax
je 0x180041509
mov edx, 0x3a
jmp 0x18004152f
cmp dword [rbx + 0x48], 0
jle 0x18004154e
mov rcx, qword [rbx + 0x230]
mov edx, 0x55
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x18004154e
cmp di, 0x40
jne 0x18004154e
mov edx, 0x40
mov rcx, rbx
call fcn.180048980
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180044d90
mov rcx, qword [rbx + 0x230]
mov edx, 0x7d
mov rax, qword [rcx]
call qword [rax + 0x88]
test eax, eax
jne 0x1800415ca
lea eax, [rdi - 0x61]
cmp ax, 0x19
ja 0x180041592
movzx edx, di
mov rcx, rbx
call fcn.180048980
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180045380
lea eax, [rdi - 0x41]
cmp ax, 0x19
ja 0x1800415ca
mov rcx, qword [rbx + 0x230]
mov edx, 0xd
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x1800415ca
movzx edx, di
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180043940
movzx edx, di
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180040540
Function at 0x180042470
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
movzx edi, r8w
mov rbx, rcx
jne 0x18004249c
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
je 0x18004259d
mov rcx, qword [rbx + 0x230]
mov edx, 0x37
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042511
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x1800424bf
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x1800424e8
cmp dword [rbx + 0x1d0], 0
jne 0x1800424f2
mov edx, 0x2d
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180044c40
cmp dword [rbx + 0x48], 0
je 0x18004259d
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x1800425a0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800434c0
mov rcx, qword [rbx + 0x230]
mov edx, 0x3b
mov rax, qword [rcx]
call qword [rax]
lea rcx, [rbx + 8]
test eax, eax
je 0x180042586
cmp qword [rcx + 0x18], 8
jb 0x180042534
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
jne 0x1800424d1
cmp dword [rbx + 0xdc], eax
jne 0x18004259d
cmp dword [rbx + 0x214], 3
mov rcx, rbx
jl 0x180042572
mov dword [rbx + 0x214], eax
call fcn.180041b10
movzx r8d, di
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003d5e0
mov edx, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003df70
cmp qword [rcx + 0x18], 8
jb 0x180042590
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
jne 0x1800424d1
mov rcx, rbx
mov edx, 0x2d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180040540
Function at 0x1800425c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
movzx edi, r8w
mov rbx, rcx
jne 0x1800425ec
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
je 0x180042708
mov rcx, qword [rbx + 0x230]
mov edx, 0x37
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042696
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x180042613
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x18004266d
cmp dword [rbx + 0x1d0], 0
je 0x180042656
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
je 0x180042687
mov edx, 0x3d
call fcn.180040540
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x180042649
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042708
mov edx, 0x3d
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180044c40
cmp dword [rbx + 0x48], 0
je 0x180042708
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x18004270b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180043590
mov rcx, qword [rbx + 0x230]
mov edx, 0x3b
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x18004263b
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x1800426b9
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
jne 0x180042656
cmp dword [rbx + 0xdc], eax
jne 0x180042708
cmp dword [rbx + 0x214], 3
mov rcx, rbx
jl 0x1800426f7
mov dword [rbx + 0x214], eax
call fcn.180041b10
movzx r8d, di
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003d5e0
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003df70
mov rcx, rbx
mov edx, 0x3d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180040540

Function at 0x180042720
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rbx, rcx
jne 0x18004273e
mov edx, 0x27
add rsp, 0x20
pop rbx
jmp fcn.180040540
mov rcx, qword [rcx + 0x230]
mov edx, 0x77
mov rax, qword [rcx]
call qword [rax]
cmp eax, 2
jne 0x180042778
mov rcx, qword [rbx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp eax, 3
jl 0x180042778
mov edx, 3
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18003f170
mov r9d, dword [rbx + 0x4c]
mov r8d, 1
test r9d, r9d
jle 0x1800427aa
cmp qword [rbx + 0x20], 8
lea rdx, [rbx + 8]
jb 0x180042795
mov rdx, qword [rdx]
lea eax, [r9 - 1]
movsxd rcx, eax
xor eax, eax
cmp word [rdx + rcx*2], 0x27
cmove r8d, eax
test r9d, r9d
je 0x1800427e6
test r8d, r8d
je 0x1800427e6
mov edx, 0x27
mov rcx, rbx
call fcn.180048980
cmp dword [rbx + 0x218], 0
mov rcx, rbx
jle 0x1800427dc
call fcn.180047320
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1800478b0
add rsp, 0x20
pop rbx
jmp fcn.180045380
add rsp, 0x20
pop rbx
ret
Function at 0x1800427f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.18001f6b0
test eax, eax
je 0x18004282a
mov rcx, qword [rbx + 0x230]
mov edx, 0x77
mov rax, qword [rcx]
call qword [rax]
cmp eax, 2
jne 0x18004282a
mov rcx, qword [rbx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp eax, 1
jg 0x180042859
call fcn.18001f270
mov rcx, qword [rbx + 0x230]
mov edx, 0x77
test eax, eax
mov rax, qword [rcx]
call qword [rax]
cmp eax, 2
jne 0x18004286b
mov rcx, qword [rbx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp eax, 1
jle 0x18004286b
mov edx, 2
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18003f170
mov edx, 0x3b
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180040540

Function at 0x180042a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
movzx edi, r8w
mov rbx, rcx
jne 0x180042a88
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
je 0x180042af1
mov rcx, qword [rbx + 0x230]
mov edx, 0x38
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042b09
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x180042aab
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042adc
cmp dword [rbx + 0x1d0], 0
je 0x180042b95
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x180042af4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800434c0
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x180042af4
call fcn.1800434c0
test eax, eax
jne 0x180042afe
mov rcx, rbx
mov edx, 0x5b
call fcn.180040540
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x230]
mov edx, 0x3c
mov rax, qword [rcx]
call qword [rax]
lea rcx, [rbx + 8]
test eax, eax
je 0x180042b7e
cmp qword [rcx + 0x18], 8
jb 0x180042b2c
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
jne 0x180042b95
cmp dword [rbx + 0xdc], eax
jne 0x180042af1
cmp dword [rbx + 0x214], 3
mov rcx, rbx
jl 0x180042b6a
mov dword [rbx + 0x214], eax
call fcn.180041b10
movzx r8d, di
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003d5e0
mov edx, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003df70
cmp qword [rcx + 0x18], 8
jb 0x180042b88
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042af1
mov edx, 0x5b
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180044c40
Function at 0x180042bb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
movzx edi, r8w
mov rbx, rcx
jne 0x180042bdc
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
je 0x180042cd0
mov rcx, qword [rbx + 0x230]
mov edx, 0x38
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042c34
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x180042bff
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042c15
cmp dword [rbx + 0x1d0], 0
je 0x180042cb9
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x180042cd3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180043590
mov rcx, qword [rbx + 0x230]
mov edx, 0x3c
mov rax, qword [rcx]
call qword [rax]
lea rcx, [rbx + 8]
test eax, eax
je 0x180042ca6
cmp qword [rcx + 0x18], 8
jb 0x180042c57
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
jne 0x180042cb9
cmp dword [rbx + 0xdc], eax
jne 0x180042cd0
cmp dword [rbx + 0x214], 3
mov rcx, rbx
jl 0x180042c95
mov dword [rbx + 0x214], eax
call fcn.180041b10
movzx r8d, di
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003d5e0
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003df70
cmp qword [rcx + 0x18], 8
jb 0x180042cb0
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042cd0
mov edx, 0x5d
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180044c40
mov rcx, rbx
mov edx, 0x5d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180040540
Function at 0x180042cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
movzx edi, r8w
mov rbx, rcx
jne 0x180042d75
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
jne 0x180042d75
cmp dword [rbx + 0xc0], eax
je 0x180042da5
mov rcx, qword [rbx + 0x230]
mov edx, 0x53
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042da5
mov rcx, rbx
call fcn.18004aa60
test al, al
je 0x180042da5
lea rcx, [rbx + 0xf0]
lea rdx, [0x1801f3b30]
mov r8d, 1
call fcn.180005450
mov edx, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180048ab0
mov rcx, qword [rbx + 0x230]
mov edx, 0x39
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042dbd
cmp dword [rbx + 0x48], 0
je 0x180042da5
cmp dword [rbx + 0xdc], 0
mov rcx, rbx
jne 0x180042da8
call fcn.1800434c0
test eax, eax
jne 0x180042db2
mov rcx, rbx
mov edx, 0x2c
call fcn.180040540
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x230]
mov edx, 0x3d
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180042da5
cmp qword [rbx + 0x20], 8
lea rcx, [rbx + 8]
jb 0x180042de0
mov rcx, qword [rcx]
call fcn.18001b030
test eax, eax
je 0x180042e00
mov edx, 0x2c
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180044c40
cmp dword [rbx + 0xdc], 0
jne 0x180042da5
cmp dword [rbx + 0x214], 3
mov rcx, rbx
jl 0x180042e3a
mov dword [rbx + 0x214], 0
call fcn.180041b10
movzx r8d, di
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003d5e0
mov edx, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003df70

Function at 0x180044c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x1d0], 0
movzx edi, dx
mov rbx, rcx
mov dword [rcx + 0xd4], 1
jne 0x180044c8b
call fcn.180048980
cmp dword [rbx + 0x218], 0
mov rcx, rbx
je 0x180044ccf
call fcn.180047320
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800478b0
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
jle 0x180044cc1
cmp di, 0x31
jb 0x180044cc1
movzx edx, di
add eax, 0x30
cmp edx, eax
jg 0x180044cc1
add edx, 0xffffffd0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18003f170
movzx edx, di
mov rcx, rbx
call fcn.180048980
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180045380
Function at 0x18005d980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov r14, rcx
mov rdx, r8
mov rcx, rdi
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 0x42
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call fcn.1800b54c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdi, qword [rsp + 0x20]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x18005da95
lea rax, vtable.Gdiplus::Bitmap.0
lea rdx, [rsp + 0x58]
xor esi, esi
mov rcx, rdi
mov qword [rbx], rax
mov qword [rsp + 0x58], rsi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
lea rdx, [rsp + 0x58]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x58], esi
mov rcx, rax
mov qword [rbx + 8], rax
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x18005da63
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x58]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], esi
mov dword [r14], eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x18005da84
mov dword [rbx + 0x10], eax
mov ecx, dword [rsp + 0x58]
mov qword [r14 + 0x10], rbx
mov eax, 1
mov dword [r14 + 4], ecx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x18005dab0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x40
mov rax, rdx
xor r14d, r14d
mov rbx, rcx
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18005dbe3
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x60], r14d
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test eax, eax
je 0x18005dbde
cmp dword [rsp + 0x60], r14d
jne 0x18005dbde
mov ecx, esi
mov qword [rsp + 0x68], rbp
call fcn.1800b4760
lea r9, [rsp + 0x60]
mov r8d, esi
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x20], r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005dbd9
lea r8, [rsp + 0x70]
lea edx, [r14 + 1]
xor ecx, ecx
mov qword [rsp + 0x70], r14
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x18005dbd0
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x60]
mov rax, qword [rcx]
xor r9d, r9d
mov rdx, rbp
call qword [rax + 0x20]
test eax, eax
jne 0x18005dbbd
lea ecx, [rax + 0x18]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
test rax, rax
je 0x18005dbb6
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.18005dda0
jmp 0x18005dbb9
mov rax, r14
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbp
call fcn.1800bcdc8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18005dc0e
mov eax, dword [rcx + 0x10]
mov dword [rcx + 0x10], r14d
test eax, eax
je 0x18005dc19
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18005dc0a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x10], r14
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret
mov rdi, qword [rbx + 0x10]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], r14d
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x18005dc38
mov dword [rdi + 0x10], eax
mov eax, dword [rsp + 0x60]
mov rdi, qword [rbx + 0x10]
lea rdx, [rsp + 0x60]
mov dword [rbx], eax
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x60], r14d
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x18005dc5d
mov dword [rdi + 0x10], eax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 4], eax
mov eax, 1
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret