joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100064d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10006694
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
jmp 0x100064fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10006501
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100064f0
mov eax, 1
add ebx, ebx
jne 0x10006513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10006508
jne 0x10006524
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10006508
xor ecx, ecx
sub eax, 3
jb 0x10006538
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100065aa
mov ebp, eax
add ebx, ebx
jne 0x10006543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10006550
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10006574
inc ecx
add ebx, ebx
jne 0x10006560
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10006555
jne 0x10006571
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10006555
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10006594
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10006585
jmp 0x100064f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10006594
add edi, ecx
jmp 0x100064f6
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100065b2
cmp byte [edi], 0
jne 0x100065b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100065b7
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x10006626
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100065e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6068]
or eax, eax
je 0x10006620
mov dword [ebx], eax
add ebx, 4
jmp 0x10006601
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10006657
cmp al, 0xef
ja 0x1000664a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000662c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10006639
mov ebp, dword [esi + 0x606c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000668b
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x408200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ac56
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4310b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0x3c]
call fcn.00408710
mov dword [ebp - 4], 0
push str.Decrypt
lea ecx, [ebp - 0x64]
call fcn.00401700
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xb4], fcn.00402750
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00408740
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx + 0xb4]
mov dword [eax], ecx
push 0x17
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408740
mov ecx, dword [eax]
call ecx
add esp, 8
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.00401780
lea ecx, [ebp - 0xa0]
call fcn.004086d0
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x74], 0x4a
mov byte [ebp - 0x73], 0x52
mov byte [ebp - 0x72], 0x52
mov byte [ebp - 0x71], 0x56
mov byte [ebp - 0x70], 0x51
mov byte [ebp - 0x44], 0x34
mov byte [ebp - 0x43], 0x4f
mov byte [ebp - 0x42], 0x57
mov byte [ebp - 0x41], 0x41
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0xa4], 0x49
mov byte [ebp - 0xa3], 0x5f
mov byte [ebp - 0xa2], 0x41
mov byte [ebp - 0xa1], 0x38
mov byte [ebp - 0x6c], 0x4e
mov byte [ebp - 0x6b], 0x4a
mov byte [ebp - 0x6a], 0x53
mov byte [ebp - 0x69], 0x51
mov byte [ebp - 0x68], 0x36
mov byte [ebp - 0x67], 0x4a
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x57
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x57
mov byte [ebp - 0x18], 0x59
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x4e
mov byte [ebp - 0x15], 0x50
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x84], 0x45
mov byte [ebp - 0x83], 0x44
mov byte [ebp - 0x82], 0x38
mov byte [ebp - 0x81], 0x4d
mov byte [ebp - 0x80], 0x50
mov byte [ebp - 0x7f], 0x32
mov byte [ebp - 0x48], 0x41
mov byte [ebp - 0x47], 0x33
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00405ab0
mov dword [ebp - 0x78], eax
push 0x400
mov edx, dword [ebp + 0x20]
push edx
push 0
call dword [ebp - 0x78]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00401780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004032d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c861
mov esp, ebp
pop ebp
ret 0x28

Function at 0x40c861
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4310b4]
jne 0x40c86b
repz ret
jmp fcn.0040e2cd
Function at 0x42592d
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.00411f60
and dword [ebp - 4], 0
cmp dword [0x432a90], 0
mov ebx, eax
jne 0x4259de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425a8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425a8f
push eax
call fcn.00411eee
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432a90], eax
call esi
push eax
call fcn.00411eee
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x432a94], eax
call esi
push eax
call fcn.00411eee
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x432a98], eax
call esi
push eax
call fcn.00411eee
pop ecx
mov dword [0x432aa0], eax
test eax, eax
je 0x4259de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411eee
pop ecx
mov dword [0x432a9c], eax
mov eax, dword [0x432a9c]
cmp eax, ebx
je 0x425a36
cmp dword [0x432aa0], ebx
je 0x425a36
push eax
call fcn.00411f69
push dword [0x432aa0]
mov esi, eax
call fcn.00411f69
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425a36
test edi, edi
je 0x425a36
call esi
test eax, eax
je 0x425a2d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425a2d
test byte [ebp - 0xc], 1
jne 0x425a36
or dword [ebp + 0x10], 0x200000
jmp 0x425a6f
mov eax, dword [0x432a94]
cmp eax, ebx
je 0x425a6f
push eax
call fcn.00411f69
pop ecx
test eax, eax
je 0x425a6f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425a6f
mov eax, dword [0x432a98]
cmp eax, ebx
je 0x425a6f
push eax
call fcn.00411f69
pop ecx
test eax, eax
je 0x425a6f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432a90]
call fcn.00411f69
pop ecx
test eax, eax
je 0x425a8f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425a91
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push edi
mov ebx, edx
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x1000
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ax, word [ebx]
mov word [ebp], ax
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x1000
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10001464
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100014a0
push esi
push ecx
push ecx
xor esi, esi
mov word [ebp + 0xc], 0xfeeb
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [ebp + 0xc]
lea ecx, [eax + 0x23dd]
call fcn.10001000
pop ecx
pop ecx
push esi
push esi
push esi
push sym.WrapPlugin.dll_nitialize2
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x1000b470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000b49d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000b49d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406201
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
je 0x406208
jmp 0x4062bd
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
cld
invalid
invalid
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x406261
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x406266
jmp 0x405bb9
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4062ad
lea eax, [ebp - 0x714]
push eax
call fcn.00404227
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004041dc
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x4062b8
jmp 0x4062bd
jmp 0x405bb9
cmp dword [ebp - 0x37c], 0
jne 0x406367
mov eax, dword [ebp - 0x748]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4
Function at 0x38333b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x38333f0
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x383df2c]
test eax, eax
jne 0x3833414
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.03833ea0
mov dword [0x383df2c], eax
call eax
mov ebx, eax
mov eax, dword [0x383daf8]
test eax, eax
jne 0x383343c
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.03833ea0
mov dword [0x383daf8], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x38334f2
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x38334e2
cmp ebx, 8
jb 0x38334c7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x3833486
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x38334c7
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x38334a0
cmp edx, ebx
jae 0x38334e2
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x38334d0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x38334f0
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3833560
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x3833589
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x383df2c]
test eax, eax
jne 0x38335ad
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.03833ea0
mov dword [0x383df2c], eax
call eax
mov edi, eax
mov eax, dword [0x383daf8]
test eax, eax
jne 0x38335d5
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.03833ea0
mov dword [0x383daf8], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x3833655
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x383364a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x3833610
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x3833660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x383368a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x383df2c]
test eax, eax
jne 0x38336ae
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.03833ea0
mov dword [0x383df2c], eax
call eax
mov edi, eax
mov eax, dword [0x383daf8]
test eax, eax
jne 0x38336d6
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.03833ea0
mov dword [0x383daf8], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x3833742
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x383373a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x3833710
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x3833c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0xd417
xor dword [esp + 4], 0xfe7518b6
add dword [esp + 4], 0xffff66fd
xor dword [esp + 4], 0xfe75339e
mov dword [esp], 0xc20a
or dword [esp], 0xac700
shr dword [esp], 2
or dword [esp], 0x597d730f
xor dword [esp], 0x360881cc
or dword [esp], 0x27d50529
add dword [esp], 0xfc7f
xor dword [esp], 0x6ff873ac
push ebx
mov dword [esp + 4], 0x7ffe
mov ebx, ecx
shl dword [esp + 4], 9
xor dword [esp + 4], 0xfffc10
cmp byte [ebx], 0
je 0x3833d5e
push esi
push edi
jmp 0x3833cd0
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0xc20a
or dword [esp + 0xc], 0xac700
shr dword [esp + 0xc], 2
or dword [esp + 0xc], 0x597d730f
xor dword [esp + 0xc], 0x360881cc
or dword [esp + 0xc], 0x27d50529
add dword [esp + 0xc], 0xfc7f
xor dword [esp + 0xc], 0x6ff873ac
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x7ffe
shl dword [esp + 0xc], 9
xor dword [esp + 0xc], 0xfffc10
shl esi, cl
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x3833cd0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x3833ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3833efc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.03833c50
xor eax, 0x1616ce02
cmp eax, dword [esp + 0x10]
je 0x3833f06
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3833ee0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3833f34
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3833f34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x38340b0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x38340d6
cmp al, 0x2e
je 0x38340d3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x38340c3
jmp 0x38340d6
mov byte [edx], 0
mov eax, dword [0x383de6c]
test eax, eax
jne 0x38340fa
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xe12e7135
mov ecx, eax
call fcn.03833ea0
mov dword [0x383de6c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3834141
mov eax, dword [0x383ddcc]
test eax, eax
jne 0x383412b
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xc93d75ee
mov ecx, eax
call fcn.03833ea0
mov dword [0x383ddcc], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3834141
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.03833c50
xor eax, 0x1616ce02
mov ecx, edi
mov edx, eax
call fcn.03833ea0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3833f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx]
cmp ebx, ecx
je 0x383409a
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x14], 0xd417
xor dword [esp + 0x14], 0xfe7518b6
add dword [esp + 0x14], 0xffff66fd
xor dword [esp + 0x14], 0xfe75339e
mov dword [esp + 0x10], 0xc20a
or dword [esp + 0x10], 0xac700
shr dword [esp + 0x10], 2
or dword [esp + 0x10], 0x597d730f
xor dword [esp + 0x10], 0x360881cc
or dword [esp + 0x10], 0x27d50529
add dword [esp + 0x10], 0xfc7f
xor dword [esp + 0x10], 0x6ff873ac
mov dword [esp + 0x10], 0x7ffe
shl dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xfffc10
cmp word [edx], 0
je 0x3834081
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0xc20a
or dword [esp + 0x10], 0xac700
shr dword [esp + 0x10], 2
or dword [esp + 0x10], 0x597d730f
xor dword [esp + 0x10], 0x360881cc
or dword [esp + 0x10], 0x27d50529
add dword [esp + 0x10], 0xfc7f
xor dword [esp + 0x10], 0x6ff873ac
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x7ffe
shl dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xfffc10
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x3834060
cmp eax, 0x5a
ja 0x3834060
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebp
cmp word [edx], 0
jne 0x3833fe4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x36f387d6
cmp eax, dword [esp + 0x1c]
je 0x38340a4
mov ebx, dword [ebx]
cmp ebx, ecx
jne 0x3833f65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x3834370
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x383450e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x383450e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x383450e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x383450e
mov eax, dword [0x383e0a8]
test eax, eax
jne 0x38343db
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0x2fc76848
mov ecx, eax
call fcn.03833ea0
mov dword [0x383e0a8], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3834505
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x383e2b4]
test eax, eax
jne 0x383443b
mov ecx, 0xe4dda7c2
call fcn.03833f40
mov edx, 0x2bab1175
mov ecx, eax
call fcn.03833ea0
mov dword [0x383e2b4], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x38344be
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x383e2b4]
test eax, eax
jne 0x38344a6
mov ecx, 0xe4dda7c2
call fcn.03833f40
mov edx, 0x2bab1175
mov ecx, eax
call fcn.03833ea0
mov dword [0x383e2b4], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3834465
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.03834640
mov edx, edi
mov ecx, ebx
call fcn.03834550
pop esi
test eax, eax
jne 0x3834505
mov eax, dword [0x383e134]
test eax, eax
jne 0x38344f9
mov ecx, 0xb98d61a4
call fcn.03833f40
mov edx, 0xece41155
mov ecx, eax
call fcn.03833ea0
mov dword [0x383e134], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret