joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535be0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x22c
test byte [esp + 0x230], 2
je 0x535c2b
lea eax, [esp + 0x9c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x535c1f
mov eax, dword [esp + 0x9c]
cmp al, 2
jne 0x535c19
shr eax, 8
cmp al, 2
je 0x535c2b
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
add esp, 0x22c
ret
call fcn.0054f5a0
test eax, eax
jne 0x535d00
push 0x575a48
call fcn.00535910
add esp, 4
mov dword [0x63d5c8], eax
test eax, eax
je 0x535c63
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x535c63
mov dword [0x63d5c4], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov dword [esp + 4], 0x9c
mov dword [esp + 8], 6
mov dword [esp + 0xc], 0
push 3
push 2
push 0
push 0
mov dword [esp + 0x24], 2
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push 3
push 0x10
push edx
push eax
call esi
push 1
push 8
push edx
push eax
call esi
push edx
push eax
push 0x33
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
pop esi
test eax, eax
je 0x535cf7
push 0x63dff4
mov byte [0x63dffc], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
add esp, 0x22c
ret
mov byte [0x63dffc], 0
xor eax, eax
add esp, 0x22c
ret

Function at 0x535e80
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2c8], 2
je fcn.00535e30
mov al, 1
ret

Function at 0x535fc0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x5e0], 0
je 0x536004
push 1
push edi
call fcn.005371c0
push dword [edi + 0x574]
mov eax, dword [edi + 0x5e0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.005371c0
add esp, 0x24
mov eax, esi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
cmp eax, 2
ja 0x53603d
push dword [edi + 0x570]
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
lea eax, [eax + eax*2]
push 1
add eax, 0x575b08
push 2
push eax
call esi
push dword [edi + 0x570]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop edi
xor eax, eax
pop esi
ret

Function at 0x536240
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x536271
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
ret
Function at 0x5363a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push eax
push ebp
mov esi, dword [ebp + eax*4 + 0x1a4]
call fcn.00536850
add esp, 8
push 0
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0xa0]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x536447
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x536414
pop edi
pop esi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
add esp, 0x80
ret
push pe_nt_image_headers32
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00550160
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.00536050
mov eax, dword [ebp]
add esp, 0x18
mov dword [eax + 0xc54], edi
mov eax, esi
mov dword [ebx], 0x37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x536850
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
shl eax, 4
mov ebp, dword [ebx + ecx*4 + 0x1a4]
lea esi, [ebx + 0x1c8]
add esi, eax
mov eax, dword [ebx + 0x2c0]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x536906
cmp dword [ebx + ecx*4 + 0x1b8], 0x5362d0
jne 0x536906
cmp dword [esi], 0
je 0x53689c
test edi, edi
je 0x536906
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.0053e360
add esp, 0x10
cmp eax, 0xffffffff
je 0x536906
test al, 1
je 0x536906
cmp dword [esi], 0
jne 0x5368ef
mov eax, dword [ebx]
mov eax, dword [eax + 0x8d0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x637f28]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x5368ef
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x536906
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x53d1c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
push ebx
mov ebx, dword [esp + 0x190]
cmp dword [ebx + 0x90], 3
jne 0x53d398
cmp byte [ebx + 0x289], 0
push ebp
push esi
push edi
jne 0x53d38c
cmp byte [ebx + 0x2a1], 0
jne 0x53d38c
mov esi, dword [esp + 0x1a0]
lea eax, [esp + 0x10]
mov ebp, dword [ebx]
push eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x53d254
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.00550160
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.00536050
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push pe_nt_image_headers32
lea eax, [esp + 0x9c]
mov dword [esp + 0x18], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x53d2be
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.00550160
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.00536050
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea eax, [ebx + 0x138]
push eax
lea esi, [ebx + 0x10a]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x124]
push eax
call fcn.0053c5e0
add esp, 0x10
test al, al
jne 0x53d31f
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.00550160
push eax
push dword [esi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00536050
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea edi, [ebx + 0x5c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x16c]
push eax
lea eax, [ebx + 0x13c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xa4]
movsw word es:[edi], word [esi]
push eax
call fcn.0053c5e0
add esp, 0x10
test al, al
jne 0x53d38c
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.00550160
push eax
push dword [esi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00536050
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push ebx
call fcn.0053cea0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
Function at 0x53dcf0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0xa9f], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x53dd3a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00536110
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0xa3c]
mov dword [esp + 0x10], 1
call fcn.0053c560
push dword [esi + 0xa40]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.0053c560
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x53ddb1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00536110
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x53ddc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x88]
push esi
push 4
mov dword [esp + 8], 1
mov esi, dword [eax]
lea eax, [esp + 8]
push eax
push 1
push 6
push dword [esp + 0xa0]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x53de21
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00550160
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00536110
add esp, 0x18
pop esi
add esp, 0x84
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00536110
add esp, 8
pop esi
add esp, 0x84
ret
Function at 0x548b50
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.0049c830
push dword [esp + 0x1004]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x548b9d
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x548b9d
lea eax, [esp]
push eax
call dword [0x637f34]
add esp, 4
add esp, 0x1000
ret
xor eax, eax
add esp, 0x1000
ret
Function at 0x54f640
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x54f7d3
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x54f7bd
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x54f68f
lea ebx, [eax + 0xe]
jmp 0x54f69b
cmp eax, 0x17
jne 0x54f74a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x54f74a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x54f74a
cmp eax, ebx
jb 0x54f74a
push 0x20
call dword [0x637f28]
mov esi, eax
add esp, 4
test esi, esi
je 0x54f7b2
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x637f28]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x54f7a1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x54f735
push eax
call dword [0x637f34]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x54f787
test ebp, ebp
jne 0x54f73b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54f746
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x54f682
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x54f769
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x54f7b9
push ebp
call fcn.0054f600
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x637f2c]
push esi
call dword [0x637f2c]
add esp, 8
jmp 0x54f759
push esi
mov ebx, 8
call dword [0x637f2c]
add esp, 4
jmp 0x54f759
mov ebx, 8
jmp 0x54f759
test ebp, ebp
jne 0x54f7c9
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x553e10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push edi
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x553e42
pop edi
or eax, eax
pop esi
add esp, 0x30
ret
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, 2
push 0x7f000001
mov word [esp + 0x18], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
xor eax, eax
push 4
mov word [esp + 0x1a], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push edi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x553fd7
push 0x10
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x553fd7
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x553fd7
push 1
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x553fd7
push 0
push 1
push 2
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x553fd7
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x553fd7
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x553fd7
push ebx
push 0x57b580
lea eax, [esp + 0x2c]
push 0xc
push eax
call fcn.00547790
lea esi, [esp + 0x34]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x553f44
push 0
sub esi, ecx
lea eax, [esp + 0x28]
push esi
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x553fd7
push 0
push 0xc
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x553fd7
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
sub esi, 4
jb 0x553f95
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x553f9a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x553f84
cmp esi, 0xfffffffc
je 0x553fc7
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x553fd7
cmp esi, 0xfffffffd
je 0x553fc7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x553fd7
cmp esi, 0xfffffffe
je 0x553fc7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x553fd7
cmp esi, 0xffffffff
je 0x553fc7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x553fd7
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push edi
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x30
ret
Function at 0x55f403
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x63d82c], 0
push ebx
push esi
mov esi, 0x63d834
jne 0x55f42f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x63d84c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x63d82c], 1
push dword [0x63d84c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x55f4cc
push 0x14
push 8
push dword [0x63b574]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x55f4f6
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x63d830]
test eax, eax
je 0x55f471
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x63d830], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x55f4fb
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x63d84c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x63b574]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x55f4f6
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x100d2b30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100d2d14
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa9000]
push edi
or ebp, 0xffffffff
jmp 0x100d2b5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100d2b61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d2b50
mov eax, 1
add ebx, ebx
jne 0x100d2b73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100d2b84
jne 0x100d2ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d2ba3
dec eax
add ebx, ebx
jne 0x100d2b90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100d2b68
add ebx, ebx
jne 0x100d2b9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x100d2bf5
xor ecx, ecx
sub eax, 3
jb 0x100d2bbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100d2c2a
sar eax, 1
mov ebp, eax
jmp 0x100d2bc6
add ebx, ebx
jne 0x100d2bc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d2b94
inc ecx
add ebx, ebx
jne 0x100d2bd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d2b94
add ebx, ebx
jne 0x100d2be1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100d2bd6
jne 0x100d2bf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d2bd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100d2c14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100d2c06
jmp 0x100d2b56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100d2c14
add edi, ecx
jmp 0x100d2b56
pop esi
mov edi, esi
mov ecx, 0xad9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100d2c32
cmp byte [edi], 0x11
jne 0x100d2c32
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 al, bl
loop 0x100d2c37
lea edi, [esi + 0xcf000]
mov eax, dword [edi]
or eax, eax
je 0x100d2ca6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd2118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100d2c64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd211c]
or eax, eax
je 0x100d2ca0
mov dword [ebx], eax
add ebx, 4
jmp 0x100d2c81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100d2cd7
cmp al, 0xef
ja 0x100d2cca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100d2cac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100d2cb9
mov ebp, dword [esi + 0xd2120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100d2d0b
sub esp, 0xffffff80
jmp 0x100494bc
Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4c9bcc]
sub esp, 0x14
push esi
push edi
mov esi, 0x190
push eax
mov edi, esi

Function at 0x417e32
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
dec esp
add byte [ebp - 0x767af040], al
add byte [eax], al
add byte [eax], al
push ebx
push ebp
mov ebp, 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
invalid
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x4c9bcc], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
dec esp
and al, 0x18
push eax
push ecx
push 0
push str.Browse_For_Folder_Width
cwde
pushal
dec esp
add byte [edx - 1], dl
invalid
test eax, eax
invalid
jne 0x417e93
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
insb byte es:[edi], dx
and al, 0x14
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
and byte [eax - 0x75], dl
inc esp
and al, 0x1c
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Height
pushal
dec esp
add byte [eax - 1], dl
rcr dword [ebp + 0x5b], cl

Function at 0x417e42
Capabilities:
Query or enumerate registry value

Disassembly:
dec esp
add byte [ebp - 0x767af040], al
add byte [eax], al
add byte [eax], al
push ebx
push ebp

Function at 0x417e4a
Capabilities:
Query or enumerate registry value

Disassembly:
dec esp
add byte [ebp - 0x767af040], al
add byte [eax], al
add byte [eax], al
push ebx
push ebp

Function at 0x417e52
Capabilities:
Query or enumerate registry value

Disassembly:
add byte [ecx - 0x76ebdb94], cl
insb byte es:[edi], dx
and al, 0x10
invalid

Function at 0x417e5a
Capabilities:
Query or enumerate registry value

Disassembly:
add byte [ecx - 0x76ebdb94], cl
insb byte es:[edi], dx
and al, 0x10
invalid

Function at 0x417e8a
Capabilities:
Query or enumerate registry value

Disassembly:
cwde
pushal
dec esp
add byte [edx - 1], dl
rol dword [ebp - 0x74f98a40], cl
sal byte [ebp + 6], 0x8b
jl 0x417eb4
sbb al, 0x33
imul byte [edx]