joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4139f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x413a34
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x413a3a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x413a76
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x413a9b
test eax, eax
js 0x413a85
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov al, 4
jmp 0x413a91
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x42a7f4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.0040d480
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.004081e0
mov ecx, 7
int 0x29
ud2

Function at 0x413b00
Capabilities:
Create udp socket

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, 0x17
cmp word [eax], 0
mov eax, 2
cmove ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x413b44
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x413b58
cmp eax, 0x2739
jne 0x413b83
push 1
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x413b8b
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x413b9c
mov dword [esi + 4], edi
jmp 0x413b3b
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x413b3e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x413b3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esi], 0
shr ecx, 8
shl edx, 0x18
mov byte [esi + 7], al
mov dword [esi + 1], edx
mov word [esi + 5], cx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x413b3e
Function at 0x4152b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417e20
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x431109]
push 4
push 8
call fcn.00404ae0
add esp, 8
test eax, eax
je 0x415392
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [edi], ebx
mov dword [edi + 4], ecx
push 0
push 0x10000
push edi
push 0x415400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41532d
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x41537f
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x24], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x415364
push dword [ecx + 8]
push eax
push dword [ebp - 0x20]
call fcn.00404af0
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.00404af0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.00427450
add esp, 8
ud2
Function at 0x4155b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417e40
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
cmp eax, 3
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
je 0x4155ee
test eax, eax
jne 0x41576a
mov ebx, dword [0x4311c4]
test ebx, ebx
je 0x41576a
mov dword [ebp - 0x20], 0
jmp 0x415617
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x415648
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4157bb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415610
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x415610
test byte [ebp - 0x20], 1
je 0x41576a
mov ebx, dword [0x4311c4]
test ebx, ebx
je 0x41576a
mov dword [ebp - 0x20], 0
jmp 0x415677
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4156a8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4157bb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415670
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x415670
test byte [ebp - 0x20], 1
je 0x41576a
mov ebx, dword [0x4311c4]
test ebx, ebx
je 0x41576a
mov dword [ebp - 0x20], 0
jmp 0x4156d7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x415708
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4157bb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4156d0
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x4156d0
test byte [ebp - 0x20], 1
je 0x41576a
mov ebx, dword [0x4311c4]
test ebx, ebx
je 0x41576a
mov dword [ebp - 0x20], 0
jmp 0x415737
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x415764
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4157bb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415730
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x415730
test byte [ebp - 0x20], 1
jne 0x415784
movzx eax, byte [0x42d8c0]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0x4311c4]
jmp 0x41578f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41576a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4157bb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41578c
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x41578c
mov dword [ebp - 0x10], 0
push 0x42ad68
push 0x2b
push 0x428de0
call fcn.00427590
add esp, 0xc
ud2
Function at 0x416980
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x80
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x416a5c
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x416a75
cmp ecx, 0x17
jne 0x416a95
cmp eax, 0x1c
jb 0x416aac
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x416aa5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x416aa0
cmp eax, 0x10
jb 0x416aba
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x416aa5
mov byte [esi + 4], 2
mov dword [esi + 8], 0x42b0e0
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x42b150
push 0x43
push str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs_
jmp 0x416ac6
push 0x42b1a4
push 0x42
push 0x42b160
call fcn.00427590
add esp, 0xc
ud2
Function at 0x417490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x43103c]
mov esi, ecx
test eax, eax
je 0x4174b6
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x4174cf
cmp dword [eax + 4], 0
je 0x4174cf
add eax, 8
pop esi
pop edi
ret
push 0x43103c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
ja 0x4174aa
mov eax, dword [0x43103c]
test eax, eax
je 0x417566
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x417583
mov edi, eax
test eax, eax
jne 0x41752f
movzx eax, byte [0x431109]
push 4
push 0x10
call fcn.00404ae0
add esp, 8
test eax, eax
je 0x417597
mov dword [eax], 0x43103c
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x43103c]
test eax, eax
je 0x417588
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x41754f
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0
mov dword [esi], 0
cmp eax, 1
jne 0x417553
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x417553
xor ecx, ecx
xor edx, edx
mov dword [edi + 4], 1
mov dword [edi + 8], ecx
lea eax, [edi + 8]
mov byte [edi + 0xc], dl
pop esi
pop edi
ret
push 0x43103c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x4174ed
xor eax, eax
pop esi
pop edi
ret
push 0x43103c
call fcn.00426dc0
add esp, 4
jmp 0x417527
push 0x10
push 4
call fcn.00427450
add esp, 8
ud2
Function at 0x4175b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417ed0
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x43104c]
test eax, eax
je 0x417605
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x41761e
cmp dword [eax + 4], 0
mov ebx, eax
je 0x41761e
add ebx, 8
jmp 0x4176e8
push 0x43104c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
ja 0x4175f5
mov eax, dword [0x43104c]
test eax, eax
je 0x4176c9
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4176e6
mov edi, eax
test eax, eax
jne 0x417682
movzx eax, byte [0x431109]
push 4
push 0x10
call fcn.00404ae0
add esp, 8
test eax, eax
je 0x41770d
mov dword [eax], 0x43104c
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x43104c]
test eax, eax
je 0x4176fb
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x41769c
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
mov edx, eax
je 0x4176a0
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x4176a0
xor eax, eax
xor edx, edx
mov ecx, dword [edi + 0xc]
cmp dword [edi + 4], 0
lea ebx, [edi + 8]
mov dword [edi + 4], 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
je 0x4176e8
test ecx, ecx
je 0x4176e8
lock dec dword [ecx]
jne 0x4176e8
call fcn.00409210
jmp 0x4176e8
push 0x43104c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x41763c
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43104c
call fcn.00426dc0
add esp, 4
jmp 0x41767a
mov dword [ebp - 0x10], 0
push 0x10
push 4
call fcn.00427450
add esp, 8
ud2
Function at 0x417750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x43105c]
mov esi, ecx
test eax, eax
je 0x417776
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x41778f
cmp byte [eax + 4], 0
je 0x41778f
add eax, 5
pop esi
pop edi
ret
push 0x43105c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
ja 0x41776a
mov eax, dword [0x43105c]
test eax, eax
je 0x417802
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x41781b
mov edi, eax
test eax, eax
jne 0x4177e0
movzx eax, byte [0x431109]
push 4
push 8
call fcn.00404ae0
add esp, 8
test eax, eax
je 0x41782f
mov dword [eax], 0x43105c
mov byte [eax + 4], 0
mov edi, eax
mov eax, dword [0x43105c]
test eax, eax
je 0x417820
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test esi, esi
je 0x4177f5
cmp byte [esi], 0
mov byte [esi], 0
movzx eax, byte [esi + 1]
cmove eax, ecx
mov ecx, eax
mov byte [edi + 4], 1
lea eax, [edi + 5]
mov byte [edi + 5], cl
pop esi
pop edi
ret
push 0x43105c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x4177a5
xor eax, eax
pop esi
pop edi
ret
push 0x43105c
call fcn.00426dc0
add esp, 4
jmp 0x4177d8
push 8
push 4
call fcn.00427450
add esp, 8
ud2
Function at 0x417840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417ee0
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x43106c]
test eax, eax
je 0x417895
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x4178ae
cmp dword [eax + 4], 0
mov ebx, eax
je 0x4178ae
add ebx, 8
jmp 0x41796a
push 0x43106c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
ja 0x417885
mov eax, dword [0x43106c]
test eax, eax
je 0x41794b
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x417968
mov edi, eax
test eax, eax
jne 0x41790e
movzx eax, byte [0x431109]
push 4
push 0xc
call fcn.00404ae0
add esp, 8
test eax, eax
je 0x41798f
mov dword [eax], 0x43106c
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x43106c]
test eax, eax
je 0x41797d
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x417923
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x417925
mov eax, dword [esi + 4]
jmp 0x417925
xor eax, eax
mov ecx, dword [edi + 8]
cmp dword [edi + 4], 0
lea ebx, [edi + 8]
mov dword [edi + 4], 1
mov dword [edi + 8], eax
je 0x41796a
test ecx, ecx
je 0x41796a
lock dec dword [ecx]
jne 0x41796a
call fcn.00409270
jmp 0x41796a
push 0x43106c
call fcn.00426dc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x4178cc
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43106c
call fcn.00426dc0
add esp, 4
jmp 0x417906
mov dword [ebp - 0x10], 0
push 0xc
push 4
call fcn.00427450
add esp, 8
ud2
Function at 0x424410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424468
mov esi, dword [esp + 0x18]
lea edi, [edx + eax*2]
xor ebx, ebx
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea ebp, [ebx + eax]
jne 0x424460
cmp ebp, ebx
jb 0x4244e2
cmp ebp, dword [esp + 0x1c]
ja 0x4244f3
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x424462
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x424450
jmp 0x4244bf
ja 0x424468
cmp edx, edi
mov ebx, ebp
jne 0x424425
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4244c3
mov esi, dword [esp + 0x20]
movzx ecx, cx
mov al, 1
add edx, esi
nop dword [eax + eax]
movzx ebx, byte [esi]
lea edi, [esi + 1]
test bl, bl
js 0x4244a0
mov esi, edi
sub ecx, ebx
jns 0x4244b7
jmp 0x4244c5
cmp edi, edx
je 0x4244cc
movzx edi, byte [esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
or ebx, edi
sub ecx, ebx
js 0x4244c5
xor al, 1
cmp esi, edx
jne 0x424480
jmp 0x4244c5
xor eax, eax
jmp 0x4244c5
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x42cc1c
push 0x2b
push 0x42c199
call fcn.00427590
add esp, 0xc
ud2
push 0x42cc0c
push ebp
push ebx
call fcn.00427990
add esp, 0xc
ud2
push 0x42cc0c
push dword [esp + 0x20]
push ebp
call fcn.00427920
add esp, 0xc
ud2

Function at 0x4260f5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426134
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426134
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426134
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426134
cmp dword [ecx + 0x74], 0xe
jbe 0x426134
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x426dc0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0
je 0x426e3a
lea ebx, [edi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x426e75
cmp dword [esp + 4], 0
je 0x426e5c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x426e98
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x4311c4]
nop word [eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x4311c4], edi
jne 0x426e20
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x426e6c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x426edf
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x426e60
mov esi, dword [esp]
jmp 0x426e6c
mov esi, dword [edi]
jmp 0x426e6b
mov esi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x42ace4
push 0x42ad18
push eax
call fcn.00426820
add esp, 8
ud2
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 8], 0x42ad3c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x428e10
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x42ad44
push eax
call fcn.004274d0
add esp, 8
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x42ad3c
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x428e10
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00426880
ud2
Function at 0x4276b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x427701
cmp eax, 1
jne 0x427778
mov dword [esp], 0x42c545
jmp 0x427708
mov dword [esp], 0x42c547
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x427794
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x42c5a8
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x4255f0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x425550
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x425550
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
jmp 0x42781a
mov edx, 7
mov dword [esp], 0x42c53e
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x42771d
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 8]
mov dword [esp + 0x38], 0x42c584
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], 0x4255f0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x425550
lea esi, [esp + 0x50]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x425550
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x4217e0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004274d0
add esp, 8
ud2
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43cf6a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43ccda
call fcn.0043cf9f
sub ebx, eax
xor dword [edi], edx
add eax, 0xa4fd4278
inc edi
or ebx, eax
sub ebx, 1
cmp edi, esi
jne fcn.0043cf6a
sub ebx, 0xfba6faec
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403e59
pop dword [ebp - 0x50]
mov eax, 0x403e59
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xf5d44e8a
add dword [ebp - 0x60], 0x587df6c1
mov dword [ebp - 0x5c], 0x4e7c521d
sub dword [ebp - 0x5c], 0x1c4905d8
mov dword [ebp - 0x58], 0xa4321647
sub dword [ebp - 0x58], 0x57e5d219
mov dword [ebp - 0x54], 0xa2ce2fdf
add dword [ebp - 0x54], 0x5d31d021
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xcd01bd75
add dword [ebp - 0x60], 0xa770abe1
mov dword [ebp - 0x5c], 0xf13c03eb
sub dword [ebp - 0x5c], 0xafcfa276
mov dword [ebp - 0x58], 0x86400ba5
add dword [ebp - 0x58], 0xdd2f60c7
mov dword [ebp - 0x54], 0x7cef34b8
add dword [ebp - 0x54], 0x8310cb48
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4646bd19
add eax, 0xb9f9b38f
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a0e9
push 0
call eax
mov ecx, 0x58e74dcf
add ecx, 0xa719076e
mov edx, eax
mov ebx, 0xc76c8bb9
add ebx, 0x38d47447
add ebx, dword [ebp - 0x50]
mov esi, 0x26f8b21d
sub esi, 0x35157f8e
mov dword [ebp - 0x40], 0x87c286b8
mov edi, dword [ebx]
xor edi, esi
sub dword [ebp - 0x40], edx
mov dword [edx], edi
sub dword [ebp - 0xc], 0xc5636fd4
add edx, 0xa90b30ae
add edx, 0x56f4cf56
add ebx, 4
loop 0x403f71
add eax, 0x830a0730
add eax, 0x7cf74097
xor ebx, ebx
add ebx, eax
add eax, 0x6e845cfe
sub eax, 0x6e845cf9
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret