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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, ecx
xor cl, cl
mov byte [edi + 4], 0
mov dword [edi], 0xffffffff
test edx, edx
je 0x100cb234
cmp edx, 0x20
jb 0x100cb200
mov ecx, edx
xorps xmm2, xmm2
and ecx, 0xffffffe0
xorps xmm1, xmm1
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
pxor xmm2, xmm0
movups xmm0, xmmword [esi + eax + 0x10]
add eax, 0x20
pxor xmm1, xmm0
cmp eax, ecx
jb 0x100cb1b0
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd ecx, xmm1
cmp eax, edx
jae 0x100cb20c
xor cl, byte [eax + esi]
inc eax
cmp eax, edx
jb 0x100cb204
test cl, cl
jne 0x100cb234
test edx, edx
je 0x100cb234
mov ecx, esi
mov byte [edi + 4], 1
mov bl, 1
call fcn.100cb090
mov dword [edi], eax
test eax, eax
js 0x100cb230
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
mov byte [edi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x100d0730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1014e058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x44]
push edi
push 5
mov ebx, ecx
call fcn.10012130
lea ecx, [ebx + 0x60]
push 5
lea edx, [ebp - 0x84]
call fcn.10012130
mov eax, dword [esi]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
test edi, edi
je 0x100d07d5
nop dword [eax]
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
lea edx, [ebp - 0x44]
call fcn.10012270
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebx + 0x60]
call fcn.10012270
mov eax, dword [ebp - 0x44]
xor dword [esi], eax
mov eax, dword [ebp - 0x40]
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x3c]
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x34]
xor dword [esi + 0x10], eax
sub edi, 1
jne 0x100d0790
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d2f1c
mov esp, ebp
pop ebp
ret 8
Function at 0x100d0aaf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1014e058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x100d0b6a
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x100d0ada
cmp edi, 0x40
jbe 0x100d0b07
mov ecx, esi
call fcn.10013740
mov edx, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.10013790
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.100136c0
jmp 0x100d0b19
test edi, edi
je 0x100d0b19
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.100d4620
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x100d0b1b
mov ecx, esi
call fcn.10013740
push 0x40
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.10013790
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x100d0b39
lea ecx, [esi + 0x68]
call fcn.10013740
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [esi + 0x68]
call fcn.10013790
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d2f1c
leave
ret 8
call fcn.100d3070
int3

Function at 0x100d16a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
inc eax
mov dword [ebp - 0xc], edx
mov ecx, dword [edx + 0x10c]
mov esi, dword [edx + 0x100]
mov ebx, dword [edx + 0x108]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 8], 4
push edi
mov edi, dword [edx + 0x104]
mov dword [ebp + 8], ecx
nop dword [eax]
movzx ecx, byte [ecx + eax]
lea eax, [eax + 4]
xor esi, dword [ecx*4 + 0x10158660]
mov dword [edx + 0x100], esi
movzx ecx, byte [eax - 4]
xor edi, dword [ecx*4 + 0x10158660]
mov dword [edx + 0x104], edi
movzx ecx, byte [eax - 3]
xor ebx, dword [ecx*4 + 0x10158660]
mov dword [edx + 0x108], ebx
movzx ecx, byte [eax - 2]
mov edx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x10158660]
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx + 0x10c], ecx
mov ecx, dword [ebp + 8]
jne 0x100d16e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100d185f
Capabilities:
Encode data using xor

Disassembly:
push 0x218
mov eax, 0x10119ed1
call fcn.100d350e
mov esi, ecx
mov dword [ebp - 0x218], esi
lea edi, [esi + 0x14c]
cmp byte [edi], 0
je 0x100d1a8b
push 0x101553d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x10155370], 0
jne 0x100d18b8
push 0x10155370
mov ecx, edi
call fcn.100d1c1d
test al, al
je 0x100d18b8
push 0x10155370
mov ecx, edi
call fcn.100d1ac7
mov byte [edi], 0
push 0x101553d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi], 0
je 0x100d1a8b
push dword [esi + 0x168]
lea ecx, [ebp - 0x210]
push dword [esi + 0x164]
call fcn.100d0aaf
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x218]
lea ecx, [ebp - 0x140]
push 0x10
lea edx, [esi + 0x154]
call fcn.10013790
push 4
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x1000000
lea ecx, [ebp - 0x140]
call fcn.10013790
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.100d0a84
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100d4620
mov ecx, dword [esi + 0x150]
lea edx, [esi + 0x194]
xor eax, eax
mov dword [ebp - 0x224], edx
inc eax
add esp, 0xc
shl eax, cl
lea ecx, [esi + 0x16c]
dec eax
mov dword [ebp - 0x220], ecx
xor edi, edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], edi
test eax, eax
je 0x100d19e3
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x20
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x140]
call fcn.10013790
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.100d0a84
xor eax, eax
movups xmm0, xmmword [ebp + eax - 0x50]
movups xmm1, xmmword [ebp + eax - 0x30]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x50], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100d19ad
sub dword [ebp - 0x214], 1
jne 0x100d197b
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push 0x20
lea eax, [ebp - 0x50]
cmp edi, 1
push eax
lea eax, [ebp - 0x70]
cmove eax, edx
test edi, edi
cmove eax, ecx
push eax
call fcn.100d4620
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov edx, dword [ebp - 0x224]
inc edi
mov dword [ebp - 0x21c], edi
push 0x10
pop eax
mov dword [ebp - 0x214], eax
cmp edi, 3
jb 0x100d1977
mov esi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x70]
push 8
pop edx
mov dword [esi + 0x18c], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x190], eax
mov al, byte [ebp + edx - 0x70]
mov ecx, edx
and ecx, 7
xor byte [ecx + esi + 0x18c], al
inc edx
cmp edx, 0x20
jb 0x100d1a40
mov eax, 0x101553d8
lea edi, [esi + 0x14c]
push eax
mov byte [edi], 0
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov ecx, 0x10155370
push edi
call fcn.100d17c1
push 0x101553d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.100d1c60
test al, al
je 0x100d1abf
cmp byte [esi + 0x1bc], 0
je 0x100d1abf
push 8
lea eax, [esi + 0x1b4]
push eax
lea eax, [esi + 0x18c]
push eax
call fcn.100d550c
add esp, 0xc
neg eax
sbb al, al
inc al
jmp 0x100d1ac1
mov al, 1
call fcn.100d34b8
ret
Function at 0x100d1b5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x1014e058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ecx + 0x194]
push 0x20
push eax
lea ecx, [ebp - 0xf4]
call fcn.100d0aaf
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xf8]
push 4
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
call fcn.10013790
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xf4]
call fcn.100d0a84
xor eax, eax
mov esi, eax
movzx edx, byte [ebp + esi - 0x24]
mov ecx, esi
and ecx, 3
shl ecx, 3
shl edx, cl
xor eax, edx
inc esi
cmp esi, 0x20
jb 0x100d1bb3
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d2f1c
leave
ret 4

Function at 0x100d224e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ecx + 4]
mov ebx, edx
mov edx, dword [ecx]
add esi, 2
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea esi, [ecx + esi*4]
mov dword [ebp - 4], esi
test edi, edi
je 0x100d22e4
cmp edx, 0x10
je 0x100d228a
mov al, byte [esi + edx]
xor byte [ebx], al
inc edx
inc ebx
sub edi, 1
je 0x100d2287
cmp edx, 0x10
jne 0x100d2276
mov dword [ebp + 8], edi
lea ecx, [esi + 0x10]
mov dword [ebp - 8], ecx
cmp edi, 0x10
jb 0x100d22b6
mov esi, edi
mov edx, ebx
shr esi, 4
push esi
call dword [0x10158640]
mov ecx, dword [ebp - 8]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 4]
push 0x10
mov dword [ebp + 8], edi
pop edx
test edi, edi
je 0x100d22df
xor eax, eax
mov edi, esi
push 1
mov edx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x10158640]
mov ecx, dword [ebp + 8]
xor edx, edx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc edx
inc ebx
sub ecx, 1
jne 0x100d22d3
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100d25f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, 0x12345678
push esi
push edi
xor edi, edi
mov esi, 0x23456789
mov edx, 0x34567890
test ebx, ebx
je 0x100d264b
nop
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [edi + ecx]
inc edi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10158660]
movzx ecx, al
add ecx, esi
imul esi, ecx, 0x8088405
inc esi
mov ecx, esi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10158660]
cmp edi, ebx
jb 0x100d2610
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx + 0x18], esi
pop esi
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x1c], edx
pop ebx
pop ebp
ret 0xc
Function at 0x100d2660
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x100d26d9
xor esi, esi
nop dword [eax + eax]
mov eax, ecx
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 8
xor dl, byte [esi + eax]
movzx eax, dl
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10158660]
movzx eax, bl
add eax, edi
imul edi, eax, 0x8088405
inc edi
mov eax, edi
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10158660]
mov eax, dword [ebp + 0xc]
mov byte [esi + eax], dl
inc esi
mov eax, dword [ebp + 0x10]
cmp esi, eax
jb 0x100d2680
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ecx
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x100d26f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 4], edx
test eax, eax
je 0x100d2772
xor esi, esi
push ebx
nop
mov eax, dword [ebp + 0xc]
mov bl, byte [esi + eax]
mov eax, ecx
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 8
xor dl, bl
mov byte [esi + eax], dl
inc esi
mov edx, dword [ebp - 4]
movzx eax, bl
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10158660]
movzx eax, dl
add eax, edi
mov dword [ebp - 4], edx
imul edi, eax, 0x8088405
inc edi
mov eax, edi
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10158660]
mov eax, dword [ebp + 0x10]
cmp esi, eax
jb 0x100d2710
mov esi, dword [ebp + 8]
pop ebx
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100d2870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1014e058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, dl
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100d4ba0
movups xmm0, xmmword [ebp - 0x44]
add esp, 0xc
mov eax, 0x10
movups xmm1, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [ebp - 0x44], xmm1
mov cl, byte [eax + esi]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 0x14
jb 0x100d28b0
lea ecx, [ebp - 0xa4]
call fcn.10012b90
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.10012bd0
mov edx, edi
lea ecx, [ebp - 0xa4]
call fcn.100121e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d2f1c
mov esp, ebp
pop ebp
ret 4

Function at 0x100f9829
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f9003

Function at 0x100f9834
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f923e
Function at 0x10109a32
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101097b9
Function at 0x401950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push edi
mov esi, ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [esp + 8], 0x52
mov byte [esp + 9], 0x46
mov byte [esp + 0xa], 0x44
lea edi, [esi + 0x20]
push eax
mov byte [esp + 0xf], 0x47
push 0
mov ecx, dword [edi]
mov byte [esp + 0x14], 0x5a
mov byte [esp + 0x15], 0x58
call fcn.00407940
mov byte [esp + 8], 0x52
mov byte [esp + 9], 0x56
mov byte [esp + 0xa], 0x44
lea eax, [esp + 8]
mov ecx, dword [edi]
mov byte [esp + 0xb], 0x46
mov byte [esp + 0xc], 0x5a
mov byte [esp + 0xd], 0x58
push eax
push 1
call fcn.00407940
mov byte [esp + 8], 0x26
mov byte [esp + 9], 0x28
mov byte [esp + 0xa], 0x25
lea eax, [esp + 8]
mov ecx, dword [esi + 0x24]
mov byte [esp + 0xb], 0x27
mov byte [esp + 0xc], 0x4e
mov byte [esp + 0xd], 0x4d
push eax
push 0
call fcn.00407940
mov byte [esp + 8], 0x68
mov byte [esp + 9], 0x62
mov byte [esp + 0xa], 0x64
lea eax, [esp + 8]
mov ecx, dword [esi + 0x24]
push eax
mov esi, 2
mov byte [esp + 0xf], 0x66
mov byte [esp + 0x10], 0xd
mov byte [esp + 0x11], 0x4d
push 1
call fcn.00407940
mov ecx, dword [edi]
push 0x30
add edi, 4
call fcn.00407930
dec esi
jne 0x401a2c
pop edi
pop esi
add esp, 0x10
ret
Function at 0x403dd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
lea esi, [ecx + 0xc]
push ebp
mov edi, ecx
mov ebp, esi
mov ecx, dword [edi + 0x14]
call fcn.00402dc0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov ecx, dword [edi + 0x14]
push eax
inc ebx
add ebp, 4
call fcn.00402d90
lea eax, [esp + 0x30]
push eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov ecx, dword [edi + eax*4 + 0xc]
call fcn.00402810
lea eax, [esp + 0x38]
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
mov ecx, dword [ebp - 4]
call fcn.00401fc0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00402830
add dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x10d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x38]
call fcn.00406020
add dword [esp + 0x10], 0x10
cmp ebx, 2
jl 0x403df4
mov eax, dword [esp + 0x50]
mov ebx, 2
add eax, 4
xor ebp, ebp
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
mov ecx, dword [esi]
push eax
call fcn.00402810
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00403070
cmp eax, 1
mov eax, dword [esi]
je 0x403ea8
mov dword [eax + 0xbc], ebp
jmp 0x403ee0
cmp dword [eax + 0xbc], ebp
jne 0x403ee0
mov eax, dword [eax + 0xc0]
mov ecx, dword [esp + 0x10]
push eax
mov edx, dword [ecx]
push edx
mov eax, dword [ecx - 4]
mov edx, dword [esp + 0x20]
push eax
mov ecx, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [edi + 0x14]
call fcn.004030a0
mov ecx, dword [esi]
mov dword [ecx + 0xbc], 1
add dword [esp + 0x10], 0x10
add esi, 4
dec ebx
jne 0x403e7b
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 0x14]
push eax
call fcn.00403040
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 0x38]
add dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x10d
push eax
call fcn.00406020
mov eax, dword [esp + 0x2c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 4
Function at 0x404530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404759
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x10], ecx
push ebx
push esi
lea ecx, [ebp - 0x3c]
push edi
xor ebx, ebx
call fcn.00409420
mov eax, 0x10
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x20]
mov ecx, dword [eax + 8]
push edx
push esi
push ebx
mov eax, dword [ecx]
push edi
add esi, 0x10
call dword [eax + 0x10]
cmp esi, 0x130
jl 0x404574
add ebx, 0x10
cmp ebx, 0x1b0
jl 0x404572
push 0x48
xor esi, esi
push 0x1b0
lea eax, [ebp - 0x20]
push 0x30
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp - 0x10]
push esi
lea eax, [ebp - 0x20]
mov ecx, dword [edx + 8]
push eax
push 0xbc
push esi
mov ebx, dword [ecx]
push edi
call dword [ebx + 0x10]
mov eax, 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov esi, 0x138
mov dword [ebp - 0x18], eax
cmp esi, 0xf8
jne 0x4045f0
mov dword [ebp - 0x20], 0x58
xor ebx, ebx
mov eax, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x20]
mov ecx, dword [eax + 8]
push edx
push esi
push ebx
mov eax, dword [ecx]
push edi
add ebx, 0x10
call dword [eax + 0x10]
cmp ebx, 0x1b0
jl 0x4045f2
sub esi, 0x10
cmp esi, 0xe8
jg 0x4045e1
xor esi, esi
mov eax, 0x10
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, 1
test ebx, ebx
jg 0x404639
xor eax, eax
mov ecx, 1
cmp ebx, 0x1a
jge 0x404645
xor ecx, ecx
add eax, ecx
mov edx, dword [ebp - 0x10]
shl eax, 4
push 0
add eax, 0x28
mov ecx, dword [edx + 8]
inc ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x108
push esi
mov eax, dword [ecx]
push edi
add esi, 0x10
call dword [eax + 0x10]
cmp esi, 0x1b0
jl 0x40462e
mov eax, 8
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x20
cmp esi, 0xc
jne 0x404695
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00409440
push ebx
mov eax, 0x22
sub eax, esi
lea ecx, [ebp - 0x3c]
shl eax, 3
inc esi
push eax
push 0xd5
push edi
call fcn.00409480
cmp esi, 0xd
jl 0x40468d
mov edi, dword [ebp - 0x10]
mov esi, 0xa
add edi, 0x44
add edi, 4
call fcn.0040a320
cdq
mov ecx, 0x1b0
idiv ecx
mov dword [edi - 4], edx
call fcn.0040a320
cdq
mov ecx, 0x98
idiv ecx
mov dword [edi + 0x24], edx
call fcn.0040a320
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
inc eax
mov dword [edi + 0x4c], eax
call fcn.0040a320
cdq
mov ecx, 0xb
idiv ecx
dec esi
mov dword [edi + 0x74], edx
jne 0x4046d3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 2
call fcn.00404763
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
test eax, eax
push ebx
push esi
push edi
push ebp
mov esi, ecx
jne 0x40612b
push 0x41109c
jmp 0x40612c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040a1a0
add esp, 8
mov ecx, esi
call fcn.00406330
mov ecx, esi
call fcn.004068e0
mov ebx, dword [esp + 0x114]
push 0x411098
push ebx
call fcn.0040a790
add esp, 8
mov edi, eax
test edi, edi
je 0x4061a1
push edi
call fcn.0040f060
add esp, 4
push eax
call fcn.0040a6d0
add esp, 4
mov ebp, eax
lea eax, [eax + 1]
push eax
call fcn.0040a190
add esp, 4
mov ebx, eax
push edi
push 1
push ebp
push ebx
call fcn.0040a580
add esp, 0x10
push edi
call fcn.0040a510
add esp, 4
mov edi, 1
jmp 0x4061d4
lea eax, [esp + 0x10]
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x406211
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
mov ecx, esi
push ebx
call fcn.004063e0
push ebp
mov ecx, esi
push ebx
call fcn.004064b0
push ebx
cmp edi, 1
jne 0x4061f6
call fcn.0040a090
add esp, 4
jmp 0x406203
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, esi
call fcn.00406910
mov eax, 1
jmp 0x406213
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x100
ret 8

Function at 0x4063e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x70
test edx, edx
push ebx
push esi
mov ebx, ecx
push edi
push ebp
je 0x406498
mov esi, dword [esp + 0x88]
test esi, esi
jle 0x406498
lea edi, [esp + 0x38]
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
push eax
mov ebp, dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], 0x204d454d
lea eax, [esp + 0x3c]
push eax
push 0
call ebp
mov esi, eax
push 0x20
lea eax, [esp + 0x14]
push 0
push eax
mov edi, dword [sym.imp.WINMM.dll_mmioDescend]
mov dword [esp + 0x24], 0x5344494d
push esi
call edi
lea ecx, [esp + 0x10]
push 0x10
lea eax, [esp + 0x28]
push ecx
push eax
add ebx, 4
mov dword [esp + 0x30], 0x20746d66
push esi
call edi
push 0xc
mov ebp, dword [sym.imp.WINMM.dll_mmioRead]
push ebx
push esi
call ebp
lea eax, [esp + 0x24]
push 0
push eax
push esi
call dword [sym.imp.WINMM.dll_mmioAscend]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x70
ret 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x70
ret 8