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

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x43e259
call fcn.0041ff30
sub esp, 0x18c
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x198]
push edi
call fcn.0040bc8e
mov edx, dword [ebp + 0x64]
and dword [ebp - 4], 0
cmp dword [edx + 0x7ee], 4
jne 0x40aebb
cmp byte [ebx + 0x98c], 1
lea edi, [ebp]
mov eax, dword [ebp + 0x68]
push 8
mov ecx, dword [eax + 0x15]
lea esi, [eax + 0x19]
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x58], ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
jne 0x40adfe
cmp byte [ebx + 0x98b], 0
jne 0x40adfe
lea eax, [ebp + 0x58]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x967]
jne 0x40aecf
lea edx, [ebp]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 0x96b]
jne 0x40aecf
inc ecx
cmp ecx, 8
jne 0x40ade8
xor esi, esi
call fcn.0040bd4f
mov dword [ebp + esi + 0x40], eax
add esi, 4
cmp esi, 0x14
jl 0x40ae00
and dword [ebp + 0x3c], 0
lea eax, [ebp]
push 5
pop ecx
xorps xmm0, xmm0
lea esi, [ebp + 0x40]
movlpd qword [ebp + 0x34], xmm0
lea edi, [ebp + 0x20]
push eax
push dword [ebp + 0x54]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x198]
call fcn.0040bcc9
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x198]
call fcn.0040bbfa
mov esi, dword [ebp + 0x68]
xor edx, edx
mov ecx, dword [ebp + 0x64]
inc esi
mov al, byte [esi + edx]
xor al, byte [ebp + edx + 0x40]
mov byte [ecx + edx + 0x7d1], al
inc edx
cmp edx, 0x10
jl 0x40ae56
mov byte [ecx + 0x7e1], 1
lea edi, [ebp - 0x43]
push 5
pop ecx
mov byte [ebp - 0x44], 0x10
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x2f]
rep movsd dword es:[edi], dword [esi]
call fcn.0040238a
mov edx, dword [ebp + 0x64]
xor esi, esi
push esi
push eax
push esi
mov eax, dword [edx + 1]
push esi
push ecx
push ecx
mov ecx, esp
push esi
push 6
push esi
mov dword [ecx], eax
mov ax, word [edx + 5]
mov word [ecx + 4], ax
lea eax, [ebp - 0x44]
push 0x1a8
push eax
mov ecx, ebx
call fcn.0040b30e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x5c
leave
ret 8
push 1
call fcn.00406a16
mov edi, dword [ebp + 0x64]
mov esi, eax
pop ecx
push 1
mov ecx, dword [esi + 0x10]
mov byte [ecx], 0x1c
mov dword [esi + 0xc], 8
mov ecx, dword [edi + 1]
push ecx
mov dword [esi + 2], ecx
mov ax, word [edi + 5]
push ecx
mov ecx, esp
mov word [esi + 6], ax
mov eax, dword [esi + 2]
mov dword [ecx], eax
mov ax, word [esi + 6]
mov word [ecx + 4], ax
mov ecx, ebx
call fcn.0040783e
push esi
mov ecx, ebx
mov word [esi], ax
call fcn.00406778
mov dword [edi + 0x7ee], 2
jmp 0x40aebb
Function at 0x40bd4f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x44cdc4], 1
js 0x40bd92
mov eax, dword [0x472534]
mov ecx, dword [eax]
add eax, 4
mov dword [0x472534], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
cmp dword [0x44cdc4], 0xffffffff
push ebx
push ebp
push esi
mov ebx, 0x471b70
mov esi, 0x471b78
push edi
mov edi, ebx
jge 0x40bdb6
push 0x1105
call fcn.0040bea1
pop ecx
mov eax, dword [0x471b70]
mov ebp, 0xe3
mov edx, dword [0x471b74]
mov dword [0x44cdc4], 0x26f
mov dword [0x472534], 0x471b74
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebp, 1
jne 0x40bdda
mov ebp, 0x18c
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
lea ebx, [ebx + 4]
mov dword [edi], ecx
lea edi, [edi + 4]
mov edx, dword [esi]
lea esi, [esi + 4]
sub ebp, 1
jne 0x40be16
mov edx, dword [0x471b70]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
pop esi
mov eax, edx
shr eax, 0x12
pop ebp
xor eax, edx
pop ebx
ret

Function at 0x40ff5c
Capabilities:
Encode data using xor

Disassembly:
push edi
movzx edi, byte [esp + 0xc]
test edi, edi
je 0x40ffa5
push esi
mov esi, dword [esp + 0xc]
add esi, 2
movzx eax, byte [esi + 1]
movzx ecx, byte [esi - 1]
mov edx, dword [eax*4 + 0x44fef0]
movzx eax, byte [esi]
lea esi, [esi + 4]
xor edx, dword [ecx*4 + 0x44f6f0]
xor edx, dword [eax*4 + 0x44faf0]
movzx eax, byte [esi - 6]
xor edx, dword [eax*4 + 0x44f2f0]
mov dword [esi - 6], edx
sub edi, 1
jne 0x40ff6e
pop esi
pop edi
ret
Function at 0x410ffc
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
push ebx
push ebp
mov ebp, dword [0x472538]
push esi
push edi
lea ebx, [ebp - 6]
lea ecx, [ebx - 1]
mov dword [esp + 0x1c], ebx
test ecx, ecx
js 0x411073
mov eax, dword [edx + ecx*4]
mov dword [esp + ecx*4 + 0x20], eax
sub ecx, 1
jns 0x41101b
xor esi, esi
xor edx, edx
xor edi, edi
lea eax, [ebp + 1]
cmp esi, eax
jge 0x411077
cmp edi, ebx
jge 0x411058
mov ebp, dword [esp + 0x4c]
cmp edx, 4
jge 0x411052
mov eax, dword [esp + edi*4 + 0x20]
lea ecx, [edx + esi*4]
inc edi
mov dword [ebp + ecx*4], eax
inc edx
cmp edi, ebx
jl 0x41103c
mov ebp, dword [0x472538]
cmp edx, 4
lea eax, [esi + 1]
cmovne eax, esi
mov esi, eax
xor eax, eax
cmp edx, 4
cmovne eax, edx
mov edx, eax
cmp edi, ebx
jl 0x41102d
jmp 0x411077
xor esi, esi
xor edx, edx
lea eax, [ebp + 1]
cmp esi, eax
jge 0x4111e1
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x4502f0
sub eax, 4
mov dword [esp + 0x18], eax
mov edi, eax
movzx eax, byte [esp + ebx*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + str.cw]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + ebx*4 + 0x1e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x21], al
movzx eax, byte [esp + ebx*4 + 0x1f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x22], al
movzx eax, byte [esp + ebx*4 + 0x1c]
mov al, byte [eax + str.cw]
xor byte [esp + 0x23], al
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
mov al, byte [eax]
xor al, cl
xor ecx, ecx
inc ecx
mov byte [esp + 0x20], al
cmp ebx, 8
je 0x411118
cmp ebx, ecx
jle 0x411101
mov eax, dword [esp + ecx*4 + 0x1c]
xor dword [esp + ecx*4 + 0x20], eax
inc ecx
cmp ecx, ebx
jl 0x4110f4
lea eax, [esp + 0x20]
xor edi, edi
sub eax, 4
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x4111d2
jmp 0x41118e
mov ebx, dword [esp + 0x18]
mov ebp, edi
mov edi, ebx
mov dword [esp + 0x14], ebp
mov eax, dword [ebp + ecx*4]
xor dword [esp + ecx*4 + 0x20], eax
inc ecx
cmp ecx, 4
jl 0x41111c
movzx eax, byte [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [0x472538]
mov edi, dword [esp + 0x14]
mov al, byte [eax + str.cw]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
push 5
pop ecx
mov al, byte [eax + str.cw]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x33], al
mov eax, dword [edi + ecx*4]
xor dword [esp + ecx*4 + 0x20], eax
inc ecx
cmp ecx, 8
jl 0x41117f
xor edi, edi
lea eax, [ebp + 1]
cmp esi, eax
jge 0x4111d2
cmp edi, ebx
jge 0x4111b9
mov ebp, dword [esp + 0x4c]
cmp edx, 4
jge 0x4111b3
mov eax, dword [esp + edi*4 + 0x20]
lea ecx, [edx + esi*4]
inc edi
mov dword [ebp + ecx*4], eax
inc edx
cmp edi, ebx
jl 0x41119d
mov ebp, dword [0x472538]
cmp edx, 4
lea eax, [esi + 1]
cmovne eax, esi
mov esi, eax
xor eax, eax
cmp edx, 4
cmovne eax, edx
mov edx, eax
cmp edi, ebx
jl 0x41118e
mov edi, dword [esp + 0x14]
lea eax, [ebp + 1]
cmp esi, eax
jl 0x411097
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x411371
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov dl, bl
mov ecx, ebx
push edi
mov edi, dword [esp + 0x10]
test esi, esi
jle 0x411392
mov al, byte [ecx + edi]
and al, 0xaa
xor dl, al
inc ecx
cmp ecx, esi
jl 0x411386
push esi
push edi
push 0x492549
mov byte [0x492548], dl
call fcn.004211e0
add esp, 0xc
test esi, esi
jle 0x4113da
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ebx + 0x492549]
mov al, byte [eax + 0x4705a8]
mov byte [ebx + 0x492549], al
test ecx, ecx
je 0x4113d2
xor al, byte [esp + 0x18]
xor al, 0xcc
mov byte [ebx + 0x492549], al
xor ecx, 1
inc ebx
cmp ebx, esi
jl 0x4113af
pop edi
pop esi
pop ebx
ret

Function at 0x4113f0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
jmp fcn.004114f1

Function at 0x4114f1
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
ret
Function at 0x412860
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
push ebp
push esi
push edi
push 0
push 2
pop eax
push eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
je 0x41294f
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0xc]
push ebx
push 4
push eax
push 4
xor ebx, ebx
push 0xffff
inc ebx
push esi
mov dword [esp + 0x24], ebx
call edi
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x40000
push eax
push 0x1002
push 0xffff
push esi
call edi
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x4000
push eax
push 0x1001
push 0xffff
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ebx
test eax, eax
jne 0x41294f
push 4
lea eax, [esp + 0x10]
push eax
push 0x20
push 0xffff
push esi
call edi
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], ax
push 2
pop eax
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x412933
cmp byte [eax], 0
je 0x412933
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x18], eax
jmp 0x412938
and dword [esp + 0x18], 0
push 0x10
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, ebp
cmove esi, ebp
mov eax, esi
jmp 0x412951
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc

Function at 0x41295a
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41297b
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x41297b
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x41297d
xor eax, eax
ret 4

Function at 0x4129b3
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
lea eax, [ebp - 0x50]
push 0x50
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x412a1a
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x412a19
mov ecx, dword [edi + 0xc]
cmp dword [ecx], 0
je 0x412a19
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp esi, 0x28
jge 0x412a17
mov eax, dword [esi + ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4129fe
mov ecx, dword [edi + 0xc]
add esi, 4
add ebx, 0x10
cmp dword [esi + ecx], 0
jne 0x4129ea
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x412a1e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
cmp dword [ebp + 8], 0xffffffff
push esi
push 2
pop eax
mov dword [ebp - 4], 0x10
mov word [ebp - 0x14], ax
je 0x412a98
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x240
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 1
jge 0x412a76
cmp esi, 0xffffffff
je 0x412a6c
xor eax, eax
inc eax
jmp 0x412aa1
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
jmp 0x412aa1
push dword [ebp - 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x254]
movzx eax, ax
push esi
push ecx
push eax
push dword [ebp - 0x10]
call fcn.00408a3f
jmp 0x412a67
mov ecx, dword [ebp + 0x10]
or dword [ecx], 0xffffffff
or eax, 0xffffffff
pop esi
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x412ab7
or eax, 0xffffffff
jmp 0x412b14
push esi
mov esi, dword [ebp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0x14]
push 2
mov dword [ebp - 0xc], eax
pop eax
mov word [ebp - 0x10], ax
push 0
movzx eax, si
mov esi, dword [ebp + 0x10]
push eax
push esi
push dword [ebp + 0xc]
call fcn.00411371
add esp, 0x10
inc esi
push 0x10
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x492548
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
je 0x412ae9
pop esi
cmp eax, 0xffffffff
je 0x412b0e
xor eax, eax
jmp 0x412b14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
leave
ret 0x14

Function at 0x413e03
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
test ebp, ebp
jne 0x413e23
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.00415a67
xor al, al
jmp 0x413ee0
push edi
call fcn.00413742
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push ebp
call fcn.00428a77
push ebp
call fcn.004290ca
push ebx
mov edi, eax
push ebx
push ebp
mov dword [esp + 0x30], edi
call fcn.00428a77
add esp, 0x1c
test edi, edi
jg 0x413e5e
push ebx
push ebx
push ebx
push 0xc
jmp 0x413e8d
lea eax, [edi + 1]
push eax
call fcn.0041ff24
push ebp
mov ebp, dword [esp + 0x1c]
mov edi, eax
push 1
push ebp
push edi
mov byte [edi], bl
call fcn.00428661
add esp, 0x14
cmp eax, 1
je 0x413e98
push edi
call fcn.0041ff8d
pop ecx
push ebx
push ebx
push ebx
push 2
mov ecx, esi
call fcn.00415a67
xor al, al
jmp 0x413edf
mov byte [edi + ebp], bl
mov eax, edi
mov dl, byte [edi]
mov ecx, edi
test dl, dl
je 0x413ec3
inc eax
lea ebp, [ecx + 1]
cmp dl, 0xd
jne 0x413eb9
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x413ebb
inc eax
jmp 0x413ebb
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebp
test dl, dl
jne 0x413ea5
push dword [esp + 0x18]
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.0041ff8d
cmp byte [esi + 0x2c], bl
pop ecx
sete al
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4162e1
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x43e61f
call fcn.0041ff30
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov esi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x41646c
push 3
pop ecx
jmp 0x416326
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [edx]
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x14]
inc edx
mov dword [ebp + 0xc], edx
mov dh, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0xf], dh
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], ah
cmp esi, ecx
jne 0x4163bb
mov al, ah
mov cl, ah
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov esi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, dh
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dh
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x470c7c], 0x10
mov ecx, 0x470c68
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x470c68]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0041649e
inc esi
cmp esi, 4
jl 0x416383
mov dl, byte [ebp - 0xd]
mov esi, ebx
mov ah, byte [ebp - 0xe]
mov dh, byte [ebp - 0xf]
push 3
pop ecx
cmp dword [ebp + 0x10], 0
jne 0x416323
mov dword [ebp + 0x10], esi
test esi, esi
je 0x41646c
cmp esi, ecx
jge 0x4163ef
sub ecx, esi
lea eax, [ebp - 0x14]
push ecx
add eax, esi
push ebx
push eax
call fcn.00421760
mov dh, byte [ebp - 0x12]
add esp, 0xc
mov dl, byte [ebp - 0x13]
mov ah, byte [ebp - 0x14]
mov al, ah
and ah, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl ah, 4
add ah, al
shl dl, 2
mov al, dh
mov byte [ebp - 0x17], ah
shr al, 6
and dh, 0x3f
add dl, al
mov byte [ebp - 0x15], dh
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x416455
mov esi, eax
cmp dword [0x470c7c], 0x10
mov ecx, 0x470c68
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x470c68]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0041649e
inc ebx
cmp ebx, esi
jl 0x416429
mov esi, dword [ebp + 0x10]
push 3
pop ebx
cmp esi, ebx
jge 0x41646c
sub ebx, esi
push 0x3d
mov ecx, edi
call fcn.0041649e
sub ebx, 1
jne 0x41645e
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x417e42
Capabilities:
Create thread
Set console window title

Disassembly:
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov ebp, 0x4000
push ebp
push eax
call fcn.0042f0c2
mov ebx, 0x4405e0
push ebx
push eax
call fcn.0042ea85
push 1
mov esi, eax
call fcn.0042505c
mov ecx, dword [esi]
add esp, 0x14
mov dword [eax], ecx
push 0
push 4
push 0
push 1
call fcn.0042505c
pop ecx
push eax
call fcn.0042ec54
add esp, 0x10
push 0xfffffffffffffff6
call edi
push ebp
push eax
call fcn.0042f0c2
push 0x441a6c
push eax
call fcn.0042ea85
push 0
mov esi, eax
call fcn.0042505c
mov ecx, dword [esi]
add esp, 0x14
mov dword [eax], ecx
xor eax, eax
push eax
push 4
push eax
push eax
call fcn.0042505c
pop ecx
push eax
call fcn.0042ec54
add esp, 0x10
push 0xfffffffffffffff4
call edi
push ebp
push eax
call fcn.0042f0c2
push ebx
push eax
call fcn.0042ea85
push 2
mov esi, eax
call fcn.0042505c
mov ecx, dword [esi]
add esp, 0x14
xor ebx, ebx
mov dword [eax], ecx
push ebx
push 4
push ebx
push 2
call fcn.0042505c
pop ecx
push eax
call fcn.0042ec54
push 1
call fcn.00417f96
add esp, 0x14
push str.RakSAMP_w__AUTOLOGIN__SLEEP
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push ebx
push ebx
push ebx
push 0x417f3e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push 0x417e11
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41803e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x43e675
call fcn.0041ff30
sub esp, 0x138
cmp dword [0x493950], 0
je 0x4181b3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x4f08e4]
cmp dword [0x493950], eax
jae 0x4181b2
push esi
push edi
lea ecx, [ebp - 0x144]
call fcn.0040120a
mov ax, word [ebp + 0x10]
mov ecx, 0xffff
and dword [ebp - 4], 0
cmp ax, cx
je 0x4180f6
movzx eax, ax
imul eax, eax, 0x153
cmp dword [eax + 0x4939a0], 0
je 0x4181a5
push 7
lea esi, [eax + 0x493a69]
xorps xmm1, xmm1
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
movss xmm0, dword [ebp - 0x23]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41815e
movss xmm0, dword [ebp - 0x1f]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41815e
movss xmm0, dword [ebp - 0x1b]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41815e
mov dword [ebp - 0x23], 0x3e800000
jmp 0x41815e
cmp dword [ebp + 0xc], 0
mov si, word [0x49397c]
movzx eax, si
je 0x418115
imul eax, eax, 0x153
or byte [eax + 0x493a86], 0xc0
jmp 0x41813d
imul edx, eax, 0x153
mov eax, dword [ebp + 8]
cmp eax, 1
movzx ecx, al
push 2
pop edi
cmova ecx, edi
shl cl, 6
mov al, byte [edx + 0x493a86]
and al, 0x3f
or cl, al
mov byte [edx + 0x493a86], cl
movzx eax, si
lea edi, [ebp - 0x30]
imul eax, eax, 0x153
push 7
pop ecx
mov byte [eax + 0x493a87], 0x55
lea esi, [eax + 0x493a69]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 1
push 8
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xcb
push eax
lea ecx, [ebp - 0x144]
call fcn.0040169e
push 0x1f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x144]
call fcn.00401632
mov ecx, dword [0x4e6b24]
lea edx, [ebp - 0x144]
push 0
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
call ebx
mov dword [0x493950], eax
lea ecx, [ebp - 0x144]
call fcn.00401225
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x418348
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x43de9b
call fcn.0041ff30
sub esp, 0x114
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x418579
push ebx
lea ecx, [ebp - 0x120]
call fcn.0040120a
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x493954], ebx
je 0x41856d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x4f08e0]
cmp dword [0x493954], eax
jae 0x41856c
mov ax, word [ebp + 0x10]
mov ecx, 0xffff
cmp ax, cx
je 0x4184d0
movzx eax, ax
imul ecx, eax, 0x153
cmp dword [ecx + 0x4939a0], ebx
je 0x41856c
mov ax, word [0x4f145d]
mov word [esi], ax
mov ax, word [ecx + 0x493a14]
mov word [esi + 2], ax
mov ax, word [ecx + 0x493a16]
mov word [esi + 4], ax
mov ax, word [ecx + 0x493a18]
mov word [esi + 6], ax
mov eax, dword [ecx + 0x493a1a]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x493a1e]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x493a22]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x493a26]
mov dword [esi + 0x14], eax
movss xmm1, dword [ecx + 0x493a2a]
addss xmm1, dword [0x4f1461]
movss dword [esi + 0x18], xmm1
movss xmm0, dword [ecx + 0x493a2e]
addss xmm0, dword [0x4f1465]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [ecx + 0x493a32]
addss xmm0, dword [0x4f1469]
movss dword [esi + 0x20], xmm0
mov eax, dword [ecx + 0x493a36]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x493a3a]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x493a3e]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x493a42]
mov dword [esi + 0x30], eax
cmp byte [0x4f1481], bl
jne 0x41848e
mov al, byte [ecx + 0x493a46]
mov byte [esi + 0x34], al
mov al, byte [ecx + 0x493a47]
mov byte [esi + 0x35], al
mov al, byte [0x4f149f]
test al, al
jne 0x41849d
mov al, byte [ecx + 0x493a48]
mov byte [esi + 0x36], al
mov al, byte [ecx + 0x493a49]
mov byte [esi + 0x37], al
mov al, byte [ecx + 0x493a4a]
mov byte [esi + 0x38], al
mov ax, word [ecx + 0x493a4b]
mov word [esi + 0x39], ax
mov eax, dword [ecx + 0x493a4d]
mov dword [esi + 0x3b], eax
movss dword [0x4f1493], xmm1
jmp 0x41850f
movzx eax, word [esi]
imul ecx, eax, 0x14
cmp dword [ecx + 0x4e6b28], ebx
je 0x41856c
cmp dword [ebp + 0xc], ebx
je 0x418502
mov eax, dword [ecx + 0x4e6b2c]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x4e6b30]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x4e6b34]
mov dword [esi + 0x20], eax
movss xmm0, dword [esi + 0x18]
movss dword [0x4f1493], xmm0
movss xmm0, dword [esi + 0x1c]
lea eax, [ebp + 8]
push 1
movss dword [0x4f1497], xmm0
lea ecx, [ebp - 0x120]
movss xmm0, dword [esi + 0x20]
push 8
push eax
movss dword [0x4f149b], xmm0
mov byte [ebp + 8], 0xc8
call fcn.0040169e
push 0x3f
push esi
lea ecx, [ebp - 0x120]
call fcn.00401632
mov ecx, dword [0x4e6b24]
lea edx, [ebp - 0x120]
push ebx
push 7
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
call edi
mov dword [0x493954], eax
pop edi
lea ecx, [ebp - 0x120]
call fcn.00401225
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret