joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435a80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b498
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004302c0
test eax, eax
je 0x435b88
lea ecx, [esp + 0xc]
call fcn.0040d7d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004302c0
mov ecx, eax
call fcn.0042d9b0
test eax, eax
je 0x435b6f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x435b6f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x435b6f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0040d9d0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x435b51
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x435b6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4d5be8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4a1c58
call fcn.0040d9d0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435be0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004302c0
test eax, eax
je 0x435ccf
mov ecx, edi
call fcn.004302c0
mov ecx, eax
call fcn.0042d860
test eax, eax
jne 0x435ccf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x435ccf
mov eax, dword [0x4d5be8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x435c42
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.004302c0
mov ecx, eax
call fcn.0042da90
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x435ccf
cmp ebx, eax
jne 0x435ccf
cmp dword [esp + 0x10], eax
jne 0x435cb5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x438940
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b728
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x438979
inc eax
mov dword [esi + 0x10], eax
jmp 0x438a8c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43898d
mov eax, 0xffffffc7
jmp 0x438a8e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43899e
cmp dword [esi + 8], eax
jne 0x43898d
cmp dword [esi + 8], eax
jne 0x4389b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4389b7
mov eax, 0xffffffc7
jmp 0x438a8e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4389cb
push eax
mov ecx, ebx
call fcn.00438170
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040d7d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4389fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040d7f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004378e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x438a2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a1c88
call fcn.0040d9d0
mov eax, dword [esp + 0x38]
jmp 0x438a8e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004387a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x438a73
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004387c0
mov esi, eax
test esi, esi
jne 0x438aa3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004387a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x438a45
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a1c88
call fcn.0040d9d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a1c88
call fcn.0040d9d0
mov eax, esi
jmp 0x438a8e

Function at 0x43d450
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43d4b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43d4b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43d4b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43d4b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43d4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x448ed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00495105
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00448830
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00495033
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00491925
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00491925
push 1
push 0
push 0
mov ecx, esi
call fcn.004918cd
push 1
push 0
push 1
mov ecx, esi
call fcn.004918cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00495177
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x449050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00495105
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00448830
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00495033
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x449114
cmp dword [esp + 0x40], 1
jne 0x449112
cmp ecx, eax
jge 0x449114
mov eax, ecx
cmp eax, 0xc8
jge 0x449120
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00448ed0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00495177
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x449920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c0e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048fd5f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004953ad
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004968c9
test eax, eax
je 0x449a3c
mov ecx, dword [esp + 0x3c]
call fcn.004953da
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449a00
push edi
mov ecx, esi
call fcn.00492a3b
mov ecx, esi
call fcn.00449be0
cmp dword [esp + 0x38], 1
jne 0x449a35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00492b76
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44bc30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44bc63
push esi
call fcn.00459ff0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44bc5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44bce9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44bcd2
mov eax, dword [esi + 8]
test eax, eax
je 0x44bc87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44bcce
cmp eax, 2
je 0x44bcd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44bc7a
cmp eax, 3
je 0x44bcad
cmp eax, 1
jne 0x44bc7a
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 0x44bc7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44bc7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044bd10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44bcf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044bd10
add esp, 4
pop esi
ret

Function at 0x44c590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44c5b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44c5b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44c5b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4698d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d8e10]
xor edx, edx
cmp eax, edx
jne 0x4698f6
xor eax, eax
mov byte [eax + 0x4d8d10], al
inc eax
cmp eax, 0x100
jl 0x4698de
mov dword [0x4d8e10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d8d10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x469987
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46995a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x469928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x469990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4699e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4699ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49c5ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00470cb0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4a581c
call fcn.0048e4f2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x470423
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048e4f2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47041c
push 0
mov ecx, eax
call fcn.00467500
mov dword [esi + 0xc], eax
jmp 0x470425
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x470425
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x490b3b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x490b73
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048ec0c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048ebe4
jmp 0x490b7f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x492229
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49226b
call fcn.00497bb3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49226b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x492262
xor eax, eax
jmp 0x492273
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00492279
pop edi
pop esi
pop ebx
ret 4
Function at 0x4980e3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x498111
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49812f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00498049
jmp 0x49812f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49812f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00498049
test edi, edi
mov eax, edi
jne 0x498119
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402310
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
neg ebx
mov eax, 0xb9
dec eax
neg eax
dec eax
bswap esi
rcr edi, 0xac
or edx, 0x23
bswap edx
inc esi
and edx, 0x87
ror edx, 0x3b
add esi, 0x50
inc ebx
sub eax, 0xfb
rcr ebx, 0xd1
add ebx, 0x70
neg ebx
sbb ebx, 0x3a
neg ebx
neg ebx
dec ebx
neg edi
neg esi
bswap ebx
rcr edx, 0x94
imul esi
rcr edx, 0xe1
bswap eax
inc edi
rcl esi, 0xb8
ror ebx, 0x82
sub edx, 0x7d
imul ebx
add eax, 0x11
add esi, 0x60
dec ebx
inc edx
rcl ebx, 0xb8
add edi, 0xb1
inc esi
imul edi
mov esi, 0xb9
not ebx
not edi
sbb esi, 0x11
rol esi, 0x1c
and edi, 0x35
dec ebx
ror esi, 0xc2
xor ecx, ecx
xor edi, edi
not ebx
and eax, 0x33
add ebx, 0x1f
imul edi
add esi, 0x8a
or edi, 0xa2
sub edx, 0xc7
sub ebx, 0xc2
add esi, 0x15
and eax, 0xc4
not edi
not eax
not ebx
not edx
sbb edi, 0xa8
not ebx
inc edx
not eax
rcl eax, 0xd7
neg esi
rcl eax, 0x8b
ror esi, 0x15
imul eax
dec esi
and eax, 0x45
sbb ebx, 0x69
dec edx
neg edx
or eax, 0xae
inc edi
imul ebx
sub esi, 0xce
and edx, 0x8e
bswap ebx
rol esi, 0xf9
not edi
sub eax, 0x88
sub ebx, 0xc5
sbb edx, 0xcb
neg esi
sub ebx, 0xd9
rol eax, 0xfa
not edx
dec edi
dec edx
not edx
inc eax
bswap eax
rcr esi, 0x1a
or esi, 0x37
mov ecx, dword [ebp + 0xc]
ror ebx, 0xc1
sub edi, 0xfb
neg ebx
mov edx, 0xdf
not edi
not eax
dec esi
dec esi
ror eax, 0x92
neg edi
inc ebx
or ebx, 0x47
or edi, 0x5b
inc esi
imul edi
bswap esi
neg ebx
rcr eax, 0xaa
or eax, 0xc5
not edi
rcl esi, 0x19
neg edx
not ebx
imul eax
rcr esi, 0xa1
inc eax
or eax, 0xa4
imul eax
imul eax
imul esi
not edi
rol edx, 0x11
or esi, 0x93
inc ebx
not esi
rcr edx, 0x94
sbb edi, 0x21
not esi
rcr esi, 0xe3
imul ebx
dec eax
not edx
rol esi, 0x40
not eax
rcl edx, 0x2a
sub eax, 0xb
add ebx, 0xed
rcl esi, 0x69
ror edi, 0xe7
neg ebx
mov edi, dword [ebp + 8]
mov eax, esi
xor eax, eax
mov ebx, eax
not byte [edi]
xor ebx, eax
mov esi, eax
mov eax, eax
mov eax, esi
xor esi, esi
mov ebx, esi
mov ebx, ebx
mov esi, eax
mov ebx, ebx
add byte [edi], 0x79
mov esi, esi
xor ebx, ebx
xor esi, eax
xor eax, ebx
xor ebx, esi
xor eax, eax
mov ebx, ebx
mov eax, eax
xor eax, eax
sub byte [edi], 0x30
mov ebx, eax
mov eax, ebx
xor eax, esi
mov eax, eax
mov esi, eax
mov eax, ebx
xor eax, ebx
xor ebx, esi
mov eax, eax
imul byte [edi]
inc edi
loop 0x4024c0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40542a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d094]
jne 0x405434
repz ret
jmp fcn.00409e06
Function at 0x40b60d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004083cf
and dword [ebp - 4], 0
cmp dword [0x46e614], 0
mov ebx, eax
jne 0x40b6be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b76f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b76f
push eax
call fcn.0040835d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46e614], eax
call esi
push eax
call fcn.0040835d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46e618], eax
call esi
push eax
call fcn.0040835d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46e61c], eax
call esi
push eax
call fcn.0040835d
pop ecx
mov dword [0x46e624], eax
test eax, eax
je 0x40b6be
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040835d
pop ecx
mov dword [0x46e620], eax
mov eax, dword [0x46e620]
cmp eax, ebx
je 0x40b716
cmp dword [0x46e624], ebx
je 0x40b716
push eax
call fcn.004083d8
push dword [0x46e624]
mov esi, eax
call fcn.004083d8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b716
test edi, edi
je 0x40b716
call esi
test eax, eax
je 0x40b70d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b70d
test byte [ebp - 0xc], 1
jne 0x40b716
or dword [ebp + 0x10], 0x200000
jmp 0x40b74f
mov eax, dword [0x46e618]
cmp eax, ebx
je 0x40b74f
push eax
call fcn.004083d8
pop ecx
test eax, eax
je 0x40b74f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b74f
mov eax, dword [0x46e61c]
cmp eax, ebx
je 0x40b74f
push eax
call fcn.004083d8
pop ecx
test eax, eax
je 0x40b74f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e614]
call fcn.004083d8
pop ecx
test eax, eax
je 0x40b76f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b771
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0x5f
pop ss
sub byte [esi], cl
retf 0x9e18
enter 0x7257, 0xffffffffffffff9e
call dword [edx - 0x4f629afd]
pushfd
invalid
mov dh, 0x9f
jb 0x403d38
xchg esi, eax
inc ebx
cmp edi, dword [ebx + 0x19ffd311]
xlatb
fidiv word [esi]
call 0x86296e2
pop esi
jae 0x403d4e
jg 0x403dad
cmp al, 0xb9
jecxz 0x403d86
pop esp
aam 0x92
cli
and bh, byte [ecx - 0x4b]
jns 0x403d3b
wait
mov dword [0x76904c68], eax
cmpsb byte [esi], byte es:[edi]
xchg edx, eax
sal dword [edx], 1
mov word [esi - 0x6c], cs
sbb eax, 0x5fc62ae6
sahf
lodsd eax, dword [esi]
pop eax
cmp dh, byte [esi - 0x77ad8890]
test al, 0xea
stc
aam 0xd7
mov ecx, 0xf4f28a80
in al, dx
add eax, esi
xor esp, dword [esi - 0x75]
lock xor esp, dword [esi - 0x75]
inc eax
or al, ah
sbb dword [eax + ebp], esi
in eax, dx
or al, ch
dec eax
ja 0x403d84
fnsave dword [ebx]
sub bl, 0xca
lds edi, [ebp + 0x73902f43]
fdivrp st(2)
outsd dx, dword [esi]
mov ebp, 0xa32b8e06
cmp ecx, dword [ebx - 0x55]
mov ah, 0x54
std
call 0x545721a0
in eax, 8
invalid