joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dca0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b4
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4ce10c]
cmp eax, 3
jne 0x44dd86
cmp ebx, 0x17f
ja 0x44dd97
lea esi, [ebp - 0x1c0]
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c0], 0
inc ebx
lea eax, [ebp - 0x20]
push ebx
push esi
push eax
call fcn.0047c3c0
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x44dd25
mov esi, dword [ebp + 8]
mov eax, dword [0x4a0e50]
mov ecx, dword [0x4a0e54]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x44dda7
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push ecx
push edx
push 0
push eax
call sub.WS2_32.dll_getaddrinfo
mov esi, dword [ebp + 8]
test eax, eax
je 0x44dd70
call sub.WS2_32.dll_WSAGetLastError
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x44dda7
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov word [esi + 0xc], ax
xor eax, eax
mov dword [esi], eax
jmp 0x44dda7
call fcn.004377c0
cmp ebx, 0x17f
jbe 0x44dcd8
mov ecx, esi
mov edx, edi
push dword [ebp - 0x10]
push ebx
call fcn.004386a0
add esp, 8
mov eax, esi
add esp, 0x1b4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44ddc0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
movzx ecx, byte [eax]
cmp cl, 4
jne 0x44de26
mov ebx, dword [eax + 4]
mov eax, dword [0x4ce10c]
cmp eax, 3
jne 0x44ded5
lea edi, [ebp - 0x30]
push 1
push ebx
push edi
call fcn.00441550
add esp, 0xc
movzx eax, byte [ebp - 0x30]
cmp al, 4
jne 0x44de42
mov eax, dword [ebp - 0x2c]
cmp word [ebx], 0
mov dword [ebp - 0x14], eax
je 0x44de5b
mov ecx, dword [ebx + 0x18]
movups xmm0, xmmword [ebx + 4]
lea eax, [ebx + 0x14]
add ebx, 0x1c
mov dx, 0x17
mov dword [ebp - 0x10], ecx
mov ecx, 0x1c
jmp 0x44de70
movzx edx, byte [eax + 3]
movzx edi, word [eax + 1]
mov eax, dword [eax + 4]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], cl
mov dword [esi + 4], eax
jmp 0x44decb
movzx ecx, byte [ebp - 0x2d]
movzx edi, word [ebp - 0x2f]
mov edx, dword [ebp - 0x2c]
mov byte [esi + 3], cl
mov word [esi + 1], di
mov byte [esi], al
mov dword [esi + 4], edx
jmp 0x44decb
lea eax, [ebx + 2]
add ebx, 6
mov ecx, 0x10
mov dx, 2
xorps xmm0, xmm0
lea edi, [ebp - 0x30]
movzx ebx, word [ebx]
mov eax, dword [eax]
mov word [ebp - 0x30], dx
rol bx, 8
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push ecx
push edi
mov edi, dword [ebp - 0x14]
push edi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x44dea6
mov dword [esi + 4], edi
mov byte [esi], 4
jmp 0x44decb
call sub.WS2_32.dll_WSAGetLastError
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 sub.WS2_32.dll_closesocket
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004377c0
jmp 0x44dde8
Function at 0x44e310
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], pe_nt_image_headers32
lea ecx, [esp + 0x10]
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
movaps xmmword [esp + 0x10], xmm0
push eax
push ecx
push edx
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x44e3b5
movzx ecx, word [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp ecx, 2
je 0x44e3cd
cmp ecx, 0x17
jne 0x44e3f1
cmp eax, 0x1b
jbe 0x44e407
movzx eax, word [esp + 0x12]
movups xmm0, xmmword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov word [esi], 1
rol ax, 8
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
lea esp, [ebp - 4]
pop esi
pop ebp
ret
call sub.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 0x44e3fc
cmp eax, 0xf
jbe 0x44e418
movzx ecx, word [esp + 0x12]
mov eax, dword [esp + 0x14]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov byte [esi + 4], 2
mov dword [esi + 8], 0x4a2d78
mov word [esi], 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x4a2d58
push 0x43
push 0x4a2d14
call fcn.0047ecf0
push 0x4a2d04
push 0x42
push str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.0047ecf0
nop dword [eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x5c]
push 0xb
push 0x4a2de8
push dword [ebp + 0xc]
push edi
call fcn.00482e30
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x34]
mov edx, esi
call fcn.0044e310
cmp word [ebp - 0x34], 2
jne 0x44e4a8
cmp byte [ebp - 0x30], 3
jne 0x44e4e9
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov dword [ebp - 0x10], ecx
push ecx
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x44e497
push dword [ebx + 8]
push eax
push dword [ebp - 0x10]
call fcn.00402ec0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x14]
call fcn.00402ec0
add esp, 0xc
jmp 0x44e4e9
movsd xmm1, qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x1c]
movsd xmm2, qword [ebp - 0x34]
movsd qword [ebp - 0x44], xmm1
movsd xmm1, qword [ebp - 0x2c]
movsd qword [ebp - 0x3c], xmm0
movsd qword [ebp - 0x54], xmm2
movsd qword [ebp - 0x4c], xmm1
lea eax, [ebp - 0x54]
push 0x4a2dd4
push eax
push 4
push str.addrlinenolibrary_std_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.0047f4f0
add esp, 0x14
mov dword [ebp - 0x54], esi
lea eax, [ebp - 0x54]
push 0x49f3e8
push eax
push 6
push 0x4a07de
push edi
call fcn.0047f4f0
add esp, 0x14
push eax
call fcn.0047f6e0
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44e9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0044e980
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x44ea42
mov esi, dword [eax + 0x24]
test esi, esi
je 0x44ea67
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
nop word cs:[eax + eax]
nop
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00484a40
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x44ea4e
mov dword [ebp - 0x20], ebx
movzx eax, byte [ebp - 0x13]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [ebp - 0x14]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x10]
push 3
push 0x4a10dc
call fcn.00483c50
add esp, 0xc
test al, al
jne 0x44ea63
test bl, 1
je 0x44ea67
add edi, dword [ebp - 0x24]
cmp esi, edi
jb 0x44ea71
mov ebx, dword [ebp - 0x20]
add ebx, edi
sub esi, edi
jne 0x44e9f0
jmp 0x44ea67
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00470cd0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00483c50
add esp, 0xc
test al, al
je 0x44ea67
mov al, 1
jmp 0x44ea69
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a1684
push esi
push edi
call fcn.00484780
nop dword [eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x44eb02
mov esi, dword [eax + 0x24]
test esi, esi
je 0x44eb27
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
nop word cs:[eax + eax]
nop
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00484a40
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x44eb0e
mov dword [ebp - 0x20], ebx
movzx eax, byte [ebp - 0x13]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [ebp - 0x14]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x10]
push 3
push 0x4a10dc
call fcn.00483910
add esp, 0xc
test al, al
jne 0x44eb23
test bl, 1
je 0x44eb27
add edi, dword [ebp - 0x24]
cmp esi, edi
jb 0x44eb31
mov ebx, dword [ebp - 0x20]
add ebx, edi
sub esi, edi
jne 0x44eab0
jmp 0x44eb27
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00470e30
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00483910
add esp, 0xc
test al, al
je 0x44eb27
mov al, 1
jmp 0x44eb29
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a1684
push esi
push edi
call fcn.00484780
nop dword [eax]

Function at 0x44eb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4b0
call fcn.0044eb54
Function at 0x452eb0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x32], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x36], 0
mov byte [esp + 0x34], 1
lea esi, [esp + 0x18]
lea ecx, [esp + 0xc]
push esi
push eax
call fcn.0043d820
add esp, 8
cmp byte [esp + 0xc], 4
jne 0x452f25
mov esi, dword [esp + 0x10]
jmp 0x452f36
movzx eax, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp al, 4
jne 0x452fe1
lea ebx, [esp + 0x18]
mov edx, esi
mov ecx, ebx
call fcn.0043da50
mov eax, dword [esp + 0x18]
xor eax, 2
or eax, dword [esp + 0x1c]
jne 0x452f99
cmp byte [esp + 0x20], 3
jne 0x452fd6
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], ecx
push ecx
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x452f87
push dword [ebx + 8]
push eax
push dword [esp + 0xc]
call fcn.00402ec0
add esp, 0xc
push 4
push 0xc
push dword [esp + 0x10]
call fcn.00402ec0
add esp, 0xc
jmp 0x452fd6
cmp dword [esp + 0x54], 0
jne 0x452fd6
mov eax, dword [esp + 0x50]
test esi, esi
mov dword [esp + 8], eax
je 0x452ff3
mov dword [esp + 0x18], 0
call sub.KERNEL32.dll_GetCurrentProcess
push 2
push 0
push 0
push ebx
push eax
push esi
push eax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x45305b
mov eax, dword [esp + 0x18]
jmp 0x452ff5
mov dword [edi], 0
jmp 0x453066
movzx ecx, al
mov edx, esi
call fcn.00404650
mov dword [edi], 0
jmp 0x45306c
xor eax, eax
push 0
push 0
push 0
push 2
push 0
mov dword [esp + 0x18], eax
push eax
call sub.KERNEL32.dll_CreateFileMappingA
test eax, eax
je 0x45304a
mov ebx, eax
push dword [esp + 8]
push 0
push 0
push 4
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [esp + 0x14], eax
push ebx
call sub.KERNEL32.dll_CloseHandle
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45304a
mov eax, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [esp + 8]
mov dword [edi + 0xc], ecx
mov dword [edi], 1
jmp 0x453066
mov dword [edi], 0
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
jmp 0x453066
call sub.KERNEL32.dll_GetLastError
mov dword [edi], 0
push esi
call sub.KERNEL32.dll_CloseHandle
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x455090
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x49d044]
mov esi, ecx
test eax, eax
je 0x4550b9
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x4550d1
cmp dword [eax + 4], 0
je 0x4550d1
add eax, 8
pop esi
pop edi
pop ebp
ret
push 0x49d044
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4550ac
mov eax, dword [0x49d044]
test eax, eax
je 0x455168
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x455184
mov edi, eax
test eax, eax
jne 0x455130
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 0x10
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x455199
mov dword [eax], 0x49d044
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x49d044]
test eax, eax
je 0x45518a
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
test esi, esi
je 0x455150
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0
mov dword [esi], 0
cmp eax, 1
jne 0x455154
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x455154
xor ecx, ecx
xor edx, edx
lea eax, [edi + 8]
mov dword [edi + 4], 1
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
pop esi
pop edi
pop ebp
ret
push 0x49d044
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x4550ee
xor eax, eax
pop esi
pop edi
pop ebp
ret
push 0x49d044
call fcn.0044af70
add esp, 4
jmp 0x455129
push 0x10
push 4
call fcn.00471180
nop word cs:[eax + eax]
nop dword [eax]

Function at 0x4551b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x49d054]
mov esi, ecx
test eax, eax
je 0x455289
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x4551df
cmp dword [eax + 4], 0
mov edi, eax
jne 0x455284
mov eax, dword [0x49d054]
test eax, eax
je 0x4552aa
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4552c6
mov edi, eax
test eax, eax
jne 0x455242
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 0xc
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x4552e3
mov dword [eax], 0x49d054
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x49d054]
test eax, eax
je 0x4552d1
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
test esi, esi
je 0x455257
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x455259
mov eax, dword [esi + 4]
jmp 0x455259
xor eax, eax
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
test edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov dword [edi + 4], 1
mov dword [edi + 8], eax
je 0x455284
test ecx, ecx
je 0x455284
lock dec dword [ecx]
jne 0x455284
lea ecx, [ebp - 0xc]
call fcn.0040c690
add edi, 8
jmp 0x4552c8
push 0x49d054
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4551d3
jmp 0x4551df
push 0x49d054
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x4551fc
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebp
ret
push 0x49d054
call fcn.0044af70
add esp, 4
jmp 0x45523b
push 0xc
push 4
call fcn.00471180
nop dword [eax]
Function at 0x4552f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x49d064]
mov esi, ecx
test eax, eax
je 0x455319
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x455331
cmp byte [eax + 4], 0
je 0x455331
add eax, 5
pop esi
pop edi
pop ebp
ret
push 0x49d064
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x45530c
mov eax, dword [0x49d064]
test eax, eax
je 0x4553a4
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4553bc
mov edi, eax
test eax, eax
jne 0x455381
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 8
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x4553d1
mov dword [eax], 0x49d064
mov byte [eax + 4], 0
mov edi, eax
mov eax, dword [0x49d064]
test eax, eax
je 0x4553c2
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test esi, esi
je 0x455396
cmp byte [esi], 0
mov byte [esi], 0
movzx eax, byte [esi + 1]
cmove eax, ecx
mov ecx, eax
lea eax, [edi + 5]
mov byte [edi + 4], 1
mov byte [edi + 5], cl
pop esi
pop edi
pop ebp
ret
push 0x49d064
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x455346
xor eax, eax
pop esi
pop edi
pop ebp
ret
push 0x49d064
call fcn.0044af70
add esp, 4
jmp 0x45537a
push 8
push 4
call fcn.00471180
nop word [eax + eax]
Function at 0x4553e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x49d074]
test eax, eax
je 0x455405
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x45541d
cmp byte [eax + 4], 0
je 0x45541d
add eax, 5
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4553f9
mov eax, dword [0x49d074]
test eax, eax
je 0x455492
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4554aa
mov esi, eax
test eax, eax
jne 0x45546d
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 8
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x4554be
mov dword [eax], 0x49d074
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x49d074]
test eax, eax
je 0x4554af
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
je 0x455485
cmp byte [eax], 0
mov byte [eax], 0
movzx eax, byte [eax + 1]
cmove eax, ecx
mov ecx, eax
lea eax, [esi + 5]
mov byte [esi + 4], 1
mov byte [esi + 5], cl
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x455432
xor eax, eax
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
jmp 0x455466
push 8
push 4
call fcn.00471180
nop word [eax + eax]
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [0x49d084]
test eax, eax
je 0x4555a4
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x4554fc
cmp dword [eax + 4], 0
mov esi, eax
jne 0x45559f
mov eax, dword [0x49d084]
test eax, eax
je 0x4555cc
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4555e8
mov esi, eax
test eax, eax
jne 0x45555f
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 0xc
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x455604
mov dword [eax], 0x49d084
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x49d084]
test eax, eax
je 0x4555f2
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4555c5
mov eax, dword [ecx + 4]
cmp dword [ecx], 0
mov dword [ecx], 0
je 0x4555c5
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov dword [esi + 4], 1
mov dword [esi + 8], eax
je 0x45559f
test ecx, ecx
je 0x45559f
lock dec dword [ecx]
jne 0x45559f
lea ecx, [ebp - 8]
call fcn.0040c880
add esi, 8
jmp 0x4555ea
push 0x49d084
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4554f0
jmp 0x4554fc
call fcn.00437030
jmp 0x455574
push 0x49d084
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x455519
xor esi, esi
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
push 0x49d084
call fcn.0044af70
add esp, 4
jmp 0x455558
push 0xc
push 4
call fcn.00471180
nop dword [eax]
Function at 0x4554d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x49d074]
test eax, eax
je 0x455405
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x45541d
cmp byte [eax + 4], 0
je 0x45541d
add eax, 5
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4553f9
mov eax, dword [0x49d074]
test eax, eax
je 0x455492
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4554aa
mov esi, eax
test eax, eax
jne 0x45546d
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 8
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x4554be
mov dword [eax], 0x49d074
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x49d074]
test eax, eax
je 0x4554af
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
je 0x455485
cmp byte [eax], 0
mov byte [eax], 0
movzx eax, byte [eax + 1]
cmove eax, ecx
mov ecx, eax
lea eax, [esi + 5]
mov byte [esi + 4], 1
mov byte [esi + 5], cl
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x455432
xor eax, eax
pop esi
pop ebp
ret
push 0x49d074
call fcn.0044af70
add esp, 4
jmp 0x455466
push 8
push 4
call fcn.00471180
nop word [eax + eax]
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [0x49d084]
test eax, eax
je 0x4555a4
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x4554fc
cmp dword [eax + 4], 0
mov esi, eax
jne 0x45559f
mov eax, dword [0x49d084]
test eax, eax
je 0x4555cc
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x4555e8
mov esi, eax
test eax, eax
jne 0x45555f
mov eax, dword [0x4b9b38]
movzx eax, byte [eax]
push 4
push 0xc
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x455604
mov dword [eax], 0x49d084
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x49d084]
test eax, eax
je 0x4555f2
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4555c5
mov eax, dword [ecx + 4]
cmp dword [ecx], 0
mov dword [ecx], 0
je 0x4555c5
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov dword [esi + 4], 1
mov dword [esi + 8], eax
je 0x45559f
test ecx, ecx
je 0x45559f
lock dec dword [ecx]
jne 0x45559f
lea ecx, [ebp - 8]
call fcn.0040c880
add esi, 8
jmp 0x4555ea
push 0x49d084
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x4554f0
jmp 0x4554fc
call fcn.00437030
jmp 0x455574
push 0x49d084
call fcn.0044af70
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x455519
xor esi, esi
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
push 0x49d084
call fcn.0044af70
add esp, 4
jmp 0x455558
push 0xc
push 4
call fcn.00471180
nop dword [eax]
Function at 0x4871a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4871f8
lea edi, [edx + eax*2]
xor ebx, ebx
movzx esi, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea eax, [ebx + esi]
jne 0x4871f0
cmp ebx, eax
ja 0x487266
cmp eax, dword [ebp + 0x10]
ja 0x487272
add ebx, dword [ebp + 0xc]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x4871f2
dec esi
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x4871e0
jmp 0x48724f
ja 0x4871f8
cmp edx, edi
mov ebx, eax
jne 0x4871b2
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x487253
mov esi, dword [ebp + 0x14]
movzx ecx, cx
mov al, 1
add edx, esi
nop dword [eax]
movzx ebx, byte [esi]
lea edi, [esi + 1]
test bl, bl
js 0x487230
mov esi, edi
sub ecx, ebx
jns 0x487247
jmp 0x487255
cmp edi, edx
je 0x48725c
movzx edi, byte [esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
or ebx, edi
sub ecx, ebx
js 0x487255
xor al, 1
cmp esi, edx
jne 0x487210
jmp 0x487255
xor eax, eax
jmp 0x487255
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4aea58
call fcn.0047ea20
push 0x4aea68
push eax
push ebx
call fcn.00484840
push 0x4aea68
push dword [ebp + 0x10]
push eax
call fcn.004847e0