joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fdc20
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x681200]
add ecx, 0x64
cmp ecx, eax
jae 0x4fdc8a
call esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
mov dword [0x681200], eax
call esi
test eax, eax
je 0x4fdc8a
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
call ebx
push 1
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call esi
test eax, eax
jne 0x4fdc67
pop edi
pop ebx
pop esi
add esp, 0x1c
ret

Function at 0x4fec09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4fec61
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x67f98c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4fec54
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4fec63
xor eax, eax
pop esi
leave
ret 4
Function at 0x5238a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5238d0
push esi
call fcn.00527390
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x5238c9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x523953
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x52393f
mov eax, dword [esi + 8]
test eax, eax
je 0x5238f4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x52393b
cmp eax, 2
je 0x52393f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5238e7
cmp eax, 3
je 0x52391a
cmp eax, 1
jne 0x5238e7
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 0x5238e7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5238e7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00523980
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x523973
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00523980
add esp, 4
pop esi
ret
Function at 0x53c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e6aca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
test ecx, ecx
mov byte [esp + 0x30], 1
je 0x53c1d3
push eax
lea eax, [esp + 0x10]
push eax
push str.Client
push ecx
lea edx, [esi + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00424bc0
mov ecx, esi
call fcn.004242e0
test al, al
je 0x53c1cf
push 0x28
call fcn.0059dece
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x30], 2
je 0x53c18b
lea eax, [esp + 0x14]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x14]
call fcn.005310a0
mov ecx, eax
call fcn.00530b80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov ecx, eax
mov byte [esp + 0x30], 3
call fcn.00531070
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
test eax, eax
mov dword [ecx], eax
je 0x53c166
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push ecx
mov dword [esp + 0x38], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00531080
mov ecx, esi
mov byte [esp + 0x38], 3
call fcn.0053a600
mov esi, eax
jmp 0x53c18d
xor esi, esi
test bl, 1
mov dword [esp + 0x30], 1
je 0x53c1a8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x53c1a8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 0
test eax, eax
je 0x53c1bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0xc]
test eax, eax
mov byte [esp + 0x30], 0
je 0x53c1e2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x541d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e7682
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [edi], ebx
mov al, byte [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xc], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov cl, byte [esp + 0x24]
mov dword [esi + 0x20], ebx
mov byte [esi + 0x1c], cl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dl, byte [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], dl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov al, byte [esp + 0x24]
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x48], al
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 4
call fcn.00546e90
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x1c], 5
cmp ebp, ebx
mov byte [esi + 0x68], bl
mov byte [esi + 0x69], bl
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov dword [esi], 0x616e64
je 0x541e13
mov eax, dword [edi]
cmp eax, ebx
je 0x541dcf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x24]
push edx
push 0x654388
push 7
push ebx
push 0x677638
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x541e13
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ole32.dll_OleRun]
test eax, eax
jl 0x541e09
mov eax, dword [esp + 0x24]
push edi
push 0x677628
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x546ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e7f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [esp + 0xc], esi
call fcn.00546eb0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
call fcn.0059d572
mov dl, byte [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
neg dl
sbb edx, edx
mov byte [esi + 0x28], bl
and edx, 0xb
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi], 0x5f0560
mov dword [esi + 0x34], edx
mov byte [esi + 0xc], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x5491f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e82b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, byte [esp + 0x38]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi + 0x118]
mov dword [esp + 0x38], ebx
cmp ecx, ebx
jne 0x549280
mov esi, dword [esp + 0x40]
push ebx
mov byte [esi], al
call fcn.0059dece
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0042cd50
mov edx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edx
mov dword [esi + 0xc], eax
call fcn.0059def7
add esp, 4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
lea eax, [esp + 8]
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.005490c0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 1
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x5492bf
lea edx, [eax*4]
push edx
call fcn.0059dece
mov ebp, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebp
jmp 0x5492c5
xor ebp, ebp
mov dword [esp + 0x1c], ebp
push edi
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x40], 2
jle 0x549331
cmp edi, dword [esp + 0x1c]
jge 0x5492e4
cmp edi, ebx
jl 0x5492e4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
jmp 0x5492e7
or eax, 0xffffffff
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
test al, al
je 0x549328
mov ecx, dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x30]
test al, al
je 0x549328
mov ecx, dword [esi + 0x118]
lea eax, [esp + 0x14]
push eax
push 1
mov edx, dword [ecx + 0x34]
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], edx
call fcn.00407d60
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x5492d1
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0x28]
cmp ecx, ebx
mov byte [esi], dl
pop edi
jne 0x549348
xor eax, eax
jmp 0x549351
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x549357
xor eax, eax
shl eax, 2
push eax
call fcn.0059dece
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042cd50
push ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0059def7
mov eax, dword [esp + 0x18]
push eax
call fcn.0059def7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0059def7
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop ebp
pop esi
pop ebx
add esp, 0x34
ret 4
Function at 0x54b780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8447
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x677e28]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov esi, eax
mov cl, ah
push 0
and esi, 0xff
shr eax, 0x10
push 0
mov edi, ecx
push 0
mov ebp, eax
push esi
push edi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00550b89
test edi, edi
jne 0x54b801
test esi, esi
jne 0x54b801
test ebp, ebp
je 0x54b83b
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x54b83b
lea edx, [esp + 0x34]
push str._b__d___Y
push edx
lea ecx, [esp + 0x1c]
call fcn.00550d89
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0059d936
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.0059d7fd
jmp 0x54b849
push 0x67f98c
lea ecx, [esp + 0x10]
call fcn.0059d986
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0059d572
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0059d7fd
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x55b320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x55b340
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0055b18e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x55b363
test byte [esp + 8], 2
je 0x55b363
call fcn.0055b201
mov dword [eax], 0xd
call fcn.0055b20a
mov dword [eax], 5
jmp 0x55b33c
xor eax, eax
ret

Function at 0x55daa2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x55dacd
test byte [esp + 8], 0x80
je 0x55dabc
and al, 0xfe
jmp 0x55dabe
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x55dade
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0055b18e
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x572a50
Capabilities:
Get common file path

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x154
push ebx
lea ebx, [ecx + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jg 0x572b51
lea ecx, [esp + 0x54]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x572a86
xor al, al
pop ebx
add esp, 0x154
ret
push ebp
push esi
push edi
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x5f], 0x5c
je 0x572acc
mov edi, 0x652aec
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._x_x_x_x_
push edx
call fcn.0055bf85
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x78]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0059535b
add esp, 0x1c
test eax, eax
pop edi
pop esi
pop ebp
je 0x572b45
xor al, al
pop ebx
add esp, 0x154
ret
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.0059d986
mov al, 1
pop ebx
add esp, 0x154
ret

Function at 0x5744f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5eba08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
mov dword [esp + 0x1c], 0x10000
mov dword [esp + 0xc], 0x5f5458
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], 0x624c68
call dword [edx + 8]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x5f5458
call fcn.0059def7
mov ecx, dword [esp + 0x24]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 0xc
Function at 0x57b6c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret
Function at 0x58b2a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x58b2ab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x58b3ae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x624d98]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x624d98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x624d98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x624d98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x624d98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x624d98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x624d98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x624d98]
xor eax, edx
inc ecx
dec edi
jne 0x58b2c6
pop edi
test esi, esi
je 0x58b3d0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x624d98]
xor eax, edx
inc ecx
dec esi
jne 0x58b3b2
pop esi
pop ebx
not eax
ret
Function at 0x59e0dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x59e0fe
cmp dword [edi + 0x3c], 0
jne 0x59e0fe
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005c006c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0059e13d
pop edi
pop esi
pop ebx
ret 8

Function at 0x59e1a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005c006c
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x59e1d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0059e1f7
pop edi
pop esi
pop ebx
ret 8

Function at 0x59f894
Capabilities:
Get graphical window text

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

Function at 0x5a1696
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 0x5a16d8
call fcn.005c006c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a16d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a16cf
xor eax, eax
jmp 0x5a16e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a16e6
pop edi
pop esi
pop ebx
ret 4
Function at 0x5bda26
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x5e9c83
call fcn.00560438
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005a4dd7
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x677e28]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0059d986
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0059d986
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x5bdab6
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x5e9cab
call fcn.00560438
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005a4dd7
mov eax, dword [0x677e28]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x683220
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.005bd540
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0059d986
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00552949
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0059d936
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0059d7fd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1000cb00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffc5c
add byte [ebx + esi - 0x73], dh
test esp, ebp
clc
invalid

Function at 0x1001bab2
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.10011225
and dword [ebp - 4], 0
cmp dword [0x10026680], 0
mov ebx, eax
jne 0x1001bb63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001bc14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10020064
push edi
call esi
test eax, eax
je 0x1001bc14
push eax
call fcn.100111b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10026680], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10026684], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10026688], eax
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x10026690], eax
test eax, eax
je 0x1001bb63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x1002668c], eax
mov eax, dword [0x1002668c]
cmp eax, ebx
je 0x1001bbbb
cmp dword [0x10026690], ebx
je 0x1001bbbb
push eax
call fcn.1001122e
push dword [0x10026690]
mov esi, eax
call fcn.1001122e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001bbbb
test edi, edi
je 0x1001bbbb
call esi
test eax, eax
je 0x1001bbb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001bbb2
test byte [ebp - 0xc], 1
jne 0x1001bbbb
or dword [ebp + 0x10], 0x200000
jmp 0x1001bbf4
mov eax, dword [0x10026684]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001bbf4
mov eax, dword [0x10026688]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10026680]
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bc14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001bc16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret