joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410b50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x54cd0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0053edfd
push 4
mov dword [esp + 0x20], 0
call fcn.0041b219
mov edi, eax
add esp, 4
test edi, edi
je 0x410bce
call fcn.0053f10d
mov dword [edi], eax
call fcn.0053eecc
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0053ecca
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x410bc3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0053ecf2
jmp 0x410bd0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x412bd0
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x54e310
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ab1d0]
xor eax, esp
mov dword [esp], eax
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.KM::SHA1.0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp]
xor ecx, esp
call fcn.0051b73f
add esp, 0x10
ret 4

Function at 0x412d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e720
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ab1d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
lea ebp, [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebp
cmp ebp, 0xffffffff
jbe 0x412d5f
call fcn.00407300
test ebp, ebp
jne 0x412d67
xor ebx, ebx
jmp 0x412d74
mov edi, ebp
call fcn.00414a80
mov edi, dword [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
push esi
push eax
push ebx
mov dword [esp + 0x54], 0
call fcn.0051fb40
mov ecx, dword [edi]
mov dword [esi + ebx], ecx
mov edx, dword [edi + 4]
mov edi, 0x18
mov dword [esi + ebx + 4], edx
mov dword [esp + 0x40], edi
call fcn.00414a80
mov esi, eax
mov dword [esp + 0x44], esi
push 0xc8
push edi
push ebp
push ebx
mov ecx, esi
mov byte [esp + 0x64], 3
call fcn.00412860
mov ecx, dword [esi]
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 4], edx
xor al, al
mov edi, esi
mov ecx, 0x18
push esi
rep stosb byte es:[edi], al
call fcn.0051c2f1
xor al, al
mov edi, ebx
mov ecx, ebp
push ebx
rep stosb byte es:[edi], al
call fcn.0051c2f1
add esp, 0x24
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0051b73f
add esp, 0x38
ret
Function at 0x414980
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x4149ba
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x4149a4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x4149d1
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x4149ff
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x4149f4
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret

Function at 0x415760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54e970
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ab1d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x5ae0f8
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.KM::ArraySink.0
mov dword [esp + 0x30], vtable.KM::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051b73f
mov esp, ebp
pop ebp
ret 8
Function at 0x415e50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54e638
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ab1d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea esi, [edi + 0x10]
mov ecx, 0x100
mov dword [esp + 0x20], edi
mov dword [edi + 0xc], 0xffffffff
mov dword [edi], vtable.KM::MessageQueue.0
mov dword [edi + 4], vtable.KM::MessageQueue.1.0
call fcn.00414ba0
mov dword [esp + 0x48], 2
xor ebx, ebx
lea esi, [edi + 0x38]
push 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esi], ebx
call fcn.0041b219
add esp, 4
cmp eax, ebx
je 0x415f90
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x14]
push ecx
push esi
mov byte [esp + 0x50], 3
call fcn.00416350
mov byte [esp + 0x48], 4
lea esi, [edi + 0x50]
push 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esi], ebx
call fcn.0041b219
add esp, 4
cmp eax, ebx
je 0x415f67
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x50], 5
call fcn.00416750
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051b73f
add esp, 0x40
ret
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.0051bd83
push 0x59fc9c
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.0051ffa8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.0051bd83
push 0x59fc9c
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.std::bad_alloc.0
call fcn.0051ffa8
int3
Function at 0x41a740
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x54e5e0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5ab1d0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab1d0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov edi, ecx
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
mov edx, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
mov ebp, eax
xor esi, esi
cmp ebp, esi
jne 0x41a82d
push 0x37
mov edi, 0xf
push str.HMAC:_can_only_be_used_with_a_block_based_hash_function
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
call fcn.004038f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], esi
call fcn.0051bcea
push 0xffffffffffffffff
mov byte [esp + 0x7c], 1
push esi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], vtable.KM::Exception.0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
call fcn.00403670
push 0x59fd34
lea edx, [esp + 0x28]
mov byte [esp + 0x7c], 0
push edx
mov dword [esp + 0x2c], vtable.KM::InvalidArgument.0
call fcn.0051ffa8
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
add eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov esi, eax
add esi, dword [esp + 0x1c]
lea eax, [edi + 8]
push eax
call fcn.0040ad00
cmp ebx, ebp
ja 0x41a886
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x10]
push ebx
push ecx
push edx
call fcn.0051fb40
add esp, 0xc
jmp 0x41a8af
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push ebx
push ecx
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov eax, ebp
sub eax, ebx
push eax
add ecx, ebx
push 0
push ecx
call fcn.0051f8c0
add esp, 0xc
xor esi, esi
test ebp, ebp
je 0x41a905
lea ebx, [ebx]
mov edx, dword [edi]
mov eax, dword [edx + 0x3c]
mov ebx, dword [edi + 0x10]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x10]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
mov cl, byte [ebx + esi]
add eax, dword [esp + 0x14]
xor cl, 0x5c
mov byte [eax + esi], cl
mov eax, dword [edi + 0x10]
xor byte [eax + esi], 0x36
inc esi
cmp esi, ebp
jb 0x41a8d0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0051b73f
add esp, 0x68
ret 0xc
Function at 0x41aef0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x57fbd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57fdd0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57ffd0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5801d0]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x57fcd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57fed0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5800d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5802d0]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x57fbd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57fdd0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57ffd0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5801d0]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x57fcd0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x57fed0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5800d0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5802d0]
xor esi, ebx
dec edi
jne 0x41af12
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x41c886
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41c8ce
call fcn.0042b860
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c8ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41c911
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41c8fa
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41c8fa
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x41c90e
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e7b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042b860
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e7f1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041e3f5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41e84f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41e873
cmp dword [edi + 0x74], 0
jne 0x41e873
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042b860
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041e810
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42a3f7
call fcn.0042b860
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a3f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42a413
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00429eb0
mov esi, eax
test edi, edi
je 0x42a411
test ebx, ebx
je 0x42a411
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ac13
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x546bdc
call fcn.0051f2ba
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42ac38
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42ac8a
call fcn.00420499
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051fedb
push eax
call fcn.00404680
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401420
mov eax, esi
call fcn.0051f392
ret 8
Function at 0x42bc3f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042b8e3
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42bc89
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f44d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041da26
jmp 0x42bc94
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042e688
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42bc9a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042a4bc
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42bcd7
call fcn.0042b8e3
mov dword [esi + 0xc], 1
jmp 0x42bcdc
call fcn.0042b8e3
cmp dword [esi], 0
je 0x42bd25
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42bcfd
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f44d
jmp 0x42bd0f
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401580
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041da26
jmp 0x42bd49
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42bd49
push dword [esi]
push dword [ebp + 8]
call fcn.0042e688
pop esi
pop ebp
ret 0xc

Function at 0x42c77a
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42c7a5
call fcn.0042b860
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x42c7c8
push eax
push dword [esi + 4]
call fcn.0042c700
push esi
push eax
mov ecx, 0x5afed8
call fcn.0042c3a2
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x475675
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004f695e
call fcn.0042b291
cmp dword [eax + 0x14], 0
jne 0x475692
mov ecx, esi
pop esi
jmp fcn.004751d8
pop esi
ret

Function at 0x478c2d
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004a0449
call fcn.0042b291
cmp dword [eax + 0x14], 0
jne 0x478c4a
mov ecx, esi
pop esi
jmp fcn.00478600
pop esi
ret

Function at 0x488c8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x488ca8
call fcn.0042b860
mov esi, dword [eax + 0xc]
push dword [0x5b1cd8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x488cc6
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x488cbe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x488cf3
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x488cc0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00488bbc
mov esi, eax
jmp 0x488ce5

Function at 0x50232a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x502342
mov edi, dword [esi + 0xc]
jmp 0x502382
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x50235b
call fcn.00420b70
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x502370
call fcn.00420b70
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x502382
call fcn.00420b70
call fcn.0042b860
cmp dword [eax + 0x3c], 0
je 0x502397
push edi
mov ecx, ebx
call fcn.005011de
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00502244
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5023b5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5023c1
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51b73f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ab1d0]
jne 0x51b749
repz ret
jmp fcn.00524dc3