joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4243ff
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x20a0]
mov eax, 0x2120
call fcn.004368e0
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp + 0x209c], eax
mov eax, dword [ebp + 0x20a8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x1fff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x63]
mov esi, ecx
push ebx
mov dword [ebp - 0x6c], ebx
push eax
mov dword [ebp - 0x70], esi
mov edi, edx
mov byte [ebp - 0x64], bl
call fcn.0042d4e0
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 0x2000
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42454e
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.VarFileInfoTranslation
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
test eax, eax
je 0x4244f6
test dword [ebp - 0x68], 0xfffffffc
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x74], ebx
jbe 0x4244f6
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x80]
shl eax, 2
movzx ecx, word [eax + esi + 2]
movzx eax, word [eax + esi]
push ecx
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [ebp + 0x1f9c]
push 0x80
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f9c]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x424572
mov eax, dword [ebp - 0x68]
inc dword [ebp - 0x74]
shr eax, 2
cmp dword [ebp - 0x74], eax
jb 0x424498
mov dword [ebp - 0x78], 0x40904b0
mov dword [ebp - 0x74], 0x40904e4
xor esi, esi
push dword [ebp - 0x80]
lea eax, [ebp + 0x1f9c]
push dword [ebp + esi*4 - 0x78]
push str.StringFileInfo_08x_s
push 0x80
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f9c]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x424572
inc esi
cmp esi, 2
jb 0x424506
mov esi, dword [ebp - 0x70]
push 0x44abb0
call fcn.0040160a
mov eax, esi
mov ecx, dword [ebp + 0x209c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042af05
add ebp, 0x20a0
leave
ret
push dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x70]
call fcn.00424399
pop ecx
mov eax, edi
jmp 0x42455a

Function at 0x425d3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x425d54
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x425d50
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425e6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.00426035
mov bl, al
mov al, dl
call fcn.00426035
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.00426035
mov bl, al
mov al, byte [esi - 4]
call fcn.00426035
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.00426035
mov bl, al
mov al, byte [esi]
call fcn.00426035
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.00426035
mov bl, al
mov al, byte [esi - 0xc]
call fcn.00426035
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x425e97
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042af05
leave
ret 4

Function at 0x425f24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.004260b1
push ebx
mov dl, al
call fcn.0042608a
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.00426045
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.00426063
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.00426045
push ebx
mov byte [ebp - 0x15], al
call fcn.00426063
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.0042608a
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.004260b1
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.0042608a
mov bl, al
mov al, byte [edi + 4]
call fcn.004260b1
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.00426063
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.00426045
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.00426063
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.00426045
xor bl, al
mov al, dl
call fcn.004260b1
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.0042608a
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x425f50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042af05
leave
ret 4
Function at 0x4263fb
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x44350a
call fcn.0042c1aa
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x14]
mov esi, edx
mov dword [ebp - 0x34], esi
test al, 0xf
je 0x426430
push 0x44ac8e
mov ecx, esi
call fcn.00402eac
jmp 0x426550
push 0
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.00415742
and dword [ebp - 4], 0
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
jb 0x42644e
mov ebx, dword [ebx + 4]
jmp 0x426451
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x42645d
lea esi, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
cmp eax, 0x10
jb 0x4264a8
shr eax, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x18], 0x10
mov ecx, dword [edx + 0x14]
lea eax, [edx + 4]
jb 0x42647c
mov eax, dword [eax]
push 0
push eax
push esi
push ebx
call fcn.00426286
add esp, 0x10
mov ecx, edi
push 0x10
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x426492
mov edi, ebx
add ebx, 0x10
add esi, 0x10
dec dword [ebp - 0x38]
jne 0x42646b
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jae 0x4264d1
mov ecx, dword [ebp - 0x34]
push 0x44ac8e
call fcn.00402eac
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017a5
mov eax, dword [ebp - 0x34]
jmp 0x426552
lea esi, [eax - 1]
cmp eax, esi
ja 0x4264e0
call fcn.0042aecd
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x4264ec
lea ecx, [ebp - 0x28]
mov bl, byte [ecx + esi]
cmp bl, 0x10
ja 0x4264b0
mov byte [ebp - 0x2d], 0
test bl, bl
jbe 0x426530
movzx edi, bl
movzx ecx, byte [ebp - 0x2d]
mov esi, eax
sub esi, ecx
dec esi
cmp eax, esi
ja 0x426514
call fcn.0042aecd
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x426520
lea ecx, [ebp - 0x28]
movsx ecx, byte [ecx + esi]
cmp ecx, edi
jne 0x4264b0
inc byte [ebp - 0x2d]
cmp byte [ebp - 0x2d], bl
jb 0x4264ff
mov esi, dword [ebp - 0x34]
movzx ecx, bl
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0041c7a8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017a5
mov eax, esi
call fcn.0042c22d
ret
Function at 0x426558
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x443001
call fcn.0042c1aa
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426577
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.00401a67
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x42667c
jmp 0x4265a8
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x44c158]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x4265bc
cmp al, 0xff
je 0x4265a8
cmp al, 0xff
je 0x42667c
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x44c158]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x4265dc
cmp cl, 0xff
je 0x4265c4
cmp cl, 0xff
je 0x42667c
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.0040d856
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x42667c
movsx eax, al
mov al, byte [eax + 0x44c158]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x42661c
cmp al, 0xff
je 0x4265fc
cmp al, 0xff
je 0x42667c
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.0040d856
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x42667c
movsx eax, al
mov cl, byte [eax + 0x44c158]
cmp esi, dword [ebp - 0x30]
jae 0x42665a
cmp cl, 0xff
je 0x42663c
cmp cl, 0xff
je 0x42667c
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.0040d856
cmp esi, dword [ebp - 0x30]
jb 0x4265a5
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.00402ece
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004017a5
mov eax, dword [ebp - 0x38]
call fcn.0042c22d
ret

Function at 0x42779b
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x42791f
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x42792e
push 0x40
pop esi
cmp edx, esi
jae 0x4279a9
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x42796f
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x44c010]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x4279da
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 8]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x6c], ecx
pop ebx
leave
ret
Function at 0x427c8a
Capabilities:
Delete registry key

Disassembly:
cmp dword [0x45af90], 0
jne 0x427ca2
mov dword [0x45af90], 1
jmp fcn.00428aaf
ret

Function at 0x428785
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x444673
call fcn.0042c1aa
mov esi, ecx
lea eax, [ebp - 0x48]
push eax
mov ebx, esi
mov edi, edx
call fcn.0040c59e
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], ebx
je 0x42884f
cmp edi, ebx
jne 0x4287b8
mov edi, 0x44ac8e
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4287c4
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s__hs__p
lea ecx, [ebp - 0x2c]
call fcn.0040cddb
add esp, 0x10
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
je 0x428827
lea eax, [ebp - 0x64]
push eax
call fcn.0040c119
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4287fc
mov eax, dword [eax + 4]
jmp 0x4287ff
add eax, 4
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x42880b
lea ebx, [ebp - 0x28]
mov esi, eax
mov edi, 0x45af98
call fcn.0040ced4
push 0
push 1
lea esi, [ebp - 0x64]
call fcn.0040189d
xor ebx, ebx
jmp 0x428844
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x428833
lea eax, [ebp - 0x28]
push eax
push 0x45af98
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040189d
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.0040189d
call fcn.0042c22d
ret 4

Function at 0x428aaf
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, str.Softwareprojonepodlpdebug_async_
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x428b4f
push ebx
push edi
push esi
mov esi, 0x45af98
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042d4e0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x44b9f4
push esi
call ebx
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
pop ebx
call fcn.004283ed
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042af05
leave
ret
Function at 0x428f48
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x442e18
call fcn.0042c174
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.0042afb5
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x428f92
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x428f7e
mov dword [esi + 0x10], edi
jmp 0x428f94
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x428f8a
push esi
jmp 0x428f8b
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x428f94
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x428fd4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
mov edi, eax
call fcn.0040108b
mov eax, edi
jmp 0x428fce
call fcn.0042c219
ret

Function at 0x42af05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456070]
jne 0x42af0f
repz ret
jmp fcn.0042c24b

Function at 0x4314ec
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.0042c6df
and dword [ebp - 4], 0
cmp dword [0x459768], 0
mov ebx, eax
jne 0x43159d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43164e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43164e
push eax
call fcn.0042c66d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x459768], eax
call esi
push eax
call fcn.0042c66d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45976c], eax
call esi
push eax
call fcn.0042c66d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459770], eax
call esi
push eax
call fcn.0042c66d
pop ecx
mov dword [0x459778], eax
test eax, eax
je 0x43159d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042c66d
pop ecx
mov dword [0x459774], eax
mov eax, dword [0x459774]
cmp eax, ebx
je 0x4315f5
cmp dword [0x459778], ebx
je 0x4315f5
push eax
call fcn.0042c6e8
push dword [0x459778]
mov esi, eax
call fcn.0042c6e8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4315f5
test edi, edi
je 0x4315f5
call esi
test eax, eax
je 0x4315ec
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4315ec
test byte [ebp - 0xc], 1
jne 0x4315f5
or dword [ebp + 0x10], 0x200000
jmp 0x43162e
mov eax, dword [0x45976c]
cmp eax, ebx
je 0x43162e
push eax
call fcn.0042c6e8
pop ecx
test eax, eax
je 0x43162e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43162e
mov eax, dword [0x459770]
cmp eax, ebx
je 0x43162e
push eax
call fcn.0042c6e8
pop ecx
test eax, eax
je 0x43162e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459768]
call fcn.0042c6e8
pop ecx
test eax, eax
je 0x43164e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431650
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x459898], eax
je 0x43713e
mov eax, 0x10dd
jmp 0x43721f
mov eax, dword [0x4598a8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4371bc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43719a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43719a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00437290
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042af3e
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x437146
mov dword [0x4598a8], 0
call fcn.00437230
mov ecx, dword [0x4598a4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x437209
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042af3e
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x4371d4
mov dword [0x4598a4], 0
mov dword [0x459898], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x437760
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x437775
xor eax, eax
jmp 0x4377ea
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x4377a2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x4377e5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x4377e3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x4377df
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x4377e3
xor eax, eax
jmp 0x4377ea
jmp 0x437799
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x437890
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x45989c], 0
je 0x4378a9
mov eax, dword [0x45989c]
jmp 0x437949
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4378bb
xor eax, eax
jmp 0x437949
push 8
call fcn.0042afb5
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437911
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x4378fa
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042af3e
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x45989c], eax
mov dword [0x4598a0], 0
mov eax, dword [ebp - 4]
jmp 0x437949
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x43792b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4378db
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4598a4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4598a4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4