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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4faa80]
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 [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
cmp byte [edx], 0
mov byte [ebp - 0x70], 0
jne 0x44724e
xor ecx, ecx
jmp 0x44725c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447253
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00433940
cmp byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x447288
xor ecx, ecx
jmp 0x447299
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447290
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00433940
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00448300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00448300
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4472d0
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push dword [ebp + 0x10]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x2c], 8
mov esi, eax
jb 0x447305
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x44732a
push dword [ebp - 0x58]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x44734f
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x447372
push dword [ebp - 0x70]
call fcn.004ade67
add esp, 4
mov eax, esi
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.004ae734
mov esp, ebp
pop ebp
ret 0xc
Function at 0x454d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x454d9f
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4cd308
push edx
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x454d9f
lea eax, [ebp - 0x104]
push eax
call fcn.004b062f
fstp dword [ebp - 0x108]
fld dword [ebp - 0x108]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
fld dword [ebp + 0x14]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10

Function at 0x454dc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x454e23
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4cd308
push edx
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x454e23
lea eax, [ebp - 0x104]
push eax
call fcn.004b0640
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10

Function at 0x454e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x458], 0
lea ecx, [eax + 0x458]
push esi
je 0x454e79
push ecx
push 0x100
lea esi, [eax + 0x22c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov eax, esi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
add eax, 0x22c
mov esi, eax
sub esi, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], dl
test dl, dl
jne 0x454e85
pop esi
pop ebp
ret 0x10
Function at 0x455ac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0xa38]
test edi, edi
je 0x455b9c
test eax, eax
je 0x455aef
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [esi + 0xa38], 0
mov eax, dword [esi]
lea ebx, [esi + 0xa3c]
push ebx
push edi
push esi
call dword [eax + 0x5c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [esi + 0xa38], eax
cmp eax, 0xffffffff
je 0x455c4a
test byte [ebx], 0x10
je 0x455b8d
mov ecx, 0x4cde7c
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455b43
test dl, dl
je 0x455b3f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455b43
add eax, 2
add ecx, 2
test dl, dl
jne 0x455b23
xor eax, eax
jmp 0x455b48
sbb eax, eax
or eax, 1
test eax, eax
je 0x455b8d
mov ecx, 0x4cde80
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455b77
test dl, dl
je 0x455b73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455b77
add eax, 2
add ecx, 2
test dl, dl
jne 0x455b57
xor eax, eax
jmp 0x455b7c
sbb eax, eax
or eax, 1
test eax, eax
je 0x455b8d
pop edi
lea eax, [esi + 0xa68]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x68]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test eax, eax
je 0x455c54
lea edi, [esi + 0xa3c]
push edi
push eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
je 0x455c3e
lea ebx, [ebx]
test byte [edi], 0x10
je 0x455c2d
lea ecx, [esi + 0xa68]
mov edx, 0x4cde7c
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x455bf2
test bl, bl
je 0x455bee
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x455bf2
add eax, 2
add edx, 2
test bl, bl
jne 0x455bd2
xor eax, eax
jmp 0x455bf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x455c2d
mov eax, 0x4cde80
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455c20
test dl, dl
je 0x455c1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455c20
add ecx, 2
add eax, 2
test dl, dl
jne 0x455c00
xor eax, eax
jmp 0x455c25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455b80
push edi
push dword [esi + 0xa38]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x455bc0
push dword [esi + 0xa38]
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [esi + 0xa38], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x462820
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9b56
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4faa80]
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 dword [ebp - 0x2b0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b4], esi
cmp dword [eax + 0x14], 8
jb 0x462868
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x462a25
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
jmp 0x4628a0
cmp word [ebp - 0x27c], 0
jne 0x4628ae
xor eax, eax
jmp 0x4628c6
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4628b7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00448150
push 1
push 0x4cf250
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00462ea0
test eax, eax
je 0x4629f7
push 2
push 0x4cf254
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00462ea0
test eax, eax
je 0x4629f7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004557d0
add esp, 0xc
test byte [ebp - 0x2a8], 0x10
mov byte [ebp - 4], 1
jne 0x4629e2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00462f30
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x4fec38]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00488820
mov edi, eax
test edi, edi
je 0x4629d1
push 0x1c
call fcn.004ade16
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4629aa
push edi
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00433810
mov ecx, esi
call fcn.00462320
jmp 0x4629ac
xor eax, eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x6c]
call fcn.0048c350
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2c], 0x10
jb 0x4629e2
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 0
jb 0x4629f7
push dword [ebp - 0x58]
call fcn.004ade67
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x4628a0
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x462a25
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
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.004ae734
mov esp, ebp
pop ebp
ret 8
Function at 0x4846c0
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0x964]
test edx, edx
js 0x4846f2
mov eax, dword [ecx + 0x980]
sub eax, dword [ecx + 0x97c]
sar eax, 2
cmp edx, eax
jge 0x4846f2
mov eax, dword [ecx + 0x97c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a4], 5
jmp fcn.004867a0
ret

Function at 0x484700
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0x964]
test edx, edx
js 0x484732
mov eax, dword [ecx + 0x980]
sub eax, dword [ecx + 0x97c]
sar eax, 2
cmp edx, eax
jge 0x484732
mov eax, dword [ecx + 0x97c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a0], 0x28
jmp fcn.004867a0
ret

Function at 0x484ab0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x484b1f
xor ecx, ecx
jmp 0x484b3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x484b30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484b30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00448150
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x484c21
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov eax, dword [0x4fec20]
lea edx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov edi, eax
cmp esi, edi
je 0x484bd1
cmp dword [esi + 0x14], 8
jb 0x484bb6
push dword [esi]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004479e0
cmp dword [ebp - 0x234], 8
jb 0x484be8
push dword [ebp - 0x248]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
jb 0x484c5a
push dword [ebp - 0x260]
call fcn.004ade67
add esp, 4
jmp 0x484c5a
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x484c37
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00448030
push 0xb
push 0x4cd014
mov ecx, esi
call fcn.00447f50
cmp dword [esi + 0x14], 8
jb 0x484c4f
mov eax, dword [esi]
jmp 0x484c51
mov eax, esi
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push 0xd
push 0x4d29c0
mov ecx, esi
call fcn.00447f50
cmp dword [ebp - 0x21c], 8
jb 0x484c7f
push dword [ebp - 0x230]
call fcn.004ade67
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 4
Function at 0x48aad0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cac08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4d2c98
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00448150
mov eax, dword [0x4fec20]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
cmp dword [eax + 0x14], 8
jb 0x48ab40
mov eax, dword [eax]
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp dword [ebp - 0x2c], 8
mov dword [esi], eax
jb 0x48ab6c
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
jb 0x48ab98
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [esi]
mov dword [ebp - 0x18], 0
cmp eax, 0xffffffff
jne 0x48abb7
xor al, al
jmp 0x48ac04
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
test eax, eax
je 0x48abb3
push 0
push dword [esi]
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push 0
push 0
push 4
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x48abb3
mov ecx, esi
call fcn.0048ac20
test al, al
je 0x48abb3
mov byte [esi + 0x10], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret
Function at 0x48ae70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov ecx, edi
shr ecx, 2
lea ecx, [eax + ecx*4]
mov ebx, ecx
sub ebx, eax
add ebx, 3
shr ebx, 2
cmp eax, ecx
cmova ebx, edx
mov edx, dword [ebp + 8]
test ebx, ebx
je 0x48af15
cmp ebx, 8
jb 0x48aef7
lea ecx, [eax - 4]
lea ecx, [ecx + ebx*4]
cmp edx, ecx
ja 0x48aeb7
lea ecx, [edx - 4]
lea ecx, [ecx + ebx*4]
cmp ecx, eax
jae 0x48aef7
movdqa xmm1, xmmword [0x4cde90]
mov ecx, ebx
and ecx, 7
mov dword [ebp + 0x10], ebx
sub dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx]
movdqu xmm0, xmmword [eax]
add esi, 8
pxor xmm0, xmm1
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [eax + 0x10]
add eax, 0x20
pxor xmm0, xmm1
movdqu xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp esi, ecx
jb 0x48aed0
cmp esi, ebx
jae 0x48af15
jmp 0x48af00
mov ecx, dword [eax]
inc esi
xor ecx, 0xc2c2c2c2
add eax, 4
mov dword [edx], ecx
add edx, 4
cmp esi, ebx
jb 0x48af00
and edi, 3
je 0x48af2f
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
lea eax, [eax + 1]
xor cl, 0xc2
mov byte [edx + eax - 1], cl
dec edi
jne 0x48af20
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x495940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 0
jne 0x495957
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x495950
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x495950
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x495c90
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
push 1
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c05ee
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.kernel32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004b9ab0
mov dword [ebp - 0x14], eax
cmp dword [0x501d1c], esi
jne 0x4c06e1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c066e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c07c1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c07c1
push str.MessageBoxW
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4c07c1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x501d1c], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x501d20], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x501d24], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x501d2c], eax
test eax, eax
je 0x4c06de
push str.GetProcessWindowStation
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x501d28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c0706
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c06f9
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c071b
push 4
pop eax
jmp 0x4c07c3
cmp dword [ebp - 0x14], esi
je 0x4c071b
push dword [0x501d1c]
call dword [sym.imp.kernel32.dll_DecodePointer]
push 3
jmp 0x4c0700
mov eax, dword [0x501d28]
mov ebx, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, edi
je 0x4c0779
cmp dword [0x501d2c], edi
je 0x4c0779
push eax
call ebx
push dword [0x501d2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c0779
test eax, eax
je 0x4c0779
call ecx
test eax, eax
je 0x4c076e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c076e
test byte [ebp - 8], 1
jne 0x4c0779
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c07a9
mov eax, dword [0x501d20]
cmp eax, edi
je 0x4c07a6
push eax
call ebx
test eax, eax
je 0x4c07a6
call eax
mov esi, eax
test esi, esi
je 0x4c07a6
mov eax, dword [0x501d24]
cmp eax, edi
je 0x4c07a6
push eax
call ebx
test eax, eax
je 0x4c07a6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x501d1c]
call ebx
test eax, eax
je 0x4c07c1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c07c3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ae734
mov esp, ebp
pop ebp
ret
Function at 0x572b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x572b8c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x572bd3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.005bf7ae
add esp, 8
test eax, eax
jne 0x572bd1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x572bd5
jmp 0x572b83
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x597bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee767
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x616890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00596b30
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00596b30
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00596b30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.005974f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.005974f0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.005974f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4