joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b2f8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044b175

Function at 0x4506f4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045038e

Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194
Function at 0x403bf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret
Function at 0x41b640
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.0041b610
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
lea edi, [ecx + esi]
cmp esi, edi
jae 0x41b677
call fcn.0041b620
xor edx, edx
mov ecx, 0xff
div ecx
mov al, byte [esi]
xor al, dl
mov byte [esi], al
inc esi
cmp esi, edi
jb 0x41b65e
pop edi
pop esi
ret
Function at 0x422c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a23ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov ecx, 0x100
lea edx, [esi + 0x30]
xor eax, eax
mov edi, edx
mov dword [esp + 8], esi
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [edx + 0x400]
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00422ce0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret

Function at 0x424870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x30]
push ebx
push esi
mov esi, dword [esp + 0x3c]
mov eax, esi
push edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
fild dword [esp + 0x40]
and eax, 0xff
and edx, 0xff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
fsub qword [0x4a45b8]
fild dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x54]
fild dword [esp + 0x40]
and eax, 0xff
and edx, 0xff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
fsub st(1)
and eax, 0xff
fdiv st(2)
fstp qword [esp + 0x1c]
fild dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
and edx, 0xff
fstp qword [esp + 0xc]
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
fsub qword [esp + 0xc]
fdiv st(2)
fstp qword [esp + 0x24]
fild dword [esp + 0x40]
mov dword [esp + 0x40], edx
xor edx, edx
cmp ecx, esi
fstp qword [esp + 0x14]
fild dword [esp + 0x40]
setge dl
dec edx
xor ebx, ebx
fsub qword [esp + 0x14]
and edx, 2
dec edx
fdiv st(2)
fstp qword [esp + 0x2c]
fld qword [esp + 0xc]
fld qword [esp + 0x14]
fld qword [0x4a45c0]
fcomp st(4)
fnstsw ax
test ah, 1
je 0x4249a7
mov eax, dword [esp + 0x38]
lea edi, [edx*4]
fld qword [esp + 0x1c]
lea esi, [eax + ecx*4 + 2]
fld st(3)
call fcn.00492860
fld st(2)
mov byte [esi - 2], al
call fcn.00492860
fld st(1)
mov byte [esi - 1], al
call fcn.00492860
mov byte [esi], al
add esi, edi
inc ebx
mov dword [esp + 0x40], ebx
fild dword [esp + 0x40]
fcomp st(5)
fxch st(3)
fadd st(3)
fxch st(2)
fadd qword [esp + 0x24]
fxch st(1)
fadd qword [esp + 0x2c]
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fnstsw ax
test ah, 1
jne 0x42495a
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
pop edi
pop esi
fstp st(0)
pop ebx
add esp, 0x28
ret
Function at 0x42eb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x42], bl
mov dword [esi + 0x44], ebx
mov edx, dword [esi + 0x48]
cmp edx, ebx
je 0x42ec07
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x42ebbc
cmp dword [edx], ebx
je 0x42ebbc
mov ecx, edx
push edx
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ec09
mov ecx, dword [edx]
cmp ecx, ebx
je 0x42ebd8
mov dword [ecx + 4], ebx
push edx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ec09
cmp eax, ebx
je 0x42ebf1
mov dword [eax], ebx
push edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ec09
push edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ec09
xor al, al
cmp al, bl
jne 0x42eb81
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
pop esi
pop ebx
ret
Function at 0x42ed20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042ec80
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 0x10], eax
lea eax, [edx + eax - 1]
mov dword [esi + 4], ecx
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x24], eax
mov eax, 0xa
mov dword [esi + 0x14], ecx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], edi
lea ecx, [edi + ecx - 1]
mov dword [esi + 0x28], eax
xor ebx, ebx
mov dword [esi + 0x34], eax
mov eax, 0xff
or edi, 0xffffffff
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 0x1e
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], al
mov byte [esi + 0x41], al
mov byte [esi + 0x42], al
mov dword [esi + 0x44], edi
mov edx, dword [esi + 0x48]
cmp edx, ebx
je 0x42ee1e
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x42edd3
cmp dword [edx], ebx
je 0x42edd3
mov ecx, edx
push edx
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ee20
mov ecx, dword [edx]
cmp ecx, ebx
je 0x42edef
mov dword [ecx + 4], ebx
push edx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ee20
cmp eax, ebx
je 0x42ee08
mov dword [eax], ebx
push edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ee20
push edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x42ee20
xor al, al
cmp al, bl
jne 0x42ed98
fild dword [esi + 8]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], edi
fdivr qword [0x4a4618]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x6c], 0x40000000
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
pop edi
fstp qword [esi + 0x70]
pop esi
pop ebx
ret 0x18
Function at 0x4304d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2685
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x10c]
mov dword [esp + 0x14], eax
call fcn.0041e7d0
lea ecx, [esi + 0x240]
mov byte [esp + 0x14], 1
call fcn.0041e7d0
lea edx, [esi + 0xf84]
mov ecx, 0x100
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [edx + 0x400]
rep stosd dword es:[edi], eax
mov ecx, esi
mov byte [esp + 0x14], 3
call fcn.00430670
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret
Function at 0x434420
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a26de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0xa04]
mov ecx, ebp
call fcn.00427780
xor ebx, ebx
mov ecx, 0xdc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
rep stosd dword es:[edi], eax
mov dword [esi + 0x3b0], ebx
mov ecx, 0x190
lea edi, [esi + 0x3b8]
mov dword [esi + 0x3b4], ebx
rep stosd dword es:[edi], eax
mov dword [esi + 0x9f8], ebx
push 0x64
mov ecx, ebp
mov dword [esp + 0x20], ebx
mov dword [esi + 0x9fc], ebx
mov dword [esi + 0xa00], ebx
call fcn.004277b0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa14], ebx
mov dword [esi + 0xa18], ebx
mov dword [esi + 0xa1c], ebx
mov dword [esi + 0xa28], ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x45f06c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x4de9a8
jmp 0x45f050
push 0xffffffffffffffff
push 0x4a286e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov byte [esi], al
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov cl, byte [esp + 7]
mov dword [esp + 0x14], eax
mov byte [esi + 0x10], cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x44], eax
mov byte [esi + 0x40], dl
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.0045fbb0
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
Function at 0x46e8e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a2b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], 0x4073b000
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov edi, dword [esi + 0x68]
cmp edi, ebx
je 0x46e9c8
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46e988
cmp dword [edi], ebx
je 0x46e988
mov ecx, edi
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
mov eax, dword [eax]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
mov dword [esi + 0x68], ecx
jmp 0x46e9b0
mov ecx, dword [edi]
cmp ecx, ebx
je 0x46e999
mov dword [ecx + 4], ebx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
jmp 0x46e9b0
cmp eax, ebx
je 0x46e9a7
mov dword [eax], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
jmp 0x46e9b0
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
cmp edi, ebx
je 0x46e9c4
mov ecx, edi
call fcn.0046e6e0
push edi
call fcn.0048d8d0
add esp, 4
mov al, 1
jmp 0x46e9ca
xor al, al
cmp al, bl
jne 0x46e958
mov eax, 0xf
mov dword [esi + 0x80], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
push str.parachute
mov ecx, 0x5290a0
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 1
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 3
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
call fcn.004029e0
mov dword [esi + 0xe4], eax
mov ecx, 0x32
xor eax, eax
lea edi, [esi + 0x110]
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esi + 0x1d8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x481520
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xdc0], 1
jne 0x481544
call fcn.00487de0
push eax
push str.BBSWS_start___d__n
call fcn.00487d20
add esp, 8
mov eax, dword [esi + 0x28]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0xd18], edi
test eax, eax
mov dword [esi + 0xd1c], ebx
jne 0x481641
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x481641
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xdbc]
push 0
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
sub eax, ecx
sub edx, edi
mov dword [esi + 0xd24], eax
mov eax, dword [esi + 0xd94]
test eax, eax
mov dword [esi + 0xd20], edx
je 0x4815f7
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
sub eax, dword [esi + 0xd24]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call edi
sub eax, dword [esi + 0xd20]
cdq
sub eax, edx
sar eax, 1
push eax
jmp 0x481610
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00481450
cmp dword [esi + 0xdc0], 1
jne 0x481633
call fcn.00487de0
push eax
push str.BBSWS_succeeded___d__n
call fcn.00487d20
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
cmp dword [esi + 0xdc0], 1
jne 0x48165d
call fcn.00487de0
push eax
push str.BBSWS_end___d__n
call fcn.00487d20
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 8
Function at 0x482040
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xdc0], 1
jne 0x482060
call fcn.00487de0
push eax
push str.BBIDIB_start___d__n
call fcn.00487d20
add esp, 8
mov eax, dword [esi + 0xdbc]
mov ecx, dword [esi + 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
push 0xfffffffffffffff0
push ecx
call edi
mov edx, dword [esi + 0x5c]
push 0
push 0xffffffffffffffec
push edx
call edi
mov eax, dword [esi + 0x5c]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi + 0xd1c]
mov eax, dword [esi + 0xd18]
push edx
push eax
mov ecx, esi
call fcn.00481520
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x5c]
push edi
push ecx
push edx
push eax
lea ecx, [esi + 0x60]
call fcn.00482e60
cmp edi, 8
jne 0x4820dc
push 0
push 0
push 0
push edi
lea ecx, [esi + 0xcc4]
call fcn.00480b30
cmp edi, 0x10
jne 0x4820f9
push 0x1f
push 0x3e0
push 0x7c00
push edi
lea ecx, [esi + 0xcc4]
call fcn.00480b30
cmp edi, 0x18
je 0x482103
cmp edi, 0x20
jne 0x48211e
push 0xff
push 0xff00
push 0xff0000
push edi
lea ecx, [esi + 0xcc4]
call fcn.00480b30
cmp dword [esi + 0xdc0], 1
jne 0x48213a
call fcn.00487de0
push eax
push str.BBIDIB_end___d__n
call fcn.00487d20
add esp, 8
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x483540
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
push esi
push edi
mov esi, ecx
call fcn.0048a8d0
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
cmp edx, edx
mov eax, edx
je 0x483566
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x483558
mov eax, dword [esi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0xc], eax
cmp edx, edx
mov eax, edx
je 0x48358a
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x48357c
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x20
mov dword [esi + 0x54], ecx
push 0
mov dword [esp + 0x1c], edx
mov dword [esi + 4], 0
call fcn.0048a1d0
mov dword [esi + 8], eax
xor eax, eax
mov dword [esp + 0x20], eax
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0x18], eax
push 0x401
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.192.0.2.0
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
push 2
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 0x10]
mov edi, eax
push 0x10
push ecx
push edi
call dword [sym.imp.WS2_32.dll_connect]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x14]
push edi
mov dword [esi], ecx
mov ecx, esi
call fcn.00483870
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret

Function at 0x4847a6
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea ecx, [esp + 4]
mov dword [esi + 0x1c], eax
push ecx
mov dword [esi + 0x18], 0
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4847ed
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x4847e6
jne 0x4847ed
cmp dword [esp + 0xc], 1
jb 0x4847ed
mov dword [esi + 0x1c], 0
mov eax, esi
pop esi
add esp, 0x94
ret
mov ecx, 0x530e90
jmp 0x4847a0
Function at 0x487d20
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x530ed8]
sub esp, 0x3e8
test eax, eax
push esi
jne 0x487d5e
push 0x4aadec
push str.log.txt
call fcn.00487a90
add esp, 4
push eax
call fcn.00493480
add esp, 8
push eax
call fcn.00492f50
add esp, 4
mov dword [0x530ed8], 1
mov ecx, dword [esp + 0x3f0]
lea eax, [esp + 0x3f4]
push eax
lea edx, [esp + 8]
push ecx
push edx
call fcn.004934a0
add esp, 0xc
push 0x4b32f8
push str.log.txt
call fcn.00487a90
add esp, 4
push eax
call fcn.00493480
mov esi, eax
add esp, 8
test esi, esi
je 0x487dbe
mov ecx, dword [esp + 0x3f0]
lea eax, [esp + 0x3f4]
push eax
push ecx
push esi
call fcn.00494550
add esp, 0xc
push esi
call fcn.00492f50
add esp, 4
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
add esp, 0x3e8
ret

Function at 0x487e00
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
mov eax, dword [0x5305fc]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 4]
push 0
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret