joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022b1b2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1022b231
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1022b2b0
jmp 0x1022b2bf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1022b291
jmp 0x1022b2bf
mov eax, dword [0x102364ac]
add eax, 0xfffff36e
mov dword [0x102364ac], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1022b1de
jmp 0x1022b2bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1022b279
jmp 0x1022b262
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1022b2ce
jmp 0x1022b2bf
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x1022b231
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1022b1f6
jmp 0x1022b2bf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x61
je 0x1022b20e
jmp 0x1022b2bf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1022b249
xor eax, eax
mov dword [0x102364ac], 0x982
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop ebp
ret
Function at 0x1022b64b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102364b4], 0
mov dword [0x102364b8], 0
mov dword [0x102364c4], 0
mov dword [0x102364ac], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1022b79b
jmp 0x1022b6c7
mov eax, dword [0x102364b8]
mov ecx, dword [0x102364b4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102364b0], 0xb88
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102364b4], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102364b8], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102364bc], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x102364ac]
add edx, 0x20cc
mov dword [0x102364ac], edx
mov cl, byte [0x102364bc]
mov edx, dword [0x102364b8]
mov byte [edi + edx], cl
mov edx, dword [0x102364b4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102364b8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102364c4], ebx
mov dword [0x102364ac], 0x395
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x2c], edx
jne 0x1022b6b0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022b8ab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x102364b0]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x102364ac], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022c09c]
mov dh, byte [eax + 0x1022c06d]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x38], ecx
jne 0x1022b8db
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x102364b0], ecx
mov dword [ebp - 0x3c], eax
call fcn.1022b2d6
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1022bbf3
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x1022b9d1
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1022b7a3
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x102364ac], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x1c], ecx
add ecx, 0x2449
mov esi, dword [ebp - 0x44]
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x1022b9c7
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x402690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402728
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402708
xor eax, eax
push ebp
push 0x402701
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402744
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402708
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402d70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x402dd1
cmp word [0x405208], 0xd7b2
jne 0x402d99
cmp dword [0x405210], 0
jbe 0x402d99
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402df8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x402ded
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403068
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4030ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00402f6c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402584
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4030b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030d5
lea eax, [ebp - 0x10]
call fcn.00402eec
ret
Function at 0xc421b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c42140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c42140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c42140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c42140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc42bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc42c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc5487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc42c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc42c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x42ce00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.VSP1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x42ce22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ce29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ce18
mov eax, 1
add ebx, ebx
jne 0x42ce3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ce30
jne 0x42ce4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ce30
xor ecx, ecx
sub eax, 3
jb 0x42ce60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42ced2
mov ebp, eax
add ebx, ebx
jne 0x42ce6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ce78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42ce9c
inc ecx
add ebx, ebx
jne 0x42ce88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ce7d
jne 0x42ce99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ce7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42cebc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42cead
jmp 0x42ce1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42cebc
add edi, ecx
jmp 0x42ce1e
pop esi
mov edi, esi
mov ecx, 0x916
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42ceda
cmp byte [edi], 0xa
jne 0x42ceda
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 0x42cedf
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42cf57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33d14]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33e40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42cf0c
mov ecx, edi
jns 0x42cf3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x33e44]
or eax, eax
je 0x42cf51
mov dword [ebx], eax
add ebx, 4
jmp 0x42cf29
call dword [esi + 0x33e54]
mov ebp, dword [esi + 0x33e48]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x42cf8b
sub esp, 0xffffff80
jmp 0x41a95e
Function at 0x68651578
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6865161f
jmp 0x686516b5
jmp 0x6865174b
jmp 0x686517e1
jmp 0x68651877
jmp 0x6865190d
jmp 0x686519a3
jmp 0x68651a39
jmp 0x68651acf
jmp 0x68651b65
jmp 0x68651bfb
jmp 0x68651c91
jmp 0x68651d27
jmp 0x68651dbd
jmp 0x68651e53
jmp 0x68651ee9
jmp 0x68651f7f
jmp 0x68652015
jmp 0x686520ab
jmp 0x68652141
jmp 0x686521d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x68652273
jmp 0x68652309
jmp 0x6865239f
jmp 0x68652435
jmp 0x686524cb
jmp 0x68652561
jmp 0x686525f7
jmp 0x6865268d
jmp 0x68652723
jmp 0x686527b9
jmp 0x6865284f
jmp 0x686528e5
jmp 0x6865297b
jmp 0x68652a11
jmp 0x68652aa7
jmp 0x68652b3d
jmp 0x68652bd3
jmp 0x68652c69
jmp 0x68652cff
jmp 0x68652d95
jmp 0x68652e2b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x68652edb
jmp 0x68652f71
jmp 0x68653007
jmp 0x6865309d
jmp 0x68653133
jmp 0x686531c9
jmp 0x6865325f
jmp 0x686532f5
jmp 0x6865338b
jmp 0x68653421
jmp 0x686534b7
jmp 0x6865354d
jmp 0x686535e3
jmp 0x68653679
jmp 0x6865370f
jmp 0x686537a5
jmp 0x6865383b
jmp 0x686538d1
jmp 0x68653967
jmp 0x686539fd
jmp 0x68653a93
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x68653b32
jmp 0x68653bc8
jmp 0x68653c5e
jmp 0x68653cf4
jmp 0x68653d8a
jmp 0x68653e20
jmp 0x68653eb6
jmp 0x68653f4c
jmp 0x68653fe2
jmp 0x68654078
jmp 0x6865410e
jmp 0x686541a4
jmp 0x6865423a
jmp 0x686542d0
jmp 0x68654366
jmp 0x686543fc
jmp 0x68654492
jmp 0x68654528
jmp 0x686545be
jmp 0x68654654
jmp 0x686546ea
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x68654799
jmp 0x6865482f
jmp 0x686548c5
jmp 0x6865495b
jmp 0x686549f1
jmp 0x68654a87
jmp 0x68654b1d
jmp 0x68654bb3
jmp 0x68654c49
jmp 0x68654cdf
jmp 0x68654d75
jmp 0x68654e0b
jmp 0x68654ea1
jmp 0x68654f37
jmp 0x68654fcd
jmp 0x68655063
jmp 0x686550f9
jmp 0x6865518f
jmp 0x68655225
jmp 0x686552bb
jmp 0x68655351
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x68655401
jmp 0x68655497
jmp 0x6865552d
jmp 0x686555c3
jmp 0x68655659
jmp 0x686556ef
jmp 0x68655785
jmp 0x6865581b
jmp 0x686558b1
jmp 0x68655947
jmp 0x686559dd
jmp 0x68655a73
jmp 0x68655b09
jmp 0x68655b9f
jmp 0x68655c35
jmp 0x68655ccb
jmp 0x68655d61
jmp 0x68655df7
jmp 0x68655e8d
jmp 0x68655f23
jmp 0x68655fb9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x30], eax
jmp 0x68656069
jmp 0x686560ff
jmp 0x68656195
Function at 0x686750af
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68e88018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x68e88018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x68675165
jmp 0x686751fb
jmp 0x68675291
jmp 0x68675327
jmp 0x686753bd
jmp 0x68675453
jmp 0x686754e9
jmp 0x6867557f
jmp 0x68675615
jmp 0x686756ab
jmp 0x68675741
jmp 0x686757d7
jmp 0x6867586d
jmp 0x68675903
jmp 0x68675999
jmp 0x68675a2f
jmp 0x68675ac5
jmp 0x68675b5b
jmp 0x68675bf1
jmp 0x68675c87
jmp 0x68675d1d
mov dword [ebp - 0x14], 0
jmp 0x68675dba
jmp 0x68675e50
jmp 0x68675ee6
jmp 0x68675f7c
jmp 0x68676012
jmp 0x686760a8
jmp 0x6867613e
jmp 0x686761d4
jmp 0x6867626a
jmp 0x68676300
jmp 0x68676396
jmp 0x6867642c
jmp 0x686764c2
jmp 0x68676558
jmp 0x686765ee
jmp 0x68676684
jmp 0x6867671a
jmp 0x686767b0
jmp 0x68676846
jmp 0x686768dc
jmp 0x68676972
mov dword [ebp - 0x18], 0
jmp 0x68676a0f
jmp 0x68676aa5
jmp 0x68676b3b
jmp 0x68676bd1
jmp 0x68676c67
jmp 0x68676cfd
jmp 0x68676d93
jmp 0x68676e29
jmp 0x68676ebf
jmp 0x68676f55
jmp 0x68676feb
jmp 0x68677081
jmp 0x68677117
jmp 0x686771ad
jmp 0x68677243
jmp 0x686772d9
jmp 0x6867736f
jmp 0x68677405
jmp 0x6867749b
jmp 0x68677531
jmp 0x686775c7
mov dword [ebp - 0x10], 0
jmp 0x68677664
jmp 0x686776fa
jmp 0x68677790
jmp 0x68677826
jmp 0x686778bc
jmp 0x68677952
jmp 0x686779e8
jmp 0x68677a7e
jmp 0x68677b14
jmp 0x68677baa
jmp 0x68677c40
jmp 0x68677cd6
jmp 0x68677d6c
jmp 0x68677e02
jmp 0x68677e98
jmp 0x68677f2e
jmp 0x68677fc4
jmp 0x6867805a
jmp 0x686780f0
jmp 0x68678186
jmp 0x6867821c
mov dword [ebp - 0x10], 0
jmp 0x6867bff6
jmp 0x686782be
jmp 0x68678354
jmp 0x686783ea
jmp 0x68678480
jmp 0x68678516
jmp 0x686785ac
jmp 0x68678642
jmp 0x686786d8
jmp 0x6867876e
jmp 0x68678804
jmp 0x6867889a
jmp 0x68678930
jmp 0x686789c6
jmp 0x68678a5c
jmp 0x68678af2
jmp 0x68678b88
jmp 0x68678c1e
jmp 0x68678cb4
jmp 0x68678d4a
jmp 0x68678de0
jmp 0x68678e76
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x68e88014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x68678f1d
jmp 0x68678fb3
jmp 0x68679049
jmp 0x686790df
jmp 0x68679175
jmp 0x6867920b
jmp 0x686792a1
jmp 0x68679337
jmp 0x686793cd
jmp 0x68679463
jmp 0x686794f9
jmp 0x6867958f
jmp 0x68679625
jmp 0x686796bb
jmp 0x68679751
jmp 0x686797e7
jmp 0x6867987d
jmp 0x68679913
jmp 0x686799a9
jmp 0x68679a3f
jmp 0x68679ad5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x68e8801c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp fcn.68679b7c
mov eax, dword [0x68e88018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x68678228
nop
leave
ret
Function at 0x401ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x401ec8
push esi
mov esi, 1
mov edx, 0x10
sub esi, ecx
xor byte [ecx], 0x54
lea eax, [esi + ecx]
lea ecx, [ecx + 1]
sub edx, 1
jne 0x401eb5
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c3014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x186a0
mov dword [ebp - 8], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40200b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044632d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x40
push 0x186a0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044632d
mov esp, ebp
pop ebp
ret
Function at 0x4024f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a22d2
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4c3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x20]
push eax
call fcn.0041fff0
test eax, eax
je 0x40256e
mov esi, dword [eax]
mov dword [ebp - 0xfc], esi
jmp 0x402578
mov dword [ebp - 0xfc], 0xffffffff
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fff0
test eax, eax
je 0x402593
mov esi, dword [eax + 4]
mov dword [ebp - 0x100], esi
jmp 0x40259d
mov dword [ebp - 0x100], 0xffffffff
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fff0
test eax, eax
je 0x4025bb
mov esi, dword [eax + 8]
mov dword [ebp - 0x104], esi
jmp 0x4025c5
mov dword [ebp - 0x104], 0xffffffff
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fff0
test eax, eax
je 0x4025dd
mov edi, dword [eax + 0xc]
jmp 0x4025df
xor edi, edi
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fff0
test eax, eax
je 0x4025f8
mov esi, dword [eax + 0x10]
inc esi
jmp 0x4025fa
xor esi, esi
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fff0
test eax, eax
je 0x402617
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x402619
xor eax, eax
push ebx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [ebp - 0x104]
push edi
push esi
push eax
lea eax, [ebp - 0x18]
push str._n_4d__d__d__d:_d:_02d__size:__d_n
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
xor esi, esi
test ebx, ebx
je 0x40267e
mov edi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop word [eax + eax]
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax + esi]
push eax
lea eax, [ebp - 0x14]
push 0x4b6bd4
push eax
call edi
inc esi
add esp, 0xc
cmp esi, ebx
jb 0x402660
push 0x4b6be0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044632d
mov esp, ebp
pop ebp
ret
Function at 0x4028d0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004028a0
nop
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.004028a0
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
jmp 0x402906
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x402925
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.004028a0
nop
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x18], eax
jmp 0x4028fd
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x40293e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x402996
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x61c88647
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
xor edx, eax
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor edx, ecx
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
jmp 0x402935
mov edx, dword [ebp - 4]
push edx
call fcn.004028a0
nop
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.004028a0
nop
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret