joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d6c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x490d74]
cmp dword [eax + 0x30], 0
je 0x45d76e
cmp dword [ebx + 0x94], 0
jne 0x45d768
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d654
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d768
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d72e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d768
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ae88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d73d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e2cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e301
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040498c
jmp 0x45e30e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f448
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f489
mov eax, esi
call fcn.0044538c
test al, al
je 0x45f489
mov eax, dword [ebx + 0x84]
call fcn.00445088
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f489
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445088
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x460b94
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x460c1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x490da0
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x460c07
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040d6e8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x460c34
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x48d6d0]
mov dl, 1
mov eax, dword [0x45fe7c]
call fcn.0040e01c
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460c24
lea eax, [ebp - 0x1c]
call fcn.0040489c
ret
Function at 0x4613c8
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.004612e4
mov cl, 1
mov edx, edi
mov eax, edi
mov si, 0xffff
call fcn.00403c6c
mov edx, dword [0x490f38]
mov eax, 0x490f4c
mov ecx, 5
call fcn.00402ff8
push 0x10
lea eax, [edi + 0x18]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x461444
mov eax, edi
call fcn.00460ad8
mov byte [edi + 0x29], 0
test byte [edi + 0x28], 0x10
jne 0x461437
cmp dword [edi + 4], 0xffffffff
setne al
mov byte [edi + 8], al
mov cl, 2
mov edx, edi
mov eax, edi
mov si, 0xffff
call fcn.00403c6c
pop edi
pop esi
ret

Function at 0x461514
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.00404d5c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00403474
cmp dword [esp + 4], 0
je 0x461566
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret

Function at 0x46164c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46167d
mov ecx, dword [0x48d7cc]
mov dl, 1
mov eax, dword [0x45fe7c]
call fcn.0040dfe0
call fcn.0040422c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4616aa
mov ecx, dword [0x48d588]
mov dl, 1
mov eax, dword [0x45fe7c]
call fcn.0040dfe0
call fcn.0040422c
xor eax, eax
push ebp
push 0x46173b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00460e1c
mov eax, dword [ebp - 4]
call fcn.00460e4c
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c6c
cmp byte [ebp + 8], 0
je 0x461715
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004615b4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00461340
jmp 0x461731
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00460e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x461758
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x461928
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00461144
xor eax, eax
push ebp
push 0x461aaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x461a99
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x461974
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46197e
call fcn.004042d8
jmp 0x461ab6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d3c0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x461a8e
mov edx, dword [0x490f30]
mov eax, 0x490f3c
mov ecx, 5
call fcn.00402ff8
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x461a41
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x461a2e
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c6c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004618e0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x461ac0]
cmp dl, byte [eax + 0x28]
je 0x461a95
call fcn.0040df04
jmp 0x461a95
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d3e0
jmp 0x461a95
cmp edi, ebx
jge 0x461a5d
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d3e0
jmp 0x46197e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d3c0
cmp edx, dword [esp + 4]
jne 0x461a7d
cmp eax, dword [esp]
pop edx
pop eax
jne 0x46197e
push ebp
call fcn.004618e0
pop ecx
jmp 0x461a95
push ebp
call fcn.004618e0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461ab6
mov eax, dword [ebp - 4]
call fcn.00461150
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461ac4
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 0x461bfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461144
xor eax, eax
push ebp
push 0x461bde
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 0x461b14
call fcn.004042d8
jmp 0x461be5
mov edx, dword [0x490f30]
mov eax, 0x490f3c
mov ecx, 5
call fcn.00402ff8
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 0x461bc8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x461bc8
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c6c
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 0x461bc8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d6e8
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, 0x461c14
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x48d6d0]
mov dl, 1
mov eax, dword [0x45fe7c]
call fcn.0040e01c
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461be5
mov eax, dword [ebp - 4]
call fcn.00461150
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461c02
lea eax, [ebp - 0x28]
call fcn.0040489c
ret
Function at 0x461c64
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 0x461dc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461144
xor eax, eax
push ebp
push 0x461da6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x461cc9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x461cc9
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 0x461d90
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x461cdc
call fcn.004042d8
jmp 0x461dad
mov edx, dword [0x490f34]
mov eax, 0x490f44
mov ecx, 5
call fcn.00402ff8
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 0x461d90
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x461d90
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c6c
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 0x461d90
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d6e8
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, 0x461ddc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x48d6d0]
mov dl, 1
mov eax, dword [0x45fe7c]
call fcn.0040e01c
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dad
mov eax, dword [ebp - 4]
call fcn.00461150
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dca
lea eax, [ebp - 0x28]
call fcn.0040489c
ret
Function at 0x46365c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push 0x463728
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x463725
push 0x463734
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490f34], eax
push 0x490f5c
push 0x40
push 8
mov eax, dword [0x490f34]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4636ad
mov edx, 0x490f44
mov eax, dword [0x490f34]
mov ecx, 5
call fcn.00402ff8
push 0x46373c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490f30], eax
push 0x490f54
push 0x40
push 8
mov eax, dword [0x490f30]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4636e9
mov edx, 0x490f3c
mov eax, dword [0x490f30]
mov ecx, 5
call fcn.00402ff8
push 0x463744
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490f38], eax
push 0x490f64
push 0x40
push 8
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x463725
mov edx, 0x490f4c
mov eax, dword [0x490f38]
mov ecx, 5
call fcn.00402ff8
pop ebx
ret

Function at 0x464080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00404b5c
mov edx, eax
cmp edx, 0x20
jge 0x4640b2
test edx, edx
jle 0x4640dc
mov eax, 1
xor bl, byte [esi + eax - 1]
xor ecx, ecx
mov cl, bl
mov bl, byte [ecx + 0x48867c]
inc eax
dec edx
jne 0x46409e
jmp 0x4640dc
mov edi, edx
test edi, edi
jns 0x4640bb
add edi, 0x1f
sar edi, 5
inc edi
mov eax, 1
cmp edx, eax
jle 0x4640dc
xor bl, byte [esi + eax - 1]
xor ecx, ecx
mov cl, bl
mov bl, byte [ecx + 0x48867c]
add eax, edi
cmp edx, eax
jg 0x4640c8
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4640e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov bx, word [0x48897c]
cmp dword [esp], 0x20
jge 0x464129
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x46416d
inc edx
xor esi, esi
movzx edi, bx
shr edi, 8
mov di, word [edi*2 + 0x48877c]
shl ebx, 8
xor di, bx
xor ebx, ebx
mov bl, byte [eax + esi]
xor di, bx
mov ebx, edi
inc esi
dec edx
jne 0x464105
jmp 0x46416d
mov edx, dword [esp]
test edx, edx
jns 0x464133
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x46416d
movzx edi, bx
shr edi, 8
mov di, word [edi*2 + 0x48877c]
shl ebx, 8
xor di, bx
xor ebx, ebx
mov bl, byte [eax + esi]
xor di, bx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x464147
mov esi, 2
movzx eax, bx
shr eax, 8
mov ax, word [eax*2 + 0x48877c]
shl ebx, 8
xor ax, bx
movzx edx, cx
shr edx, 8
xor ax, dx
mov ebx, eax
shl cx, 8
dec esi
jne 0x464172
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4641a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, dword [0x488d80]
cmp dword [esp], 0x20
jge 0x4641e0
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x464220
inc edx
xor esi, esi
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x488980]
shl ebx, 8
xor edi, ebx
xor ebx, ebx
mov bl, byte [eax + esi]
xor edi, ebx
mov ebx, edi
inc esi
dec edx
jne 0x4641c0
jmp 0x464220
mov edx, dword [esp]
test edx, edx
jns 0x4641ea
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x464220
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x488980]
shl ebx, 8
xor edi, ebx
xor ebx, ebx
mov bl, byte [eax + esi]
xor edi, ebx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x4641fe
mov esi, 4
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x488980]
shl ebx, 8
xor eax, ebx
mov edx, ecx
shr edx, 0x18
xor eax, edx
mov ebx, eax
shl ecx, 8
dec esi
jne 0x464225
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4660a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4660d1
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x466150
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00464a64
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46611e
mov cx, word [esp]
sub cx, si
jmp 0x466120
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x466107
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x466146
mov cx, word [esp]
sub cx, si
jmp 0x466148
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46612f
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4661ad
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00465d78
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x466198
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4661ad
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4660ae
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4814b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0x48cf04
xor edx, edx
mov dl, byte [eax]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
dec ebx
jne 0x4814be
xor ebx, ebx
mov ecx, 0x48cb04
mov eax, ebx
mov edx, 8
test al, 1
je 0x4814ee
shr eax, 1
xor eax, esi
jmp 0x4814f0
shr eax, 1
dec edx
jne 0x4814e4
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4814dd
pop esi
pop ebx
ret

Function at 0x481504
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov ebp, 0x48cb04
test esi, esi
je 0x481519
test edi, edi
jg 0x481520
xor eax, eax
jmp 0x481628
mov ebx, 0xdbc66688
cmp dword [0x48cb00], 0
je 0x481533
call fcn.004814b0
xor ebx, 0xffffffff
cmp edi, 8
jl 0x481603
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jge 0x48153f
test edi, edi
je 0x481623
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0x481607
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4028e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40d52c
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x64], esi
jne 0x40291d
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x60]
push 1
push str.ODBC_
push esi
push esi
push 0x414348
call dword [eax + 0x14]
mov ecx, dword [edi + 0xe4]
push esi
push esi
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [edi + 0x60]
lea ecx, [esp + 0x30]
push edx
call fcn.00401350
lea ecx, [esp + 8]
mov dword [esp + 0x154], esi
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0xc0]
lea ecx, [esp + 8]
push eax
push str.select__from_COURSE_EVALUATION_where_COURSE_ID_d
push ecx
mov byte [esp + 0x160], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x30]
push esi
push edx
push 0xffffffffffffffff
call sub.MFC42.DLL_CRecordset::Open
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDBVariant::CDBVariant
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x154], 2
cmp eax, esi
je 0x4029ab
mov eax, dword [esp + 0x30]
push 2
push 1
lea ecx, [esp + 0x38]
call dword [eax + 0x1c]
cmp dword [esp + 0xf8], esi
jne 0x402a91
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
add edi, 0xc4
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CRecordset::GetFieldValue
movsx edx, word [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push 0x414364
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x20]
push 0
push 0
push 0
push 0
push ecx
push esi
push 1
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertItem
lea edx, [esp + 0x10]
push 0
push edx
push 1
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CRecordset::GetFieldValue
mov eax, dword [esp + 0x18]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 4]
mov dx, word [eax + 2]
movsx eax, word [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._d__d__d
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x20]
mov ecx, edi
push edx
push 1
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea eax, [esp + 0x10]
push 0
push eax
push 2
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CRecordset::GetFieldValue
mov ecx, dword [esp + 0x18]
push 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 2
push esi
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x34]
push 1
push 1
lea ecx, [esp + 0x3c]
call dword [edx + 0x1c]
mov eax, dword [esp + 0xfc]
inc esi
test eax, eax
je 0x4029c5
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 1
call fcn.0040ccd4
lea ecx, [esp + 8]
mov byte [esp + 0x154], 0
call fcn.0040cb78
lea ecx, [esp + 0x148]
mov dword [esp + 0x154], 3
call fcn.0040cb78
lea ecx, [esp + 0x30]
mov dword [esp + 0x154], 0xffffffff
call fcn.0040cbb4
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x150
ret