joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd2916b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x420], 4
mov dword [ebp - 0x41c], 0
je 0xd29170f
lea ebx, [esi + 0x110]
push ebx
push 0x20019
push 0
push edi
push Ordinal_3
mov dword [ebp - 0x418], ebx
call fcn.0d2a7e10
test eax, eax
je 0xd29179a
lea eax, [esi + 0x110]
push eax
push 0x20019
push 0
push edi
push Ordinal_3
mov dword [ebp - 0x418], eax
call fcn.0d2a7e10
test eax, eax
je 0xd291794
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xb3b0
call fcn.0d29fa20
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push 0x104
push edx
call sub.msvcrt.dll_swprintf_s
mov edx, dword [esi + 0x7c]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x6c]
push ecx
push edx
push 0x3f
call fcn.0d288e10
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x418]
mov edx, dword [ebx]
lea eax, [ebp - 0x420]
push eax
lea edi, [esi + 0xa8]
push edi
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0xd273510
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0xd2917d2
mov dword [ebp - 0x41c], 0xffffffff
jmp 0xd29187d
cmp dword [ebp - 0x424], 1
jne 0xd29182c
mov ecx, esi
call fcn.0d291300
test ax, ax
je 0xd291815
mov ecx, esi
call fcn.0d291300
cmp ax, 1
je 0xd291815
mov edi, 1
mov ebx, 0xd27175c
call fcn.0d2905d0
mov ebx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0xffffffff
jmp 0xd29187d
cmp byte [edi], 0x19
jne 0xd29187d
mov ecx, esi
call fcn.0d290ed0
movzx eax, ax
mov dword [ebp - 0x41c], eax
jmp 0xd29187d
movzx cx, byte [edi]
movzx edx, cx
push edx
push esi
call fcn.0d287b20
cmp byte [edi], 0x19
jne 0xd29187d
mov ecx, dword [ebx]
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 0
push 0xd2734f8
push ecx
call fcn.0d2a7e10
test eax, eax
je 0xd291870
mov ecx, esi
call fcn.0d290ed0
movzx edx, ax
mov dword [ebp - 0x41c], edx
jmp 0xd29187d
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
test eax, eax
je 0xd291890
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx], 0
mov eax, dword [esi + 0x10c]
test eax, eax
je 0xd2918ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x10c], 0
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x41c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 0xc
Function at 0xd291f80
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x974
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, 4
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x974], eax
mov dword [ebp - 0x970], eax
mov eax, dword [esi + 0x10c]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x968], ebx
cmp eax, ebx
je 0xd291fcd
push eax
call edi
mov dword [esi + 0x10c], ebx
mov eax, dword [esi + 0x108]
cmp eax, ebx
je 0xd291fe0
push eax
call edi
mov dword [esi + 0x108], ebx
mov eax, dword [esi + 0x110]
cmp eax, ebx
je 0xd291ff3
push eax
call edi
mov dword [esi + 0x110], ebx
test dword [esi + 0x5c], 0x8000
je 0xd292180
movzx eax, byte [esi + 0xa9]
mov ecx, dword [esi + 0xac]
mov edx, dword [ecx + eax*4 + 0x4c]
mov eax, dword [esi + 0x118]
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xd273258
lea ecx, [ebp - 0x964]
push 0x12c
push ecx
call sub.msvcrt.dll_swprintf_s
lea edx, [ebp - 0x964]
push edx
push 0xd273300
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call sub.msvcrt.dll_swprintf_s
push 0xd273468
lea ecx, [ebp - 0x25c]
push ecx
push 0xd271a6c
lea edx, [ebp - 0x4b4]
push 0x12c
push edx
call sub.msvcrt.dll_swprintf_s
movzx eax, byte [esi + 0xa9]
mov ecx, dword [esi + 0xac]
mov edx, dword [ecx + eax*4 + 0x4c]
add esp, 0x40
push edx
lea eax, [ebp - 0x4b4]
push eax
push 0xd271a6c
lea ecx, [ebp - 0x70c]
push 0x12c
push ecx
call sub.msvcrt.dll_swprintf_s
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0x14
lea edx, [ebp - 0x70c]
push edx
push Ordinal_3
call edi
lea eax, [ebp - 0x4b4]
push eax
push Ordinal_3
call edi
lea ecx, [ebp - 0x25c]
push ecx
push Ordinal_3
call edi
and dword [esi + 0x5c], 0xffff7fff
lea edx, [ebp - 0x96c]
push edx
push 0x2001f
push ebx
push 0xd273208
push Ordinal_3
call fcn.0d2a7e10
test eax, eax
jne 0xd292180
lea eax, [ebp - 0x970]
push eax
mov eax, dword [ebp - 0x96c]
lea ecx, [ebp - 0x968]
push ecx
lea edx, [ebp - 0x974]
push edx
push ebx
push 0xd2731d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xd29215f
cmp dword [ebp - 0x968], ebx
jbe 0xd29213c
dec dword [ebp - 0x968]
mov ecx, dword [ebp - 0x970]
mov eax, dword [ebp - 0x96c]
push ecx
lea edx, [ebp - 0x968]
push edx
push 4
push ebx
push 0xd2731d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x968], ebx
jne 0xd292180
push 0xd273208
push Ordinal_3
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
Function at 0xd29a090
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push esi
push edi
mov edi, ecx
push 0x90
push edi
mov dword [ebp - 0x41c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
or word [ebx + 0xe], 1
push 0
push 0
push 0xf0
push 0x93
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0xd29a0ef
or word [ebx + 0xe], 2
jmp 0xd29a0f8
mov ecx, 0xfffd
and word [ebx + 0xe], cx
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 8], eax
cmp eax, 0xaea2
jne 0xd29a1bc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0x94
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea esi, [ebp - 0x20c]
call fcn.0d2c3faf
test eax, eax
je 0xd29a2b4
mov eax, dword [ebx + 4]
test eax, eax
je 0xd29a168
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29a171
mov ecx, dword [ebp - 0x41c]
sub eax, edx
lea edx, [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
push edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push ecx
call fcn.0d29f000
mov dword [ebx + 4], eax
test eax, eax
jne 0xd29a1bc
push edi
call fcn.0d29dc60
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0x81
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.msvcrt.dll_wcstol]
mov edx, dword [ebp - 0x418]
movzx ecx, word [edx]
add esp, 0xc
test cx, cx
je 0xd29a229
cmp cx, 0x20
je 0xd29a210
cmp cx, 9
jne 0xd29a223
add edx, 2
mov dword [ebp - 0x418], edx
movzx ecx, word [edx]
test cx, cx
jne 0xd29a204
jmp 0xd29a229
cmp word [edx], 0
jne 0xd29a28c
cmp eax, 0x7fff
ja 0xd29a28c
push 0
push 0
push 0xf0
push 0x9c
push edi
mov word [ebx + 0xc], ax
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0xd29a26c
or word [ebx + 0xe], 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
mov edx, 0xfffb
and word [ebx + 0xe], dx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0xaec9
call fcn.0d29fa20
push 0x30
push 0
lea ecx, [ebp - 0x414]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
Function at 0xd2a74f7
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push 0xd273c08
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd2a75cc
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd2a75bb
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0xd2a75a5
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0xd2a75bb
push eax
push edi
push dword [ebp - 0x110]
call fcn.0d2a748f
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0xd2a75ce
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0d2a6cd9
leave
ret 4

Function at 0xd2a78c0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0xd2a78f9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret
mov ecx, dword [str._b_r]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0xd272fd4
lea eax, [ebp - 0x318]
push 0x20a
push eax
call fcn.0d2a7850
add esp, 0x14
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret
Function at 0xd2a7d20
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0xd2a7d3f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
jmp 0xd2a7d41
xor eax, eax
mov ecx, dword [ebp + 0x18]
and ecx, 4
cmp dword [ebp + 0x14], 0
jne 0xd2a7d53
lea edx, [ebp - 4]
mov dword [ebp + 0x14], edx
test ebx, ebx
je 0xd2a7dee
test eax, eax
je 0xd2a7dee
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0xd2a7d6d
mov eax, esi
push edi
mov edi, eax
test ecx, ecx
je 0xd2a7da6
lea esi, [eax + eax]
lea eax, [esi + 1]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xd2a7db4
push 0xd273d38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, esi
jl 0xd2a7dac
mov edi, esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0xd2a7dd5
mov ecx, dword [ecx]
push 0
push 0
push esi
push ecx
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jg 0xd2a7de0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], esi
jg 0xd2a7de0
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0xd2be4e9
Capabilities:
Encode data using xor

Disassembly:
call 0xd2be462
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0xd2be492
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0xd2be4ae
xor edx, 0
jmp 0xd2be4b9
xor edx, edx
jmp 0xd2be4d0
jmp 0xd2be4dc
xor eax, eax
push 0x8427d7c0
call 0xd2be4e9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0xd2be525
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0xd2be4fe
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0xd2be53c
add eax, 0
jno 0xd2be541
add esi, 0
ret 0x10
Function at 0xd2bf2aa
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0xd2bf2cc
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0xd2bf46e
cmp edi, dword [ebp + 0x10]
jb 0xd2bf46e
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0d2bed96
inc edi
jmp 0xd2bf355
jmp 0xd2bf362
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2bed96
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2bed96
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0xd2bf3b6
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0xd2bf39a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0d2bf3e4
add dword [eax], 0x39
jle 0xd2bf3c0
sub al, 0xf5
mov ch, al
call fcn.0d2bf3f9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0xd2c10d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0xd2c10e7
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0xd2c10f8
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0d2c1139
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0xd2c34a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0xd2c33ee
add ebx, 0
push ecx
call 0xd2c3403
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71736250
sub ebx, dword [0x71755a8f]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71755a7f
call fcn.0d2beecd
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0d2be3db
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0xd2c3561
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0xd2c3561
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0xd2c3518
mov eax, 1
lock xchg dword [0x71755a8b], eax
push 0x3dd1fc71
call 0xd2c34a5
push esi
add esp, 8
cmp eax, 0
jne 0xd2c348e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0xd2c34b4
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0xd2c34c9
cmp ecx, edx
cmp eax, 0
je 0xd2c34ee
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0xd2c34d8
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0d2c3507
dec eax
loope 0xd2c350a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71755a8b], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0xd2c353e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0xd2c3553
jmp 0xd2c355e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0xd2c344c

Function at 0xd2ca5c6
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0xd2ca89c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71742703
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x717396c9
push 0xffffffffffffffff
call fcn.0d2c17c6
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0xd2ca630
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0d2ca648
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0xd2ca890
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xd2ca864
Function at 0xd2da096
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xd2da0b8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2da0b8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2da0b8
ret
cmp word [ebx + 4], 0x14c
jne 0xd2da0b8
test word [ebx + 0x16], 2
je 0xd2da0b8
test word [ebx + 0x16], 0x100
je 0xd2da0b8
cmp word [ebx + 0x18], 0x10b
jne 0xd2da0b8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2da0b8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2da144
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2da0d8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c1023
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2da0b8
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0xd2da144
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xd2da0b8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2da0b8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2da0b8
ret
cmp word [ebx + 4], 0x14c
jne 0xd2da0b8
test word [ebx + 0x16], 2
je 0xd2da0b8
test word [ebx + 0x16], 0x100
je 0xd2da0b8
cmp word [ebx + 0x18], 0x10b
jne 0xd2da0b8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2da0b8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2da144
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2da0d8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c1023
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2da0b8
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0xd2da1fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2da254
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2da1fb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2da20a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0xd6dfead
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0xd2da25b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0d2c10d1
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da2fa
add edi, 4
add eax, 2
dec ecx
jne 0xd2da240
call 0xd2da2a7
loope 0xd2da29d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da2f7
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0xd2da308
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0xd2da2bb
cmp eax, ecx
ja 0xd2da2bb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da345
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da33b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c15b0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]