joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443320
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x104
mov edi, ecx
mov esi, edx
push eax
push edi
call ebx
test eax, eax
je 0x443373
lea eax, [ebp - 0x20c]
push eax
call fcn.004011e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401a46
mov al, 1
jmp 0x4433c2
push 0x7fff
lea ecx, [ebp - 0x218]
call fcn.00417120
push 0x7fff
push dword [ebp - 0x218]
push edi
call ebx
test eax, eax
je 0x4433b3
push dword [ebp - 0x218]
call fcn.004011e1
pop ecx
push eax
push dword [ebp - 0x218]
mov ecx, esi
call fcn.00401a46
mov bl, 1
jmp 0x4433b5
xor bl, bl
lea ecx, [ebp - 0x218]
call fcn.00417170
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x4435de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.0044348d
test al, al
je 0x443606
mov eax, 0x1126
jmp 0x443756
and dword [ebp - 0xc], 0
lea edx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 8], 7
mov ecx, esi
mov word [ebp - 0x1c], ax
call fcn.004431d1
lea ecx, [ebp - 0x1c]
mov bh, al
call fcn.004432cc
lea edx, [ebp - 0x1c]
mov bl, al
mov ecx, edx
call fcn.00443247
test bl, bl
jne 0x44364b
test al, al
jne 0x44364b
test bh, bh
jne 0x44364b
push 0x7b
pop esi
jmp 0x443748
xor bh, bh
or edi, 0xffffffff
test bl, bl
jne 0x44369d
push 0x498c28
lea ecx, [ebp - 0x34]
call fcn.0040197a
push edi
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ebx
push ecx
mov ecx, eax
call fcn.00401dfd
push eax
lea ecx, [ebp - 0x4c]
call fcn.004022a2
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004064f0
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004019ef
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004019ef
mov bh, 1
mov eax, edi
xor bl, bl
push eax
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040962c
push eax
lea ecx, [ebp - 0x1c]
call fcn.004064f0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.004019ef
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x44371c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x443723
cmp esi, 3
je 0x443723
cmp esi, 0x7b
je 0x443723
test bl, bl
je 0x443748
test bh, bh
je 0x443748
push 1
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x5c
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e390
cmp eax, 3
jne 0x443748
mov esi, 0x1126
jmp 0x443748
test eax, 0x400
jne 0x443746
push 1
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x5c
push eax
lea ecx, [ebp - 0x1c]
mov bl, 1
call fcn.0040e390
cmp eax, 2
ja 0x4436a1
jmp 0x443715
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004019ef
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x443767
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
push esi
lea ecx, [ebp - 0x260]
call fcn.0040197a
lea ecx, [ebp - 0x260]
call fcn.0044348d
mov bl, al
lea ecx, [ebp - 0x260]
xor eax, eax
push eax
push 1
call fcn.004019ef
test bl, bl
je 0x4437b5
mov al, 1
jmp 0x443880
xor eax, eax
mov dword [ebp - 0x234], 7
xor ebx, ebx
mov word [ebp - 0x248], ax
lea edx, [ebp - 0x248]
mov dword [ebp - 0x238], ebx
mov ecx, edi
call fcn.00443cc4
test al, al
jne 0x4437e8
xor esi, esi
jmp 0x443870
push esi
lea ecx, [ebp - 0x230]
call fcn.0040197a
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push 8
pop edi
cmp dword [ebp - 0x21c], edi
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x443849
lea eax, [ecx - 1]
push eax
push ebx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040962c
push eax
lea ecx, [ebp - 0x230]
call fcn.004064f0
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.004019ef
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.004431b2
test al, al
je 0x443891
mov bl, 1
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.004019ef
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.004019ef
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x230]
mov ecx, edx
call fcn.004431d1
lea ecx, [ebp - 0x230]
mov dl, al
call fcn.004432cc
test al, al
jne 0x443909
test dl, dl
je 0x443860
xor eax, eax
mov dword [ebp - 0x24c], 7
lea edx, [ebp - 0x260]
mov dword [ebp - 0x250], ebx
lea ecx, [ebp - 0x248]
mov word [ebp - 0x260], ax
call fcn.00443247
test al, al
je 0x4438f4
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.004431b2
mov bl, al
xor esi, esi
lea ecx, [ebp - 0x260]
push esi
push 1
call fcn.004019ef
jmp 0x443862
xor eax, eax
mov dword [ebp - 0xa], ebx
cmp dword [ebp - 0x21c], edi
mov esi, 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [ebp - 6], bx
push esi
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x443860
cmp eax, esi
je 0x443860
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x44395f
mov eax, dword [ebp - 0x220]
sub esi, ecx
sar esi, 1
add eax, 0xfffffffe
add eax, esi
cmp eax, dword [ebp - 0x238]
jne 0x443860
cmp dword [ebp - 0x234], edi
lea ecx, [ebp - 0x218]
push esi
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call fcn.00468d7f
add esp, 0xc
test eax, eax
jne 0x443860
cmp dword [ebp - 0x21c], edi
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x248]
cmovae eax, dword [ebp - 0x230]
cmp dword [ebp - 0x234], edi
cmovae ecx, dword [ebp - 0x248]
add eax, 4
push eax
lea eax, [ecx + esi*2]
push eax
call fcn.00469339
pop ecx
xor esi, esi
pop ecx
test eax, eax
jne 0x443862
mov bl, 1
jmp 0x443862
Function at 0x4475cd
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x10000
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
lea esi, [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
mov ecx, esi
call fcn.00409720
cmp dword [esi], ebx
je 0x447741
cmp dword [esi], 0xffffffff
je 0x447741
push ebx
push ebx
push 7
lea eax, [ebp - 4]
push eax
push dword [edi]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x44762e
push 0x1a
jmp 0x447743
push ebx
push ebx
push ebx
push 6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
jne 0x447649
push 0x1b
jmp 0x447743
mov esi, dword [ebp + 0xc]
lea ebx, [eax + 0x2000]
test esi, esi
je 0x447679
push 0xe000
push esi
push ebx
call fcn.00462b70
add esp, 0xc
xor eax, eax
mov ecx, dword [ebx + eax*4]
test ecx, ecx
je 0x447673
sub ecx, esi
mov dword [ebx + eax*4], ecx
inc eax
cmp eax, 0x40
jb 0x447667
mov eax, dword [ebp - 4]
push 4
push 0x4b6da8
push ecx
mov ecx, edi
mov dword [0x4b6da8], eax
call fcn.0044758e
mov esi, eax
xor ebx, ebx
mov dword [0x4b6da8], ebx
test esi, esi
jne 0x447744
push 4
push 0x4b6e1c
push ecx
mov ecx, edi
mov dword [0x4b6e1c], 0x2000
call fcn.0044758e
mov esi, eax
mov dword [0x4b6e1c], ebx
test esi, esi
jne 0x447744
push 4
push 0x4b6e2c
push ecx
mov ecx, edi
mov dword [0x4b6e2c], 0xe000
call fcn.0044758e
mov esi, eax
mov dword [0x4b6e2c], ebx
test esi, esi
jne 0x447744
push 0x1c
call fcn.00460c38
pop ecx
push dword [ebp + 8]
mov ecx, eax
push dword [edi + 0x24]
push dword [edi + 8]
push dword [edi]
call fcn.0044cadb
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x447715
call fcn.004477c6
push ecx
push ecx
push dword [ebp - 8]
mov ecx, dword [edi + 0x20]
call fcn.0044cb58
test al, al
jne 0x44772b
push 4
pop eax
jmp 0x447751
lea ecx, [edi + 4]
mov dword [edi + 0xc], ebx
call fcn.0040b980
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x447751
push 0x19
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x447c45
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x70], eax
push esi
push edi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ebx
cmp byte [eax + 0x2c], bl
jne 0x447c77
mov eax, 0x3f0
jmp 0x447d5e
lea ecx, [ebp - 0x5c]
push ecx
push 2
lea edx, [eax + 0x24]
lea ecx, [ebp - 0x60]
call fcn.0044780f
mov esi, dword [ebp - 0x60]
pop ecx
pop ecx
test esi, esi
jne 0x447c99
mov ebx, dword [ebp - 0x5c]
jmp 0x447d5c
mov eax, ebx
mov dword [ebp - 0x58], eax
cmp dword [esi], ebx
jbe 0x447d55
push 0x44
pop ecx
lea edi, [esi + 4]
mov dword [ebp - 0x6c], ecx
test dword [edi + 4], 0xc0000020
jne 0x447d46
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x51], bl
push 0x44
test ecx, ecx
je 0x447d21
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [ebp - 0x60], edx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x447d7a
mov ecx, ebx
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0x60]
push dword [edi]
add eax, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push 0x44
test eax, eax
jne 0x447d71
mov ecx, dword [ebp - 0x5c]
pop eax
add ecx, eax
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov dword [ebp - 0x60], edx
cdq
idiv dword [ebp - 0x6c]
cmp dword [ebp - 0x64], eax
jb 0x447ce6
mov eax, dword [ebp - 0x58]
push 0x44
pop ecx
cmp byte [ebp - 0x51], bl
jne 0x447d46
push dword [edi]
lea eax, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x18]
call fcn.0044476c
mov eax, dword [ebp - 0x58]
inc eax
add edi, 8
mov dword [ebp - 0x58], eax
cmp eax, dword [esi]
jb 0x447caf
push esi
call fcn.00461100
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x51], 1
jmp 0x447d21
mov eax, dword [ebp - 0x58]
jmp 0x447d22
Function at 0x44972e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x2c]
mov ebx, edx
push edi
push esi
push dword [ebp + 0x28]
xor edi, edi
mov dword [ebp - 4], ecx
push dword [ebp + 0x24]
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x44975f
xor eax, eax
jmp 0x4497c1
push 1
push edi
mov edi, 0x1fffff
mov ecx, 0x101c01
test ebx, ebx
mov eax, edi
cmove eax, ecx
push eax
push esi
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x449796
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44975b
push 1
push 0
mov ecx, 0x100c43
lea eax, [esi + 4]
test ebx, ebx
cmove edi, ecx
push edi
push eax
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a87d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
inc edi
mov dword [ebp - 0x68], eax
mov ebx, ecx
cmp byte [ebp + 8], al
jne 0x44a8a9
cmp dword [ebx + 8], eax
jne 0x44a8d4
jmp 0x44a9be
push eax
push 0x451bff
push edi
push str.NtMapViewOfSection
mov esi, 0x4992d4
push esi
call fcn.0044a37d
push edi
push 0x451df8
push edi
push str.NtUnmapViewOfSection
push esi
mov ecx, ebx
call fcn.0044a37d
mov eax, dword [ebx]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x2000
mov eax, dword [eax]
push 0x10000
push 0
push eax
mov dword [ebp - 0x60], eax
call edi
mov esi, eax
mov eax, dword [ebx + 8]
shl eax, 6
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x64], eax
call fcn.0044a28b
mov ecx, eax
mov edx, 0xfffff000
and ecx, edx
and eax, 0xfff
add esi, ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x64]
push 0x40
push 0x1000
add ecx, 0xfff
and ecx, edx
push ecx
push esi
push dword [ebp - 0x60]
call edi
mov ecx, eax
test ecx, ecx
jne 0x44a93d
mov byte [0], al
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
add edi, ecx
and dword [ebp - 0x50], 0
push 0xa4
push 0
push 0x4b6e40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0x10
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
push esi
push edi
call fcn.0044a9d1
test eax, eax
jne 0x44a9be
lea eax, [ebp - 0x68]
push eax
push 0x10
lea eax, [ebp - 0x5c]
push eax
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x44a9bb
cmp dword [ebp - 0x68], 0x10
jne 0x44a9bb
lea eax, [ebp - 0x70]
push eax
push 0x20
push esi
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0xa4
push 0x4b6e40
push ecx
mov ecx, dword [ebx]
call fcn.0044758e
jmp 0x44a9be
push 0x2a
pop eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
Function at 0x44f4a7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00414ad0
cmp dword [eax + 0x48], 1
je 0x44f4c9
mov al, 1
jmp 0x44f5bf
push esi
push esi
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
call esi
push eax
lea ecx, [ebx + 8]
call fcn.00409720
xor eax, eax
push eax
push eax
push 1
push eax
call esi
push eax
lea ecx, [ebx + 0xc]
call fcn.00409720
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebx]
lea edx, [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0
push 0x100002
push edx
push dword [ecx]
mov dword [ebp - 4], eax
push dword [ebx + 8]
push eax
call edi
test eax, eax
jne 0x44f522
xor al, al
jmp 0x44f5bf
mov eax, dword [ebx]
lea ecx, [ebp - 0xc]
push 0
push 0
push 0x100002
push ecx
push dword [eax]
push dword [ebx + 0xc]
push dword [ebp - 4]
call edi
test eax, eax
je 0x44f51b
mov eax, dword [ebx]
mov ecx, 0x1000
push 0x40
push ecx
push ecx
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x44f51b
push 0x2c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00463e50
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
push ecx
push 0x10
lea ecx, [ebp - 0x40]
push ecx
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x44f51b
cmp dword [ebp - 0x10], 0x10
jne 0x44f51b
push esi
mov ecx, ebx
call fcn.0044f5c6
test al, al
je 0x44f51b
mov ecx, ebx
call fcn.0044f7f5
test al, al
je 0x44f51b
mov eax, dword [ebx]
mov edx, esi
mov ecx, dword [eax]
call fcn.0044f41c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f5c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x104
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040197a
mov ebx, 0x492c18
push ebx
call fcn.004011e1
pop ecx
push eax
push ecx
push ebx
lea ecx, [ebp - 0x244]
call fcn.004097fe
cmp eax, 0xffffffff
jne 0x44f62d
xor bl, bl
jmp 0x44f7d1
inc eax
lea ecx, [ebp - 0x244]
push eax
call fcn.0040e220
push ecx
push ecx
lea ecx, [ebp - 0x31c]
call fcn.0044f8ec
mov eax, dword [esi]
push edi
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x30c]
mov ecx, dword [eax + 4]
push ecx
push edx
push ecx
mov eax, dword [ebp + ecx - 0x2f8]
mov edx, 0x496388
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ebp + ecx - 0x2f8], eax
lea ecx, [ebp - 0x30c]
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + 4]
or dword [ebp + eax - 0x2f8], 8
call fcn.00451613
lea edx, [ebp - 0x244]
mov ecx, eax
call fcn.00451753
mov edx, str.wow_helper.exe_
mov ecx, eax
call fcn.00451613
pop ecx
mov ecx, eax
call fcn.0044ffd5
mov ecx, eax
call fcn.00451450
pop ecx
mov ecx, eax
call fcn.0044ffd5
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x304]
call fcn.00450a8c
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call fcn.00473d7e
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x22c]
push ebx
push 1
mov esi, eax
call fcn.004019ef
push 0x40
lea eax, [ebp - 0x360]
push ebx
push eax
call fcn.00463e50
add esp, 0xc
mov dword [ebp - 0x364], 0x44
xor eax, eax
lea edi, [ebp - 0x268]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x364]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44f7a4
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x258]
call fcn.004200f0
push 0xffffffffffffffff
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne al
cmp edi, 0x102
je 0x44f799
test al, al
je 0x44f799
cmp dword [ebp - 0x248], ebx
jne 0x44f799
mov bl, 1
lea ecx, [ebp - 0x258]
call fcn.00420120
test esi, esi
je 0x44f7af
push esi
call fcn.0040b4dc
pop ecx
lea ecx, [ebp - 0x2b4]
call fcn.0044f8bd
lea eax, [ebp - 0x2b4]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0045fd40
pop ecx
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.004019ef
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
Function at 0x44f7f5
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20c], 0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x44f89f
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
cmp eax, 0x80
je 0x44f823
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x44f823
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
push 0x200
lea ecx, [ebp - 0x208]
push ecx
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x44f871
xor bl, bl
jmp 0x44f88e
cmp dword [ebp - 0x20c], 0x200
jne 0x44f86d
mov eax, dword [esi]
mov bl, 1
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x44f823
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x44f823
test bl, bl
jne 0x44f8b6
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44f835
jmp 0x44f823
mov al, 1
jmp 0x44f825

Function at 0x455517
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push dword [ebp + 8]
push edi
push 0x8000004
push edi
mov dword [esi], edi
push 0xffffffffffffffff
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
mov ecx, esi
call fcn.00409720
cmp dword [esi], edi
je 0x45555c
cmp dword [esi], 0xffffffff
je 0x45555c
push dword [ebp + 8]
push edi
push edi
push 6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ecx
pop ebp
ret 4

Function at 0x4587d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.0045b980
add esp, 4
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.0045ba30
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x458840
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.0045b980
add esp, 4
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.0045ba30
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x458980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push ebx
push esi
push edi
push eax
push 0x20119
push 0
push str.SOFTWARE360MachineSignature
push 0x80000002
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x458add
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, 0x400
mov dword [ebp - 4], esi
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
mov dword [ebx + 0x20], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.Operator
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4589fd
cmp dword [ebp - 8], 1
jne 0x458ac9
mov eax, dword [ebp - 4]
mov dword [ebx], edi
lea edi, [eax + edi]
sub esi, eax
je 0x458ac9
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.IssueDate
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458a36
cmp dword [ebp - 8], 1
jne 0x458ac9
mov dword [ebx + 4], edi
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x458ac9
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.ExpirationDate
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458a67
cmp dword [ebp - 8], 1
jne 0x458ac9
mov dword [ebx + 8], edi
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x458ac9
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.SignData
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458ac9
cmp dword [ebp - 8], 3
jne 0x458ac9
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
sub esi, eax
je 0x458ac9
lea ecx, [ebx + 0xc]
call fcn.004588b0
test eax, eax
je 0x458ac9
mov eax, dword [ebp + 0xc]
mov ecx, 0x400
push dword [ebp - 0xc]
sub ecx, esi
mov esi, 1
mov dword [eax], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret