joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, 1
or eax, 0xffffffff
cmp ecx, esi
jbe 0x41a38e
push edi
lea edi, [ecx - 1]
mov ecx, dword [esp + 0x10]
lea esi, [edi + 1]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4938cc]
xor eax, edx
inc ecx
dec edi
jne 0x41a36d
pop edi
jmp 0x41a392
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
add esi, edx
add ecx, edx
mov edx, dword [esp + 0x10]
cmp esi, edx
ja 0x41a3c5
sub edx, esi
inc edx
mov esi, edx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4938cc]
xor eax, edx
inc ecx
dec esi
jne 0x41a3a7
pop esi
pop ebx
not eax
ret

Function at 0x41db50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
mov eax, dword [0x66c0a8]
mov ecx, dword [0x66c0d0]
push ebx
push ebp
push esi
push edi
push 0
push 0x41dc40
push eax
push 0x71
push ecx
call dword [0x48531c]
mov esi, eax
push 0
push 2
push esi
call dword [0x485330]
push eax
call dword [0x485354]
mov edx, dword [0x4930f0]
mov ebx, dword [0x485318]
push edx
push 0x402
push esi
call ebx
mov ebp, dword [0x48534c]
mov edi, 3
push edi
lea eax, [esp + 0x18]
push 0x492fc0
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x403
push esi
call ebx
push 5
push esi
call dword [0x485344]
call fcn.00441e20
push 0
push 0x3ff00000
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.00441e90
add esp, 0x10
call fcn.004454f0
mov edx, dword [esp + 0x10]
push edx
call fcn.00441f80
add esp, 4
test eax, eax
je 0x41dc1c
dec edi
lea eax, [esp + 0x14]
push edi
push 0x492fc0
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x403
push esi
call ebx
test edi, edi
jge 0x41dbe8
mov edx, dword [esp + 0x10]
push edx
call fcn.00441e50
add esp, 4
push esi
call dword [0x485348]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x41f400
Capabilities:
Get hostname
Resolve dns
Set socket configuration

Disassembly:
mov ecx, 0x63ba28
mov dword [0x63f300], 3
call fcn.0041f740
mov ecx, 0x63ba28
call fcn.0041f780
mov ecx, 0x63ba28
call fcn.0041f620
mov ecx, 0x63ba28
jmp fcn.0041f9a0

Function at 0x41f7d0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Resolve dns

Disassembly:
sub esp, 0x10
push ebx
push 6
push 1
mov ebx, ecx
push 2
call fcn.004457a2
push 0
mov dword [ebx + 0x84], eax
mov word [esp + 8], 2
call fcn.0044579c
push 0x17a2
mov dword [esp + 0xc], eax
call fcn.00445796
mov ecx, dword [ebx + 0x84]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push ecx
call fcn.00445790
test eax, eax
jge 0x41f826
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [0x63f3c8]
mov eax, dword [ebx + 0x84]
push esi
push edi
push 0x3b
push 0x4c8
push edx
push eax
call fcn.0044578a
lea esi, [ebx + 4]
push 0x40
push esi
call fcn.00445784
push esi
call fcn.0044576c
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
push edx
call fcn.00445760
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x395c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 5
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x84]
push ecx
call fcn.0044577e
pop edi
pop esi
test eax, eax
je 0x41f8a0
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [ebx + 0x3858], 1
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x41f8c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push 6
push 1
mov esi, ecx
push 2
call fcn.004457a2
mov dword [esi + 0x84], eax
lea eax, [esi + 0x395c]
push eax
mov word [esp + 8], 2
call fcn.004457b4
push 0x17a2
mov dword [esp + 0xc], eax
call fcn.00445796
mov ecx, dword [0x63f3c8]
mov edx, dword [esi + 0x84]
push 0x33
push 0x4c8
push ecx
push edx
mov word [esp + 0x16], ax
call fcn.0044578a
mov ecx, dword [esi + 0x84]
lea eax, [esp + 4]
push 0x10
push eax
push ecx
call fcn.004457ae
cmp eax, 0xffffffff
jne 0x41f942
call fcn.004457a8
cmp eax, 0x2733
je 0x41f942
xor eax, eax
pop esi
add esp, 0x10
ret
push 0x28
call fcn.0047de3a
mov dword [0x63f2f8], eax
mov edx, dword [esi + 0x84]
mov dword [eax], edx
mov ecx, dword [0x63f2f8]
add esp, 4
xor eax, eax
mov byte [ecx + 8], al
mov edx, dword [0x63f2f8]
pop esi
mov dword [edx + 4], eax
mov ecx, dword [0x63f2f8]
mov dword [ecx + 0x20], eax
mov edx, dword [0x63f2f8]
mov dword [edx + 0x24], eax
mov eax, dword [0x63f2f8]
mov dword [0x63f2fc], eax
mov eax, 1
add esp, 0x10
ret
Function at 0x41f9a0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Get hostname
Resolve dns
Set socket configuration

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
push 2
mov dword [esp + 0x18], 1
call fcn.004457a2
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x20
push 0xffff
push eax
mov dword [ebx + 0x88], eax
call fcn.004457ba
push 0x17a3
mov word [ebx + 0x64], 2
call fcn.00445796
lea esi, [ebx + 4]
push 0x40
push esi
mov word [ebx + 0x66], ax
mov dword [ebx + 0x68], 0xffffffff
call fcn.00445784
push esi
call fcn.0044576c
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
push eax
call fcn.00445760
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x395c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004457a2
lea esi, [ebx + 0x74]
push 0x17a3
mov dword [ebx + 0x8c], eax
mov word [esi], 2
call fcn.00445796
mov ecx, dword [ebx + 0x8c]
push 0x10
push esi
push ecx
mov word [ebx + 0x76], ax
mov dword [ebx + 0x78], 0
call fcn.00445790
mov edx, dword [0x63f3c8]
mov eax, dword [ebx + 0x8c]
push 1
push 0x4c9
push edx
push eax
call fcn.0044578a
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41fd90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x80
call fcn.0047de3a
mov edi, dword [esp + 0x18]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], 0x8fc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 4]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x88]
lea ecx, [ebp + 0x64]
push ecx
push 0
push 0x80
push ebx
push edx
call fcn.004457c6
push ebx
call fcn.0047de2e
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41fe00
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, ecx
push 0x1c
call fcn.0047de3a
mov esi, eax
push 0x14
push 0x63f3a8
lea eax, [esi + 4]
mov dword [esi], 0x898
push eax
call dword [0x48524c]
mov ecx, dword [0x63f3bc]
add esp, 0x10
lea eax, [edi + 0x64]
mov dl, byte [ecx + 0x214]
push 0x10
push eax
mov byte [esi + 0x18], dl
mov ecx, dword [edi + 0x88]
push 0
push 0x1c
push esi
push ecx
call fcn.004457c6
push esi
call fcn.0047de2e
add esp, 4
pop edi
pop esi
ret
Function at 0x41ffd0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x84]
push 0
push eax
call fcn.004457d8
mov edi, eax
cmp edi, 0xffffffff
jne 0x41fffc
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret
cmp dword [esi + 0x3858], 4
jge 0x420029
mov ecx, dword [0x63f3c8]
push 0x23
push 0x4c8
push ecx
push edi
call fcn.0044578a
push edi
mov ecx, esi
call fcn.00420070
inc dword [esi + 0x3858]
jmp 0x42002f
push edi
call fcn.00445778
lea edx, [esp + 0xc]
push str.CmdLogin
push edx
mov dword [esp + 0x10], 0x8fc
call dword [0x48534c]
add esp, 8
lea eax, [esp + 8]
push 0
push 0x80
push eax
push edi
call fcn.004457d2
pop edi
mov eax, 1
pop esi
add esp, 0x80
ret

Function at 0x420270
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0x80
call fcn.0047de3a
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
test edx, edx
mov dword [esi], 0x4b0
mov dword [esi + 4], eax
je 0x4202ba
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esi + 0xc]
push edi
push edx
push ecx
call dword [0x48524c]
add esp, 0xc
mov byte [edi + esi + 0xc], 0
jmp 0x4202be
mov byte [esi + 0xc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4202ea
mov edx, dword [eax]
push 0
push 0x80
push esi
push edx
call fcn.004457d2
test eax, eax
jge 0x42030f
push esi
call fcn.0047de2e
add esp, 4
xor eax, eax
pop edi
pop esi
ret 0xc
mov edi, dword [0x63f2f8]
test edi, edi
je 0x42030f
mov eax, dword [edi]
push 0
push 0x80
push esi
push eax
call fcn.004457d2
test eax, eax
jl 0x4202da
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x4202f4
push esi
call fcn.0047de2e
add esp, 4
mov eax, 1
pop edi
pop esi
ret 0xc
Function at 0x422790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00405bb0
mov eax, dword [0x63f870]
add esp, 8
xor ecx, ecx
mov ebp, 0x653438
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x1c]
je 0x422891
mov dl, byte [eax]
xor esi, esi
test dl, dl
jbe 0x422891
call dword [0x485210]
mov edx, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edx + 1]
cdq
idiv ecx
mov bl, dl
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
and eax, 0xff
lea ecx, [eax + eax*4]
lea edi, [eax + ecx*2 + 0x494bc0]
call dword [0x485210]
xor ecx, ecx
mov cl, byte [edi]
cdq
idiv ecx
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
mov cl, byte [eax + edi + 2]
lea eax, [eax + edi + 2]
test cl, cl
je 0x4227cf
mov edi, dword [0x63f870]
xor ecx, ecx
shl bl, 4
mov cl, byte [edi + 2]
add ecx, esi
mov word [ebp + ecx*2 + 0x1c], 0
mov edi, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edi + 2]
add ecx, esi
lea edi, [ebp + ecx*2 + 0x1c]
mov cl, byte [ebp + ecx*2 + 0x1c]
and cl, 0xf
or cl, bl
mov byte [edi], cl
mov edi, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edi + 2]
add ecx, esi
lea edi, [ebp + ecx*2 + 0x1c]
mov cl, byte [ebp + ecx*2 + 0x1c]
mov bl, cl
xor bl, dl
xor edx, edx
and bl, 0xf
xor bl, cl
mov byte [edi], bl
mov bl, byte [eax]
dec bl
inc esi
mov byte [eax], bl
mov eax, dword [0x63f870]
mov dl, byte [eax]
cmp esi, edx
jl 0x4227cf
mov ecx, dword [esp + 0x20]
inc ecx
add ebp, 0x7d0
cmp ecx, 4
mov dword [esp + 0x20], ecx
jl 0x4227b9
push 3
call fcn.00405a80
add esp, 4
call fcn.00405920
call fcn.00405880
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4228d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [0x652130]
sub esp, 0x10
mov ecx, dword [eax + 0xef4]
test ecx, ecx
je 0x4228f3
mov dword [eax + 0xef4], 0
call fcn.00405c50
jmp 0x4228f8
call fcn.004063a0
and eax, 0xff
push ebx
push ebp
xor ecx, ecx
mov dword [esp + 8], eax
mov eax, dword [0x63f870]
push esi
push edi
mov dword [esp + 0x14], ecx
mov ebp, 0x653438
cmp ecx, dword [esp + 0x10]
je 0x4229ed
mov dl, byte [eax]
xor esi, esi
test dl, dl
jbe 0x4229ed
call dword [0x485210]
mov edx, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edx + 1]
cdq
idiv ecx
mov bl, dl
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x18]
and eax, 0xff
lea ecx, [eax + eax*4]
lea edi, [eax + ecx*2 + 0x494bc0]
call dword [0x485210]
xor ecx, ecx
mov cl, byte [edi]
cdq
idiv ecx
mov byte [esp + 0x1c], dl
mov eax, dword [esp + 0x1c]
and eax, 0xff
mov cl, byte [eax + edi + 2]
lea eax, [eax + edi + 2]
test cl, cl
je 0x42292b
mov edi, dword [0x63f870]
xor ecx, ecx
shl bl, 4
mov cl, byte [edi + 2]
add ecx, esi
mov word [ebp + ecx*2 + 0x1c], 0
mov edi, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edi + 2]
add ecx, esi
lea edi, [ebp + ecx*2 + 0x1c]
mov cl, byte [ebp + ecx*2 + 0x1c]
and cl, 0xf
or cl, bl
mov byte [edi], cl
mov edi, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edi + 2]
add ecx, esi
lea edi, [ebp + ecx*2 + 0x1c]
mov cl, byte [ebp + ecx*2 + 0x1c]
mov bl, cl
xor bl, dl
xor edx, edx
and bl, 0xf
xor bl, cl
mov byte [edi], bl
mov bl, byte [eax]
dec bl
inc esi
mov byte [eax], bl
mov eax, dword [0x63f870]
mov dl, byte [eax]
cmp esi, edx
jl 0x42292b
mov ecx, dword [esp + 0x14]
inc ecx
add ebp, 0x7d0
cmp ecx, 4
mov dword [esp + 0x14], ecx
jl 0x422915
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x422b70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [0x485210]
call edi
mov edx, dword [0x63f870]
xor ecx, ecx
mov cl, byte [edx + 1]
cdq
idiv ecx
mov bl, dl
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
and eax, 0xff
lea ecx, [eax + eax*4]
lea esi, [eax + ecx*2 + 0x494bc0]
call edi
xor ecx, ecx
mov cl, byte [esi]
cdq
idiv ecx
mov byte [esp + 0x10], dl
mov ebp, dword [esp + 0x10]
mov eax, ebp
and eax, 0xff
mov cl, byte [eax + esi + 2]
test cl, cl
je 0x422b7d
shl bl, 4
mov cl, bl
xor esi, esi
xor cl, dl
mov word [esp + 0x14], si
and cl, 0xf
xor bl, cl
mov byte [esp + 0x14], bl
call fcn.004063d0
cmp ax, 0xffff
je 0x422bf7
mov word [esp + 0x14], ax
and al, 0xf
mov byte [esp + 0x10], al
mov ebp, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
test al, al
jne 0x422c2c
mov eax, dword [0x652130]
cmp dword [eax + 0xef8], esi
je 0x422c2c
mov dword [eax + 0xef8], esi
call fcn.00405d80
cmp ax, 0xffff
je 0x422c2c
mov word [esp + 0x14], ax
and al, 0xf
mov byte [esp + 0x10], al
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
and ebp, 0xff
and eax, 0xff
shr eax, 4
lea edx, [eax + eax*4]
lea eax, [eax + edx*2 + 0x494bc0]
lea ebp, [eax + ebp + 2]
dec byte [ebp]
call fcn.00441df0
mov ax, word [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x423b50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push esi
push eax
mov esi, ecx
push 0x101
call fcn.00445772
test eax, eax
je 0x423b78
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
push 6
push 1
push 2
call fcn.004457a2
lea ecx, [esi + 4]
mov dword [esi + 0x1c], eax
push ecx
mov word [esp + 8], 2
call fcn.004457b4
push 0x1964
mov dword [esp + 0xc], eax
call fcn.004457ea
mov edx, dword [esp + 0x1a8]
mov word [esp + 6], ax
mov eax, dword [esi + 0x1c]
push 0x33
push 0x403
push edx
push eax
call fcn.0044578a
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
call fcn.004457ae
cmp eax, 0xffffffff
jne 0x423bee
call fcn.004457a8
cmp eax, 0x2733
je 0x423bee
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
mov eax, 1
pop esi
add esp, 0x1a0
ret 4

Function at 0x423c00
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x423c22
mov eax, dword [0x64cda8]
test eax, eax
jne 0x423c22
call fcn.00445410
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x423c0d
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 0x3e9
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc838]
mov dword [esp + 0xc], eax
push esi
shl eax, 6
add eax, ebx
push edi
lea edx, [esp + 0x18]
push 0
mov ecx, dword [eax + 0xc85c]
lea edi, [eax + 0xc860]
mov dword [esp + 0x30], ecx
or ecx, 0xffffffff
xor eax, eax
push 0x40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebx + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004457d2
pop edi
pop esi
test eax, eax
jge 0x423c92
xor eax, eax
pop ebx
add esp, 0x24
ret
mov dword [ebx], 1
mov eax, 1
pop ebx
add esp, 0x24
ret

Function at 0x423d50
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov edx, dword [esp + 0x44]
push esi
mov esi, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
mov eax, dword [esi + 0x14]
push 0x2a
mov dword [esp + 0x10], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xc838]
shl ecx, 6
mov dword [esp + 0xc], 0x3ec
push edx
mov eax, dword [ecx + esi + 0xc85c]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x24], ecx
call dword [0x48524c]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
lea eax, [esp + 8]
push 0
push 0x40
push eax
push ecx
call fcn.004457d2
pop edi
pop esi
add esp, 0x40
ret 8
Function at 0x423dc0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov eax, ecx
mov dword [esp], 0x3ee
mov ecx, dword [esp + 0x44]
push esi
mov edx, dword [eax + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xc838]
shl edx, 6
cmp ecx, 0x16
push edi
mov edx, dword [edx + eax + 0xc85c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edx
ja case.0x423e0b.8
xor edx, edx
mov dl, byte [ecx + 0x423f10]
jmp dword [edx*4 + 0x423eec]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov edx, ecx
lea edi, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x423ea4
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, 8
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov cx, word [edx]
mov word [esp + 0x20], cx
jmp 0x423ed0
mov ecx, dword [esp + 0x58]
mov dx, word [ecx]
mov word [esp + 0x20], dx
mov cl, byte [ecx + 2]
mov byte [esp + 0x22], cl
jmp 0x423ed0
mov cl, byte [esp + 0x50]
mov dl, byte [esp + 0x54]
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], dl
mov edx, dword [eax + 0x1c]
push 0
lea ecx, [esp + 0xc]
push 0x40
push ecx
push edx
call fcn.004457d2
pop edi
pop esi
add esp, 0x40
ret 0x10
mov cl, byte [esp + 0x50]
mov byte [esp + 0x20], cl
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x1c]
push 0
lea edx, [esp + 0xc]
push 0x40
push edx
push eax
call fcn.004457d2
pop edi
pop esi
add esp, 0x40
ret 0x10
Function at 0x4244a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov edx, dword [ecx + 0xc838]
mov eax, dword [ecx + 0x14]
shl edx, 6
mov dword [esp], 0x3ee
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [edx + ecx + 0xc85c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov al, byte [ecx + 0xc838]
mov dword [esp + 0xc], edx
mov byte [esp + 0x18], al
mov eax, dword [ecx + 0x1c]
push 0
lea edx, [esp + 4]
push 0x40
push edx
push eax
mov dword [esp + 0x24], 0
call fcn.004457d2
add esp, 0x40
ret 4

Function at 0x424670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
lea esi, [ecx + 3]
push edi
and esi, 0x80000003
jns 0x424689
dec esi
or esi, 0xfffffffc
inc esi
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x4246e3
mov bl, byte [esp + 0x18]
lea ecx, [esi + esi*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, 0x653438
mov dl, byte [ecx + 0xac]
test dl, dl
je 0x4246c6
and edx, 0xff
dec edx
mov cl, byte [ecx + edx*2 + 0xae]
xor cl, bl
test cl, 0xff
je 0x4246de
add esi, 3
and esi, 0x80000003
jns 0x4246d6
dec esi
or esi, 0xfffffffc
inc esi
cmp esi, edi
jne 0x424695
pop edi
pop esi
pop ebx
ret
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4252b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, 0x64cd6c
je 0x4252e7
mov eax, dword [esi]
push 1
push eax
call fcn.00401a30
add esi, 4
add esp, 8
cmp esi, 0x64cd74
jl 0x4252be
mov ecx, dword [0x64cd78]
push 5
push ecx
call dword [0x485344]
pop esi
ret
mov edx, dword [esi]
push 0
push edx
call fcn.00401a30
add esi, 4
add esp, 8
cmp esi, 0x64cd74
jl 0x4252e7
mov eax, dword [0x64cd78]
push 0
push eax
call dword [0x485344]
pop esi
ret
Function at 0x43cd10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
test ecx, ecx
push edi
mov dword [esp + 0x14], eax
je 0x43ceb8
mov eax, dword [esp + 0x50]
push 0x4921c8
push eax
call dword [0x485200]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x43cd50
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x3c
ret 4
mov esi, dword [0x48520c]
push ebp
push 1
lea ecx, [esp + 0x20]
push 8
push ecx
call esi
push ebp
push 1
lea edx, [esp + 0x28]
push 4
push edx
call esi
add esp, 0x20
mov ecx, 2
mov edi, str.IGSROM01
lea esi, [esp + 0x18]
xor eax, eax
mov dword [esp + 0x50], 0xc
repe cmpsd dword [esi], dword es:[edi]
je 0x43cda4
push ebp
call dword [0x4851f0]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
mov esi, dword [0x48520c]
push ebp
push 1
lea ecx, [esp + 0x20]
push 8
push ecx
call esi
push ebp
push 1
lea edx, [esp + 0x28]
push 4
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
add esp, 0x20
mov edi, str.WAVEDATA
lea edx, [ecx + eax + 0xc]
mov ecx, 2
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [esp + 0x50], edx
jne 0x43ce92
push ebp
push 1
lea ecx, [esp + 0x28]
push 0x2c
push ecx
call dword [0x48520c]
mov dx, 1
add esp, 0x10
cmp dx, word [esp + 0x36]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x38]
sbb eax, eax
and ecx, 0xffff
neg eax
push eax
mov eax, dword [esp + 0x44]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0043d2a0
test eax, eax
je 0x43ce5b
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx]
push eax
push ebp
push ecx
mov ecx, ebx
call fcn.0043d370
test eax, eax
jne 0x43ce65
mov edx, dword [ebx]
mov eax, dword [ebx + edx*4 + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebx]
mov dword [ebx + edx*4 + 8], 0
mov eax, dword [ebx]
mov eax, dword [ebx + eax*4 + 8]
test eax, eax
je 0x43ce77
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebx]
mov edx, dword [esp + 0x50]
push 0
inc eax
push edx
push ebp
mov dword [ebx], eax
call dword [0x4851fc]
add esp, 0xc
jmp 0x43cda4
mov ecx, 2
mov edi, str.FILE_END
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x43cda4
push ebp
call dword [0x4851f0]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4