joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443970
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4439a3
push esi
call fcn.00446a80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44399c
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 0x443a29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443a12
mov eax, dword [esi + 8]
test eax, eax
je 0x4439c7
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 0x443a0e
cmp eax, 2
je 0x443a12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4439ba
cmp eax, 3
je 0x4439ed
cmp eax, 1
jne 0x4439ba
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 0x4439ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4439ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443a50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443a38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443a50
add esp, 4
pop esi
ret

Function at 0x453bf0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5d7388]
sub esp, 0x310
test eax, eax
push esi
je 0x453c1d
push eax
lea eax, [esp + 8]
push 0x5b98e0
push eax
push 0xe6
call fcn.00452ba0
add esp, 0x10
jmp 0x453ca3
call fcn.00453710
test eax, eax
je 0x453c5c
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10c]
push edx
call fcn.00453150
mov esi, eax
add esp, 4
test esi, esi
jne 0x453c85
mov eax, 7
pop esi
add esp, 0x310
ret
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10c]
push edx
call fcn.00453120
mov esi, eax
add esp, 4
test esi, esi
je 0x453c4f
push esi
lea eax, [esp + 8]
push 0x5b98e0
push eax
push 0xe6
call fcn.00452ba0
push esi
call fcn.004ab80e
add esp, 0x14
lea ecx, [esp + 4]
push ecx
call fcn.00452dc0
add esp, 4
test eax, eax
jbe 0x453cc2
lea ecx, [esp + 4]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x453cc2
dec eax
jne 0x453cb9
push ebx
mov byte [esp + eax + 8], 0
mov eax, dword [esp + 0x31c]
lea edx, [esp + 8]
push edi
mov edi, dword [esp + 0x324]
push edx
push str._setilqs_
add eax, 0xffffffe2
push edi
push eax
call fcn.00452ba0
push edi
call fcn.00452dc0
mov esi, eax
lea ecx, [esi + edi]
push ecx
push 0x14
call fcn.00452c00
add esp, 0x1c
mov ecx, 0x14
xor eax, eax
xor edx, edx
mov al, byte [esi + edi]
mov ebx, 0x3e
div ebx
inc esi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi - 1], dl
jne 0x453d06
mov byte [esi + edi], 0
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x310
ret
Function at 0x458300
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
push edi
mov ebp, dword [esi + 0x5c]
cmp ebx, ebp
jle 0x4583de
mov cl, byte [esi + 6]
test cl, cl
je 0x4583de
mov ecx, dword [esi + 0x58]
mov eax, ebx
shl eax, 5
push eax
push ecx
call fcn.00451a00
mov edx, eax
add esp, 8
test edx, edx
jne 0x458346
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
mov ecx, ebx
mov eax, ebp
sub ecx, ebp
shl eax, 5
shl ecx, 5
mov ebx, ecx
lea edi, [eax + edx]
xor eax, eax
mov dword [esp + 0x14], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
jge 0x4583d5
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
je 0x4583a4
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x4583a4
jg 0x45839c
test ecx, ecx
jbe 0x4583a4
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x4583b1
mov ecx, dword [esi + 0x70]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x30]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.004557e0
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x45833c
inc ebp
add edi, 0x20
cmp ebp, ebx
jl 0x45837e
push esi
call fcn.00457fa0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466040
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.004661d0
mov ebx, eax
xor eax, eax
mov ax, word [esi + 0xc]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x10]
mov dl, byte [esi + 5]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ax, word [ecx + 0x18]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x28], ebx
mov cl, byte [edx + ebp + 6]
add esp, 4
mov edi, ecx
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x28], edx
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x1c], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, eax
and ecx, 3
mov dword [esp + 0x20], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x466165
mov edx, dword [esp + 0x14]
lea esi, [edx + ebp]
mov dword [esp + 0x10], esi
jmp 0x4660da
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov ch, byte [esi]
mov cl, byte [esi + 1]
mov edi, ecx
cmp edi, eax
jge 0x4661c2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea esi, [edi + edx]
push esi
push eax
call fcn.004654f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
and eax, 0xffff
add esp, 8
sub ebx, eax
lea ecx, [ecx + edx*2]
cmp ebx, ecx
jl 0x4661c2
lea ecx, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp ecx, edi
jg 0x4661c2
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x10], eax
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x4660d2
mov edx, dword [esp + 0x28]
mov eax, ebx
mov ecx, dword [esp + 0x14]
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov byte [edx + ebp + 7], 0
mov edx, dword [esp + 0x18]
xor eax, eax
lea edx, [ecx + edx*2]
sub ebx, edx
mov ecx, ebx
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop esi
mov ax, word [ecx + 0xe]
pop ebp
mov edx, eax
mov eax, ebx
sub eax, edx
pop ebx
neg eax
sbb eax, eax
and eax, 0xb
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x1c
ret
Function at 0x467600
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebp
push esi
push 0
mov ebp, dword [eax + 0x58]
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + 0x3c]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x2c], esi
call fcn.00459bc0
add esp, 0x14
test eax, eax
jne 0x46779c
mov ecx, dword [ebp + 0x40]
mov ax, word [esi + 0x18]
push ebx
xor ebx, ebx
mov bl, byte [ebp + 5]
mov dword [esp + 0x14], ecx
push edi
xor edi, edi
lea esi, [ebx + ecx]
mov ecx, dword [esp + 0x10]
mov di, word [ebp + 0xc]
xor edx, edx
mov ecx, dword [ecx + 0x40]
mov dh, byte [esi + 5]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cx, word [ebp + 0x10]
mov dl, byte [esi + 6]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x14]
sub ecx, ebx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, edx
lea esi, [edx + eax]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx]
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]
mov eax, dword [esp + 0x10]
push eax
call fcn.004597a0
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x46778b
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [ebp + 1]
lea esi, [ebp + 0x14]
shl ecx, 3
mov eax, ecx
lea edi, [edx + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov cl, byte [ebp + 1]
mov byte [edx + 1], cl
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], bl
je 0x4676f3
mov word [eax + 0xe], bx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xfffffff7
push ecx
push ebp
call fcn.00458810
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x40]
xor eax, eax
push edx
mov al, byte [ebp + 5]
lea edx, [eax + ecx + 8]
push edx
call fcn.00457650
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x13], bl
je 0x467762
mov ecx, dword [ebp + 0x48]
mov edx, dword [esp + 0x10]
push ecx
push 5
mov ecx, dword [edx + 0x48]
push ecx
push eax
call fcn.00459190
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x467757
mov edx, dword [esp + 0x10]
push edx
call fcn.00459240
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x467762
mov eax, dword [esp + 0x10]
cmp esi, ebx
mov byte [eax + 1], bl
jne 0x46778b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
inc word [eax + 0x54]
mov dword [eax + 0x5c], ecx
mov word [eax + 0xa8], bx
call fcn.00466380
add esp, 4
mov esi, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.00458680
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x46ac90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
test eax, eax
jg 0x46acad
push edi
call fcn.00452dc0
add esp, 4
test eax, eax
jle 0x46acc8
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
mov dl, byte [ecx + 0x4d565c]
lea ecx, [esi*8]
xor edx, ecx
xor esi, edx
inc edi
dec eax
jne 0x46acad
mov eax, esi
pop edi
and eax, 0x7fffffff
pop esi
ret
Function at 0x478330
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x478341
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ebx, dword [esp + 0x10]
push 0x44
push ebx
call fcn.00451b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x47835a
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi]
push eax
push ebx
call fcn.00478230
mov dword [esi], eax
mov ecx, dword [edi + 8]
push ecx
push ebx
call fcn.00478410
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
push edx
push ebx
call fcn.00478180
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebx
call fcn.00478230
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebx
call fcn.00478180
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebx
call fcn.00478230
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 0x1c]
push ecx
push ebx
call fcn.00478330
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x28]
push edx
push ebx
call fcn.00478180
add esp, 0x40
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
call fcn.00478180
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov cx, word [edi + 6]
add esp, 8
or eax, 0xffffffff
and ecx, 0xfff7
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov word [esi + 6], cx
mov dword [esi + 0x24], 0
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x497fb0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x498053
test eax, eax
jbe 0x498053
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x498053
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x497ffe
xor esi, esi
jmp 0x498004
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x49802f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0049b8f0
add esi, eax
push esi
mov ebx, esi
call fcn.0049b8f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x498010
pop ebp
test edi, edi
pop edi
jne 0x498053
test ebx, ebx
je 0x498053
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ab710
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x498195
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4982ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4982ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004bfbd0
mov esi, eax
test esi, esi
je 0x4982ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4982ad
mov ecx, esi
call fcn.00498100
cmp edi, eax
jge 0x4982ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x498233
mov dword [esp + 0x34], 1
jmp 0x49828e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4982ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00497610
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x49ba50
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x49bab6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x49bab6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49ba97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x49be40
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49be78
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x49cb00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x49cb49
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x49cfc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cccb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0049cb70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0049cbf0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0049cbf0
lea ecx, [esi + 0xc]
call fcn.004be130
lea ecx, [esi + 0x10]
call fcn.004be130
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0049e190
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0049e190
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0049e190
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004be1a5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004be1a5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c0573
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c05ab
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.004be600
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004be5d8
jmp 0x4c05b7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c1c66
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 0x4c1ca8
call fcn.004c79de
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c1ca8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c1c9f
xor eax, eax
jmp 0x4c1cb0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c1cb6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c7f0e
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 0x4c7f3c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c7f5a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c7e74
jmp 0x4c7f5a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c7f5a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c7e74
test edi, edi
mov eax, edi
jne 0x4c7f44
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4943b0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x61c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, dword [esp + 0x634]
mov esi, dword [esp + 0x630]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4944ad
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x494400
mov ecx, dword [esp + 0x10]
push 0x65d4a8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x49441e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
push ebp
mov ebx, eax
call edi
cmp ebx, eax
jne 0x4944ad
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
lea edx, [esp + 0x21c]
push edx
push 0xffffffffffffffff
mov edi, eax
push esi
push 1
push edi
call ebx
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push esi
push 4
push edi
call ebx
lea ecx, [esp + 0x424]
push ecx
push 0xffffffffffffffff
push ebp
push 1
push edi
call ebx
cmp word [esi], 0
mov eax, esi
je 0x49449b
xor ecx, ecx
mov dl, pe_nt_image_headers32
test byte [esp + ecx + 0x14], dl
je 0x49448f
mov si, word [esp + ecx + 0x21c]
cmp si, word [esp + ecx + 0x424]
jne 0x4944ad
add eax, 2
add ecx, 2
cmp word [eax], 0
jne 0x494477
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret 8
Function at 0x402b18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x402b27
pop dword [ebp - 0x3c]
mov eax, 0x753df566
sub eax, 0x74fdca3f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x49c085bc
sub dword [ebp - 0x4c], 0xfb6e4071
mov dword [ebp - 0x48], 0xb8e8bbf5
sub dword [ebp - 0x48], 0x86b56fb0
mov dword [ebp - 0x44], 0xe782e8a
sub dword [ebp - 0x44], 0xc22bea5c
mov dword [ebp - 0x40], 0xf38f9178
sub dword [ebp - 0x40], 0xf38f9178
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xa349eafa
sub eax, 0xa307ba86
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc94e9817
add dword [ebp - 0x4c], 0xab23d13f
mov dword [ebp - 0x48], 0xf8bd875e
sub dword [ebp - 0x48], 0xb75125e9
mov dword [ebp - 0x44], 0x1f8ab92d
sub dword [ebp - 0x44], 0xbc1b4cc1
mov dword [ebp - 0x40], 0x1aafeb4f
add dword [ebp - 0x40], 0xe55014b1
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xb5670a96
add eax, 0x4adb268e
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d354
push 0
call eax
mov ecx, 0x4602
xor edi, edi
add edi, eax
mov ebx, 0x76fdc76f
add ebx, 0x89457c91
add ebx, dword [ebp - 0x3c]
mov edx, 0xf1e80cc8
add edx, 0x6941c986
add dword [ebp - 0x14], 0xa28e165f
mov esi, dword [ebx]
xor dword [ebp - 0x20], eax
sub esi, edx
xor dword [ebp - 0x20], 0xa7427aaa
mov dword [edi], esi
xor dword [ebp - 4], ebx
add edi, 4
add ebx, 4
loop 0x402c45
add eax, 0xccd4fa9
add eax, 0xf333bb32
xor ebx, ebx
add ebx, eax
add eax, 0xb2a5e29f
sub eax, 0xb2a5e29a
mov ecx, 0x858c718a
sub ecx, 0x854c718a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x408919
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
sub edx, eax
inc eax
call fcn.0040893b
xor dword [ecx], ebx
inc edx
inc ecx
sub eax, 0x3bed33dc
cmp ecx, edi
jne fcn.00408919
add edx, 0xef9c1c4d
ret