joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b049
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40e0d4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x40b0bf
push ebx
call fcn.0040b012
test eax, eax
pop ecx
jne 0x40b08e
mov dword [0x40e804], 0xf
mov dword [0x40e800], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.00403d76
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x40b0d1
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40b081
inc eax
cmp eax, 0x104
ja 0x40b081
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40b108
cmp eax, dword [ebp + 0x10]
jg 0x40b0ec
mov eax, dword [ebp + 0x10]
push eax
call fcn.004051c7
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x40b11c
mov dword [0x40e800], 0xc
jmp 0x40b081
cmp eax, dword [ebp + 0x10]
jle 0x40b11c
mov dword [0x40e800], 0x22
jmp 0x40b081
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.00408ab0
pop ecx
pop ecx
jmp 0x40b083
Function at 0x1001b442
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [ebp + 0xc], ebx
jbe 0x1001b4b9
push esi
mov eax, dword [edi + 0x100]
inc eax
movzx esi, al
mov dword [edi + 0x100], esi
movzx eax, byte [esi + edi]
add eax, dword [edi + 0x104]
movzx edx, al
mov dword [edi + 0x104], edx
mov cl, byte [esi + edi]
mov al, byte [edx + edi]
mov byte [esi + edi], al
mov byte [edx + edi], cl
mov eax, dword [edi + 0x104]
movzx ecx, byte [eax + edi]
mov eax, dword [edi + 0x100]
movzx eax, byte [eax + edi]
add ecx, eax
and ecx, 0x800000ff
jns 0x1001b4a6
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov ecx, dword [ebp + 8]
mov al, byte [eax + edi]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x1001b451
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x1001b52a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jb 0x1001b535
and dword [ebp - 4], 0
xor edi, edi
xor edx, edx
mov bl, byte [edi + esi]
mov eax, edi
movzx ecx, bl
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, dword [ebp - 4]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 4], ecx
mov al, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jb 0x1001b546
and dword [esi + 0x100], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b769
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x1001b790
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
mov eax, ecx
div dword [ebp + 0x14]
mov al, byte [edx + edi]
xor byte [ecx + esi], al
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x1001b77b
pop edi
pop esi
pop ebp
ret
Function at 0xca0640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x92a000
lea edi, [esi - 0x849000]
push edi
jmp 0xca065a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xca0661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0650
mov eax, 1
add ebx, ebx
jne 0xca0673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xca0684
jne 0xca06a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca06a3
dec eax
add ebx, ebx
jne 0xca0690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xca0668
add ebx, ebx
jne 0xca069f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xca06f5
xor ecx, ecx
sub eax, 3
jb 0xca06bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xca072a
sar eax, 1
mov ebp, eax
jmp 0xca06c6
add ebx, ebx
jne 0xca06c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0694
inc ecx
add ebx, ebx
jne 0xca06d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0694
add ebx, ebx
jne 0xca06e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xca06d6
jne 0xca06f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xca06d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xca0714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xca0706
jmp 0xca0656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xca0714
add edi, ecx
jmp 0xca0656
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xca0732
cmp byte [edi], 0x11
jne 0xca0732
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 0xca0737
lea edi, [esi + 0x899000]
mov eax, dword [edi]
or eax, eax
je 0xca07af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1068704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1068880]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xca0764
mov ecx, edi
jns 0xca0793
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 + 0x1068884]
or eax, eax
je 0xca07a9
mov dword [ebx], eax
add ebx, 4
jmp 0xca0781
call dword [esi + 0x1068894]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xca07e0
cmp al, 0xef
ja 0xca07d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xca07b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xca07c2
mov ebp, dword [esi + 0x1068888]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0xca0814
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x401400
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0x10], 0x441030
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x23
mov dword [esp], 0
call sub.SHELL32.DLL_SHGetFolderPathA
sub esp, 0x14
call sym._rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1f
lea eax, [edx + eax]
sar eax, 1
add eax, eax
sub edx, eax
mov eax, edx
add eax, 5
mov dword [esp], eax
call sym.RandName_int_
mov dword [esp + 4], 0x43e005
mov dword [esp], 0x441030
call sym._strcat
mov dword [esp + 4], 0x43d000
mov dword [esp], 0x441030
call sym._strcat
leave
ret

Function at 0x4015c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
leave
ret
Function at 0x4040a0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4040d6
mov dword [0x4451d0], eax
mov edx, sym.get_globals_dtor_void_
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [0x43d0f0], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x43d0f0], eax
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], sym.___gxx_personality_sj0
mov dword [ebp - 0x24], 0x43c6d4
mov dword [ebp - 0x1c], 0x404280
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x43d0f0], 0
mov dword [ebp - 0x44], 0x4451e0
je 0x404260
jl 0x4042a0
mov dword [ebp - 0x3c], 1
mov eax, dword [0x4451d0]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x404343
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4457f0]
mov eax, 0xffffffff
test edx, edx
je 0x4042ba
mov eax, dword [0x43d0f4]
test eax, eax
je 0x4042fa
xor eax, eax
test eax, eax
jne 0x4042f0
mov edi, dword [0x43d0f0]
test edi, edi
js 0x4042f0
mov dword [ebp - 0x44], 0x4451e0
mov ebx, dword [0x43d0f0]
test ebx, ebx
je 0x404260
jmp 0x40420e
xor esi, esi
mov dword [0x43d0f0], esi
jmp 0x4042c8
mov dword [esp], 0x43d0f8
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x404381
mov eax, dword [0x43d0f4]
test eax, eax
jne 0x4042b8
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x43d0f4]
test eax, eax
je 0x40431d
jmp 0x4042b8
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x404375
mov dword [esp + 4], eax
mov eax, dword [0x4451d0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x4043aa
test edx, edx
je 0x404395
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x43d0f4], eax
jmp 0x4042b8
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x404256
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x404371
Function at 0x4099f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.std::__basic_file_char_.fd__
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x409a3c
call sym.__errno
cmp dword [eax], 4
je 0x409a10
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40ca20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0040db40
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40ca58
jmp 0x40caf6
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40ca57
cmp cl, 0x22
je 0x40cab0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x40cad0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x40cad0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x40ca90
jmp 0x40cad0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x40cab0
cmp cl, 0x22
je 0x40cb32
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x40caf0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x40cae0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x40cb14
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x40cad0

Function at 0x40cfe0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x445850]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d020
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x40d3d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x445850]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d4ac
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40d4c1
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40d480
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40d418
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40d428
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40d473
test edx, edx
jne 0x40d466
test ecx, ecx
je 0x40d410
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x40d4d0
cmp eax, 8
je 0x40d410
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, 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
jmp 0x40d402
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40d3f4
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d3f4
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40d46b
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d523
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40d54e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40d52f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
jmp 0x40d501
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d512
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d512
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d508
Function at 0x40d650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [0x445850]
test eax, eax
je 0x40d6b0
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40d6d0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40d6f0
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
je 0x40d740
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40d672
jmp 0x40d6d0
call sym._fc_key_init_once
mov eax, dword [0x445850]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40d679
jmp 0x40d6f0
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, 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
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40d6a1
lea esi, [esi]
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d78d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40d799
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40d76e
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d75d
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
jmp 0x40d74c
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d753
Function at 0x40d7b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x445850]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d844
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40d860
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40d880
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40d838
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40d8ff
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d8d6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40d8f0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40d8b0
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
jmp 0x40d7f5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40d7d0
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x445850]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40d7db
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, 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
jmp 0x40d7de
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d827
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d827
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40d819
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d819
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40d910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x40d9a2
mov eax, dword [0x445850]
test eax, eax
je 0x40d996
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40da11
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40d9b7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40da2f
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40da02
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40da20
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40d9e3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
jmp 0x40d932
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, 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
jmp 0x40d947
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d985
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d985
call sym.___w32_sharedptr_initialize
mov eax, dword [0x445850]
jmp 0x40d970
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d93d
call sym._fc_key_init_once
mov eax, dword [0x445850]
jmp 0x40d97b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40dc10
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x40dc40
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x410980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x401560
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4015f1
mov edx, dword [ebp - 4]
push edx
call fcn.00409662
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4015f1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4015df
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x42c620
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4015df
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00409657
add esp, 4
lea edx, [ebp - 0x10]
push edx
call fcn.004014c0
add esp, 4
mov esp, ebp
pop ebp
ret