joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48329c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404734
mov eax, dword [ebp - 8]
call fcn.00404734
mov eax, dword [ebp - 0xc]
call fcn.00404734
mov eax, dword [ebp + 0xc]
call fcn.00404734
xor eax, eax
push ebp
push 0x483406
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404744
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x483418
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404744
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4833e3
xor edx, edx
push ebp
push 0x4833dc
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404744
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404744
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4833c5
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4833bc
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4833c0
xor eax, eax
jmp 0x4833c2
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4833e3
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48340d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042a8
lea eax, [ebp + 0xc]
call fcn.00404284
ret
Function at 0x483420
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4834e8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4834ec
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4834e8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4834df
xor eax, eax
push ebp
push 0x4834d8
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4834df
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x483758
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48396c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402810
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4837d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4837c0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040447c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837dd
mov eax, dword [ebp - 8]
call fcn.00402830
ret

Function at 0x484d38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00402e78
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x484d72
cmp byte [ebp - 0xa], 0x31
jne 0x484d70
mov bl, 1
jmp 0x484d72
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486498
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00447048
test al, al
je 0x486556
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x486534
cmp word [esi + 0x5f2], 0
je 0x4864e9
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x48650b
cmp dword [ebp - 4], 0
jbe 0x486507
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x48650b
xor ebx, ebx
jmp 0x48650d
mov bl, 1
test bl, bl
jne 0x486556
mov eax, dword [0x4ca5ac]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x486556
mov eax, dword [0x4ca5ac]
mov eax, dword [eax]
call fcn.0045fd00
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x486556
cmp byte [esi + 0x588], 0
jne 0x486556
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00465528
cmp eax, 4
jne 0x4864c6
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x488728
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x488752
cmp dword [ebx + 0x64], 0
jne 0x488752
cmp dword [ebx + 0x6c], 0
jne 0x488752
mov edi, esi
jmp 0x4887d9
cmp edi, 0xffffffff
jne 0x48875a
dec edi
jmp 0x4887d9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4887d9
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00487b24
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4887a7
mov cx, word [esp]
sub cx, si
jmp 0x4887a9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x488790
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4887cf
mov cx, word [esp]
sub cx, si
jmp 0x4887d1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4887b8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x488836
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004884c4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x488821
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x488836
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x488732
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48ea8c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4cbd48
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48eaae
shr eax, 1
xor eax, 0xedb88320
jmp 0x48eab0
shr eax, 1
dec edx
jne 0x48ea9c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48ea95
mov byte [0x4cc148], 1
pop esi
pop ebx
ret

Function at 0x48eacc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4cc148], 0
jne 0x48eae3
call fcn.0048ea8c
mov eax, edi
dec eax
test eax, eax
jl 0x48eb0c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cbd48]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48eaed
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4910a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4910d9
dec al
je 0x491115
dec al
je 0x491159
dec al
je 0x4911c4
jmp 0x49124e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49124e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4910e9
jmp 0x49124e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49124e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x491125
jmp 0x49124e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49124e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x491187
xor ebp, ebp
jmp 0x491198
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4911a1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x491169
jmp 0x49124e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49124e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x49121c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048eb14
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4911d8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4963dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427df4
cmp ebx, dword [ebp - 8]
jge 0x49643f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428118
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428118
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428144
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x496405
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x496448
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427df4
cmp ebx, dword [ebp - 8]
jge 0x4964ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428118
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428118
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428144
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x496471
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b30fc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b3104
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b32f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b330c
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004042d8
lea ecx, [ebp - 0x10]
mov edx, 0x4b3320
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004042d8
lea ecx, [ebp - 0x14]
mov edx, 0x4b3338
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004042d8
lea ecx, [ebp - 0x18]
mov edx, 0x4b3354
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004042d8
lea ecx, [ebp - 0x1c]
mov edx, 0x4b3370
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004042d8
lea ecx, [ebp - 0x24]
mov edx, 0x4b3388
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408bc0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ff0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b33a0
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x28]
call fcn.004aaa60
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b33b0
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x2c]
call fcn.004aaa60
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b33c8
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ff0
inc eax
je 0x4b3299
lea ecx, [ebp - 0x34]
mov edx, 0x4b33c8
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x34]
call fcn.00408fb4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a54c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a8b0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b32b4
lea ecx, [ebp - 0x40]
mov edx, 0x4b33c8
mov eax, esi
call fcn.004b0f88
mov eax, dword [ebp - 0x40]
call fcn.004aaa60
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b33d8
mov eax, esi
call fcn.004b0f88
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b32fd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004042a8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004042a8
ret
Function at 0x4ba088
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4ba0e2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004ba078
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a96cc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a92cc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba0e9
lea eax, [ebp - 4]
call fcn.00404284
ret

Function at 0x4be7e4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404734
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4be95e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004879f0
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00487a10
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4be92a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004044f4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409434
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408950
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408950
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404690
je 0x4be904
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004044f4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408950
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408950
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404690
jne 0x4be91b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00487a30
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4be865
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be965
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004042a8
lea eax, [ebp - 4]
call fcn.00404284
ret
Function at 0x4013f0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41cdd6
push eax
mov dword fs:[0], esp
sub esp, 0x424
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x401431
xor eax, eax
pop esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
add esp, 0x430
ret
lea eax, [esp + 4]
push eax
push 0x41f7a8
push 4
push esi
push 0x41f798
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
je 0x401465
xor eax, eax
pop esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
add esp, 0x430
ret
mov eax, dword [esp + 4]
push edi
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x444]
push edx
push eax
lea ecx, [esp + 0x34]
push str.http:__oldschool_d.runescape.com___d_
push ecx
call fcn.004081a3
lea edx, [esp + 0x3c]
push edx
push 0x42c00c
call fcn.004082b4
add esp, 0x18
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], si
push eax
call fcn.004078c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x434], esi
push ecx
call fcn.0040792e
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
lea ecx, [esp + 0x10]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x14]
mov byte [esp + 0x43c], 1
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [edx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push eax
call esi
mov edi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call esi
mov ecx, dword [esp + 0x42c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x430
ret
Function at 0x404850
Capabilities:
Read .ini file
Terminate process

Disassembly:
push 0x430ad4
push 0
push str.client
push str.system
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x40489f
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
mov edx, dword [ecx*4 + 0x430258]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
mov ecx, dword [esp + 4]
push ecx
call fcn.004043d0
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404180
jmp fcn.00404180

Function at 0x406810
Capabilities:
Create thread

Disassembly:
mov eax, 0x2804
call fcn.00408b60
push esi
push edi
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
push 0x418
call fcn.0040893d
add esp, 4
mov edi, eax
mov ecx, 0x106
xor eax, eax
push pe_nt_image_headers32
mov dword [0x4302d0], edi
push 0x430ed4
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x430ed4
call fcn.00408f80
push 0x430ed4
push str._suser.ini
push 0x430ad4
mov byte [eax], 0
call fcn.004081a3
add esp, 0x14
call fcn.004011b0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 8], 0
push 0x42c648
call fcn.004082b4
add esp, 4
lea esi, [esp + 0xc]
call fcn.00408dfc
cmp al, 0xa
mov byte [esp + 0xc], al
je 0x4068b6
inc esi
call fcn.00408dfc
cmp al, 0xa
mov byte [esi], al
jne 0x4068aa
lea eax, [esp + 0xc]
mov byte [esi], 0
push eax
push 0x42c634
call fcn.004082b4
lea ecx, [esp + 0x14]
push str.open
push ecx
call fcn.004087c0
add esp, 0x10
test eax, eax
je 0x406927
lea edx, [esp + 0x11]
push edx
call fcn.00408de5
push eax
push 0x42c624
mov dword [esp + 0x14], eax
call fcn.004082b4
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jle 0x406927
lea eax, [esp + 8]
push eax
push 0
push 0x4064e0
call fcn.00408e01
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x4066e0
call fcn.00408e01
add esp, 0x18
lea edx, [esp + 0xc]
push str.close
push edx
call fcn.004087c0
add esp, 8
test eax, eax
je 0x406975
lea eax, [esp + 0x11]
push eax
call fcn.00408de5
push eax
push 0x42c624
mov dword [esp + 0x14], eax
call fcn.004082b4
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jle 0x406975
lea ecx, [esp + 8]
push ecx
push 0
push 0x4064e0
call fcn.00408e01
add esp, 0xc
push 0x3e8
call edi
jmp 0x40688c
Function at 0x407160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
mov esi, ecx
call ebx
mov ebp, eax
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x407185
mov dword [esi + 0x38], 1
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jl 0x407196
call ebx
sub eax, ebp
cmp eax, edi
jae 0x4071aa
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4071a7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40718a
inc dword [esi + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x407250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d07b
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
mov dword [esi], 0x41e42c
xor ebx, ebx
mov dword [esp + 0x14], ebx
call fcn.00407200
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4072a3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40729a
cmp al, 0xff
je 0x40729a
dec al
mov byte [ecx], al
jmp 0x4072a3
push ecx
call fcn.0041720c
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret