joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
xor esi, esi
xor ebp, ebp
nop
nop
movzx edi, byte [esp + ebp]
mov eax, esi
and eax, 2
mov ebx, ebp
xor ebx, 0x3b269f89
add ebx, eax
xor ebx, edi
mov eax, ebx
not eax
or eax, 0xd83ee252
lea edi, [ebx + eax]
inc edi
mov eax, edi
and eax, 0xfd
mov ecx, edi
and ecx, 2
or edi, 2
imul edi, ecx
xor ecx, 2
imul ecx, eax
xor ebx, 0x52
add ebx, edi
add ebx, ecx
inc bl
mov byte [esp + ebp], bl
inc ebp
add esi, 2
cmp ebp, 8
jne 0x440860
mov eax, dword [esp]
mov edi, dword [0x44cd58]
test edi, edi
je 0x440912
xor ebx, ebx
mov ebp, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x5b126fe8
je 0x4408e1
inc ebx
cmp edi, ebx
jne 0x4408d0
jmp 0x440912
mov ebx, dword [ebp + ebx*8 + 4]
cmp ebx, eax
je 0x440912
lea eax, [esp + 8]
push 0
push 0
push edx
push dword [esp + 0x34]
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x30
cmp eax, 0x103
jne 0x4409d9
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
xor eax, eax
xor ecx, ecx
movzx esi, byte [esp + ecx]
mov edi, eax
and edi, 2
mov edx, ecx
xor edx, 0x3b269f89
add edx, edi
xor edx, esi
mov esi, edx
not esi
or esi, 0xd83ee252
lea edi, [edx + esi]
inc edi
mov esi, edi
and esi, 0xfd
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
xor ebx, 2
imul ebx, esi
xor edx, 0x52
add edx, edi
add edx, ebx
inc dl
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x440930
mov eax, dword [esp]
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x4409d1
xor edx, edx
mov edi, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x4409b0
inc edx
cmp ecx, edx
jne 0x4409a0
jmp 0x4409d1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4409d1
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x18
test eax, eax
js 0x4409d9
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4409f0
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4409ee
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
xor esi, esi
xor ebp, ebp
nop
nop
movzx edi, byte [esp + ebp]
mov eax, esi
and eax, 2
mov ebx, ebp
xor ebx, 0x3b269f89
add ebx, eax
xor ebx, edi
mov eax, ebx
not eax
or eax, 0xd83ee252
lea edi, [ebx + eax]
inc edi
mov eax, edi
and eax, 0xfd
mov ecx, edi
and ecx, 2
or edi, 2
imul edi, ecx
xor ecx, 2
imul ecx, eax
xor ebx, 0x52
add ebx, edi
add ebx, ecx
inc bl
mov byte [esp + ebp], bl
inc ebp
add esi, 2
cmp ebp, 8
jne 0x440a20
mov eax, dword [esp]
mov edi, dword [0x44cd58]
test edi, edi
je 0x440ad2
xor ebx, ebx
mov ebp, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xa2545bf7
je 0x440aa1
inc ebx
cmp edi, ebx
jne 0x440a90
jmp 0x440ad2
mov ebx, dword [ebp + ebx*8 + 4]
cmp ebx, eax
je 0x440ad2
lea eax, [esp + 8]
push 0
push 0
push edx
push dword [esp + 0x34]
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x30
cmp eax, 0x103
jne 0x440b99
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
xor eax, eax
xor ecx, ecx
movzx esi, byte [esp + ecx]
mov edi, eax
and edi, 2
mov edx, ecx
xor edx, 0x3b269f89
add edx, edi
xor edx, esi
mov esi, edx
not esi
or esi, 0xd83ee252
lea edi, [edx + esi]
inc edi
mov esi, edi
and esi, 0xfd
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
xor ebx, 2
imul ebx, esi
xor edx, 0x52
add edx, edi
add edx, ebx
inc dl
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x440af0
mov eax, dword [esp]
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x440b91
xor edx, edx
mov edi, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x440b70
inc edx
cmp ecx, edx
jne 0x440b60
jmp 0x440b91
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440b91
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x18
test eax, eax
js 0x440b99
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x440ba7
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
mov ebx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x440bd0
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 8], bp
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi]
mov ebp, eax
and ebp, 2
mov ebx, edi
xor ebx, 0x3b269f89
add ebx, ebp
xor ebx, ecx
mov ecx, ebx
not ecx
or ecx, 0xd83ee252
lea ebp, [ebx + ecx]
inc ebp
mov ecx, ebp
and ecx, 0xfd
mov edx, ebp
and edx, 2
or ebp, 2
imul ebp, edx
xor edx, 2
imul edx, ecx
xor ebx, 0x52
add ebx, ebp
add ebx, edx
inc bl
mov byte [esp + edi], bl
inc edi
add eax, 2
cmp edi, 8
jne 0x440c50
mov eax, dword [esp]
mov edi, dword [0x44cd58]
test edi, edi
je 0x440cf8
xor ebx, ebx
mov ebp, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x40915fe0
je 0x440cd1
inc ebx
cmp edi, ebx
jne 0x440cc0
jmp 0x440cf8
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x440cf8
lea eax, [esp + 0x10]
push esi
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0x10
push edi
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402e30
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push 0x40216c
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x402e89
mov edx, dword [esp]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push 0x4021e0
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
add esp, 8
ret
Function at 0x403200
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4012a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401268
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
lea eax, [ebp - 0x30]
push 0x402214
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
call fcn.00402e30
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
push ecx
push esi
mov word [0x404084], si
mov word [0x404086], bx
mov dword [0x404088], esi
mov word [0x40408c], si
mov dword [0x404090], ebx
mov word [0x404094], si
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x40403c
call edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x40403c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x402ff0
mov dword [0x404040], eax
mov dword [0x404048], eax
call fcn.00402e90
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push esi
push esi
push 1
push esi
mov dword [0x40404c], eax
mov dword [0x404050], esi
mov dword [0x404054], esi
call edi
push esi
push esi
push 1
push esi
mov dword [0x404078], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x404080], eax
call edi
mov ecx, dword [0x404078]
mov dword [0x40407c], eax
cmp ecx, esi
je 0x40338d
cmp dword [0x404080], esi
je 0x40338d
cmp eax, esi
je 0x40338d
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push 4
push esi
push 0x403140
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x404044], eax
je 0x403392
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x404044]
push ebx
push esi
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x40407c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 1
jne 0x40338d
push 4
mov word [0x404084], bx
mov word [0x404086], si
call fcn.00402ea0
mov eax, dword [0x404044]
cmp word [0x404084], si
jne 0x4033be
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [0x404078]
push eax
call esi
mov ecx, dword [0x404080]
push ecx
call esi
mov edx, dword [0x40407c]
push edx
call esi
mov eax, dword [0x404084]
push 0x403401
not eax
mov word [0x404086], ax
mov ecx, dword [0x404084]
mov dword [ebp - 0x3c], ecx
jmp 0x4033e5
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 0x44], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x403420
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0xc], eax
mov ecx, 5
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov word [esp + 0x10], ax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
lea ecx, [esp + 4]
mov byte [esp + 0x11], al
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
mov ecx, 2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
lea edx, [esp + 0x30]
push eax
push edx
call dword [sym.imp.ADVAPI32.DLL_AllocateAndInitializeSid]
test eax, eax
je 0x4034a4
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.DLL_CheckTokenMembership]
test eax, eax
je 0x403499
mov ecx, dword [esp + 8]
xor edx, edx
cmp ecx, esi
setne dl
neg edx
mov esi, edx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.DLL_FreeSid]
mov ax, si
pop esi
add esp, 0x10
ret
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, 0x407ef8
mov ecx, 0x2c4326c7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x41890af8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
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
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10003010
Capabilities:
Encode data using xor

Disassembly:
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, 0x38
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x30], xmm0
test al, 3
je 0x1000305b
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x1003215c]
test eax, eax
jne 0x1000307f
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x6afd40ed
mov ecx, eax
call fcn.100037c0
mov dword [0x1003215c], eax
call eax
mov dword [ebp - 8], eax
mov eax, dword [0x10031e24]
test eax, eax
jne 0x100030a8
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x8aa1fe41
mov ecx, eax
call fcn.100037c0
mov dword [0x10031e24], eax
push edi
push 8
push dword [ebp - 8]
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x10003163
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov eax, ecx
sub eax, esi
add eax, 3
shr eax, 2
cmp esi, ecx
cmova eax, edx
mov dword [ebp - 4], eax
test eax, eax
je 0x10003154
cmp eax, 8
jb 0x1000313a
mov ecx, edi
lea edx, [ecx - 4]
lea edx, [edx + eax*4]
dec eax
mov dword [ebp - 0xc], edx
mov edx, 0
lea eax, [esi + eax*4]
cmp ecx, eax
ja 0x100030fd
cmp dword [ebp - 0xc], esi
jae 0x10003137
mov ecx, dword [ebp - 4]
mov eax, ecx
movdqa xmm1, xmmword [ebp - 0x30]
and eax, 7
sub ecx, eax
lea esp, [esp]
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, ecx
jb 0x10003110
mov eax, dword [ebp - 4]
cmp edx, eax
jae 0x10003154
mov ecx, dword [ebp - 4]
sub edi, esi
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [ebp - 0x10]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ecx
jb 0x10003143
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10003160
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100031d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
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 [ebp - 4], edx
lea ebx, [eax + 1]
mov dword [ebp - 0xc], eax
add esi, 4
push edi
test bl, 3
je 0x100031fa
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x1003215c]
test eax, eax
jne 0x1000321e
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x6afd40ed
mov ecx, eax
call fcn.100037c0
mov dword [0x1003215c], eax
call eax
mov edi, eax
mov eax, dword [0x10031e24]
test eax, eax
jne 0x10003246
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x8aa1fe41
mov ecx, eax
call fcn.100037c0
mov dword [0x10031e24], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x100032ba
shr ebx, 2
xor eax, eax
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 0x100032b1
xor edi, edi
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, dword [ebp - 4]
lea esi, [esi + 4]
movzx eax, cl
inc edi
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 edi, ebx
jb 0x10003277
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100032d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [ebp - 8], edx
lea ebx, [eax + 1]
mov dword [ebp - 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x100032fa
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x1003215c]
test eax, eax
jne 0x1000331e
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x6afd40ed
mov ecx, eax
call fcn.100037c0
mov dword [0x1003215c], eax
call eax
mov edi, eax
mov eax, dword [0x10031e24]
test eax, eax
jne 0x10003346
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x8aa1fe41
mov ecx, eax
call fcn.100037c0
mov dword [0x10031e24], eax
push ebx
push 8
push edi
call eax
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100033a1
shr ebx, 2
xor edi, edi
mov ecx, eax
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, edi
test ebx, ebx
je 0x1000339a
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, dword [ebp - 8]
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 0x10003370
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100035b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0x3676bd17
mov eax, 0xcccccccd
mov dword [ebp - 0x30], 0x2e9ae770
mov dword [ebp - 0x2c], 0xd249bc14
mov dword [ebp - 0x28], 0x9b08c6ec
mov dword [ebp - 0x24], 0xda1383a9
mov dword [ebp - 0x20], 0xd6ca5acc
mov dword [ebp - 0x1c], 0xab07daa1
mov dword [ebp - 0x18], 0xbd4e1c6
mov dword [ebp - 0x14], 0x751bdae2
mov dword [ebp - 0x10], 0x7a2fa82c
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x193
push ebx
mov ebx, ecx
mov ecx, dword [ebp - 8]
mul ecx
shr edx, 6
mov dword [ebp - 8], edx
shl dword [ebp - 8], 3
or dword [ebp - 8], 0xf59d6c8a
shl dword [ebp - 8], 0xd
imul eax, dword [ebp - 8], 0x45
mov dword [ebp - 8], eax
mov eax, 0xc0e07039
add dword [ebp - 8], 0x52bd
mov ecx, dword [ebp - 8]
mul ecx
mov eax, 0x4104105
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mul ecx
mov eax, 0x1f7047dd
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [ebp - 8], ecx
xor dword [ebp - 8], 0x599c2
mov dword [ebp - 4], 0x621e
xor dword [ebp - 4], 0xd63fda2d
or dword [ebp - 4], 0x67fc2b7b
mov ecx, dword [ebp - 4]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [ebp - 4], ecx
add dword [ebp - 4], 0x2cb3
or dword [ebp - 4], 0x33f0279a
add dword [ebp - 4], 0xe3c3
add dword [ebp - 4], 0xffff53a4
xor dword [ebp - 4], 0x33fd6f23
mov dword [ebp - 4], 0xc236
imul eax, dword [ebp - 4], 0x6e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffff4cfd
or dword [ebp - 4], 0x7fdf76f7
imul eax, dword [ebp - 4], 0x34
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0xf965ffdc
cmp byte [ebx], 0
je 0x100037b7
push esi
push edi
lea esp, [esp]
mov edi, dword [ebp - 8]
lea ebx, [ebx + 1]
mov dword [ebp - 4], 0x621e
mov eax, 0x1f7047dd
xor dword [ebp - 4], 0xd63fda2d
or dword [ebp - 4], 0x67fc2b7b
mov ecx, dword [ebp - 4]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [ebp - 4], ecx
add dword [ebp - 4], 0x2cb3
or dword [ebp - 4], 0x33f0279a
add dword [ebp - 4], 0xe3c3
add dword [ebp - 4], 0xffff53a4
xor dword [ebp - 4], 0x33fd6f23
movzx ecx, byte [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0xc236
imul eax, dword [ebp - 4], 0x6e
shl esi, cl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffff4cfd
or dword [ebp - 4], 0x7fdf76f7
imul eax, dword [ebp - 4], 0x34
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0xf965ffdc
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 8]
movsx eax, byte [ebx - 1]
mov dword [ebp - 8], eax
add dword [ebp - 8], esi
shl edx, cl
add dword [ebp - 8], edx
sub dword [ebp - 8], edi
cmp byte [ebx], 0
jne 0x10003700
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100037c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
add eax, 0x78
add eax, ebx
mov dword [ebp - 0x14], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x20]
add edi, ebx
add eax, ebx
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x1c]
add ecx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x24]
add ecx, ebx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x18], esi
jbe 0x1000381d
lea ecx, [ecx]
mov ecx, dword [eax + esi*4]
add ecx, ebx
call fcn.100035b0
xor eax, 0x2ec8af48
cmp eax, dword [ebp - 4]
je 0x10003826
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x10003800
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x10003851
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x10003851
call fcn.10003ab0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
cmp edx, 0x40
jb 0x1000436d
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x1000436d
mov esi, dword [ebx + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0x1000436d
mov eax, 0x10b
cmp word [esi + 0x18], ax
jne 0x1000436d
mov eax, dword [0x10031f08]
test eax, eax
jne 0x10004288
mov ecx, 0x8d58a494
call fcn.10003860
mov edx, 0x17190902
mov ecx, eax
call fcn.100037c0
mov dword [0x10031f08], eax
push edi
push 0x40
push 0x3000
push dword [esi + 0x50]
push 0
call eax
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x10004364
movzx ecx, word [esi + 0x14]
lea eax, [esi + 0x18]
add eax, ecx
movzx ecx, word [esi + 6]
mov esi, dword [esi + 0x54]
mov dword [ebp - 0xc], eax
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
mov dword [ebp - 8], eax
mov eax, dword [0x10031e70]
test eax, eax
jne 0x100042e4
mov ecx, 0xd00862f2
call fcn.10003860
mov edx, 0x1375703f
mov ecx, eax
call fcn.100037c0
mov dword [0x10031e70], eax
push esi
push ebx
push edi
call eax
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp eax, ecx
jae 0x10004364
sub ecx, eax
lea esi, [eax + 0x10]
dec ecx
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 5
inc ebx
lea esp, [esp]
mov edi, dword [esi]
cmp dword [esi - 8], edi
mov eax, dword [esi + 4]
cmovb edi, dword [esi - 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x10031e70]
test eax, eax
jne 0x1000434f
mov ecx, 0xd00862f2
call fcn.10003860
mov edx, 0x1375703f
mov ecx, eax
call fcn.100037c0
mov dword [0x10031e70], eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
call eax
add esp, 0xc
add esi, 0x28
dec ebx
jne 0x10004310
mov edi, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret