joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x28]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
push eax
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], 1
mov byte [esp + 0x3c], bl
call fcn.00402f30
mov eax, dword [esi + 4]
shr ebx, 8
mov byte [esp + 0x2c], bl
cmp eax, edi
jne 0x403b29
xor edx, edx
jmp 0x403b2e
mov edx, dword [esi + 8]
sub edx, eax
cmp eax, edi
je 0x403b58
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x403b58
mov eax, dword [esi + 8]
mov byte [eax], bl
inc eax
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403b65
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x2c]
push eax
push edi
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00402f30
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x403b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c459
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 8], ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
push eax
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], bl
call fcn.00402f30
mov eax, dword [esi + 4]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x30], dl
cmp eax, ebp
jne 0x403bfc
xor edi, edi
jmp 0x403c01
mov edi, dword [esi + 8]
sub edi, eax
cmp eax, ebp
je 0x403c19
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edi, ecx
jae 0x403c19
mov eax, dword [esi + 8]
mov byte [eax], dl
inc eax
mov dword [esi + 8], eax
jmp 0x403c39
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403c26
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00402f30
mov eax, dword [esi + 4]
mov edx, ebx
shr edx, 0x10
mov byte [esp + 0x30], dl
cmp eax, ebp
jne 0x403c4d
xor edi, edi
jmp 0x403c52
mov edi, dword [esi + 8]
sub edi, eax
cmp eax, ebp
je 0x403c6a
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edi, ecx
jae 0x403c6a
mov eax, dword [esi + 8]
mov byte [eax], dl
inc eax
mov dword [esi + 8], eax
jmp 0x403c8a
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403c77
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00402f30
mov eax, dword [esi + 4]
shr ebx, 0x18
mov byte [esp + 0x30], bl
cmp eax, ebp
jne 0x403c9c
xor edx, edx
jmp 0x403ca1
mov edx, dword [esi + 8]
sub edx, eax
cmp eax, ebp
je 0x403ccc
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x403ccc
mov eax, dword [esi + 8]
mov byte [eax], bl
inc eax
pop edi
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403cd9
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00402f30
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x408bf0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
mov esi, ecx
call fcn.004088f0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.DLL_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x408c18
mov byte [esi + 0x18], 1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x1c], eax
lea ecx, [esi + 0x24]
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
lea ecx, [esi + 0x40]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov eax, dword [0x45c5c0]
mov dword [esi + 0x5c], eax
pop esi
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44cc0c
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x408cb9
cmp byte [esi + 0x18], 0
jne 0x408cb9
cmp byte [esi + 0x20], 0
je 0x408cb9
cmp byte [esi + 0x22], 0
je 0x408cb9
push 0
push 0x400
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.WS2_32.DLL_recv]
cmp eax, 0xffffffff
jne 0x408ccf
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
cmp eax, 0x2733
je 0x408cb8
mov byte [esi + 0x18], 1
call edi
mov dword [esi + 0x1c], eax
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
add esp, 0x428
ret
test eax, eax
jne 0x408cf0
mov byte [esi + 0x20], al
mov byte [esi + 0x18], 1
pop esi
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
add esp, 0x428
ret
jle 0x408cb9
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x42c], 0
call dword [0x44f1b0]
lea ecx, [esp + 4]
mov dword [esp + 0x428], 0xffffffff
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [0x45c5c0]
mov ecx, dword [esp + 0x420]
mov dword [esi + 0x5c], eax
pop esi
mov dword fs:[0], ecx
add esp, 0x428
ret
Function at 0x408d50
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44cc29
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x408e3d
cmp byte [esi + 0x18], 0
jne 0x408e3d
cmp byte [esi + 0x20], 0
je 0x408e3d
cmp byte [esi + 0x21], 0
je 0x408e3d
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408e3d
cmp dword [esi + 0x58], 0x10
push edi
jb 0x408dab
mov eax, dword [esi + 0x44]
jmp 0x408dae
lea eax, [esi + 0x44]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.DLL_send]
cmp eax, 0xffffffff
jne 0x408dfc
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
cmp eax, 0x2733
jne 0x408de2
pop edi
mov byte [esi + 0x21], 0
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov byte [esi + 0x18], 1
call edi
pop edi
mov dword [esi + 0x1c], eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
test eax, eax
jle 0x408e3c
mov ecx, dword [sym.imp.MSVCP80.DLL_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x40]
call dword [sym.imp.MSVCP80.DLL_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP80.DLL_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x408f20
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x408fa8
cmp byte [esi + 0x18], 0
jne 0x408fa8
cmp byte [esi + 0x20], 0
jne 0x408fa8
mov ecx, dword [esi + 4]
push 0x23
push ecx
push eax
call dword [sym.imp.WS2_32.DLL_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x408f59
mov byte [esi + 0x18], 1
call dword [sym.imp.WS2_32.DLL_WSAGetLastError]
mov dword [esi + 0x1c], eax
pop esi
ret 8
mov ecx, dword [esp + 8]
lea eax, [esi + 8]
mov edx, 2
push 0x10
mov word [eax], dx
mov dx, word [esp + 0x10]
push eax
mov eax, dword [esi]
push eax
mov dword [esi + 0xc], ecx
mov word [esi + 0xa], dx
call dword [sym.imp.WS2_32.DLL_connect]
cmp eax, 0xffffffff
jne 0x408fa8
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
cmp eax, 0x2734
je 0x408fa7
call edi
cmp eax, 0x2733
je 0x408fa7
mov byte [esi + 0x18], 1
call edi
mov dword [esi + 0x1c], eax
pop edi
pop esi
ret 8
Function at 0x409050
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
je 0x409119
cmp byte [esi + 0x18], 0
jne 0x409119
push edi
mov eax, 2
lea edi, [esi + 8]
push str.127.0.0.1
mov word [edi], ax
call dword [sym.imp.WS2_32.DLL_inet_addr]
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.DLL_htons]
mov ecx, dword [esi]
push 0x10
push edi
push ecx
mov word [esi + 0xa], ax
call dword [sym.imp.WS2_32.DLL_bind]
cmp eax, 0xffffffff
je 0x4090d5
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 8
push edx
push eax
call dword [sym.imp.WS2_32.DLL_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x4090c5
mov byte [esi + 0x18], 1
call dword [sym.imp.WS2_32.DLL_WSAGetLastError]
mov dword [esi + 0x1c], eax
pop edi
xor al, al
pop esi
pop ecx
ret
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.WS2_32.DLL_listen]
cmp eax, 0xffffffff
jne 0x4090e8
mov byte [esi + 0x18], 1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x1c], eax
pop edi
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esi]
lea edx, [esp + 8]
push edx
push edi
push eax
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WS2_32.DLL_getsockname]
test eax, eax
jne 0x4090bf
mov edx, dword [0x45c5c4]
mov cx, word [esi + 0xa]
add edx, 6
xchg word [edx], cx
pop edi
mov al, 1
pop esi
pop ecx
ret
xor al, al
pop esi
pop ecx
ret
Function at 0x4265e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c164]
jne 0x4265f0
repz ret
jmp fcn.00438eeb
Function at 0x444140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6bc
movss xmm0, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1220]
push edi
mov edi, dword [esi + 0x11ec]
push eax
add edi, eax
mov eax, dword [esi + 0x11e4]
push eax
push edi
push ecx
movss dword [esp], xmm0
lea ecx, [esp + 0x98]
push ebx
push ecx
mov byte [esi + 0x129f], 4
call fcn.00449c80
fstp dword [esp + 0x2c]
add esp, 0x18
cmp dword [esi + 0x1218], 0
je 0x444309
cmp dword [esi + 0x1238], 0
jne 0x444309
cmp dword [esi + 0x11e4], 4
jne 0x444309
mov edx, dword [esi + 0x1220]
fld dword [esp + 0x14]
movss xmm0, dword [ebp + 0x14]
fstp qword [esp + 0x20]
push edx
push 2
push edi
push ecx
movss dword [esp], xmm0
lea eax, [ebx + edi*8]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00449c80
fsubr qword [esp + 0x38]
mov edx, dword [esi + 0x1220]
mov ecx, dword [ebp + 0xc]
push edx
fstp dword [esp + 0x30]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.0043c1b0
movss xmm0, dword [0x45a6a8]
add esp, 0x24
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x10], 3
jmp 0x444223
mov ebx, dword [ebp + 0x10]
mov edx, dword [esi + 0x1220]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
lea eax, [esi + 0x1194]
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00449c30
mov eax, dword [esi + 0x13e4]
mov ecx, dword [esi + 0x1220]
push eax
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0043c210
mov ecx, dword [esi + 0x1220]
push ecx
lea eax, [edi + edi]
push eax
push ebx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0xfc]
push eax
call fcn.004476e0
mov ebx, dword [esi + 0x1220]
mov ecx, edi
sub ecx, ebx
lea edx, [ebx + edi]
push ecx
lea eax, [esp + edx*4 + 0x104]
push eax
call fcn.00444b10
fstp qword [esp + 0x58]
mov ecx, edi
add esp, 0x40
sub ecx, ebx
push ecx
lea edx, [esp + ebx*4 + 0xcc]
push edx
call fcn.00444b10
fadd qword [esp + 0x20]
add esp, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4442e7
mov al, byte [esp + 0x10]
movss dword [esp + 0x14], xmm0
mov byte [esi + 0x129f], al
jmp 0x4442f9
movss xmm2, dword [esp + 0x20]
cvtps2pd xmm1, xmm0
cvtps2pd xmm2, xmm2
comisd xmm1, xmm2
ja 0x444309
dec dword [esp + 0x10]
movss dword [esp + 0x20], xmm0
jns 0x444220
cmp byte [esi + 0x129f], 4
jne 0x44432d
mov ecx, dword [esi + 0x1220]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.0043c1b0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], esi
cmp dword [esp + 0x28], esi
jle 0x44c16c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push ebx
mov ebx, edx
neg ebx
add ebx, ebx
sub ecx, eax
push ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
nop
lea ecx, [edx - 2]
xor ebp, ebp
xor eax, eax
test ecx, ecx
js 0x44c143
mov edx, dword [esp + 0x2c]
lea ebx, [edx + ecx*2 + 2]
movzx edx, byte [ecx + edi + 1]
mov esi, dword [esp + 0x10]
mov si, word [esi + ebx]
shl dx, 7
sub si, dx
movsx edx, word [ebx]
movsx esi, si
imul esi, edx
mov edx, eax
sar edx, 1
mov eax, esi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x24]
movzx edx, word [edx + ecx*2]
add ebp, eax
movzx eax, byte [ecx + edi]
shl ax, 7
sub dx, ax
movsx eax, word [ebx - 2]
movsx edi, dx
imul edi, eax
sar esi, 1
mov eax, edi
sub eax, esi
cdq
xor eax, edx
sub eax, edx
add ebp, eax
sub ebx, 4
sub ecx, 2
mov eax, edi
mov edi, dword [esp + 0x28]
jns 0x44c0d3
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x10], ebx
mov dword [ecx + esi*4], ebp
lea eax, [edx + edx]
add dword [esp + 0x2c], eax
inc esi
add edi, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x30]
jl 0x44c0c0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x44d2a9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, dword [0x45c50c]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push 0x45c284
push 0x40
push edi
push esi
push ebx
call sub.KERNEL32.DLL_VirtualProtectEx
cmp eax, 1
jb 0x44d2f9
push 0
push edi
push ebp
push esi
push ebx
call sub.KERNEL32.DLL_WriteProcessMemory
cmp eax, 1
jb 0x44d2f9
push 0x45c288
push dword [0x45c284]
push edi
push esi
push ebx
call sub.KERNEL32.DLL_VirtualProtectEx
cmp eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6
Function at 0x61541eb0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test byte [0x61544018], 1
jne 0x61542060
mov edi, dword [ebx]
test edi, edi
je 0x61542048
cmp word [edi], 0
je 0x615420b0
mov eax, edi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x61541f00
sub eax, edi
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x61542048
xor eax, eax
nop
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x61541f40
mov dword [esi], ecx
mov esi, dword [ebx + 8]
test esi, esi
je 0x61542058
cmp word [esi], 0
je 0x615420c0
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x61541f70
sub eax, esi
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x61542058
xor eax, eax
nop
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x61541fb0
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x61542050
cmp word [ebx], 0
je 0x615420a0
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x61541fe0
sub eax, ebx
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x61542050
xor edx, edx
lea esi, [esi]
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x61542020
mov edi, dword [ebp - 0x20]
mov dword [edi], eax
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor ecx, ecx
jmp 0x61541f50
xor eax, eax
jmp 0x61542030
xor ecx, ecx
jmp 0x61541fc0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p__p__p__p_n
mov dword [esp + 8], str.SspiEncodeAuthIdentityAsStrings
mov dword [esp + 4], 0x61544018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541ee2
mov eax, 2
jmp 0x61541fee
mov eax, 2
jmp 0x61541f0e
mov eax, 2
jmp 0x61541f7e
Function at 0x615420d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x61544018], 8
jne 0x61542120
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x61546024
mov dword [esp + 8], str.SspiFreeAuthIdentity
mov dword [esp + 4], 0x61544018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x615420ed

Function at 0x61542150
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x61544018], 8
jne 0x615421a0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x61546024
mov dword [esp + 8], str.SspiLocalFree
mov dword [esp + 4], 0x61544018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6154216d
Function at 0x61542610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6154266b
cmp byte [esi + ebx - 1], 0xa
je 0x6154263f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x61547084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret