joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c60d4], 0
push esi
jne 0x4850c3
call fcn.00484fe9
test eax, eax
je 0x485106
mov eax, dword [0x4c60d4]
cmp eax, 1
jne 0x4850e4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x485106
pop esi
ret
push eax
call dword [0x4c60dc]
test eax, eax
jne 0x48514e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x48510a
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c60d4]
call dword [0x4c60dc]
mov edi, eax
test edi, edi
je 0x48512f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x48514b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c60d4]
call dword [0x4c60d8]
add edi, 0x10
cmp edi, esi
jb 0x485137
mov eax, edi
pop edi
pop esi
ret
jmp 0x4850b0

Function at 0x48532c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3518]
jne 0x485336
repz ret
jmp fcn.0048d6f5

Function at 0x49ce1b
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.004900a6
and dword [ebp - 4], 0
cmp dword [0x4c6de0], 0
mov ebx, eax
jne 0x49cecc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x49cf7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x49cf7d
push eax
call fcn.00490034
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c6de0], eax
call esi
push eax
call fcn.00490034
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c6de4], eax
call esi
push eax
call fcn.00490034
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c6de8], eax
call esi
push eax
call fcn.00490034
pop ecx
mov dword [0x4c6df0], eax
test eax, eax
je 0x49cecc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00490034
pop ecx
mov dword [0x4c6dec], eax
mov eax, dword [0x4c6dec]
cmp eax, ebx
je 0x49cf24
cmp dword [0x4c6df0], ebx
je 0x49cf24
push eax
call fcn.004900af
push dword [0x4c6df0]
mov esi, eax
call fcn.004900af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x49cf24
test edi, edi
je 0x49cf24
call esi
test eax, eax
je 0x49cf1b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x49cf1b
test byte [ebp - 0xc], 1
jne 0x49cf24
or dword [ebp + 0x10], 0x200000
jmp 0x49cf5d
mov eax, dword [0x4c6de4]
cmp eax, ebx
je 0x49cf5d
push eax
call fcn.004900af
pop ecx
test eax, eax
je 0x49cf5d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x49cf5d
mov eax, dword [0x4c6de8]
cmp eax, ebx
je 0x49cf5d
push eax
call fcn.004900af
pop ecx
test eax, eax
je 0x49cf5d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c6de0]
call fcn.004900af
pop ecx
test eax, eax
je 0x49cf7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x49cf7f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4022c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov al, 0x72
mov cl, 0x65
mov bl, 0x4c
mov byte [esp + 0xc], 0x46
mov byte [esp + 0xd], al
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], 0x62
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0
call fcn.00404130
mov al, 0x45
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov al, 0x6c
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
call fcn.00404130
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [0x40ef2c]
mov ebx, eax
call fcn.00404130
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4024f9
push ebp
call fcn.00404130
mov eax, dword [edi + 0x10]
test eax, eax
je 0x402420
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov edx, dword [edi]
mov ebp, dword [edx + 0x28]
mov edx, dword [edi + 4]
add ebp, edx
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov eax, dword [edi + 4]
push 0
push 0
push eax
call ebp
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov dword [edi + 0x10], 0
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
mov eax, dword [edi + 8]
test eax, eax
je 0x402498
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
mov eax, dword [edi + 0xc]
xor ebp, ebp
test eax, eax
jle 0x40247b
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
mov ecx, dword [edi + 8]
cmp dword [ecx + ebp*4], 0xffffffff
je 0x402473
call fcn.00404130
mov edx, dword [edi + 8]
mov eax, dword [edx + ebp*4]
push eax
call ebx
call fcn.00404130
mov eax, dword [edi + 0xc]
inc ebp
cmp ebp, eax
jl 0x402446
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov ecx, dword [edi + 8]
push ecx
call fcn.00404b40
add esp, 4
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov eax, dword [edi + 4]
pop ebp
test eax, eax
je 0x4024cc
call fcn.00404130
mov edx, dword [edi + 4]
push 0x8000
push 0
push edx
call dword [0x40ef24]
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push edi
push 0
call dword [0x40ef30]
push eax
call dword [0x40ef28]
call fcn.00404130
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x402730
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x44
push ebx
push esi
call fcn.00404130
mov bl, 0x41
mov byte [esp + 9], 0x42
mov byte [esp + 8], bl
mov byte [esp + 0xa], 0x43
mov byte [esp + 0xb], 0x44
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x46
mov byte [esp + 0xe], 0x47
mov byte [esp + 0xf], 0x48
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x11], 0x4a
mov byte [esp + 0x12], 0x4b
mov byte [esp + 0x13], 0x4c
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], 0x4e
mov byte [esp + 0x16], 0x4f
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x51
mov byte [esp + 0x19], 0x52
mov byte [esp + 0x1a], 0x53
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x59
mov byte [esp + 0x21], 0x5a
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x62
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x28], 0x67
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6a
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], 0x75
mov byte [esp + 0x37], 0x76
mov byte [esp + 0x38], 0x77
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0x7a
mov byte [esp + 0x3c], 0x30
mov byte [esp + 0x3d], 0x31
mov byte [esp + 0x3e], 0x32
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x34
mov byte [esp + 0x41], 0x35
mov byte [esp + 0x42], 0x36
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x38
mov byte [esp + 0x45], 0x39
mov byte [esp + 0x46], 0x2b
mov byte [esp + 0x47], 0x2f
mov byte [esp + 0x48], 0
call fcn.00404130
call fcn.00404130
lea esi, [esp + 8]
call fcn.00404130
cmp bl, byte [esp + 0x50]
je 0x4028b4
call fcn.00404130
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x40288e
call fcn.00404130
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x44
ret
mov eax, esi
lea ecx, [esp + 8]
pop esi
sub eax, ecx
pop ebx
add esp, 0x44
ret
Function at 0x4028d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push 0x40b5e8
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x1c
call fcn.00404b06
call fcn.00404130
xor esi, esi
mov dword [ebp - 0x14], esi
call fcn.00404130
call fcn.00404130
call fcn.00404130
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push edx
call fcn.00402500
add esp, 8
mov edi, eax
call fcn.00404130
call fcn.00404130
cmp edi, esi
jle 0x40296d
call fcn.00404130
mov eax, dword [ebp - 0x14]
add byte [esi + eax], 0x7a
call fcn.00404130
call fcn.00404130
mov eax, dword [ebp - 0x14]
xor byte [esi + eax], 0x59
call fcn.00404130
inc esi
cmp esi, edi
jl 0x402946
call fcn.00404130
call fcn.00404130
mov eax, 0x40297d
ret
Function at 0x403100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
nop
bt eax, 0xe0
xor ah, 0x3d
sub al, 0xb5
test ebp, ebx
xor al, al
xadd eax, eax
xadd ah, al
neg eax
imul eax, ebx, 0x78b3bbf9
inc eax
imul eax, edx, 0xf9539b11
and eax, 0xc7e2d3ce
movsx eax, si
bsf eax, ecx
movsx eax, bx
btc eax, 0xb
dec eax
test cl, bl
mov eax, 0x2e383802
mov ah, 0x3d
mov ah, 0x8e
shrd eax, ebp, cl
movzx eax, dh
movsx eax, bl
test ecx, eax
shrd eax, esi, cl
rcl ah, 0x62
test ecx, edi
imul eax, ebp
bsf eax, edx
xadd al, ah
test edi, esi
dec al
bswap eax
dec ah
sub al, cl
mov cl, 0x6c
mov al, 0x65
mov byte [ebp - 0xa], cl
mov byte [ebp - 6], cl
mov byte [ebp - 5], cl
mov cl, 0x72
mov byte [ebp - 0xc], al
mov byte [ebp - 0x29], al
mov byte [ebp - 0x25], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x26], cl
mov byte [ebp - 0x22], cl
mov al, 0x74
mov byte [ebp - 0x1d], cl
mov cl, 0x73
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x19], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x14], cl
mov byte [ebp - 0x12], cl
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov bl, 0x69
mov dl, 0x61
push eax
push ecx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], 0x6d
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0xb], 0x68
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 4], 0
mov byte [ebp - 0x2c], 0x4d
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x2a], 0x6b
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x24], 0x44
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1c], 0x79
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], dl
mov byte [ebp - 0x18], 0x68
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ebx, eax
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
mov dl, byte [ebp + 8]
mov byte [0x40ef60], dl
call fcn.00404130
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push 0x40ef60
call dword [0x40ef5c]
mov edi, eax
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
cmp edi, 0xffffffff
jne 0x4032d9
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
call fcn.00404130
push 0x40ef60
call ebx
call fcn.00404130
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x40ef60
call dword [0x40ef5c]
mov edi, eax
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
cmp edi, 0xffffffff
jne 0x4032d9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
push edi
call dword [0x40ef38]
call fcn.00404130
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
nop
bt eax, 0xe0
xor ah, 0x3d
sub al, 0xb5
test ebp, ebx
xor al, al
xadd eax, eax
xadd ah, al
neg eax
imul eax, ebx, 0x78b3bbf9
inc eax
imul eax, edx, 0xf9539b11
and eax, 0xc7e2d3ce
movsx eax, si
bsf eax, ecx
movsx eax, bx
btc eax, 0xb
dec eax
test cl, bl
mov eax, 0x2e383802
mov ah, 0x3d
mov ah, 0x8e
shrd eax, ebp, cl
movzx eax, dh
movsx eax, bl
test ecx, eax
shrd eax, esi, cl
rcl ah, 0x62
test ecx, edi
imul eax, ebp
bsf eax, edx
xadd al, ah
test edi, esi
dec al
bswap eax
dec ah
sub al, cl
call fcn.00404130
mov cl, 0x72
mov al, 0x5c
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x18], cl
mov bl, 0x50
mov dl, 0x61
mov cl, 0x70
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x67
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x20
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xb], cl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], dl
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x68
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.00404130
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
push 0
call esi
push 0
call esi
mov ecx, 0x41
xor eax, eax
mov edi, 0x40ef60
rep stosd dword es:[edi], eax
call fcn.00404130
lea eax, [ebp - 0x20]
push eax
push 0x40ef60
call fcn.00404090
add esp, 8
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov ecx, dword [ebp + 8]
push ecx
push 0x40ef60
call fcn.00404090
add esp, 8
call fcn.00404130
xor bl, bl
call fcn.00404130
call fcn.00404130
mov dl, bl
add dl, 0x43
push edx
call fcn.00403100
add esp, 4
test eax, eax
jne 0x4034a2
call fcn.00404130
call fcn.00404130
inc bl
cmp bl, 4
jl 0x40345e
call fcn.00404130
call fcn.00404130
push 0
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4034b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
push edi
nop
bt eax, 0xe0
xor ah, 0x3d
sub al, 0xb5
test ebp, ebx
xor al, al
xadd eax, eax
xadd ah, al
neg eax
imul eax, ebx, 0x78b3bbf9
inc eax
imul eax, edx, 0xf9539b11
and eax, 0xc7e2d3ce
movsx eax, si
bsf eax, ecx
movsx eax, bx
btc eax, 0xb
dec eax
test cl, bl
mov eax, 0x2e383802
mov ah, 0x3d
mov ah, 0x8e
shrd eax, ebp, cl
movzx eax, dh
movsx eax, bl
test ecx, eax
shrd eax, esi, cl
rcl ah, 0x62
test ecx, edi
imul eax, ebp
bsf eax, edx
xadd al, ah
test edi, esi
dec al
bswap eax
dec ah
sub al, cl
call fcn.00404130
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x404]
mov dword [ebp - 0x408], ebx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
call fcn.00404130
call fcn.00404130
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x408]
mov dword [ebp - 8], eax
call fcn.00404130
push 0
call esi
push 0
call esi
push 0
call esi
mov byte [ebx + edi], bl
call fcn.00404130
mov eax, ebx
xor edx, edx
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
call fcn.00404130
mov ecx, dword [ebp - 8]
inc ebx
add ecx, 4
cmp ebx, 0x100
mov dword [ebp - 8], ecx
jl 0x40355f
call fcn.00404130
xor ebx, ebx
lea esi, [ebp - 0x408]
call fcn.00404130
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
xor eax, eax
mov al, byte [ebx + edi]
add eax, edx
add eax, ecx
and eax, 0x800000ff
jns 0x4035d1
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 4], eax
call fcn.00404130
mov cl, byte [ebx + edi]
mov byte [ebp + 0xb], cl
call fcn.00404130
mov edx, dword [ebp - 4]
mov al, byte [edx + edi]
mov byte [ebx + edi], al
call fcn.00404130
mov edx, dword [ebp - 4]
mov cl, byte [ebp + 0xb]
mov byte [edx + edi], cl
call fcn.00404130
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x4035b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
nop
bt eax, 0xe0
xor ah, 0x3d
sub al, 0xb5
test ebp, ebx
xor al, al
xadd eax, eax
xadd ah, al
neg eax
imul eax, ebx, 0x78b3bbf9
inc eax
imul eax, edx, 0xf9539b11
and eax, 0xc7e2d3ce
movsx eax, si
bsf eax, ecx
movsx eax, bx
btc eax, 0xb
dec eax
test cl, bl
mov eax, 0x2e383802
mov ah, 0x3d
mov ah, 0x8e
shrd eax, ebp, cl
movzx eax, dh
movsx eax, bl
test ecx, eax
shrd eax, esi, cl
rcl ah, 0x62
test ecx, edi
imul eax, ebp
bsf eax, edx
xadd al, ah
test edi, esi
dec al
bswap eax
dec ah
sub al, cl
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call esi
push ebx
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], ebx
cmp eax, ebx
jbe 0x403770
push edi
mov edi, dword [ebp + 8]
push 0
call esi
push 0
call esi
push 0
call esi
inc ebx
and ebx, 0x800000ff
jns 0x4036d3
dec ebx
or ebx, 0xffffff00
inc ebx
push 0
call esi
push 0
call esi
push 0
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
mov al, byte [ebx + edi]
add eax, ecx
and eax, 0x800000ff
jns 0x4036f7
dec eax
or eax, 0xffffff00
inc eax
push 0
mov dword [ebp - 4], eax
call esi
push 0
call esi
push 0
call esi
mov cl, byte [ebx + edi]
push 0
mov byte [ebp + 8], cl
call esi
push 0
call esi
push 0
call esi
mov edx, dword [ebp - 4]
push 0
mov al, byte [edx + edi]
mov byte [ebx + edi], al
call esi
push 0
call esi
push 0
call esi
mov edx, dword [ebp - 4]
mov cl, byte [ebp + 8]
xor eax, eax
mov byte [edx + edi], cl
mov ecx, dword [ebp + 8]
mov al, byte [ebx + edi]
and ecx, 0xff
add eax, ecx
and eax, 0x800000ff
jns 0x403754
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [eax + edi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor byte [eax + ecx], dl
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, ecx
mov dword [ebp - 8], eax
jb 0x4036b6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403500
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push eax
add ecx, 0x40
push 0x453108
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 2
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x4099e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00410280
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x14], 0x44a7f4
call fcn.0042dd60
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x44a7f0
mov dword [esi + 0x14], 0x44a7e8
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x34], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x35], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x409e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4439ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 0x1c
call fcn.0041b540
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x409e9f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.004053c0
mov esi, eax
mov eax, dword [edi + 0x30]
mov ecx, esi
push eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00405410
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x40a200
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x21c
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push esi
push edi
mov edi, dword [esp + 0x22c]
lea eax, [esp + 0x20]
push edi
push str._s_OnCheck
push 0x104
mov esi, ecx
push eax
call ebx
mov ecx, dword [esp + 0x240]
add esp, 0x10
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00409d70
cmp dword [esp + 0x10], 6
jne 0x40a266
pop edi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x21c
ret 8
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x124]
push edx
push edi
push str.CheckComponent__s_hr0x_X_n
push 0x104
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 0x21c
ret 8

Function at 0x40b660
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x30c
lea eax, [esp + 0x314]
lea edx, [esp]
push eax
push ecx
push 0x30c
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x30c
ret