joyce8/EMBER2024-capa huggingface dataset:
Function at 0xeca1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00eca140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00eca140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00eca140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00eca140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xecabfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xecac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xedc87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xecac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xecac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x405743
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c128]
jne 0x40574d
repz ret
jmp fcn.00409270

Function at 0x40b5cf
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.00405866
and dword [ebp - 4], 0
cmp dword [0x43d708], 0
mov ebx, eax
jne 0x40b680
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b731
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b731
push eax
call fcn.004057f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43d708], eax
call esi
push eax
call fcn.004057f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43d70c], eax
call esi
push eax
call fcn.004057f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43d710], eax
call esi
push eax
call fcn.004057f4
pop ecx
mov dword [0x43d718], eax
test eax, eax
je 0x40b680
push 0x419434
push edi
call esi
push eax
call fcn.004057f4
pop ecx
mov dword [0x43d714], eax
mov eax, dword [0x43d714]
cmp eax, ebx
je 0x40b6d8
cmp dword [0x43d718], ebx
je 0x40b6d8
push eax
call fcn.0040586f
push dword [0x43d718]
mov esi, eax
call fcn.0040586f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b6d8
test edi, edi
je 0x40b6d8
call esi
test eax, eax
je 0x40b6cf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b6cf
test byte [ebp - 0xc], 1
jne 0x40b6d8
or dword [ebp + 0x10], 0x200000
jmp 0x40b711
mov eax, dword [0x43d70c]
cmp eax, ebx
je 0x40b711
push eax
call fcn.0040586f
pop ecx
test eax, eax
je 0x40b711
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b711
mov eax, dword [0x43d710]
cmp eax, ebx
je 0x40b711
push eax
call fcn.0040586f
pop ecx
test eax, eax
je 0x40b711
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43d708]
call fcn.0040586f
pop ecx
test eax, eax
je 0x40b731
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b733
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415ee1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x43bbbc], 0
mov byte [0x43bbc0], 0
mov dword [0x43bbb8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x415fb6
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x43bbc4], 0
mov edx, dword [0x43bbbc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x43bbc4], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x43bbbc], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x43bbc0], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x43bbc0]
mov edx, dword [0x43bbbc]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x43bbb8]
add edx, 1
mov dword [0x43bbb8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x415f21
jmp 0x415ff0
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x43bbb8]
add eax, 1
mov dword [0x43bbb8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x415fb6
mov dword [0x43bbb8], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x415f21
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416238
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x43bbb4], 0x262f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x43bbb0], 0x1063
mov dword [ebp - 0x30], eax
jmp 0x4162a4
lea eax, [ebp - 0x24]
mov dword [0x43bbb4], 0xe2
mov dword [ebp - 0x34], eax
call fcn.00417044
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.00416e4a
mov dword [0x43bbb0], 0x14e9
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x416377
jmp 0x4162cc
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x418b90]
mov dl, byte [eax + 0x418b61]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x416266
jmp 0x4162a4
mov eax, dword [ebp - 0x38]
mov dword [0x43bbb0], 0x58d
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.00415d16
mov dword [0x43bbb4], 0x158b
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x43bbb0], 0x177f
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x10], ecx
add ecx, 0x1219
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x41636e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x41637f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x43bbb0]
add ecx, 0xfffff274
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [0x43bbb0], eax
call fcn.00416661
xor ecx, ecx
mov edx, eax
mov dword [0x43bbb4], 0x184
mov esi, dword [eax + 0x3c]
mov dword [0x43bbb0], 0xffffc88c
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x43bbb0], 0xb
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
je 0x4164f2
jmp 0x416453
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x34]
add ecx, edx
mov esi, dword [ebp - 0x20]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
je 0x4164a4
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x416400
jmp 0x4164a4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, 0xb
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
jmp 0x416473
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor esi, esi
add ecx, 0xfffff274
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + edx*4]
mov dword [0x43bbb0], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x30], esi
jmp 0x416400
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x4164d9
jmp 0x4164ad
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x2c], eax
jb 0x416473
jmp 0x4164f2
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x20]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4164fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x43bbb8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x43bbbc], 0
mov dword [0x43bbc8], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x416659
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x43bbb8], edx
mov ecx, dword [0x43bbb0]
add ecx, 0xfffff3fd
mov dword [0x43bbb0], ecx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x43bbbc], edx
mov dword [0x43bbb0], 0x1051
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x43bbc0], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x43bbc0]
mov edx, dword [0x43bbbc]
mov byte [edi + edx], cl
mov dword [0x43bbb0], 0x60d
mov edx, dword [0x43bbb8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x43bbbc]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x43bbb0], 0x1495
and ebx, 0xff
mov dword [0x43bbc8], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dword [0x43bbb0], 0x97a
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x416659
mov eax, dword [0x43bbbc]
mov ecx, dword [0x43bbb8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x41655a
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416a73
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x43bbb0], 0x1517
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.00415a56
lea ecx, [0x416a26]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov edx, dword [0x43bbb4]
mov dword [esp + 0x38], 0x138c00
mov esi, dword [0x43bb9c]
mov dword [esp + 0x88], esi
mov esi, dword [0x43bba0]
mov dword [esp + 0x4c], esi
add edx, 0xfffffc43
mov dword [0x43bbb0], edx
mov edx, dword [0x43bba4]
mov dword [esp + 0x74], edx
mov edx, dword [0x43bba8]
mov dword [esp + 0x70], edx
mov edx, dword [0x43bbac]
mov dword [esp + 0x80], edx
mov dword [0x43bbb4], 0xffffe615
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x416b33
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x416b4f
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x416b10
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [0x43bbb4], 0x184
mov dword [0x43bbb0], 0xffffc88c
mov ecx, dword [esp + 0x14]
add ecx, 0x50
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx]
mov dword [esp + 0x44], edx
call fcn.00416d10
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x416bc4
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00416238
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x416d10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x43bbb4], 0x2149
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x43bbb0], 0x817
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x416d79
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x416e42
mov dword [0x43bbb0], 0x4cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x416e1d
jmp 0x416d50
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x416da6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x416d79
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x416d50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6f
jne 0x416d50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x416d50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x416d50
mov dword [0x43bbb0], 0x24e4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x416d5a
jmp 0x416d50
mov eax, 1
mov dword [0x43bbb0], 0x1d5c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x416d50
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x4035d0
Capabilities:
Check for sandbox and av modules
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
push 0x5d7374
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4035fb
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403617
push 0x5d73a4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x403620
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x403631
mov dword [ebp - 0xc], 0x5d73b8
jmp 0x403638
mov dword [ebp - 0xc], str.DbgHelp.dll
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x403650
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push 0x5d73bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40367b
push 0x5d7420
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4036c2
push 0x5d743c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x5d7454
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x5d7468
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
jmp 0x4036e0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x4036f2
mov dword [ebp - 0xc], 0x5d7478
jmp 0x4036f9
mov dword [ebp - 0xc], 0x5d7480
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x403715
mov dword [ebp - 0x10], 0x5d747c
jmp 0x40371c
mov dword [ebp - 0x10], 0x5d74d0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x403738
mov dword [ebp - 0x14], 0x5d7518
jmp 0x40373f
mov dword [ebp - 0x14], str.Iphlpapi.dll
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x403a40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push 0x5d799c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403a6b
push 0x5d79b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403abe
push 0x5d79c4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
push 0x5d79d8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
push 0x5d79f0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x2c], ecx
jmp 0x403ae6
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x403af8
mov dword [ebp - 0xc], 0x5d7a08
jmp 0x403aff
mov dword [ebp - 0xc], 0x5d7a10
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24], 0
je 0x403b1b
mov dword [ebp - 0x10], 0x5d7a0c
jmp 0x403b22
mov dword [ebp - 0x10], 0x5d7a58
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0
je 0x403b3e
mov dword [ebp - 0x14], 0x5d7a54
jmp 0x403b45
mov dword [ebp - 0x14], str.Psapi.dll
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x403d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
push 0x5d7d84
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403d9b
push 0x5d7d9c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403dcd
push 0x5d7d14
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
push 0x5d7db4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
jmp 0x403de1
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x54], 0
je 0x403df3
mov dword [ebp - 0xc], 0x5d7dd4
jmp 0x403dfa
mov dword [ebp - 0xc], 0x5d7dd8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
je 0x403e16
mov dword [ebp - 0x10], 0x5d7e30
jmp 0x403e1d
mov dword [ebp - 0x10], str.User32.dll
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x403e30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
push 0x5d7ea4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403e5b
push 0x5d7ebc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403e78
push str.GetDpiForMonitor
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x78], eax
jmp 0x403e82
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 0
je 0x403e94
mov dword [ebp - 0xc], 0x5d7ed4
jmp 0x403e9b
mov dword [ebp - 0xc], str.Shcore.dll
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x404940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 1
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp + 0x14]
push eax
call fcn.00402270
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.004048a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404989
xor eax, eax
jmp 0x4049e8
cmp dword [ebp + 0xc], 0
je 0x404995
cmp dword [ebp + 0x10], 0
jne 0x4049a8
mov ecx, dword [ebp - 4]
push ecx
call fcn.0055aa92
add esp, 4
mov eax, 1
jmp 0x4049e8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0055ac62
add esp, 0x10
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0055aa92
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jne 0x4049de
mov dword [ebp - 8], 1
jmp 0x4049e5
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00407b70
movzx ecx, al
test ecx, ecx
jne 0x407931
push str.CDebugLog::PushLog1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0055af9c
add esp, 4
mov esp, ebp
pop ebp
ret 0x10