joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f10
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x100
push ebp
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push 0x100
push eax
call dword [0x4896dc]
cmp eax, 0xffffffff
jne 0x441f4d
pop edi
xor eax, eax
pop ebp
add esp, 0x100
ret
lea ecx, [esp + 8]
push ecx
call dword [0x4896d4]
mov ebp, eax
test ebp, ebp
jne 0x441f67
pop edi
pop ebp
add esp, 0x100
ret
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
cmp dword [eax], 0
je 0x441fae
mov edx, dword [eax + ebx*4]
mov eax, dword [edx]
push eax
call fcn.00441fe0
add esp, 4
test al, al
je 0x441f91
mov eax, dword [ebp + 0xc]
inc ebx
cmp dword [eax + ebx*4], 0
jne 0x441f73
jmp 0x441fae
movsx ecx, word [ebp + 0xa]
mov edx, dword [ebp + 0xc]
mov eax, ecx
mov edi, 0x4a56ec
mov esi, dword [edx + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + ebx*4], 0
jne 0x441fd0
movsx ecx, word [ebp + 0xa]
mov esi, dword [eax]
mov edx, ecx
mov edi, 0x4a56ec
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x100
ret

Function at 0x442510
Capabilities:
Get file version info

Disassembly:
mov eax, 0x480c
call fcn.0047c8c0
mov eax, dword [esp + 0x4818]
push esi
cmp eax, 0x60
push edi
jb 0x442607
mov ax, word [0x4a3de8]
mov ecx, 0xfff
mov word [esp + 0x814], ax
xor eax, eax
lea edi, [esp + 0x816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4a5574]
test eax, eax
jne 0x44255a
mov eax, dword [0x489294]
mov esi, dword [esp + 0x4818]
mov edi, dword [0x489350]
push esi
push eax
lea ecx, [esp + 0x1c]
push 0x49817c
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x442607
cmp eax, 0x2000
ja 0x442607
lea ecx, [esp + 0x814]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x442607
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x81c]
push 0x498620
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442607
mov eax, dword [esp + 8]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4824]
shr eax, 0x10
push edx
push eax
push str._d._d._d._d
push ecx
call edi
add esp, 0x18
mov eax, 1
pop edi
pop esi
add esp, 0x480c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x480c
ret
Function at 0x442620
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1004
call fcn.0047c8c0
push edi
mov edi, dword [esp + 0x100c]
test edi, edi
jne 0x442640
xor eax, eax
pop edi
add esp, 0x1004
ret
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov byte [edi], 0
mov dword [esp + 0xc], 0x400
call fcn.00480840
test eax, eax
je 0x442668
xor eax, eax
pop edi
add esp, 0x1004
ret
lea edx, [esp + 0x114]
push esi
test edx, edx
lea esi, [esp + 0x118]
je 0x442699
push ebx
mov ebx, dword [0x4893b8]
lea eax, [esi + 4]
push eax
push edi
push str._s__s
push edi
call ebx
mov esi, dword [esi]
add esp, 0x10
test esi, esi
jne 0x442682
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x1004
ret
Function at 0x442b90
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push 1
push 2
call dword [0x4896bc]
mov esi, eax
cmp esi, ebp
jge 0x442bba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
xor eax, eax
push 0x50
mov dword [esp + 0x1c], eax
mov word [esp + 0x1c], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [0x48969c]
mov ecx, dword [0x4a56e8]
lea edx, [esp + 0x18]
push 0x10
push edx
push esi
mov word [esp + 0x26], ax
mov dword [esp + 0x28], ecx
call dword [0x4896c0]
test eax, eax
jge 0x442c10
push esi
call dword [0x4896c4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
mov edi, dword [0x4896c8]
lea eax, [esp + 0x14]
push 4
push eax
push 0x1006
push 0xffff
push esi
mov dword [esp + 0x28], 0x2710
call edi
lea ecx, [esp + 0x10]
push 4
push ecx
push 0x80
push 0xffff
push esi
mov word [esp + 0x24], bp
mov word [esp + 0x26], bp
call edi
mov edx, dword [esp + 0x42c]
lea eax, [esp + 0x34]
push edx
push str.Host:
push str.GET__index.html_HTTP_1.0_r_n
push str._s_s_s
push eax
mov word [esp + 0x3c], 0x2324
mov word [esp + 0x3e], bp
mov dword [esp + 0x40], ebp
call dword [0x4893b8]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
xor edi, edi
mov dword [esp + 0x30], ecx
lea ebx, [ecx + 0xc]
cmp ebx, ebp
jle 0x442cbf
mov ecx, ebx
push ebp
sub ecx, edi
lea edx, [esp + edi + 0x2c]
push ecx
push edx
push esi
call dword [0x4896d0]
cmp eax, ebp
jle 0x442bfc
add edi, eax
cmp edi, ebx
jl 0x442c9f
mov edi, str.Server:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.HTTP_1.0_200_OK_r_n
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
add ebp, ecx
lea ebx, [ebp + 0x2c]
test ebx, ebx
jle 0x442d09
mov eax, ebx
push 0
sub eax, edi
lea ecx, [esp + edi + 0x2c]
push eax
push ecx
push esi
call dword [0x4896a4]
test eax, eax
jle 0x442bfc
add edi, eax
cmp edi, ebx
jl 0x442ce8
push esi
call dword [0x4896c4]
mov eax, dword [esp + ebp + 0x34]
lea esi, [esp + ebp + 0x34]
test eax, eax
jne 0x442d29
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
mov edi, dword [esp + 0x430]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
Function at 0x442e90
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x442eab
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
cmp dword [esp + 0x20], ebx
jne 0x442ebc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
push 0x1c
call fcn.0047c85e
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0xc], esi
je 0x442eb1
mov al, byte [esp + 0x18]
push ebp
lea ebp, [esi + 0xc]
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x442efb
call dword [0x48927c]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x442f21
mov al, byte [ecx - 1]
test al, al
je 0x442f21
cmp al, 0xff
je 0x442f21
test ebx, ebx
jne 0x442f47
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call dword [0x489244]
jmp 0x442f75
test ebx, ebx
jne 0x442f31
push 1
mov ecx, ebp
call dword [0x489244]
jmp 0x442f75
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x442f3d
cmp eax, ebx
jae 0x442f50
push 1
mov ecx, ebp
call dword [0x489244]
push ebx
mov ecx, ebp
call dword [0x489248]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x10]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], ecx
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push esi
push 0x442d50
push eax
mov dword [esi + 4], edx
mov dword [esi + 8], eax
push eax
mov dword [esp + 0x2c], eax
call dword [0x489454]
add esp, 0x18
push eax
call dword [0x48910c]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x443120
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x485b36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x443157
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [0x4a5708]
push ebp
or ebp, 0xffffffff
cmp eax, ebx
push edi
jne 0x443210
push 0x34
call fcn.0047c85e
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x443188
mov ecx, eax
call fcn.0045f520
jmp 0x44318a
xor eax, eax
mov dword [esi + 0x14], eax
mov cx, word [0x4a5568]
push ecx
push esi
mov ecx, eax
mov dword [esp + 0x24], ebp
call fcn.0045f590
mov edi, eax
cmp edi, ebx
jne 0x4431fe
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4431dc
mov edx, dword [eax + 0x10]
push edx
push str._TcpListing__Err:__d
push 0x4a43a0
call fcn.00437c20
mov ecx, dword [esi + 0x14]
add esp, 0xc
call fcn.00454da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x4431d9
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
call fcn.00442190
mov word [0x4a5568], ax
mov eax, dword [esi + 0xc4]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0xc4], ecx
jne 0x443169
cmp edi, ebx
mov dword [esi + 0xc4], 5
jne 0x4432dc
mov edx, dword [0x4a56ec]
shr edx, 0x18
add edx, 0x2710
mov word [0x4a5568], dx
push 0x34
call fcn.0047c85e
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], 1
je 0x443249
mov ecx, eax
call fcn.0045f520
jmp 0x44324b
xor eax, eax
mov dword [esi + 0x14], eax
mov cx, word [0x4a5568]
push ecx
push esi
mov ecx, eax
mov dword [esp + 0x24], ebp
call fcn.0045f590
mov edi, eax
cmp edi, ebx
jne 0x4432c3
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x44329d
mov edx, dword [eax + 0x10]
push edx
push str._TcpListing__Err:__d
push 0x4a43a0
call fcn.00437c20
mov ecx, dword [esi + 0x14]
add esp, 0xc
call fcn.00454da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x44329a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
call fcn.00442190
mov word [0x4a5568], ax
mov eax, dword [esi + 0xc4]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0xc4], ecx
jne 0x443226
cmp edi, ebx
je 0x4432dc
push ebx
push ebx
push esi
push 0x443560
push ebx
push ebx
call dword [0x489454]
add esp, 0x18
mov dword [esi + 0xc8], eax
mov eax, dword [0x4a5708]
xor edx, edx
mov dx, word [0x4a5568]
push edx
push eax
push str._TcpListing__Nattype__d___Port___d
push 0x4a43a0
call fcn.00437c20
add esp, 0x10
cmp edi, ebx
jne 0x44331e
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x44331e
call fcn.00454da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x44331b
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x444900
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x10
push edi
push 0x11
push 2
push 2
call dword [0x4896bc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x444920
or eax, eax
pop edi
add esp, 0x10
ret 8
xor eax, eax
push esi
mov esi, dword [0x4896cc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
push ecx
call dword [0x48969c]
mov word [esp + 0xa], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44496d
cmp eax, 0x100007f
je 0x44496d
push eax
call esi
mov dword [esp + 0xc], eax
lea edx, [esp + 8]
push 0x10
push edx
push edi
call dword [0x4896b8]
test eax, eax
pop esi
je 0x44498a
or eax, 0xffffffff
pop edi
add esp, 0x10
ret 8
mov eax, edi
pop edi
add esp, 0x10
ret 8

Function at 0x444d70
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00445f30
cmp eax, 0xffffffff
je 0x444d9b
push 0x2735
call dword [0x489708]
mov dword [esi + 0x10], 0x2735
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ecx, esi
call fcn.00445200
test eax, eax
jne 0x444dc1
push 0x276d
call dword [0x489708]
mov dword [esi + 0x10], 0x276d
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x444de8
mov edx, dword [esp + 0x24]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [eax + 0x28]
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x1c]
push 0
push eax
push 2
call dword [0x4896bc]
cmp eax, 0xffffffff
jne 0x444e0e
call dword [0x4896d8]
mov dword [esi + 0x10], eax
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00445030
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00445e20
test eax, eax
jne 0x444e42
call dword [0x4896d8]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x10], eax
call dword [edx + 8]
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esi + 0x24]
test eax, eax
je 0x444e6a
mov eax, dword [esi + 8]
push 0x3f
add eax, 0x402
mov ecx, esi
push eax
call fcn.00445f40
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x48970c]
test eax, eax
jne 0x444e29
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x444ea8
push eax
mov word [esp + 8], 2
call dword [0x4896cc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x48969c]
lea ecx, [esp + 4]
push 0x10
push ecx
mov ecx, esi
mov word [esp + 0xe], ax
call fcn.00444fd0
test eax, eax
jne 0x444ecf
jmp 0x444e29
push 0x10
push eax
mov ecx, esi
call fcn.00444fd0
test eax, eax
jne 0x444ecf
call dword [0x4896d8]
mov dword [esi + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov eax, 1
pop esi
add esp, 0x10
ret 0x10
Function at 0x445a70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x445a90
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x34]
ret 0x14
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [0x4896fc]
ret 0x14

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x445ae8
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [eax + 0x38]
pop esi
add esp, 0x10
ret 0x14
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [0x4896cc]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
push edx
call dword [0x48969c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [0x4896f8]
pop esi
add esp, 0x10
ret 0x14

Function at 0x445da0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x445dbb
mov ecx, dword [esp + 8]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 8]
push ecx
mov ecx, eax
call dword [edx + 0x20]
ret 8
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 4]
push edx
push eax
push ecx
call dword [0x4896c0]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
ret 8

Function at 0x445fe0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [0x4896c8]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 0x10
Function at 0x44a380
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485f39
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x80], 0x64
cmp eax, 1
jne 0x44a481
call dword [0x489108]
mov dword [ebx + 0xb0], eax
mov eax, dword [esp + 0x28]
add eax, 0x30
mov ecx, ebx
push eax
call fcn.0044a020
mov eax, dword [ebx + 0x60]
cmp eax, 0x36
jl 0x44a3da
cmp eax, 0x64
jne 0x44a3df
cmp eax, 1
jne 0x44a3e8
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [ebx + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004422d0
add esp, 8
mov eax, dword [eax + 4]
mov esi, dword [0x489294]
test eax, eax
mov dword [esp + 0x20], 0
je 0x44a410
mov esi, eax
mov edx, dword [ebx + 0x60]
mov ax, word [ebx + 0x5c]
push edx
push eax
call dword [0x4896a8]
mov ecx, dword [ebx + 0x24]
and eax, 0xffff
push eax
push esi
push ecx
push str.__3d_Handshake_with__s:_d__d
push 0x4a43a0
call fcn.00437c20
add esp, 0x18
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
push 1
call dword [0x489300]
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x78], 2
mov ebx, dword [ebx + 0x20]
push eax
push 0xce
push ebx
mov ecx, 0x4a4270
call fcn.004356d0
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
test eax, eax
jne 0x44a511
mov esi, dword [0x489108]
push edi
call esi
mov dword [ebx + 0xa4], eax
call esi
mov dword [ebx + 0xbc], eax
call esi
mov dword [ebx + 0xac], eax
call esi
mov dword [ebx + 0xb4], eax
call esi
mov dword [ebx + 0xa8], eax
call esi
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov dword [ebx + 0xb0], eax
lea edx, [esi + 0x30]
push edx
call fcn.0044a020
lea eax, [esi + 0x1c]
lea edi, [ebx + 0x3c]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.00449aa0
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x20]
push eax
push 0xce
push ebx
mov ecx, 0x4a4270
call fcn.004356d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x458960
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x4589ac
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4589ac
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 4
push edx
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push ecx
push eax
call dword [section..rdata]
test eax, eax
jne 0x4589ac
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [eax], ecx
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x4589c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x208
test eax, eax
push esi
je 0x458a27
mov ecx, dword [esp + 0x210]
test ecx, ecx
je 0x458a27
mov esi, dword [esp + 0x214]
test esi, esi
je 0x458a27
lea edx, [esp + 4]
mov dword [esp + 4], 0x100
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [section..rdata]
test eax, eax
jne 0x458a27
lea eax, [esp + 0xc]
push eax
push esi
call dword [0x489448]
add esp, 8
mov eax, 1
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8

Function at 0x458a80
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x458acc
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x458acc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x458acc
push esi
call dword [0x489450]
shl ax, 1
add esp, 4
inc ax
and eax, 0xffff
push eax
mov eax, dword [edi + 4]
push esi
push 1
push 0
push ebx
push eax
call dword [0x489004]
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x458ae0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [0x489324]
push edi
mov edi, dword [esp + 0xc]
push 0x800
mov dword [0x4e6a80], edi
call esi
add esp, 4
mov dword [0x4e6a78], eax
test eax, eax
je 0x458b84
call fcn.004591b0
cmp edi, 1
je 0x458b84
push 0x800
call esi
add esp, 4
mov dword [0x4e6a74], eax
test eax, eax
jne 0x458b37
mov eax, dword [0x4e6a78]
push eax
call dword [0x48934c]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x49f604
push eax
call fcn.00459120
push 0x800
call esi
add esp, 0xc
mov dword [0x4e6a7c], eax
test eax, eax
jne 0x458b76
mov ecx, dword [0x4e6a78]
mov esi, dword [0x48934c]
push ecx
call esi
mov edx, dword [0x4e6a74]
push edx
call esi
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x49f644
push eax
call fcn.00459120
add esp, 8
pop edi
xor eax, eax
pop esi
ret
Function at 0x458bf0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x70
push ebp
mov ebp, dword [esp + 0x78]
test ebp, ebp
jne 0x458c04
or eax, 0xffffffff
pop ebp
add esp, 0x70
ret
mov edx, dword [esp + 0x7c]
push ebx
push esi
push edi
mov ecx, 0x20
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
xor ecx, ecx
movsx eax, byte [ecx + str.91__]
dec eax
mov esi, eax
sar eax, 3
and esi, 7
movsx eax, byte [eax + edx]
test dword [esi*4 + 0x49f91c], eax
setne al
mov byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x38
jl 0x458c18
xor edi, edi
movsx ecx, byte [edi + 0x49f6bc]
xor eax, eax
xor edx, edx
cmp eax, 0x1c
setge dl
dec edx
mov esi, ecx
and edx, 0xffffffe4
add edx, 0x38
cmp ecx, edx
jl 0x458c63
lea esi, [ecx - 0x1c]
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0x48], dl
inc eax
inc ecx
cmp eax, 0x38
jl 0x458c4b
xor ecx, ecx
movsx eax, byte [ecx + 0x49f6cc]
mov dl, byte [esp + eax + 0x47]
test dl, dl
je 0x458cb2
mov eax, 0x2aaaaaab
mov ebx, 6
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
add eax, edx
lea esi, [eax + edi*8]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
mov edx, dword [edx*4 + 0x49f91c]
sar edx, 2
or al, dl
mov byte [esi], al
inc ecx
cmp ecx, 0x30
jl 0x458c74
inc edi
cmp edi, 0x10
jl 0x458c42
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x70
ret

Function at 0x4591b0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x28
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x49f8fc]
dec edx
cmp edx, ecx
je 0x4591cb
inc eax
cmp eax, 0x20
jl 0x4591b7
jmp 0x4591cf
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x20
jl 0x4591b5
push ebx
lea eax, [esp + 0xc]
push ebp
push esi
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x10], 0
xor eax, eax
xor esi, esi
mov ebx, eax
mov eax, esi
mov ecx, esi
sar eax, 1
and ecx, 1
and eax, 0xf
shl ecx, 4
mov edx, esi
or eax, ecx
mov ecx, dword [esp + 0x10]
and edx, 0x20
or eax, edx
xor edi, edi
xor edx, edx
movsx ebp, byte [ecx + eax + 0x49f6fc]
mov eax, 8
mov ecx, edx
sar eax, cl
test ebp, eax
je 0x45923b
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + edx]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edi, eax
inc edx
cmp edx, 4
jl 0x459217
mov ecx, dword [0x4e6a78]
inc esi
mov dword [ebx + ecx], edi
add ebx, 4
cmp esi, 0x40
jl 0x4591ef
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 0x40
add edx, 4
cmp ebx, 0x800
mov dword [esp + 0x10], esi
mov eax, ebx
mov dword [esp + 0x14], edx
jl 0x4591eb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret