joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f65
Capabilities:
Encode data using base64

Disassembly:
push 0
lea ebp, [ebp]
mov bx, bx
jmp 0x40e2b6
push esi
call fcn.00417229
mov eax, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
jb 0x440fb6
push 0x41abd1
ret
xchg cx, si
xchg si, cx
pop ebp
ret
jmp 0x42e6e8
push esi
mov esi, dword [ebp + 0x10]
mov edx, edx
push 0xa
jmp 0x40e2ad
lea esp, [esp + 4]
jae 0x42e6e7
jb 0x434f73
fiadd word [ebx]
mov ax, 0x18
jno 0x42e6dd
jo 0x434f82
insb byte es:[edi], dx
aam 0xa9
jo 0x42e6dd
cmp ah, 0x66
xchg ebx, ecx

Function at 0x435a3a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
add dh, 0xba
sub dh, 0xba
cmp al, 0x53
jmp 0x407aae

Function at 0x438abf
Capabilities:
Get file size

Disassembly:
mov eax, eax
push ebp
shr edi, 0x40
mov ebp, esp
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xchg ecx, eax
xchg ecx, eax
mov ecx, dword [ebp + 8]
test eax, 0xb30c5415
test ecx, ecx
jb 0x42320d
je 0x438afd

Function at 0x43e660
Capabilities:
Authenticate hmac
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push 0x10
push esi
call fcn.0044076e
push str.HLW32Proc
push 0
xchg bh, ch
xchg ch, bh
push str.API_1LNM.DLL
push 0
call dword [0x505ad8]
shl si, 0x20
push eax
call dword [0x505ad4]
push ebx
mov dword [ebp + 8], eax
call edi
mov eax, dword [ebp + 8]
test eax, eax
jb 0x41d04a
jne 0x419a01
shr bp, 0x40
je 0x42b2bc
nop
cpuid
ret
ja 0x41c1fb
jbe 0x42b2c6
mov ebp, 0x2f860ffd
ud0
jbe 0x41c1fb
fmul dword [esi]
mov dword [esi + 0xbc], edi
pop dword [esp - 4]
push 0x505adc
je 0x43e68f
jne 0x43e674
div dword [eax]
xor ebp, dword [eax - 0x1a]
pop edx
push eax
add byte [ecx - 0x3eff950a], cl
out dx, eax
inc eax
push 0x505ae6
mov esi, esi
push 0
shr edi, 0x40
push 0x505af2
mov cx, cx
jmp 0x42b28f
ja 0x42b277
jbe 0x43e69a
xor bh, byte [edx - 0x51]
jbe 0x42b277
and eax, 0xc4d8b2b
add ebx, 4
cmp bx, bx
add edi, 4
dec ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], ecx
jne 0x42d312
invalid
je 0x43e6cc
fldenv [ecx - 0x1d]
dec ebx
je 0x43e6c2
mov ecx, dword [ebp + 8]
mov dx, word [eax + 0x2c]
mov word [ecx], dx
push 0x41f34b
ret

Function at 0x43e767
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
mov ebx, dword [ebp + 0xc]
push esi
jne 0x42d1e1
je 0x43e77c
nop
cpuid
ret 0x840f
je 0x42d1e1
xor ch, 0xf
test dword [edx], esi
xchg ebx, eax
std
dec dword [eax + 0x280474d2]
fisttp qword [ebx + 0x24]
mov ax, ax
jmp fcn.00433ac6
Function at 0x4408a9
Capabilities:
Authenticate hmac
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
jno 0x405e52
jo 0x4408b5
cpuid
ret
jo 0x405e52
add eax, 0xfc4d8b26
push edi
push edx
push ebx
pop ebx
push eax
shl dx, 0x20
mov si, si
push ecx
push 0
call fcn.004231a6
add esp, 0x24
test ax, ax
jb 0x4388a7
shr ebp, 0x40
je 0x44091d
jne 0x4408f5
sbb dh, byte [edx + 0x665712f6]
mov edx, edx
mov dx, dx
mov edx, dword [esi]
shl cx, 0x20
xchg bh, cl
xchg cl, bh
push eax
push edx
call fcn.0044076e
add esp, 8
pop edi
pop esi
pop ebx
mov dx, dx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ebx, edi
and eax, 7
jb 0x414948
je 0x440948
xchg bh, al
xchg al, bh
jne 0x44093a
out dx, eax
fiadd word [eax - 0x127f6c3b]
xchg ebx, eax
add ch, 0x93
sub ch, 0x93
sub ebx, eax
add ebx, 8
mov ecx, dword [esi]
mov eax, ebx
sub eax, edi
push eax
push ecx
call fcn.00423af4
mov edx, dword [esi]
js 0x4198d6
jns 0x440962
xor byte [edx - 0x709176f1], ch
std
push dword [ecx + ecx]
jns 0x4198d6
xor al, 9

Function at 0x444860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebp
xor ebp, ebp
test eax, eax
jle 0x4448ef
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
lea esp, [esp]
inc ecx
and ecx, 0x800000ff
jns 0x444891
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, cl
movzx edx, byte [ecx + eax]
add edx, esi
and edx, 0x800000ff
jns 0x4448aa
dec edx
or edx, 0xffffff00
inc edx
movzx esi, dl
mov bl, byte [esi + eax]
mov dl, byte [ecx + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx edx, byte [ecx + eax]
movzx ebx, byte [esi + eax]
add edx, ebx
and edx, 0x800000ff
jns 0x4448d3
dec edx
or edx, 0xffffff00
inc edx
movzx edx, dl
mov bl, byte [edx + eax]
mov edx, dword [esp + 0x14]
xor byte [edi + edx], bl
mov edx, dword [esp + 0x18]
inc ebp
movsx edi, bp
cmp edi, edx
jl 0x444880
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x444900
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, edi
lea esp, [esp]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x444910
xor dl, dl
xor ecx, ecx
mov esi, edi
mov ebp, 0x100
mov eax, dword [esp + 0x14]
movzx ebx, byte [esi]
movzx edx, dl
movzx eax, byte [edx + eax]
sub eax, ebx
add eax, ecx
and eax, 0x800000ff
jns 0x444945
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, al
mov al, byte [esi]
mov bl, byte [ecx + edi]
mov byte [esi], bl
mov byte [ecx + edi], al
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x18]
inc esi
dec ebp
jne 0x444925
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x445260
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x4452b8
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xf
movzx ecx, word [ecx*4 + 0x506170]
shr ax, 4
mov ebx, edx
and ebx, 0xf
xor cx, word [ebx*4 + 0x506170]
shr edx, 4
xor ecx, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*4 + 0x506170]
xor ax, word [edx*4 + 0x506170]
shr cx, 4
xor eax, ecx
inc esi
dec edi
jne 0x445271
pop esi
pop ebx
pop edi
ret

Function at 0x4456a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jbe 0x4456cf
push ebx
lea ebx, [ebx]
xor edx, edx
mov dl, byte [ecx + edi]
xor edx, eax
and edx, 0xff
mov ebx, dword [edx*4 + 0x506230]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, esi
jb 0x4456b0
pop ebx
not eax
ret

Function at 0x445cd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
push esi
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov ecx, 4
mov al, byte [esi + 2]
mov bl, byte [eax + str._.C]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jle 0x445d08
mov edx, ebx
inc ecx
and edx, 0xff
inc ebx
mov dl, byte [edx + str._.C]
xor byte [esi + ecx - 1], dl
cmp ecx, eax
jl 0x445cf0
pop esi
pop ebx
ret

Function at 0x445fd0
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 8]
push ebx
and ax, 0x8000
push esi
mov dx, word [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ax, 1
sbb eax, eax
add dx, dx
inc eax
or ax, dx
mov word [esp + 0x10], ax
xor byte [esp + 0x11], al
mov ax, word [esp + 0x10]
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
mov esi, 0x55
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
mov eax, 0x58
mov dl, byte [esp + 0x10]
mov bl, byte [esp + 0x10]
and dl, 0x80
add bl, bl
shr dl, 7
add ecx, 2
or dl, bl
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x11]
and dl, 1
mov bl, byte [esp + 0x11]
shl dl, 7
shr bl, 1
or dl, bl
mov byte [esp + 0x11], dl
mov bl, byte [esp + 0x10]
xor byte [esp + 0x11], bl
mov dx, word [esp + 0x10]
not dx
mov word [esp + 0x10], dx
xor word [ecx - 2], dx
add word [esp + 0x10], si
dec eax
jne 0x446053
pop esi
pop ebx
ret
Function at 0x44db10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x88
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov esi, dword [esp + 0x98]
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x44db40
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
je 0x44dc32
mov eax, dword [esp + 0x10]
xor dword [esi], eax
mov ecx, dword [esp + 0x14]
xor dword [esi + 4], ecx
cmp dword [esp + 0x20], 0
jne 0x44dc02
cmp dword [esp + 0x1c], 2
push 0
jbe 0x44dbe3
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
jne 0x44dccd
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x30]
mov edi, 0x19
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov cl, 0x20
add eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [ebx + 4], eax
add ebx, 4
mov eax, dword [esp + 0x28]
mov edx, dword [ebx - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x34], eax
dec edi
jne 0x44dbb4
jmp 0x44dc10
push 0
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
je 0x44dc10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0044dd90
add esp, 8
mov eax, dword [esi]
add esi, 8
mov dword [esp + 0x10], eax
inc dword [esp + 0x20]
mov ecx, dword [esi - 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x24]
jb 0x44db67
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x44dc48
mov cl, byte [eax + esi]
xor byte [esp + eax + 0x10], cl
inc eax
cmp dword [esp + 0x18], eax
ja 0x44dc3a
cmp dword [esp + 0x1c], 2
jbe 0x44dc63
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0044dd90
add esp, 8
jmp 0x44dc88
cmp dword [esp + 0x1c], 1
jne 0x44dc77
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 0
push 0
push eax
call fcn.0044dce0
add esp, 0xc
cmp dword [esp + 0x1c], 1
jbe 0x44dcc0
xor ecx, ecx
cmp dword [esp + 0x18], ecx
je 0x44dca7
mov dl, byte [ecx + esi - 8]
lea eax, [ecx + esi]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x18], ecx
ja 0x44dc97
mov eax, dword [esp + 0x10]
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi - 4], ecx
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
Function at 0x44de00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov ebx, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x44de30
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x14], 1
jbe 0x44df25
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x2c], eax
je 0x44df25
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
jne 0x44dee5
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
jne 0x44e022
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x38]
mov esi, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov cl, 0x20
add eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [edi + 4], eax
add edi, 4
mov eax, dword [esp + 0x30]
mov edx, dword [edi - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x3c], eax
dec esi
jne 0x44deb6
jmp 0x44def3
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor dword [ebx], eax
mov edx, dword [esp + 0x20]
xor dword [ebx + 4], ecx
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
inc dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jb 0x44de74
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], eax
je 0x44df4e
mov eax, dword [esp + 0x10]
lea esi, [ebx + 8]
lea edi, [esp + 0x18]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x14], 1
jne 0x44df76
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x14], 2
jne 0x44df9e
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
cmp dword [esp + 0x14], 1
jbe 0x44e015
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor dword [esp + 0x18], eax
xor dword [esp + 0x1c], ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x44dfdf
mov dl, byte [ecx + ebx + 8]
lea eax, [ecx + ebx]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x10], ecx
mov dl, byte [esp + ecx + 0x17]
mov byte [eax + 8], dl
ja 0x44dfc8
cmp dword [esp + 0x14], 2
jne 0x44e007
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x50697c], 0
je 0x44e015
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor dword [ebx], eax
xor dword [ebx + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
Function at 0x44e030
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0xc
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
add edi, 0x64
mov ebp, dword [esi]
mov eax, dword [esi + 4]
sub ebp, dword [edi]
mov edx, eax
shr edx, 7
mov ebx, ebp
and dl, 0x1f
mov cl, 0x20
sub cl, dl
sub edi, 8
shl ebx, cl
mov cl, dl
shr ebp, cl
or ebx, ebp
mov cl, 0x20
xor ebx, eax
mov eax, ebx
mov dword [esi], ebx
shr eax, 4
mov edx, dword [edi + 4]
add edx, dword [esi + 4]
and al, 0x1f
mov ebp, edx
sub cl, al
shl ebp, cl
mov cl, al
shr edx, cl
or ebp, edx
xor ebp, ebx
dec dword [esp + 0x10]
mov dword [esi + 4], ebp
jne 0x44e04a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax + 4]
sub dword [esi], ecx
mov edx, dword [eax]
sub dword [esi + 4], edx
pop esi
pop ebx
add esp, 4
ret

Function at 0x44f5f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x44f619
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.00445a10
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x44f634
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x44f64a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x4516c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4521e0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00451640
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x452270
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x50d9c0]
and eax, 0xff00
cmp eax, 0x5000
je 0x4522bd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x4522bd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x452290
pop ebx
pop edi
ret
Function at 0x457c70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x50ea18]
and eax, 0xff00
cmp eax, 0x2300
je 0x457cbd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x457cbd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x457c90
pop ebx
pop edi
ret
Function at 0x461960
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c184a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f4f98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004618c0
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.BrowseFile.0
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebx + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4d7168
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push str.Executable_Files__.exe_.exeAll_Files__._.
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x34], 6
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4daa5c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.004ab400
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x3c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x461d90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c19a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f4f98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DiskInfo.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x461e5a
push edi
lea ecx, [esi + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
mov ecx, esi
call fcn.0047cf80
push edi
mov ecx, esi
call fcn.0048c630
push edi
mov ecx, esi
call fcn.0047c0e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x462fc0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
mov dword [esi], vtable.MemoryStatus.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
xor ecx, ebp
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0x24], edx
pop esi
call fcn.004bee1d
mov esp, ebp
pop ebp
ret
Function at 0x4643e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c237d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4f98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.ShellExec.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.mfc140u.dll_AfxGetThread
test eax, eax
je 0x4644a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
je 0x4644a2
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret