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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov ebx, dword [edi]
test ebx, ebx
je 0x407741
mov dword [edi], 0
jmp 0x4076e9
test edx, edx
je 0x407741
test ebx, ebx
je 0x407741
lea eax, [esp + 0x2c]
cmp ebx, 0x400000
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, 0x400000
cmovbe eax, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov edx, dword [esp + 0x2c]
add dword [edi], edx
add ebp, edx
sub ebx, edx
test eax, eax
jne 0x4076e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x409df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 8
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp edx, 4
jbe 0x409e6c
mov eax, dword [esp + 0x28]
xor esi, esi
mov eax, dword [eax]
mov ebx, eax
mov eax, dword [esp + 0x24]
and ebx, 7
add eax, 5
mov dword [esp + 4], eax
lea eax, [edi + edx - 4]
mov dword [esp], eax
lea edx, [edi + esi]
cmp edx, dword [esp]
jae 0x409f15
movzx ecx, byte [edx]
mov eax, dword [esp]
and ecx, 0xfffffffe
cmp cl, 0xe8
jne 0x409e4c
jmp 0x409e77
movzx ecx, byte [edx]
and ecx, 0xfffffffe
cmp cl, 0xe8
je 0x409e74
add edx, 1
cmp edx, eax
jne 0x409e41
sub eax, edi
mov edx, 0
mov edi, dword [esp + 0x28]
mov ecx, eax
sub ecx, esi
shr ebx, cl
cmp ecx, 3
cmovae ebx, edx
mov dword [edi], ebx
add esp, 8
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov ebp, edx
sub ebp, edi
mov ecx, ebp
sub ecx, esi
cmp ecx, 2
jbe 0x409f20
xor ebx, ebx
xor ecx, ecx
movzx esi, byte [edx + 4]
add esi, 1
and esi, 0xfe
jne 0x409f50
mov eax, dword [esp + 4]
lea esi, [ebp + 5]
lea ebx, [eax + ebp]
mov ebp, dword [edx + 1]
mov eax, dword [edx + 1]
add ebp, ebx
sub eax, ebx
cmp dword [esp + 0x2c], 0
cmove ebp, eax
test ecx, ecx
je 0x409eee
shl ecx, 2
mov eax, ebp
and ecx, 0x18
shr eax, cl
add eax, 1
test al, 0xfe
jne 0x409eee
mov eax, 0x100
shl eax, cl
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, 1
xor ebp, ecx
lea ecx, [ebx + ebp]
sub ebp, ebx
test eax, eax
cmove ecx, ebp
mov ebp, ecx
mov ecx, ebp
mov word [edx + 1], bp
xor ebx, ebx
shr ecx, 0x10
mov byte [edx + 3], cl
mov ecx, ebp
shr ecx, 0x18
and ecx, 1
neg ecx
mov byte [edx + 4], cl
lea edx, [edi + esi]
cmp edx, dword [esp]
jb 0x409e31
mov eax, edx
jmp 0x409e53
shr ebx, cl
mov ecx, ebx
test ebx, ebx
je 0x409f60
shr ebx, 1
cmp ecx, 4
ja 0x409f50
cmp ecx, 3
je 0x409f50
movzx esi, byte [edx + ebx + 1]
add esi, 1
and esi, 0xfe
jne 0x409e8c
nop
lea esi, [esi]
or ebx, 4
lea esi, [ebp + 1]
jmp 0x409e25
xor ebx, ebx
jmp 0x409e8c
Function at 0x425890
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x47c
mov eax, dword [esp + 0x490]
lea esi, [esp + 0x18]
lea ebp, [esp + 0x220]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], str..
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], ebp
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
mov edi, eax
lea ebx, [esp + 0x24c]
jmp 0x4258fb
mov dword [esp + 4], ebp
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x425993
mov dword [esp + 4], 0x44a562
mov dword [esp], ebx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x4258e3
mov dword [esp + 4], 0x44a566
mov dword [esp], ebx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x4258e3
mov eax, dword [esp + 0x490]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], 0x44a56c
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
mov dword [esp], esi
test al, 0x10
je 0x425980
call fcn.00425890
test al, al
jne 0x4258e3
xor ebx, ebx
jmp 0x425998
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x4258e3
jmp 0x425972
mov ebx, 1
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
mov eax, dword [esp + 0x490]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, ebx
sub esp, 4
add esp, 0x47c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x428670
Capabilities:
Create thread

Disassembly:
push esi
push ebx
sub esp, 0x34
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [0x451220], esi
mov dword [0x45121c], eax
test esi, esi
jle 0x428712
xor ebx, ebx
jmp 0x4286a0
add ebx, 1
cmp esi, ebx
je 0x428712
mov eax, dword [0x45121c]
mov dword [esp + 4], 0x44aba4
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x428694
mov byte [0x451224], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x427520
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
sub esp, 8
add esp, 0x34
pop ebx
pop esi
ret
cmp byte [0x451224], 0
jne 0x4286be
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.0042a6f0
mov eax, dword [0x449014]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
mov ecx, dword [0x449018]
mov dword [esp], 0xc8
sub edx, eax
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0xc], ecx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
sub edx, ecx
mov dword [esp + 8], eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 4], eax
call fcn.0042beb0
mov dword [esp], 0x423c50
mov dword [0x44901c], eax
call fcn.00428ab0
mov eax, dword [0x44901c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0042b480
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x427520
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
call fcn.0042b6c0
add esp, 0x34
xor eax, eax
pop ebx
pop esi
ret
Function at 0x42b5b0
Capabilities:
Hide graphical window

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ecx, dword [0x451244]
mov edx, dword [0x451240]
mov esi, dword [esp + 0x20]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp edx, ecx
je 0x42b5ef
test eax, eax
je 0x42b621
mov ebx, dword [edx]
cmp esi, dword [ebx]
je 0x42b5f5
mov ecx, 1
jmp 0x42b5eb
mov ebx, dword [edx + ecx*4]
add ecx, 1
cmp esi, dword [ebx]
je 0x42b5f5
cmp eax, ecx
jne 0x42b5e1
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 4], 0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 4]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x44abd0
call fcn.00446210
lea esi, [esi]
push esi
push ebx
sub esp, 0x14
mov ecx, dword [0x451244]
mov edx, dword [0x451240]
mov esi, dword [esp + 0x20]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp edx, ecx
je 0x42b67f
test eax, eax
je 0x42b6a2
mov ebx, dword [edx]
cmp esi, dword [ebx]
je 0x42b685
mov ecx, 1
jmp 0x42b67b
mov ebx, dword [edx + ecx*4]
add ecx, 1
cmp esi, dword [ebx]
je 0x42b685
cmp eax, ecx
jne 0x42b671
add esp, 0x14
pop ebx
pop esi
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
sub esp, 8
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x44abd0
call fcn.00446210
nop
Function at 0x4360e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4515e0]
test esi, esi
jle 0x4361f0
mov edi, dword [0x4515e4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x436114
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x436195
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x436100
mov dword [esp], eax
mov ebx, eax
call fcn.004369d0
test eax, eax
mov edi, eax
je 0x436217
mov eax, dword [0x4515e4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00436ad0
add eax, dword [edi + 0xc]
mov edx, dword [0x4515e4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4361f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x43618e
sub eax, 4
and eax, 0xfffffffb
jne 0x4361a0
add dword [0x4515e0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4515e4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x43618e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00447eb0
lea esi, [esi]
xor esi, esi
jmp 0x43611e
mov eax, dword [0x4515e4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00447eb0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00447eb0
mov esi, esi
lea edi, [edi]

Function at 0x436650
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4515f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4515f0]
sub esp, 4
test ebx, ebx
je 0x4366a5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x43669e
test esi, esi
je 0x43669e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x436680
mov dword [esp], 0x4515f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x436e50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x436e90
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x436eb5
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x437230
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x437264
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [0x451614], eax
call fcn.00437c30
test eax, eax
sete al
movzx eax, al
mov dword [0x44904c], eax
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x437253

Function at 0x437390
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, 1
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
test eax, eax
jne 0x4373d7
jmp 0x4374a0
mov dword [0x451618], ecx
mov eax, dword [edi]
add esi, 1
mov eax, dword [eax]
mov dword [edi], eax
test eax, eax
je 0x4374a0
mov ebp, dword [eax + 0x18]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0xa
mov dword [esp], 1
call eax
test eax, eax
jne 0x4374d6
test ebp, ebp
je 0x437450
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0xa
mov dword [esp], 1
call ebp
cmp eax, 7
je 0x437505
cmp eax, 8
jne 0x4374d6
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [0x44904c]
test eax, eax
js 0x4374e3
test eax, eax
je 0x4373c0
mov eax, dword [0x451614]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4373c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
add esi, 1
mov eax, dword [eax]
mov dword [edi], eax
test eax, eax
jne 0x4373d7
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0x1a
mov dword [esp], 1
call eax
test eax, eax
je 0x437500
add esp, 0x3c
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x28], ecx
call fcn.00437270
mov eax, dword [0x44904c]
mov ecx, dword [esp + 0x28]
jmp 0x437461
mov eax, 5
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x437520
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x44904c]
mov ebx, dword [esp + 0x30]
test eax, eax
js 0x4375a0
test eax, eax
jne 0x437550
mov eax, dword [0x451618]
mov dword [0x451618], ebx
mov dword [ebx], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [0x451614]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebp, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x451614]
mov dword [ebx], edi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x437545
add esp, 0x1c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
jmp eax
call fcn.00437270
mov eax, dword [0x44904c]
jmp 0x437534

Function at 0x4375b0
Capabilities:
Set thread local storage value

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [0x44904c]
test eax, eax
js 0x4375f5
test eax, eax
jne 0x4375d2
mov dword [0x451618], ebx
add esp, 0x18
pop ebx
ret
mov eax, dword [0x451614]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4375cd
add esp, 0x18
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00437270
mov eax, dword [0x44904c]
jmp 0x4375c3

Function at 0x4376f0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x44904c]
mov ebx, dword [esp + 0x40]
test eax, eax
js 0x437770
mov esi, dword [0x451618]
test eax, eax
jne 0x437784
mov dword [esp + 0x28], esi
test esi, esi
je 0x437764
mov eax, esi
lea edi, [esp + 0x28]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x437756
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], 1
call ecx
cmp eax, 6
je 0x4377b1
cmp eax, 8
jne 0x4377e0
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x43771b
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
call fcn.00437270
mov eax, dword [0x44904c]
mov esi, dword [0x451618]
test eax, eax
je 0x43770d
mov esi, dword [0x451614]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x43770d
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], 0
lea ecx, [esp + 0x2c]
mov edx, edi
mov dword [esp + 0x28], esi
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.00437170
cmp eax, 7
jne 0x437769
mov eax, edi
call fcn.00437310
lea esi, [esi]
mov eax, 3
jmp 0x437769
Function at 0x437890
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x44904c]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x4378dd
mov esi, dword [0x451618]
test edx, edx
jne 0x4378ea
mov eax, ebx
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x18]
lea ecx, [esp + 0x1c]
mov edx, esi
test ebx, ebx
jne 0x4378d6
call fcn.00437170
cmp eax, 7
jne 0x437910
mov eax, esi
call fcn.00437310
call fcn.00437390
jmp 0x4378ca
call fcn.00437270
mov edx, dword [0x44904c]
jmp 0x4378a4
mov esi, dword [0x451614]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
jmp 0x4378ae
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x437920
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x437970
mov edx, dword [0x44904c]
test edx, edx
js 0x437980
mov esi, dword [0x451618]
test edx, edx
jne 0x437995
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
mov eax, ebx
mov dword [esp + 0x18], esi
call fcn.00437390
cmp eax, 7
jne 0x4379bf
lea eax, [esp + 0x18]
call fcn.00437310
lea esi, [esi]
lea edi, [edi]
mov dword [esp], ebx
call fcn.004376f0
add esp, 0x20
pop ebx
pop esi
pop edi
ret
call fcn.00437270
mov edx, dword [0x44904c]
mov esi, dword [0x451618]
test edx, edx
je 0x437945
mov esi, dword [0x451614]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x437945
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x447eb0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00437bf0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00437bf0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp fcn.004014f0
Function at 0x434550
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43456a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434571
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434560
mov eax, 1
add ebx, ebx
jne 0x434583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434578
jne 0x434594
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434578
xor ecx, ecx
sub eax, 3
jb 0x4345a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43461a
mov ebp, eax
add ebx, ebx
jne 0x4345b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4345c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4345e4
inc ecx
add ebx, ebx
jne 0x4345d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4345c5
jne 0x4345e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4345c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x434604
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4345f5
jmp 0x434566
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x434604
add edi, ecx
jmp 0x434566
pop esi
mov edi, esi
mov ecx, 0x23d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x434622
cmp byte [edi], 1
jne 0x434622
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 0x434627
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x43469f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x390d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3918c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x434654
mov ecx, edi
jns 0x434683
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 + 0x39190]
or eax, eax
je 0x434699
mov dword [ebx], eax
add ebx, 4
jmp 0x434671
call dword [esi + 0x391a0]
mov ebp, dword [esi + 0x39194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4346d3
sub esp, 0xffffff80
jmp 0x403265