joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a1b2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00423498
xor ebx, ebx
cmp dword [0x447fa8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42a288
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42a368
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42a368
push eax
call fcn.0042342a
mov dword [esp], 0x43a294
push edi
mov dword [0x447fa8], eax
call esi
push eax
call fcn.0042342a
mov dword [esp], 0x43a280
push edi
mov dword [0x447fac], eax
call esi
push eax
call fcn.0042342a
mov dword [0x447fb0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00421a2e
test eax, eax
pop ecx
pop ecx
je 0x42a256
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004262d4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42a288
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042342a
cmp eax, ebx
pop ecx
mov dword [0x447fb8], eax
je 0x42a288
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042342a
pop ecx
mov dword [0x447fb4], eax
mov eax, dword [0x447fb4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42a30d
cmp dword [0x447fb8], ecx
je 0x42a30d
push eax
call fcn.004234a1
push dword [0x447fb8]
mov esi, eax
call fcn.004234a1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42a30d
cmp edi, ebx
je 0x42a30d
call esi
cmp eax, ebx
je 0x42a2da
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42a2da
test byte [ebp - 0x18], 1
jne 0x42a30d
lea eax, [ebp - 0x10]
push eax
call fcn.00421a65
test eax, eax
pop ecx
je 0x42a2f5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004262d4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42a304
or dword [ebp + 0x10], 0x200000
jmp 0x42a348
or dword [ebp + 0x10], 0x40000
jmp 0x42a348
mov eax, dword [0x447fac]
cmp eax, dword [ebp - 8]
je 0x42a348
push eax
call fcn.004234a1
cmp eax, ebx
pop ecx
je 0x42a348
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42a348
mov eax, dword [0x447fb0]
cmp eax, dword [ebp - 8]
je 0x42a348
push eax
call fcn.004234a1
cmp eax, ebx
pop ecx
je 0x42a348
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447fa8]
call fcn.004234a1
cmp eax, ebx
pop ecx
je 0x42a368
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42a36a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4327da
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4440fc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043276f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041f2c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x432829
cmp dword [ebp - 0x1c], 5
jb 0x432841
jmp 0x43283d
cmp dword [ebp - 0x10], 1
jne 0x432841
cmp dword [ebp - 0x1c], 4
ja 0x43283d
jne 0x432841
cmp dword [ebp - 0x18], 0
jbe 0x432841
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43b508
call fcn.00432643
test eax, eax
jge 0x432862
mov byte [0x445500], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041f278
add ebp, 0x78
leave
ret
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x455824]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
call fcn.004033a0
cmp eax, 7
push 0x104
jne 0x40112b
lea eax, [esp + 0x14]
push eax
push str.DisplayName
push str.SOFTWARELenovoKeyboard
push reloc.SKHooks.dll_Ordinal_1
call dword [sym.imp.SKUtil.DLL_Reg_GetValueString]
add esp, 0x14
test eax, eax
jne 0x401229
push str.SOFTWARELenovoKeyboard
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x18], al
call dword [0x44230c]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push reloc.SKHooks.dll_Ordinal_1
call dword [0x442028]
test eax, eax
jne 0x401229
push 0x104
lea ecx, [esp + 0x118]
push ecx
push eax
call dword [0x442310]
mov edx, dword [esp + 0xc]
mov edi, dword [0x44202c]
push 0xa
push 0x442764
push 1
push 0
push str.DisplayName
push edx
mov esi, eax
call edi
mov eax, dword [esp + 0xc]
push 5
push 0x442760
push 1
push 0
push str.DisplayVersion
push eax
call edi
mov edx, dword [esp + 0xc]
push esi
lea ecx, [esp + 0x118]
push ecx
push 1
push 0
push str.InstallDir
push edx
call edi
mov ebp, dword [0x442314]
xor esi, esi
mov eax, dword [esi + 0x454008]
push eax
call ebp
mov ecx, dword [esi + 0x454008]
mov edx, dword [esi + 0x454004]
add eax, 1
push eax
mov eax, dword [esp + 0x10]
push ecx
push 1
push 0
push edx
push eax
call edi
add esi, 0xc
cmp esi, 0x24
jb 0x4010f3
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x401223
lea edx, [esp + 0x14]
push edx
push str.DisplayName
push str.SOFTWARELenovoKeyboard
push 0x80000002
call dword [sym.imp.SKUtil.DLL_Reg_GetValueString]
add esp, 0x14
test eax, eax
jne 0x401229
mov byte [esp + 0x10], al
push str.SOFTWARELenovoKeyboard
lea eax, [esp + 0x14]
push eax
call dword [0x44230c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x80000002
call dword [0x442028]
test eax, eax
jne 0x401229
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [0x442310]
mov ecx, dword [esp + 0xc]
mov edi, dword [0x44202c]
push 0xa
push 0x442764
push 1
push 0
push str.DisplayName
push ecx
mov esi, eax
call edi
mov edx, dword [esp + 0xc]
push 5
push 0x442760
push 1
push 0
push str.DisplayVersion
push edx
call edi
mov ecx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x118]
push eax
push 1
push 0
push str.InstallDir
push ecx
call edi
mov ebp, dword [0x442314]
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esi + 0x454008]
push edx
call ebp
mov ecx, dword [esi + 0x454004]
mov edx, dword [esp + 0xc]
add eax, 1
push eax
mov eax, dword [esi + 0x454008]
push eax
push 1
push 0
push ecx
push edx
call edi
add esi, 0xc
cmp esi, 0x24
jb 0x4011f0
mov eax, dword [esp + 0xc]
push eax
call dword [0x442030]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00429dbf
add esp, 0x210
ret
Function at 0x403550
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x40355d
pop edi
ret 0xc
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0
push edx
push eax
call dword [0x442020]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
call dword [0x4422e0]
mov dword [edi + 4], eax
mov eax, esi
pop esi
pop edi
ret 0xc

Function at 0x4035e0
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x4035ed
pop edi
ret 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push esi
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
push eax
call dword [0x44202c]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
call dword [0x4422e0]
mov dword [edi + 4], eax
mov eax, esi
pop esi
pop edi
ret 0x10
Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407010]
cmp eax, ebx
jne 0x402aca
mov esi, dword [0x407008]
mov edi, 0x105
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a36
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [0x40701c]
push 2
call fcn.00405e84
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x423f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [0x40701c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423f50], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407014]
test eax, eax
jne 0x402ac7
jmp 0x402aca

Function at 0x405a4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407010]
test eax, eax
jne 0x405abe
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [section..rdata]
test eax, eax
jne 0x405aad
cmp dword [ebp + 0x14], 1
je 0x405aaf
cmp dword [ebp + 0x14], 2
je 0x405aaf
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [0x40701c]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405b88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x405ba6
mov ecx, dword [0x42367c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x423ed8]
mov edx, dword [ebp + 8]
add ecx, eax
mov eax, 0x422e40
push ebx
sub edx, eax
push esi
push edi
cmp edx, 0x800
mov edi, eax
jae 0x405da1
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
jmp 0x405da1
mov esi, edi
sub esi, eax
cmp esi, 0x400
jge 0x405dab
inc ecx
cmp dl, 0xfc
mov dword [ebp + 0xc], ecx
jbe 0x405d94
movsx eax, byte [ecx + 1]
movsx ecx, byte [ecx]
mov esi, eax
add dword [ebp + 0xc], 2
and esi, 0x7f
mov ebx, ecx
shl esi, 7
and ebx, 0x7f
mov dword [ebp - 0x10], eax
or esi, ebx
mov ebx, ecx
or ch, 0x80
or ah, 0x80
cmp dl, 0xfe
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x405d3e
push 2
pop esi
call dword [0x4070e8]
test eax, eax
jns 0x405c4e
cmp ax, 0x5a04
je 0x405c4e
cmp dword [ebp - 0x10], 0x23
je 0x405c4e
cmp dword [ebp - 0x10], 0x2e
je 0x405c4e
and dword [ebp - 4], 0
jmp 0x405c55
mov dword [ebp - 4], 1
cmp dword [0x423f24], 0
je 0x405c61
push 4
pop esi
test bl, bl
jns 0x405c9c
mov eax, ebx
and ebx, 0x3f
add ebx, dword [0x423ed8]
and eax, 0x40
push eax
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.00405a4d
cmp byte [edi], 0
jne 0x405d25
push dword [ebp - 0x10]
push edi
call fcn.00405b88
jmp 0x405d20
cmp ebx, 0x25
jne 0x405caf
push 0x400
push edi
call dword [0x4070e4]
jmp 0x405d20
cmp ebx, 0x24
jne 0x405d1c
push 0x400
push edi
call dword [0x407148]
xor esi, esi
jmp 0x405d1c
mov eax, dword [0x423ea4]
xor ecx, ecx
dec esi
cmp eax, ecx
je 0x405ce8
cmp dword [ebp - 4], ecx
je 0x405ce8
push edi
push ecx
push ecx
push dword [ebp + esi*4 - 0x18]
push dword [0x423ea8]
call eax
test eax, eax
je 0x405d20
lea eax, [ebp - 8]
push eax
push dword [ebp + esi*4 - 0x18]
push dword [0x423ea8]
call dword [0x407164]
test eax, eax
jne 0x405d19
push edi
push dword [ebp - 8]
call dword [0x407150]
push dword [ebp - 8]
mov ebx, eax
call dword [0x407278]
test ebx, ebx
jne 0x405d20
and byte [edi], 0
test esi, esi
jne 0x405cc4
cmp byte [edi], 0
je 0x405d36
cmp dword [ebp - 0x10], 0x1a
jne 0x405d36
push str.MicrosoftInternet_ExplorerQuick_Launch
push edi
call fcn.00405b82
push edi
call fcn.00405dc4
jmp 0x405d82
cmp dl, 0xfd
jne 0x405d71
cmp esi, 0x1d
jne 0x405d56
push dword [0x423ea8]
push edi
call fcn.00405ac4
jmp 0x405d67
mov eax, esi
shl eax, 0xa
add eax, section..ndata
push eax
push edi
call fcn.00405b66
add esi, 0xffffffeb
cmp esi, 7
jae 0x405d82
jmp 0x405d36
cmp dl, 0xff
jne 0x405d82
or eax, 0xffffffff
sub eax, esi
push eax
push edi
call fcn.00405b88
push edi
call fcn.00405b7c
mov ecx, dword [ebp + 0xc]
add edi, eax
mov eax, 0x422e40
jmp 0x405da1
jne 0x405d9e
mov dl, byte [ecx]
mov byte [edi], dl
inc edi
inc ecx
jmp 0x405da1
mov byte [edi], dl
inc edi
mov dl, byte [ecx]
test dl, dl
jne 0x405bd5
and byte [edi], 0
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x405dc0
push eax
push dword [ebp + 8]
call fcn.00405b66
leave
ret 8
Function at 0x405ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f27
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f01
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405efc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f58
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3a
pop edi
not eax
pop esi
ret 0xc

Function at 0x11716
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push edi
mov byte [ebp - 1], bl
mov word [ebp - 0x60], 0x5c
mov word [ebp - 0x5e], 0x44
mov word [ebp - 0x5c], 0x6f
mov word [ebp - 0x5a], 0x73
mov word [ebp - 0x58], 0x44
mov word [ebp - 0x56], 0x65
mov word [ebp - 0x54], 0x76
mov word [ebp - 0x52], 0x69
mov word [ebp - 0x50], 0x63
mov word [ebp - 0x4e], 0x65
mov word [ebp - 0x4c], 0x73
mov word [ebp - 0x4a], 0x5c
mov word [ebp - 0x46], 0x3a
mov word [ebp - 0x44], bx
xor esi, esi
lea eax, [esi + 0x41]
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x12188]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push 0x80000000
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x240
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x121fc]
test eax, eax
jl 0x11858
push 0x206b6444
push 0x190
push 1
mov word [ebp - 0x16], 0x190
mov word [ebp - 0x18], bx
call dword [0x121b4]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x14], edi
je 0x1184f
movzx ecx, word [ebp - 0x16]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
call dword [0x121f8]
test eax, eax
jl 0x11846
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call dword [0x121f4]
test eax, eax
jl 0x11846
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 4]
jne 0x11840
mov edx, dword [ebp + 0xc]
mov ax, word [ebp - 0x48]
mov byte [ebp - 1], 1
mov word [edx], ax
call dword [0x121d4]
push dword [ebp - 0x14]
call dword [0x121ac]
push dword [ebp - 8]
call dword [0x121b8]
cmp byte [ebp - 1], 1
je 0x11868
inc esi
cmp esi, 0x20
jb 0x11778
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4f9a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c60d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [edi], 0x50b114
mov dword [edi + 4], esi
mov dword [esp + 0x24], esi
lea eax, [edi + 0x30]
push eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
call fcn.00507a00
mov byte [esp + 0x24], 1
push ecx
mov ebx, esp
mov dword [esp + 0x18], esp
push 0x4dd598
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
call fcn.004eb300
mov byte [esp + 0x28], 2
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4f9a93
push 0x80004003
call 0x59f4d0
lea edx, [esp + 0x14]
mov bl, 1
push edx
mov byte [esp + 0x2c], bl
call fcn.004f8030
mov byte [esp + 0x24], 3
mov eax, dword [eax]
mov esi, dword [edi + 4]
cmp esi, eax
je 0x4f9acc
mov dword [edi + 4], eax
test eax, eax
je 0x4f9ac0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
test esi, esi
je 0x4f9acc
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f9ae0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [edi + 4], 0
sete al
test al, al
je 0x4f9b9e
push ecx
mov ebx, esp
mov dword [esp + 0x1c], esp
push 0x4dd598
call fcn.004eb300
mov byte [esp + 0x28], 4
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4f9b17
push 0x80004003
call 0x59f4d0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x2c], 1
call fcn.004f8280
mov bl, 5
mov byte [esp + 0x24], bl
mov ecx, dword [edi]
mov esi, dword [ecx]
mov eax, dword [eax]
test esi, esi
jne 0x4f9b40
push 0x80004003
call 0x59f4d0
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
call fcn.004f7f20
mov byte [esp + 0x24], 6
mov eax, dword [eax]
mov esi, dword [edi + 4]
cmp esi, eax
je 0x4f9b75
mov dword [edi + 4], eax
test eax, eax
je 0x4f9b69
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4f9b75
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f9b89
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f9b9e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call fcn.004f9d90
mov dword [esp + 0x24], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x4ff5f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c80b3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi], 0x4de8e8
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esi], 0x4dd784
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.004eb120
mov byte [esp + 0x28], 1
push esi
call fcn.004fee00
cmp eax, ebx
je 0x4ff694
cdq
mov byte [esi + 0x1c], 1
mov ecx, dword [0x504f44]
mov dword [esp + 0x14], edx
mov edx, dword [0x504f40]
push ecx
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.004eae10
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x10], edx
mov dword [esp + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 8
Function at 0x50d970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c08b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0
call edx
test eax, eax
jge 0x50d9c5
push 0x4dbec4
push esi
push eax
call 0x59f4f0
mov eax, dword [esp + 8]
mov dword [ebx], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 1
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x14
ret 4

Function at 0x5110f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7590
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push 0x4df454
lea edx, [esp + 0x14]
push edx
call 0x55a860
mov byte [esp + 0x38], 2
lea eax, [esp + 0x1c]
call 0x559a70
mov al, byte [esp + 0x14]
cmp al, 1
jne 0x511199
lea ecx, [esp + 0xc]
call 0x559f10
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
call 0x559a70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
cmp al, 4
jne 0x5111d2
mov ecx, dword [esp + 0xc]
push ecx
call 0x58568d
add esp, 4
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
call 0x559a70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
call 0x559a70
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5121f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7560
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [0x50a72c]
and ecx, 0xffffff01
xor ebx, ebx
or ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0xc]
push edx
push 0x4dea44
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 4]
call 0x55a860
mov byte [esp + 0x38], 1
mov ecx, eax
call 0x559f10
mov esi, eax
mov byte [esp + 0x38], bl
lea eax, [esp + 0x1c]
call 0x559a70
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
call 0x559a70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x513410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7560
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [0x50a730]
and ecx, 0xffffff01
xor ebx, ebx
or ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0xc]
push edx
push 0x4dea44
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 4]
call 0x55a860
mov byte [esp + 0x38], 1
mov ecx, eax
call 0x559f10
mov esi, eax
mov byte [esp + 0x38], bl
lea eax, [esp + 0x1c]
call 0x559a70
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
call 0x559a70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x535b20
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4c492f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x503870]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x535b62
push ecx
sub eax, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.005351c0
lea esi, [esp + 0x18]
lea ecx, [esp + 0x70]
call fcn.00535270
mov eax, dword [esp + 0x98]
push eax
push edi
lea ebx, [esp + 0x78]
call fcn.00535a30
add esp, 0xc
mov dword [esp + 0x8c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call 0x584249
add esp, 0x84
ret