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

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
push 0x800
push 0x40
mov dword [esp + 0x1c], ebx
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
jne 0x421bcc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
call dword [ebx + 0x24]
mov eax, dword [esp + 0x2c]
mov ebp, 0x543a2110
test eax, eax
je 0x421c90
jmp 0x421bf4
mov eax, dword [esp + 0x2c]
cmp eax, 0x800
jb 0x421c00
mov eax, 0x800
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
push edx
call dword [ebx + 0x14]
test eax, eax
je 0x421ca0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x421ce2
xor esi, esi
test edx, edx
jle 0x421c67
mov ecx, ebp
xor ecx, 0x2da05629
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
shr ebx, 0x10
xor al, bl
mov ebx, ecx
shr ebx, 8
xor al, bl
mov bl, byte [esi + edi]
xor al, bl
xor al, cl
mov byte [esi + edi], al
and eax, 0xff
shl ebp, 8
add ebp, eax
inc esi
cmp esi, edx
jl 0x421c2b
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push 0
push eax
push edx
push edi
push ecx
call dword [ebx + 0x18]
test eax, eax
je 0x421cc2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x2c], eax
jne 0x421bf0
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.00422910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
call dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00422980
add esp, 8
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.00422910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret

Function at 0x422780
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [esi], al
mov al, byte [ecx]
test al, al
je 0x4227ba
mov edx, esi
push ebx
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc edi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
mov al, byte [ecx]
test al, al
jne 0x42279b
mov byte [edi + esi], 0
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
ret
Function at 0x401000
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov al, 1
push edi
lea ebx, [ebx]
movzx edx, al
mov byte [ebp + edx - 0x104], cl
mov dl, al
and dl, 0x80
mov byte [ebp + ecx - 0x204], al
inc ecx
neg dl
sbb dl, dl
mov bl, al
and dl, 0x1b
add bl, bl
xor dl, bl
xor al, dl
cmp ecx, 0x100
jl 0x401020
mov al, 1
mov ecx, 0x476540
movzx edx, al
shl edx, 0x18
mov dword [ecx], edx
mov dl, al
and dl, 0x80
add ecx, 4
neg dl
sbb dl, dl
and dl, 0x1b
add al, al
xor al, dl
cmp ecx, 0x476568
jl 0x401055
mov dword [0x475940], 0x63
mov dword [0x478af4], 0
mov edx, 1
jmp 0x4010a0
movzx eax, byte [ebp + edx - 0x104]
lea ecx, [ebp - 0x105]
sub ecx, eax
mov cl, byte [ecx]
mov al, cl
rol al, 1
xor cl, al
rol al, 1
xor cl, al
rol al, 1
xor cl, al
rol al, 1
xor al, cl
xor al, 0x63
movzx eax, al
mov dword [edx*4 + 0x475940], eax
mov dword [eax*4 + 0x478968], edx
inc edx
cmp edx, 0x100
jl 0x4010a0
xor ecx, ecx
mov dl, byte [ecx + 0x475940]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov bl, dl
add bl, bl
xor al, bl
movzx esi, al
movzx edx, dl
mov eax, esi
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
xor eax, edx
mov dword [ecx + 0x478568], eax
ror eax, 8
mov dword [ecx + 0x478168], eax
ror eax, 8
mov dword [ecx + 0x477d68], eax
ror eax, 8
mov dword [ecx + 0x477968], eax
mov al, byte [ecx + 0x478968]
test al, al
je 0x4011af
movzx edx, al
movzx esi, byte [ebp + edx - 0x104]
movzx eax, byte [ebp - 0xf9]
add eax, esi
cdq
mov edi, 0xff
idiv edi
movzx eax, byte [ebp + edx - 0x204]
mov dword [ebp - 0x208], eax
movzx eax, byte [ebp - 0xf7]
add eax, esi
cdq
idiv edi
movzx eax, byte [ebp - 0xfb]
add eax, esi
movzx ebx, byte [ebp + edx - 0x204]
cdq
idiv edi
movzx eax, byte [ebp - 0xf6]
add eax, esi
mov esi, 0xff
movzx edi, byte [ebp + edx - 0x204]
cdq
idiv esi
movzx eax, byte [ebp + edx - 0x204]
mov edx, dword [ebp - 0x208]
jmp 0x4011b7
xor edx, edx
xor ebx, ebx
xor edi, edi
xor eax, eax
shl eax, 8
xor eax, edi
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, edx
mov dword [ecx + 0x477568], eax
ror eax, 8
mov dword [ecx + 0x477168], eax
ror eax, 8
mov dword [ecx + 0x476140], eax
ror eax, 8
mov dword [ecx + 0x475d40], eax
add ecx, 4
cmp ecx, 0x400
jl 0x4010e2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
Function at 0x4026c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00458340
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.01C0AF7D_E17F_4D5E_9ED3_497FCE7F737F
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x40271d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.0044f062
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret

Function at 0x402730
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00458340
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.01C0AF7D_E17F_4D5E_9ED3_497FCE7F737F
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x40278d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x2004]
push 0x2000
push edx
call fcn.0044f150
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
Function at 0x406290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00454970
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
push str.SYSTEMCurrentControlSetServicesEyooClientSVC
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4062ec
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.ImagePath
push edx
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
cmp word [ebp + eax*2 - 0x20c], 0x5c
lea eax, [ebp + eax*2 - 0x20c]
je 0x406359
nop
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x406359
dec dword [ebp - 0x210]
sub eax, 2
cmp word [eax], 0x5c
jne 0x406340
xor edx, edx
mov word [eax], dx
cmp dword [ebp - 0x210], 0x104
ja 0x4062dc
lea eax, [ebp - 0x20c]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406380
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
Function at 0x406ba0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
test edi, edi
je 0x406d4a
test esi, esi
je 0x406d4a
cmp dword [ebp + 0xc], 0
je 0x406d4a
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00406b30
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jl 0x406d4a
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x13
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
js 0x406cc6
cmp dword [ebp - 8], ebx
jne 0x406c40
mov edx, ebx
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x406cae
mov edx, eax
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Global_]
mov byte [esi], al
shl ecx, 6
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Global_]
shl ecx, 6
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Global_]
shr ecx, 0x14
and ecx, 0x3f
mov byte [esi + 2], al
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Global_]
mov byte [esi + 3], cl
add edi, 3
add esi, 4
dec edx
jne 0x406c46
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea edx, [edx + eax*4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
cmp edx, ebx
jle 0x406c21
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
sub ecx, eax
je 0x406d36
lea edx, [ecx + 1]
test edx, edx
je 0x406d36
xor eax, eax
test ecx, ecx
jle 0x406ce1
movzx eax, byte [edi]
inc edi
shl eax, 8
cmp ecx, 1
jle 0x406cef
movzx ebx, byte [edi]
or eax, ebx
inc edi
shl eax, 8
cmp ecx, 2
jle 0x406cfc
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test edx, edx
jle 0x406d19
mov ecx, edx
mov edi, eax
shr edi, 0x1a
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Global_]
mov byte [esi], bl
inc esi
shl eax, 6
dec ecx
jne 0x406d05
add dword [ebp - 4], edx
mov edi, 4
sub edi, edx
test edi, edi
jle 0x406d33
push edi
push 0x3d
push esi
call fcn.00454970
add esp, 0xc
add dword [ebp - 4], edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00454970
add esp, 0xc
test edi, edi
jne 0x406da5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
push esi
lea esi, [ebp - 0x414]
call fcn.00406290
test eax, eax
jne 0x406dc4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
push str._ssgamerun.exe
lea edx, [ebp - 0x414]
push 0x104
push edx
call fcn.0044f9f2
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x414]
push ecx
push 0
push 0
call esi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x822]
push eax
mov word [ebp - 0x824], dx
call fcn.00454970
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.00454970
push 0x207
lea edx, [ebp - 0x61b]
push 0
push edx
mov byte [ebp - 0x61c], 0
call fcn.00454970
push edi
lea eax, [ebp - 0x824]
push str.N_sM0R
push eax
mov dword [ebp - 0x828], 0x208
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
push 0
push 0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x824]
push edx
push 0
push 0
call esi
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ea0
lea ecx, [ebp - 0x828]
sub eax, edx
push ecx
push eax
lea eax, [ebp - 0x61c]
lea ecx, [ebp - 0x108]
call fcn.00406ba0
lea edx, [ebp - 0x20c]
push edx
push str.FlashRunGame
push 0x4637f4
call fcn.004026c0
lea eax, [ebp - 0x108]
push eax
push str.FlashRunGame
push 0x4637f4
call fcn.004026c0
lea ecx, [ebp - 0x61c]
push ecx
push str.FlashRunGame
push 0x4637f4
call fcn.004026c0
add esp, 0x2c
push 5
push 0
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
Function at 0x4089c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, ecx
mov ecx, str.click
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4089f7
test dx, dx
je 0x4089f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4089f7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4089d1
xor eax, eax
jmp 0x4089fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408b57
mov eax, dword [esi + 0x398]
push edi
xor edi, edi
test eax, eax
je 0x408aa4
mov edx, dword [ebx + 0x84]
lea ecx, [esi + 0x370]
cmp edx, dword [ecx]
je 0x408a2f
inc edi
add ecx, 4
cmp edi, eax
jb 0x408a21
jmp 0x408aa4
mov eax, dword [esi + 0x390]
imul edi, edi, 0xa0c
add eax, edi
lea ecx, [eax + 0x508]
push ecx
add eax, 0x108
push eax
push str.ShellExecuteA_:__s____s
call fcn.004026c0
mov ecx, dword [esi + 0x390]
add ecx, edi
movsx eax, byte [ecx + 0x508]
lea edx, [ecx + 0x508]
add esp, 0xc
push 5
neg eax
sbb eax, eax
push 0
and eax, edx
push eax
add ecx, 0x108
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi + 0x39c]
mov ecx, dword [esi + 0x390]
push eax
lea ecx, [ecx + edi + 4]
call fcn.00406840
add esp, 4
xor ebx, ebx
cmp dword [esi + 0x394], ebx
jbe 0x408b56
xor edi, edi
jmp 0x408ac0
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x388]
mov ecx, dword [eax + 0x84]
cmp ecx, dword [edx + ebx*4]
jne 0x408b43
mov eax, dword [esi + 0x390]
add eax, edi
lea ecx, [eax + 0x508]
push ecx
add eax, 0x108
push eax
push str.ShellExecuteA_:__s____s
call fcn.004026c0
mov ecx, dword [esi + 0x38c]
add ecx, edi
movsx eax, byte [ecx + 0x508]
lea edx, [ecx + 0x508]
add esp, 0xc
push 5
neg eax
sbb eax, eax
push 0
and eax, edx
push eax
add ecx, 0x108
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi + 0x39c]
mov ecx, dword [esi + 0x38c]
push eax
lea ecx, [ecx + edi + 4]
call fcn.00406750
add esp, 4
inc ebx
add edi, 0xa0c
cmp ebx, dword [esi + 0x394]
jb 0x408ac0
pop edi
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0041f920
pop esi
pop ebx
pop ebp
ret 4
Function at 0x408ff0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push fcn.00408ff0
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov edx, dword [ebp - 0x210]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409040
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
lea eax, [ebp + eax*2 - 0x20e]
je 0x409091
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409070
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
lea eax, [ebp + eax*2 - 0x20e]
jne 0x409061
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4090a0
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x20e], dx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret

Function at 0x409210
Capabilities:
Download url
Receive data

Disassembly:
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0x464088
push edi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, 0x80004004
je 0x409258
test esi, esi
je 0x409258
push edi
push str.IsUrlExist
push str.__s_Failed_:__s
xor esi, esi
call fcn.004026c0
add esp, 0xc
mov eax, esi
pop esi
ret
mov eax, 1
pop esi
ret

Function at 0x40a5a0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x40a5b2
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi], 3
jne 0x40a5ab
push esi
mov dword [ebp - 4], ebx
cmp dword [edi + 0xdac], ebx
jbe 0x40a607
mov eax, dword [edi + 0xdb4]
test eax, eax
je 0x40a612
lea esi, [ebx + eax + 0x908]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a5f2
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
inc eax
add ebx, 0xa0c
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0xdac]
jb 0x40a5c3
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a910
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
test esi, esi
je 0x40a99d
lea ebx, [ebx]
mov ecx, ebx
sub ecx, dword [ebp - 4]
cmp ecx, esi
jae 0x40a99d
mov eax, dword [ebp + 0x10]
sub eax, edi
imul eax, ecx
cdq
xor eax, edx
sub eax, edx
xor edx, edx
div esi
mov ebx, eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
imul eax, ecx
cdq
xor eax, edx
sub eax, edx
xor edx, edx
div esi
cmp dword [ebp + 0x10], edi
jg 0x40a965
neg ebx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], ecx
jg 0x40a96f
neg eax
push 0x45
push 0
push 0
add eax, ecx
push eax
mov eax, dword [ebp + 8]
add ebx, edi
push ebx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x40a99d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x40a930
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push 0x45
push 0
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46050b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x47201c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test esi, esi
je 0x40b0db
cmp dword [esi], 2
jne 0x40b0db
mov eax, dword [esi + 0xdac]
cmp eax, 2
jae 0x40b0db
mov edi, dword [eax*4 + 0x473a60]
call fcn.0040a840
push 0x380
call fcn.0044f78d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40af77
mov ecx, dword [esi + 0xda0]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push edi
push eax
call fcn.0040c380
mov edi, eax
jmp 0x40af79
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xd94]
mov edx, dword [esi + 0xd9c]
mov ecx, dword [esi + 0xd90]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xd98]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esi + 0xdac], 1
jne 0x40afba
call fcn.0040c470
lea ebx, [esi + 0x990]
push ebx
mov ecx, edi
call fcn.0040c220
push ebx
push str.PopNoFrameHtml
push 0x4637f4
call fcn.004026c0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0xc
push 0
call ebx
push 1
mov dword [ebp - 0x10], eax
call ebx
push 0x18
mov ebx, eax
call fcn.0044f78d
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov edx, dword [esi + 0xda8]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0xd90]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0xd94]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0xd90]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xd94]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0xda4]
dec ecx
add esp, 4
cmp ecx, 7
ja case.0x40b049.3
jmp dword [ecx*4 + 0x40b0f0]
mov ecx, dword [esi + 0xd90]
sub ecx, dword [esi + 0xd98]
mov dword [eax + 4], ecx
jmp case.0x40b049.3
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
jmp case.0x40b049.3
mov ecx, dword [esi + 0xd94]
sub ecx, dword [esi + 0xd9c]
mov dword [eax + 0xc], ecx
jmp case.0x40b049.3
mov dword [eax + 0xc], ebx
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jne 0x40b08d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x10]
je 0x40b0a8
push 0
push 0
push eax
push 0x40a9c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0041e670
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
call eax
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test esi, esi
je case.default.0x40b27d
mov eax, dword [esi]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x40b27d
jmp dword [ecx*4 + 0x40b3f0]
push eax
mov eax, dword [esi + 0x98c]
push eax
lea ecx, [esi + 0x84]
lea edi, [esi + 4]
call fcn.004063a0
add esp, 8
mov ecx, esi
call fcn.00406490
mov ecx, esi
call fcn.0040ab80
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x98c]
push eax
push ecx
lea ecx, [esi + 0x84]
lea edi, [esi + 4]
call fcn.004063a0
add esp, 8
call fcn.0040aef0
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x98c]
push eax
push edx
lea ecx, [esi + 0x84]
lea edi, [esi + 4]
call fcn.004063a0
add esp, 8
call fcn.0040b110
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x990]
push eax
push 0x464578
lea ecx, [ebp - 0x808]
push 0x800
push ecx
call fcn.0044f80d
mov edx, dword [esi]
mov eax, dword [esi + 0x98c]
push edx
push eax
lea ecx, [esi + 0x84]
lea edi, [esi + 4]
call fcn.004063a0
mov ecx, esi
call fcn.004065f0
push 8
lea ecx, [ebp - 0x808]
push str.gamerun:
push ecx
call fcn.00458a9e
add esp, 0x24
push 5
push 0
test eax, eax
jne 0x40b380
push eax
lea edx, [ebp - 0x808]
push edx
jmp 0x40b38c
lea eax, [ebp - 0x808]
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x98c]
push eax
push ecx
lea ecx, [esi + 0x84]
lea edi, [esi + 4]
call fcn.004063a0
add esp, 8
push 5
push 0
lea edx, [esi + 0xa94]
push edx
add esi, 0x990
push esi
jmp 0x40b38c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0044eeef
mov esp, ebp
pop ebp
ret