joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475d34
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475e56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004754c8
xor eax, eax
push ebp
push 0x475e39
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x475d84
call fcn.00404c4c
jmp 0x475e40
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x475e23
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475e23
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404528
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x475e23
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d748
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x475e70
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x688dbc]
mov dl, 1
mov eax, dword [0x4747c8]
call fcn.0040e1d0
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e40
mov eax, dword [ebp - 4]
call fcn.004754d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e5d
lea eax, [ebp - 0x28]
call fcn.00405158
ret
Function at 0x475ebc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476006
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004754c8
xor eax, eax
push ebp
push 0x475fe9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x475f21
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x475f21
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x475fd3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x475f34
call fcn.00404c4c
jmp 0x475ff0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x475fd3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475fd3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404528
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x475fd3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d748
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x476020
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x688dbc]
mov dl, 1
mov eax, dword [0x4747c8]
call fcn.0040e1d0
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ff0
mov eax, dword [ebp - 4]
call fcn.004754d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47600d
lea eax, [ebp - 0x28]
call fcn.00405158
ret
Function at 0x47b1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x47b214
cmp eax, 0
jbe 0x47b31d
jmp 0x47b21a
jle 0x47b31d
mov eax, dword [ebp + 8]
add eax, 0xffffff04
xor ecx, ecx
mov edx, 0xf8
call fcn.00403a7c
mov eax, dword [ebp + 8]
lea edx, [eax - 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x40
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x40
jne 0x47b31d
mov eax, dword [ebp + 8]
cmp word [eax - 0x13c], 0x5a4d
jne 0x47b31d
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x100]
jne 0x47b31d
mov eax, dword [ebp + 8]
lea edx, [eax - 0xfc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 4
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 4
jne 0x47b31d
mov eax, dword [ebp + 8]
cmp dword [eax - 0xfc], 0x4550
jne 0x47b31d
mov eax, dword [ebp + 8]
lea edx, [eax - 0xf8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov ecx, 0x14
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 0x14
jne 0x47b31d
mov eax, dword [ebp + 8]
cmp word [eax - 0xf8], 0x14c
jne 0x47b31d
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 0xe8]
mov eax, dword [ebp + 8]
lea edx, [eax - 0xe4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x140]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp + 8]
movzx edx, word [edx - 0xe8]
cmp eax, edx
jne 0x47b31d
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x47b96c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor edx, edx
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xf6]
test ax, ax
jbe 0x47ba4c
mov edx, dword [ebp + 8]
movzx eax, ax
dec eax
test eax, eax
jl 0x47ba4a
inc eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 0xc]
xor edx, edx
test eax, 0x20000000
je 0x47b9e2
test eax, 0x40000000
je 0x47b9ce
test eax, 0x80000000
je 0x47b9c9
or edx, 0x40
jmp 0x47ba09
or edx, 0x20
jmp 0x47ba09
test eax, 0x80000000
je 0x47b9dd
or edx, 0x80
jmp 0x47ba09
or edx, 0x10
jmp 0x47ba09
test eax, 0x40000000
je 0x47b9fa
test eax, 0x80000000
je 0x47b9f5
or edx, 4
jmp 0x47ba09
or edx, 2
jmp 0x47ba09
test eax, 0x80000000
je 0x47ba06
or edx, 8
jmp 0x47ba09
or edx, 1
test eax, 0x4000000
je 0x47ba16
or edx, 0x200
mov eax, dword [ebp + 8]
add eax, 0xfffffebc
push eax
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8 + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*8]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec dword [ebp - 4]
jne 0x47b99c
mov dl, 1
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x480bd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x480cda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi + 0x208], 0
je 0x480cbc
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, dword [edi + 0x208]
call fcn.004055f8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x480cbc
xor ecx, ecx
push ebp
push 0x480cb5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 2
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp - 0x10]
push eax
mov edx, esi
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040b0c8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x480cf4
call fcn.00405480
lea eax, [ebp - 4]
call fcn.00405658
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x480c8d
sub eax, 4
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push edx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480cbc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ce1
lea eax, [ebp - 0x10]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405158
ret

Function at 0x487d8c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403a7c
ret
Function at 0x48c990
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x60d56c]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x48c9c8
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x48c9e0
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48c9d9
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403a7c
xor edx, edx
mov eax, 0x60d76c
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x48ca47
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x48c9fe
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x48cc88
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x48cca1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x48cc9a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x48ccb3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48ccac
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0048c880
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48cccd
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0048c990
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x48cd55
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x48cd73
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0048c910
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48cd9d
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48cdb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x78]
push ecx
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x48cddc
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48cdd5
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x48cdf0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048c780
test bl, bl
jne 0x48cec9
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48ce27
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48ce3c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048cc88
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x48ce6f
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x48ce1c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48ce93
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x48cea5
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48ceba
jmp 0x48cf88
cmp bl, 1
jne 0x48cf88
mov dword [ebp - 8], 0xfffffff0
lea ebx, [ebp - 0x1e]
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48cee7
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48cefc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048cc88
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x48cf2f
sub ebx, 6
inc dword [ebp - 8]
jne 0x48cedc
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x48cf57
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x48cf69
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x48cf7e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048c800
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d62c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x38]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x478], 0
jg 0x48d65c
mov dword [ebx + 0x478], 0x40
jmp 0x48d7d9
mov esi, dword [ebx + 0x468]
cmp esi, 0x3200000
jg 0x48d7d9
cmp byte [ebx + 0x47c], 0
je 0x48d68d
mov eax, dword [ebx + 0x454]
test eax, eax
jle 0x48d7d9
mov dword [ebx + 0x46c], eax
jmp 0x48d69a
cmp dword [ebx + 0x46c], 0
jle 0x48d7d9
mov edx, dword [ebx + 0x478]
mov eax, dword [ebx + 0x30]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
test esi, esi
jle 0x48d768
mov eax, esi
call fcn.00402f54
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d761
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp esi, eax
jne 0x48d74b
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0048e730
mov esi, eax
cmp dword [ebp - 8], 0
je 0x48d74b
mov eax, dword [ebp - 0xc]
add eax, 0x28
cmp esi, eax
jne 0x48d743
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041a4b8
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
add eax, 0x28
mov ecx, dword [ebp - 0xc]
call fcn.004031bc
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.00402f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7d9
mov eax, dword [ebp - 4]
call fcn.00402f70
ret
mov eax, dword [ebp - 0xc]
call fcn.00402f54
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48d7d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, dword [ebp - 0xc]
jne 0x48d7bc
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041a4b8
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.004031bc
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7d9
mov eax, dword [ebp - 8]
call fcn.00402f70
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ae7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b07f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x4c]
mov eax, edi
dec eax
mov esi, 0xe
cdq
idiv esi
mov esi, eax
test ecx, ecx
jge 0x49aee9
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x49b04c
cmp dword [ebx + 0x354], 0
jle 0x49aed8
dec dword [ebx + 0x354]
mov eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
jmp 0x49af6c
cmp edi, ecx
jge 0x49af55
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x49b04c
inc dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x49af38
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cdq
push edx
push eax
push 0
push 0
call fcn.004892a0
mov dword [ebx + 0x35c], eax
mov eax, dword [ebx + 0x35c]
sub eax, esi
inc eax
cdq
push edx
push eax
push 0
push 0
call fcn.004892a0
mov dword [ebx + 0x354], eax
jmp 0x49af6c
mov eax, ecx
dec eax
mov ecx, 0xe
cdq
idiv ecx
add eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x36c], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x49afa8
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cdq
push edx
push eax
push 0
push 0
call fcn.004892a0
mov dword [ebx + 0x35c], eax
xor eax, eax
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jle 0x49b04c
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
call fcn.0049bb98
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00405adc
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405b68
je 0x49b04c
mov eax, dword [ebp - 4]
call fcn.00405afc
mov edi, eax
test edi, edi
jle 0x49b04c
mov esi, 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405bec
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004053f0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov edx, dword [ebp - 0x18]
mov eax, dword [0x6883d8]
mov eax, dword [eax]
call fcn.004857a0
cmp eax, dword [ebp - 0xc]
jg 0x49b04c
mov dword [ebx + 0x358], esi
inc esi
dec edi
jne 0x49b005
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b086
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0x10]
call fcn.00405158
lea eax, [ebp - 8]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405970
ret
Function at 0x4a0784
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x4a080b
cmp dword [ebx + 0x10], 0
jle 0x4a080b
mov ecx, edx
mov eax, dword [0x4a054c]
mov dl, 1
call fcn.004a09d4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0804
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.004031bc
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a0bf4
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.0041c764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a080b
mov eax, dword [ebp - 4]
call fcn.0040432c
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a8e94
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4a9042
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test ebx, ebx
je 0x4a9021
mov eax, ebx
xor ecx, ecx
mov edx, 0x21
call fcn.00403a7c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004055f8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a9021
mov eax, dword [ebp - 0x14]
call fcn.00402f3c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a900f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a9005
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a9054
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a9005
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebx + 0x19], ax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
mov word [ebx + 0x1b], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebx + 0x1d], ax
mov eax, dword [ebp - 0x10]
movzx esi, word [eax + 0xc]
mov word [ebx + 0x1f], si
lea eax, [ebp - 0x118]
push eax
movzx eax, word [ebx + 0x19]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0
movzx eax, word [ebx + 0x1b]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
movzx eax, word [ebx + 0x1d]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
movzx eax, si
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
lea edx, [ebp - 0x138]
mov ecx, 3
mov eax, 0x4a9060
call fcn.0040b0c8
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00405404
lea edx, [ebp - 0x114]
mov eax, ebx
mov cl, 0x18
call fcn.0040396c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9019
mov eax, dword [ebp - 0xc]
call fcn.00402f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9049
lea eax, [ebp - 0x118]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405158
ret