joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f320
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
xor eax, eax
push 2
push eax
push edi
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call ebp
mov esi, eax
cmp esi, 2
jne 0x47f385
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x104
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x47f3ba
lea ecx, [esp + 0x10]
push ecx
push 2
push eax
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x47f3ba
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47f3ba
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret

Function at 0x47f3d0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
xor eax, eax
push 2
push eax
push edi
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call ebp
mov esi, eax
cmp esi, 2
jne 0x47f435
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x104
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x47f464
lea ecx, [esp + 0x10]
push ecx
push 2
push eax
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x47f464
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47f464
mov ecx, dword [esp + 0x24]
push 4
lea edx, [esp + 0x2c]
push edx
push 4
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret

Function at 0x47f480
Capabilities:
Delete registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 4]
push eax
push 0x20106
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x47f4c9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x47f930
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x20
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
xor esi, esi
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x47faea
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x47fae9
push 8
lea eax, [esp + 0x18]
push eax
push 0x1006
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x47fad5
xor eax, eax
mov ecx, 2
mov dword [esp + 0x1c], eax
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x20], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1bd
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x20]
push edx
push edi
mov word [esp + 0x2a], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x47fad5
push ebp
push 0xa8
push 0x4ad0a0
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x47fad5
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call ebx
push 0x200
call fcn.0048690e
push 0x200
mov esi, eax
push ebp
push esi
call fcn.00487630
add esp, 0x10
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push 0x200
push esi
push edi
call ebp
test eax, eax
jle 0x47fad1
push 0
push 0x55
push 0x4ad148
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x47fad1
push 0xc8
call ebx
push 0x200
push 0
push esi
call fcn.00487630
add esp, 0xc
push 0
push 0x200
push esi
push edi
call ebp
test eax, eax
jle 0x47fad1
cmp byte [esi + 8], 0x73
jne 0x47fad1
cmp byte [esi + 0x24], 0
jbe 0x47fad1
movzx ebp, word [esi + 0x2b]
test bp, bp
jbe 0x47fad1
lea eax, [esi + 0x2d]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fa97
sub eax, edx
mov ebx, eax
movzx eax, bp
cmp ebx, eax
jge 0x47fad1
lea ebp, [ebx + 1]
push ebp
call fcn.0048690e
push ebp
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.00487630
mov ecx, dword [esp + 0x20]
push ebx
lea eax, [esi + 0x2d]
push eax
push ecx
call fcn.004877d0
add esp, 0x1c
mov ebp, dword [esp + 0x10]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
je 0x47fae9
push esi
call fcn.00487d04
add esp, 4
pop edi
mov ecx, dword [esp + 0x28]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x20
ret
Function at 0x47fb00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x24
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x47fcab
push ebx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47fca8
push 8
lea ecx, [esp + 0x1c]
push ecx
push 0x1006
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x47fc7d
xor eax, eax
mov edx, 2
mov dword [esp + 0x20], eax
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x24], dx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1bd
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x22], ax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x47fc7d
push edi
push 0xa8
push 0x4ad1a0
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x47fc7d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x200
call fcn.0048690e
push 0x200
mov edi, eax
push 0
push edi
call fcn.00487630
add esp, 0x10
push 0
push 0x200
push edi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x47fc7d
cmp eax, 0x46
jbe 0x47fc7d
lea edx, [edi + 0x51]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fc25
sub eax, esi
sar eax, 1
test eax, eax
jle 0x47fc7d
lea esi, [eax + eax]
push esi
push edx
push ebp
call fcn.004877d0
lea edx, [esi + edi + 0x53]
mov eax, edx
add esp, 0xc
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fc50
sub eax, esi
sar eax, 1
test eax, eax
jle 0x47fc7d
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push edx
call fcn.004877d0
add esp, 0xc
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
test edi, edi
je 0x47fc91
push edi
call fcn.00487d04
add esp, 4
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486dc0
add esp, 0x24
ret
mov eax, edi
pop ebx
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00486dc0
add esp, 0x24
ret
Function at 0x483de0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x228
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x224], eax
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push 0x104
lea eax, [esp + 0x2c]
xor ebp, ebp
push eax
push ebp
mov esi, ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x28]
push ecx
call fcn.0046ea70
mov edi, eax
add esp, 4
test edi, edi
je 0x483f31
push ebp
push ebp
push ebp
push 1
push 0x4adbc8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x483f15
push 0
push connect
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x483f0e
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x483f07
lea edx, [esp + 0x1c]
push edx
call fcn.00488412
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, 8
jne 0x483f07
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], al
lea eax, [esp + 0xc]
push eax
push 8
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x483f07
cmp dword [esp + 0xc], 8
jne 0x483f07
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push 0x4adbd8
push eax
call fcn.004884b5
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
je 0x483f07
mov dword [0x4d0900], eax
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00486dc0
add esp, 0x228
ret
mov ecx, dword [esp + 0x230]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00486dc0
add esp, 0x228
ret
Function at 0x484720
Capabilities:
List user accounts

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x9ac]
push ebp
xor ebp, ebp
lea ecx, [eax + 0x550]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push esi
push edi
call edx
push str.Everyone
mov ecx, ebx
call fcn.004845d0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 2
push 1
push ebp
call sub.NETAPI32.dll_NetUserEnum
test eax, eax
jne 0x4847b2
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x4847b6
lea ebx, [ebx]
cmp esi, ebp
je 0x4847b2
cmp dword [esi + 0xc], 1
jne 0x4847a8
mov eax, dword [esi]
cmp eax, ebp
je 0x4847a8
push eax
mov ecx, ebx
call fcn.004845d0
inc edi
add esi, 0x20
cmp edi, dword [esp + 0x10]
jb 0x484790
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x4847c0
push esi
call sub.NETAPI32.dll_NetApiBufferFree
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4853e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xa4
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebp
mov ebp, dword [esp + 0xb0]
push esi
mov esi, dword [esp + 0xb0]
push edi
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x36]
xor eax, eax
push edx
mov dword [esp + 0x1c], ebp
mov word [ebp], ax
mov word [esp + 0x38], cx
call fcn.00487630
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x485430
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485430
sub eax, edx
sar eax, 1
movzx edi, ax
xor eax, eax
cmp di, 0x40
jb 0x485541
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x1a], eax
push ebx
mov dword [esp + 0x1a], eax
mov word [esp + 0x20], ax
mov dword [esp + 0x10], eax
push 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x28], edx
call fcn.00488d69
movzx eax, ax
movzx ebx, ax
lea eax, [ebx + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx edx, di
shl eax, 6
add esp, 0xc
cmp edx, eax
jne 0x4854ac
movzx ecx, word [esp + 0xc0]
lea eax, [ebx + 1]
cmp eax, ecx
jle 0x4854b3
xor eax, eax
jmp 0x485540
xor edi, edi
test ebx, ebx
jle 0x485524
lea esp, [esp]
mov ecx, dword [esi]
xor edx, edx
xor eax, eax
mov word [esp + 0x2c], dx
mov edx, dword [esi + 4]
mov word [esp + 0x20], ax
mov eax, dword [esi + 8]
mov dword [esp + 0x28], edx
push 0x10
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xc]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x28], ecx
call fcn.00488d69
push 0x10
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
movzx ebp, ax
call fcn.00488d69
xor eax, ebp
mov word [esp + edi*2 + 0x48], ax
inc edi
add esp, 0x18
add esi, 0x10
cmp edi, ebx
jl 0x4854c0
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
push 0x40
push ebp
mov word [esp + ebx*2 + 0x3c], ax
call fcn.00488751
add esp, 0xc
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00486dc0
add esp, 0xa4
ret
Function at 0x486dc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4cacfc]
jne 0x486dca
repz ret
jmp fcn.0048bdcc

Function at 0x495d5d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0048b7b7
and dword [ebp - 4], 0
cmp dword [0x51130c], 0
mov ebx, eax
jne 0x495e0e
push 0x4afaa4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x495ebf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4afa98
push edi
call esi
test eax, eax
je 0x495ebf
push eax
call fcn.0048b745
mov dword [esp], 0x4afa88
push edi
mov dword [0x51130c], eax
call esi
push eax
call fcn.0048b745
mov dword [esp], 0x4afa74
push edi
mov dword [0x511310], eax
call esi
push eax
call fcn.0048b745
mov dword [esp], 0x4afa58
push edi
mov dword [0x511314], eax
call esi
push eax
call fcn.0048b745
pop ecx
mov dword [0x51131c], eax
test eax, eax
je 0x495e0e
push 0x4afa40
push edi
call esi
push eax
call fcn.0048b745
pop ecx
mov dword [0x511318], eax
mov eax, dword [0x511318]
cmp eax, ebx
je 0x495e66
cmp dword [0x51131c], ebx
je 0x495e66
push eax
call fcn.0048b7c0
push dword [0x51131c]
mov esi, eax
call fcn.0048b7c0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x495e66
test edi, edi
je 0x495e66
call esi
test eax, eax
je 0x495e5d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x495e5d
test byte [ebp - 0xc], 1
jne 0x495e66
or dword [ebp + 0x10], 0x200000
jmp 0x495e9f
mov eax, dword [0x511310]
cmp eax, ebx
je 0x495e9f
push eax
call fcn.0048b7c0
pop ecx
test eax, eax
je 0x495e9f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x495e9f
mov eax, dword [0x511314]
cmp eax, ebx
je 0x495e9f
push eax
call fcn.0048b7c0
pop ecx
test eax, eax
je 0x495e9f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51130c]
call fcn.0048b7c0
pop ecx
test eax, eax
je 0x495ebf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x495ec1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.text
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41b642
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b638
mov eax, 1
add ebx, ebx
jne 0x41b65b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b650
jne 0x41b66c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b650
xor ecx, ecx
sub eax, 3
jb 0x41b680
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b6f2
mov ebp, eax
add ebx, ebx
jne 0x41b68b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b6bc
inc ecx
add ebx, ebx
jne 0x41b6a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b69d
jne 0x41b6b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b69d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b6dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b6cd
jmp 0x41b63e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b6dc
add edi, ecx
jmp 0x41b63e
pop esi
mov edi, esi
mov ecx, 0x70c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b6fa
cmp byte [edi], 6
jne 0x41b6fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41b6ff
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41b76e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1bb00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bb8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b72c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1bb90]
or eax, eax
je 0x41b768
mov dword [ebx], eax
add ebx, 4
jmp 0x41b749
call dword [esi + 0x1bb94]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41b79f
cmp al, 0xef
ja 0x41b792
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41b774
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41b781
popal
jmp 0x40f778
Function at 0x53b640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x67c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x53b6d8
push closesocket
call fcn.00539290
test eax, eax
jne 0x53b6b8
xor eax, eax
push ebp
push 0x53b6b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x53b6f4
mov eax, dword [ebp - 4]
push eax
call fcn.00539298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b6b8
mov eax, dword [ebp - 4]
push eax
call fcn.00539288
ret
mov ax, word [0x67c020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x67c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x53c404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x68d044], 0
je 0x53c465
cmp word [0x68d218], 0xd7b2
jne 0x53c42d
cmp dword [0x68d220], 0
jbe 0x53c42d
mov eax, 0x68d214
call dword [0x68d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x67c090
push 0xfffffffffffffff5
call fcn.005391b0
push eax
call fcn.005391e8
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x53c48c
push 0xfffffffffffffff5
call fcn.005391b0
push eax
call fcn.005391e8
pop edx
ret
cmp byte [0x67c030], 0
jne 0x53c481
push 0
push 0x67c088
push 0x67c090
push 0
call fcn.00539200
pop edx
ret
Function at 0x53d9f8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x121]
push eax
push 0
call fcn.00539238
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53dc3c
push reloc.WS2_32.dll_accept
call fcn.00539290
test eax, eax
je 0x53da7a
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53dc3c
push closesocket
call fcn.00539290
test eax, eax
je 0x53da7a
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53dc58
push reloc.WS2_32.dll_accept
call fcn.00539290
test eax, eax
jne 0x53db03
xor eax, eax
push ebp
push 0x53dafc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x121]
mov edx, 0x105
call fcn.0053d820
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00539298
test eax, eax
je 0x53dae1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x53dc78
mov eax, dword [ebp - 8]
push eax
call fcn.00539298
test eax, eax
je 0x53dae1
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53db03
mov eax, dword [ebp - 8]
push eax
call fcn.00539288
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x121]
push eax
call fcn.00539270
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.00539258
push eax
call fcn.00539230
xor ebx, ebx
cmp byte [ebp - 0x121], 0
je 0x53dc33
cmp byte [ebp - 0xd], 0
jne 0x53db4a
cmp byte [ebp - 0x12], 0
je 0x53dc33
lea eax, [ebp - 0x121]
push eax
call fcn.00539278
lea edx, [ebp - 0x121]
add eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x53db66
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0x2e
je 0x53db79
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
jne 0x53db63
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
je 0x53dc33
inc dword [ebp - 0x1c]
cmp byte [ebp - 0x12], 0
je 0x53dbbd
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00539270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.00539260
mov ebx, eax
test ebx, ebx
jne 0x53dc33
cmp byte [ebp - 0xd], 0
je 0x53dc33
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00539270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.00539260
mov ebx, eax
test ebx, ebx
jne 0x53dc33
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00539270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.00539260
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53e304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x53e36a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call fcn.00539230
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0053c7f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0053b234
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x53e354
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e371
lea eax, [ebp - 0x10]
call fcn.0053c588
ret

Function at 0x542790
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.0053e744
test eax, eax
jle 0x5427c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0053c678
jmp 0x5427d2
mov eax, ebx
mov edx, esi
call fcn.0053c5dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5427dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call fcn.0053e744
test eax, eax
jle 0x5427fd
mov al, byte [esp]
jmp 0x5427ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x543c58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x543cbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call fcn.0053e744
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0053c7f8
mov eax, dword [ebp - 0xc]
push eax
call fcn.0053e704
mov edx, eax
pop eax
call fcn.0053fc20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543cc3
lea eax, [ebp - 0xc]
call fcn.0053c588
ret