joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426600
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x436a09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3390]
lea ebp, [esi + 0x3390]
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
mov dword [esp + 8], eax
call dword [edx + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc8]
shr eax, 4
test al, 1
je 0x426682
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
cmp ax, 0x64
jb 0x426682
mov eax, dword [esp + 0x28]
pop esi
mov word [eax + 8], 0
mov word [eax + 0xa], 0x64
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [ebp]
push ebx
xor esi, esi
push edi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
test ax, ax
mov edi, dword [esp + 0x30]
jbe 0x426797
nop
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
movzx ecx, ax
movzx eax, word [edi + 6]
movzx edx, si
add eax, edx
cdq
idiv ecx
cmp word [esp + 0x18], dx
mov word [edi + 8], dx
je 0x42677d
mov eax, dword [ebp]
push edx
mov ecx, ebp
call dword [eax + 0x40]
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
cmp al, 1
je 0x42677d
cmp byte [edi + 4], 1
jne 0x4266f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp al, 1
je 0x42677d
mov edx, dword [esi]
lea ebx, [edi + 0xa]
push ebx
mov ecx, esi
call dword [edx + 8]
mov esi, eax
test si, si
jbe 0x42677d
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
xor ecx, ecx
mov cx, word [ebx]
xor edx, edx
mov dx, word [edi + 8]
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x30], 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.00423ce0
test al, al
je 0x42676b
cmp byte [edi], 1
jne 0x426745
cmp si, 1
je 0x4267b9
cmp byte [edi + 1], 1
jne 0x426751
cmp si, 2
je 0x4267b9
cmp byte [edi + 3], 1
jne 0x42675e
cmp si, word [esp + 0x10]
jb 0x4267b9
cmp byte [edi + 2], 1
jne 0x42676b
cmp si, word [esp + 0x10]
je 0x4267b9
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
inc esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
cmp si, ax
jb 0x4266a0
mov eax, 0xffff
mov word [edi + 8], ax
mov word [edi + 0xa], ax
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x42c970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x44a160]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x40
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x438d04
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x42ca33
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0042c900
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0042c900
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042c900
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.0042c900
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00433621
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00433621
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42ca50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x44a160]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push 0x40
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x438d04
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x42caef
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0042c900
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0042c900
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00433621
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00433621
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cb10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x44a160]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x438d04
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x42cbc5
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.0042c900
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042c900
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.0042c900
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4333da
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x441518
call fcn.004338b0
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x43341a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43341a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x433432
cmp eax, 0x20b
je 0x43341f
mov dword [ebp - 0x1c], edi
jmp 0x433446
cmp dword [ecx + 0x84], 0xe
jbe 0x43341a
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x433440
cmp dword [ecx + 0x74], 0xe
jbe 0x43341a
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x45056c], 0xffffffff
or dword [0x450570], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4504f4]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4504f0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x450568], eax
call fcn.00433908
call fcn.004339a8
cmp dword [0x44a190], edi
jne 0x4334a6
push fcn.004339a8
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00433996
push 0x44a06c
push 0x44a068
call sub.MSVCR71.dll__initterm
push 0x43394c
call fcn.00433666
mov eax, dword [0x4504ec]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4504e8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x4334fa
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x44a064
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x433524
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4335de
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x433593
cmp ax, di
je 0x43353a
cmp dword [ebp - 0x20], edi
jne 0x433593
mov ax, word [esi]
cmp ax, di
je 0x43354f
cmp ax, 0x20
ja 0x43354f
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x43353a
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x43356b
movzx eax, word [ebp - 0x54]
jmp 0x43356e
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.00433bfe
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x43358b
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4335d8
cmp ax, 0x22
jne 0x4335a4
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x433524
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004338eb
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x401f40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403250
push 0x402140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x404184], 0xffffffff
mov dword [0x404188], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404180]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40417c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40418c], ecx
call fcn.00402130
mov eax, dword [0x404130]
test eax, eax
jne 0x401fd1
push 0x402120
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00402100
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x404178]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x404174]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4020df
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402045
cmp al, 0x22
jne 0x402037
cmp byte [esi], 0x22
jne 0x40204e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40205e
cmp al, 0x20
ja 0x40205e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40204e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40207f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402084
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4020c4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40204e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4020df
Function at 0x40d330
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 fcn.0040d270
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40d37c
call sym.__errno
cmp dword [eax], 4
je 0x40d350
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40ef30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x40ef56
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40efea
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x40efa5
cmp eax, 0x40
je 0x40efa5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x40ef49
cmp eax, 0x40
je 0x40ef49
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x40ef49
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]

Function at 0x40f660
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 0x40f690
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 0x40f840
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x44e538]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40f880
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], 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 + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x40fc30
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 [0x44e538]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40fd0c
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40fd21
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40fce0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40fc78
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40fc88
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40fcd3
test edx, edx
jne 0x40fcc6
test ecx, ecx
je 0x40fc70
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 0x40fd30
cmp eax, 8
je 0x40fc70
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 + 0x30]
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 0x40fc62
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44e538]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x40fc54
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x40fc54
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 0x40fccb
mov eax, dword [0x44e538]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40fd83
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40fdae
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40fd8f
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 [0x44e538]
jmp 0x40fd61
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40fd72
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40fd72
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x40fd68
Function at 0x40feb0
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 [0x44e538]
test eax, eax
je 0x40ff10
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40ff30
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x40ff50
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 0x40ffa0
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 [0x44e538]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40fed2
jmp 0x40ff30
call sym._fc_key_init_once
mov eax, dword [0x44e538]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40fed9
jmp 0x40ff50
mov ebx, dword [eax + 0x30]
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 0x40ff01
lea esi, [esi]
mov eax, dword [0x44e538]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40ffed
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40fff9
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40ffce
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 + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40ffbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ffbd
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44e538]
jmp 0x40ffac
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x40ffb3
Function at 0x410010
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 [0x44e538]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4100a4
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x4100c0
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x4100e0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x410098
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x41015f
mov eax, dword [0x44e538]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x410136
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x410150
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x410110
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 0x410055
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44e538]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x410030
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44e538]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x41003b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x30]
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 0x41003e
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x410087
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x410087
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44e538]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x410079
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x410079
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x410170
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 0x410202
mov eax, dword [0x44e538]
test eax, eax
je 0x4101f6
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x410271
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x410217
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 0x41028f
mov eax, dword [0x44e538]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x410262
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x410280
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x410243
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 [0x44e538]
jmp 0x410192
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 + 0x30]
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 0x4101a7
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4101e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4101e5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44e538]
jmp 0x4101d0
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x41019d
call sym._fc_key_init_once
mov eax, dword [0x44e538]
jmp 0x4101db
call sym._abort
lea esi, [esi]
lea edi, [edi]