joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f9ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fa0b4
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.0045d07c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.004f9940
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045cbc6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x4f9f82
mov edx, dword [esp + 0x10]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x4fa055
mov dword [esp + 0x10], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
sar edx, 3
mov dword [esp + 0x1c], edx
shl edx, 3
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [esp + ecx*8 + 0x58]
mov edi, dword [esi]
mov dword [esp + 0xc], edi
mov esi, dword [esi + 4]
mov ecx, ebx
shl edi, cl
and edi, edx
mov dword [esp + 8], edi
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
lea ebp, [ecx - 0x20]
mov dword [esp + 0x18], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb edi, edi
shl esi, cl
and esi, edx
mov ecx, ebp
mov edx, dword [esp + 0xc]
mov ebx, edx
shr edx, cl
and edx, edi
or edx, esi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov ebp, dword [esp + 0x14]
and ebx, ebp
or ebx, edx
mov edx, dword [esp + 8]
mov ebp, edx
shr edx, 8
mov esi, ebx
shl ebx, 0x18
or edx, ebx
mov byte [esp + 0x21], dl
mov edx, ebp
shr ebp, 0x10
mov ebx, esi
shl esi, 0x10
or esi, ebp
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov ebp, ebx
shl ebx, 8
shr edx, 0x18
or edx, ebx
mov byte [esp + 0x23], dl
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x4fa086
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
movzx esi, byte [eax + ebp]
or esi, ebx
xchg esi, ebx
mov byte [eax + ebp], bl
xchg esi, ebx
inc ecx
cmp ecx, 8
jge 0x4f9f7b
movzx ebx, byte [esp + ecx + 0x28]
lea ebp, [edx + ecx]
cmp ebp, 0x20
jge 0x4f9f7b
test byte [eax], al
cmp ebp, 0x20
jb 0x4fa078
mov eax, ebp
mov ecx, 0x20
call fcn.0045ca00
nop
call fcn.0045b540
jmp fcn.004f9ed0
Function at 0x4fe100
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fe1a8
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x6c]
test cl, cl
je 0x4fe15b
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
jmp 0x4fe192
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
ret
call fcn.0045b540
jmp fcn.004fe100
Function at 0x501640
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5017b3
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x501673
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x501673
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x501679
mov byte [esp + 0xc], 0
ret
mov ecx, dword [esp + 8]
cmp ecx, 3
je 0x501687
cmp ecx, 4
jne 0x5016b8
cmp al, 0x2c
ja 0x5016a0
lea edx, [eax - 0x21]
cmp dl, 1
jbe 0x5016b2
cmp al, 0x24
je 0x5016b2
cmp al, 0x26
jae 0x5016b2
jmp 0x5016b8
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x5016b2
cmp al, 0x5b
je 0x5016b2
cmp al, 0x5d
jne 0x5016b8
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
ja 0x5016ef
cmp al, 0x26
ja 0x5016d1
cmp al, 0x24
je 0x50170e
cmp al, 0x26
je 0x50170e
jmp 0x501795
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x50170e
lea edx, [eax - 0x2d]
cmp dl, 1
jbe 0x50178f
cmp al, 0x2f
je 0x50170e
jmp 0x501795
cmp al, 0x3d
ja 0x501706
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x50170e
cmp al, 0x3d
je 0x50170e
jmp 0x501795
lea edx, [eax - 0x3f]
cmp dl, 1
ja 0x501785
cmp ecx, 2
jg 0x501749
cmp ecx, 1
je 0x50173e
cmp ecx, 2
jne 0x501795
cmp al, 0x2f
je 0x50172c
cmp al, 0x3b
je 0x50172c
cmp al, 0x2c
jne 0x501733
mov eax, 1
jmp 0x501739
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x50176f
cmp al, 0x40
je 0x50175d
cmp al, 0x2f
je 0x50175d
cmp al, 0x3f
jne 0x501764
mov eax, 1
jmp 0x50176a
cmp al, 0x3a
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 6
je 0x50177f
cmp ecx, 7
jne 0x501795
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x5f
je 0x50178f
cmp al, 0x7e
jne 0x501795
mov byte [esp + 0xc], 0
ret
cmp ecx, 7
jne 0x5017ad
cmp al, 0x21
je 0x5017a7
add eax, 0xffffffd8
cmp al, 2
ja 0x5017ad
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
call fcn.0045b540
jmp fcn.00501640
Function at 0x1000135a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push str.C:WINDOWS_system32msimg32.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001387
push 6
call fcn.1000f075
add esp, 4
mov dword [0x10032999], eax
cmp dword [0x10032999], 0
jne 0x100013a3
mov eax, 0
jmp 0x100015c4
mov dword [ebp - 4], esp
push str.AlphaBlend
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 4], esp
je 0x100013cd
push 6
call fcn.1000f075
add esp, 4
mov dword [0x1003299d], eax
cmp dword [0x1003299d], 0
jne 0x1000140e
mov dword [ebp - 4], esp
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001404
push 6
call fcn.1000f075
add esp, 4
mov eax, 0
jmp 0x100015c4
mov dword [ebp - 4], esp
push str.DllInitialize
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001438
push 6
call fcn.1000f075
add esp, 4
mov dword [0x10032995], eax
cmp dword [0x10032995], 0
jne 0x10001479
mov dword [ebp - 4], esp
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000146f
push 6
call fcn.1000f075
add esp, 4
mov eax, 0
jmp 0x100015c4
mov dword [ebp - 4], esp
push str.GradientFill
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 4], esp
je 0x100014a3
push 6
call fcn.1000f075
add esp, 4
mov dword [0x100329a1], eax
cmp dword [0x100329a1], 0
jne 0x100014e4
mov dword [ebp - 4], esp
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x100014da
push 6
call fcn.1000f075
add esp, 4
mov eax, 0
jmp 0x100015c4
mov dword [ebp - 4], esp
push str.TransparentBlt
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000150e
push 6
call fcn.1000f075
add esp, 4
mov dword [0x1003298d], eax
cmp dword [0x1003298d], 0
jne 0x1000154f
mov dword [ebp - 4], esp
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001545
push 6
call fcn.1000f075
add esp, 4
mov eax, 0
jmp 0x100015c4
mov dword [ebp - 4], esp
push str.vSetDdrawflag
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001579
push 6
call fcn.1000f075
add esp, 4
mov dword [0x100329a5], eax
cmp dword [0x100329a5], 0
jne 0x100015ba
mov dword [ebp - 4], esp
push dword [0x10032999]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x100015b0
push 6
call fcn.1000f075
add esp, 4
mov eax, 0
jmp 0x100015c4
mov eax, 1
jmp 0x100015c4
mov esp, ebp
pop ebp
ret
Function at 0x10010190
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x100101ae
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x100101a3
pop esi
ret
Function at 0x10011f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x10011f61
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x10011fbb
inc edi
cmp edi, esi
jl 0x10011f55
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10011ff0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x10011faa
cmp byte [eax], bl
je 0x10011fc5
cmp byte [eax + 1], bl
je 0x10011fce
cmp byte [eax + 2], bl
je 0x10011fd8
cmp byte [eax + 3], bl
je 0x10011fe4
add eax, 4
cmp eax, edi
jb 0x10011f81
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x10012290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x11c]
lea eax, [esp + 0x18]
mov ebx, edi
xor esi, esi
xor ecx, ecx
sub ebx, eax
mov eax, ecx
lea ebp, [esp + ecx + 0x18]
cdq
idiv dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov byte [ebx + ebp], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + eax]
mov byte [ebp], dl
jl 0x100122c2
lea ebp, [esp + 0x18]
mov eax, edi
sub ebp, edi
mov dword [esp + 0x10], 0x100
mov cl, byte [eax]
xor edx, edx
mov dl, byte [eax + ebp]
mov byte [esp + 0x14], cl
mov ebx, dword [esp + 0x14]
add esi, edx
and ebx, 0xff
add esi, ebx
and esi, 0x800000ff
jns 0x10012322
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + edi]
mov byte [eax], dl
mov byte [esi + edi], cl
mov ecx, dword [esp + 0x10]
inc eax
dec ecx
mov dword [esp + 0x10], ecx
jne 0x100122f9
xor al, al
mov byte [edi + 0x100], al
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x100123d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor esi, esi
mov byte [esp + 0x18], cl
test edi, edi
mov byte [esp + 8], dl
jle 0x1001246c
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov cl, byte [esp + 0x20]
mov bl, byte [esp + 0x10]
inc cl
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
lea edi, [ecx + eax]
mov cl, byte [ecx + eax]
add bl, cl
mov byte [esp + 0x10], bl
mov ebx, dword [esp + 0x10]
and ebx, 0xff
lea ebp, [ebx + eax]
mov bl, byte [ebx + eax]
mov byte [edi], bl
mov byte [ebp], cl
mov bl, byte [edi]
add bl, cl
and ebx, 0xff
mov cl, byte [ebx + eax]
mov bl, byte [esi + edx]
xor bl, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + edx], bl
inc esi
cmp esi, ecx
jl 0x100123fb
mov dl, byte [esp + 0x20]
mov cl, byte [esp + 0x10]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
pop ecx
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
pop ecx
ret

Function at 0x10014d90
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x10033074]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10014da3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10014de4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1003311c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10014e16
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10014e1a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x10014e0b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10014e38
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10014e3c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x10014e2d
xor ecx, ecx
mov eax, 0x10033084
xor ebx, ebx
mov bl, byte [ecx + 0x1003312c]
cmp byte [esp + ebx + 0x14], 0
je 0x10014e67
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10033144]
cmp byte [esp + ebx + 0x14], 0
je 0x10014e7e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x10014e4e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10014dd7
lea edx, [esp + 0x84]
push edx
call fcn.10014ec0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4226eb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42272a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42272a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42272a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42272a
cmp dword [ecx + 0x74], 0xe
jbe 0x42272a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x429e8b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x429f28
push ebx
push esi
call fcn.00429e54
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00429de8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x429ed5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429f27
push edi
push eax
call fcn.00428920
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x429ef5
call fcn.0042896e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429f26
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00429de8
add esp, 0x20
test eax, eax
jne 0x429f14
push edi
call fcn.0042896e
jmp 0x429f1c
push ebx
call fcn.0042896e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42b137
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4338a0
push 0x433898
push str.FlsAlloc
push 0x1f
call fcn.0042aff6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b16b
push dword [ebp + 8]
mov ecx, esi
call dword [0x431144]
call esi
jmp 0x42b171
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42b1b5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4338b0
push 0x4338a8
push str.FlsGetValue
push 0x21
call fcn.0042aff6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b1ec
push dword [ebp + 8]
mov ecx, esi
call dword [0x431144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42b1f4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4338b8
push 0x4338b0
push str.FlsSetValue
push 0x22
call fcn.0042aff6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b22e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x431144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x430500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43052d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43052d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44ddc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x4e9420
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x514f08], 1
jge 0x4e948f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4e9465
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x4e9465
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4e9442
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4e947b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x4e9482
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x4e957f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x4e9550
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4e9545
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x4e9539
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x4e9540
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x4e957f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x4e957a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4e9563
mov eax, dword [ebx + 8]
jmp 0x4e957f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4e9571
xor eax, eax
jmp 0x4e957f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4e94af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x44f2ec
Capabilities:
Query environment variable

Disassembly:
jmp 0x4c31e3
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c31f7
xor edi, edi
jmp 0x4c323b
push ebx
push esi
call fcn.004c30d9
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0044f80a
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4c3228
push ebx
push esi
push edi
call fcn.0044f3fa
add esp, 0xc
push 2
push 0
call fcn.0044fc8d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407358
mov ecx, 0x3fc442bb
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cdf0
nop
mov ecx, 0x3f1043fb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219