joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a280
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
pcmpeqd mm7, mm7
lea eax, [edx + ecx*4]
and eax, 4
mov eax, dword [esp + 8]
movd mm0, dword [eax + ecx*4 - 4]
je 0x41a2a7
pxor mm0, mm7
movd dword [edx + ecx*4 - 4], mm0
dec ecx
je 0x41a2cd
add eax, 4
add edx, 4
dec ecx
je 0x41a2c2
sub ecx, 2
movq mm0, qword [eax + ecx*4]
pxor mm0, mm7
movq qword [edx + ecx*4], mm0
jg 0x41a2b0
jne 0x41a2cd
movd mm0, dword [eax - 4]
pxor mm0, mm7
movd dword [edx - 4], mm0
emms
ret

Function at 0x41cc00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x45f180]
mov edx, dword [0x45f184]
add eax, 1
adc edx, 0
mov ecx, eax
xor ecx, 1
mov dword [0x45f180], eax
or ecx, edx
mov dword [0x45f184], edx
je 0x41cca5
mov eax, dword [0x45f188]
mov edx, dword [0x45f18c]
add eax, 1
adc edx, 0
mov ecx, eax
xor ecx, 1
mov dword [0x45f188], eax
or ecx, edx
mov dword [0x45f18c], edx
je 0x41cc52
leave
ret
mov eax, 8
mov dword [0x45f234], eax
mov eax, pe_nt_image_headers32
mov dword [0x45f238], eax
mov eax, 8
mov dword [0x45f23c], eax
mov eax, 0xff0
mov dword [0x45f240], eax
mov eax, 0x1000
mov dword [0x45f244], eax
mov eax, 0xa
mov dword [0x45f248], eax
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [0x45f24c]
leave
ret
mov eax, 8
mov ecx, 0x1000
mov edx, 0xa
mov dword [0x45f1f0], eax
mov eax, pe_nt_image_headers32
mov dword [0x45f1f4], eax
mov eax, 8
mov dword [0x45f1f8], eax
mov eax, 0xff0
mov dword [0x45f1fc], eax
mov dword [0x45f200], ecx
mov dword [0x45f204], edx
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [0x45f208]
jmp 0x41cc2b

Function at 0x41e430
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 0x41e466
mov dword [0x46aa80], 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 [0x45f0a0], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x45f0a0], eax
leave
ret
Function at 0x41e550
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], 0x45ded0
mov dword [ebp - 0x1c], 0x41e610
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x45f0a0], 0
mov dword [ebp - 0x44], 0x46aa90
je 0x41e5f0
jl 0x41e630
mov dword [ebp - 0x3c], 1
mov eax, dword [0x46aa80]
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 0x41e6d3
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 [0x46b600]
mov eax, 0xffffffff
test edx, edx
je 0x41e64a
mov eax, dword [0x45f0a4]
test eax, eax
je 0x41e68a
xor eax, eax
test eax, eax
jne 0x41e680
mov edi, dword [0x45f0a0]
test edi, edi
js 0x41e680
mov dword [ebp - 0x44], 0x46aa90
mov ebx, dword [0x45f0a0]
test ebx, ebx
je 0x41e5f0
jmp 0x41e59e
xor esi, esi
mov dword [0x45f0a0], esi
jmp 0x41e658
mov dword [esp], 0x45f0a8
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x41e711
mov eax, dword [0x45f0a4]
test eax, eax
jne 0x41e648
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 [0x45f0a4]
test eax, eax
je 0x41e6ad
jmp 0x41e648
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x41e705
mov dword [esp + 4], eax
mov eax, dword [0x46aa80]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x41e73a
test edx, edx
je 0x41e725
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x45f0a4], eax
jmp 0x41e648
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x41e5e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x41e701
Function at 0x425390
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.00425370
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x4253dc
call sym.__errno
cmp dword [eax], 4
je 0x4253b0
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x426e50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00427f70
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 0x426e88
jmp 0x426f26
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x426e87
cmp cl, 0x22
je 0x426ee0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x426f00
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x426f00
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x426ec0
jmp 0x426f00
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x426ee0
cmp cl, 0x22
je 0x426f62
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x426f20
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x426f10
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x426f44
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 0x426f00

Function at 0x427410
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x46b670]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x427450
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 0x427800
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 [0x46b670]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4278dc
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x4278f1
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x4278b0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x427848
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x427858
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x4278a3
test edx, edx
jne 0x427896
test ecx, ecx
je 0x427840
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 0x427900
cmp eax, 8
je 0x427840
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 0x427832
call sym.___w32_sharedptr_initialize
mov eax, dword [0x46b670]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x427824
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427824
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 0x42789b
mov eax, dword [0x46b670]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x427953
mov edi, dword [eax + 0x30]
test edi, edi
js 0x42797e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x42795f
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 [0x46b670]
jmp 0x427931
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 0x427942
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427942
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427938
Function at 0x427a80
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 [0x46b670]
test eax, eax
je 0x427ae0
mov esi, dword [eax + 0x30]
test esi, esi
js 0x427b00
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x427b20
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 0x427b70
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 [0x46b670]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x427aa2
jmp 0x427b00
call sym._fc_key_init_once
mov eax, dword [0x46b670]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x427aa9
jmp 0x427b20
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 0x427ad1
lea esi, [esi]
mov eax, dword [0x46b670]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x427bbd
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x427bc9
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x427b9e
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 0x427b8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427b8d
call sym.___w32_sharedptr_initialize
mov eax, dword [0x46b670]
jmp 0x427b7c
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427b83
Function at 0x427be0
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 [0x46b670]
mov edi, dword [ebp + 8]
test eax, eax
je 0x427c74
mov esi, dword [eax + 0x30]
test esi, esi
js 0x427c90
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x427cb0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x427c68
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x427d2f
mov eax, dword [0x46b670]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x427d06
mov edx, dword [eax + 0x30]
test edx, edx
js 0x427d20
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x427ce0
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 0x427c25
call sym.___w32_sharedptr_initialize
mov eax, dword [0x46b670]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x427c00
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x46b670]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x427c0b
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 0x427c0e
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 0x427c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427c57
call sym.___w32_sharedptr_initialize
mov eax, dword [0x46b670]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x427c49
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427c49
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x427d40
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 0x427dd2
mov eax, dword [0x46b670]
test eax, eax
je 0x427dc6
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x427e41
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x427de7
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 0x427e5f
mov eax, dword [0x46b670]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x427e32
mov edx, dword [eax + 0x30]
test edx, edx
js 0x427e50
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x427e13
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 [0x46b670]
jmp 0x427d62
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 0x427d77
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 0x427db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427db5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x46b670]
jmp 0x427da0
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427d6d
call sym._fc_key_init_once
mov eax, dword [0x46b670]
jmp 0x427dab
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x428040
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 0x428070
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 0x42b090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x42b6c4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebx], 8
mov dword [ebx + 4], pe_nt_image_headers32
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 0xff0
mov dword [ebx + 0x10], 0x1000
mov dword [ebx + 0x14], 0xa
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [ebx + 0x18]
pop eax
pop ebx
pop ebp
ret

Function at 0x42b754
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebx], 8
mov dword [ebx + 4], pe_nt_image_headers32
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 0xff0
mov dword [ebx + 0x10], 0x1000
mov dword [ebx + 0x14], 0xa
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [ebx + 0x18]
pop eax
pop ebx
pop ebp
ret
Function at 0x42c044
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebx], 8
mov dword [ebx + 4], pe_nt_image_headers32
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 0xff0
mov dword [ebx + 0x10], 0x1000
mov dword [ebx + 0x14], 0xa
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [ebx + 0x18]
pop eax
pop ebx
pop ebp
ret

Function at 0x42c0d4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebx], 8
mov dword [ebx + 4], pe_nt_image_headers32
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 0xff0
mov dword [ebx + 0x10], 0x1000
mov dword [ebx + 0x14], 0xa
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
setne byte [ebx + 0x18]
pop eax
pop ebx
pop ebp
ret
Function at 0x42c514
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x34], esp
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x45de18
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x42c67c
call sym.__Unwind_SjLj_Register
mov dword [ebp - 0x64], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42c593
mov eax, dword [0x45f278]
test eax, eax
je 0x42c5b4
cmp dword [ebp + 0xc], 0x80
ja 0x42c57e
cmp dword [0x45f278], 1
jne 0x42c5e6
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
jne 0x42c664
mov edi, 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], 0x45f278
mov dword [ebp - 0x58], 0xffffffff
call method.__gnu_cxx.__atomic_add_int_volatile__int_
jmp 0x42c56c
mov dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], ecx
mov dword [esp], eax
call method.__gnu_cxx::__pool_alloc_base._M_get_free_list_unsigned_int_
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x60]
mov dword [esp], ecx
call method.__gnu_cxx::__pool_alloc_base._M_get_mutex__
mov dword [ebp - 0x28], eax
mov esi, dword [0x46b600]
test esi, esi
jne 0x42c672
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test edx, edx
je 0x42c6b3
mov eax, dword [edx]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x42c6da
mov edx, dword [0x46b600]
mov eax, dword [ebp - 0x28]
test edx, edx
je 0x42c593
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call sym.___gthr_win32_mutex_unlock
jmp 0x42c593
mov eax, 1
mov dword [esp + 4], eax
jmp 0x42c5d1
mov dword [esp], eax
call sym.___gthr_win32_mutex_lock
jmp 0x42c61a
mov dword [ebp - 0x58], 3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x60]
add eax, 7
and eax, 0xfffffff8
mov dword [esp + 4], eax
mov dword [esp], ecx
call method.__gnu_cxx::__pool_alloc_base._M_refill_unsigned_int_
mov dword [ebp - 0x64], eax
jmp 0x42c631
mov dword [ebp - 0x58], 3
call method.std.__throw_bad_alloc__
jmp 0x42c63c
Function at 0x42c8e4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x34], esp
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x45de40
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x42ca8d
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov dword [ebp - 0x64], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42c9f4
mov edi, dword [ebp + 0xc]
test edi, edi
js 0x42c9e8
mov esi, dword [0x45f27c]
test esi, esi
je 0x42ca44
mov eax, dword [ebp + 0xc]
add eax, eax
cmp eax, 0x80
mov dword [ebp - 0x68], eax
ja 0x42ca14
cmp dword [0x45f27c], 1
je 0x42ca14
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [ebp - 0x58], 0xffffffff
call method.__gnu_cxx::__pool_alloc_base._M_get_free_list_unsigned_int_
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call method.__gnu_cxx::__pool_alloc_base._M_get_mutex__
mov dword [ebp - 0x28], eax
mov edx, dword [0x46b600]
test edx, edx
jne 0x42ca80
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
test edx, edx
je 0x42cac4
mov eax, dword [edx]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42caeb
mov esi, dword [0x46b600]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x42c9f4
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call sym.___gthr_win32_mutex_unlock
jmp 0x42c9f4
mov dword [ebp - 0x58], 0xffffffff
call method.std.__throw_bad_alloc__
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x68]
mov dword [esp], ecx
mov dword [ebp - 0x58], 0xffffffff
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
je 0x42ca75
mov ebx, 1
mov dword [esp + 4], ebx
mov dword [esp], 0x45f27c
mov dword [ebp - 0x58], 0xffffffff
call method.__gnu_cxx.__atomic_add_int_volatile__int_
jmp 0x42c950
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
jmp 0x42ca5d
mov dword [esp], eax
call sym.___gthr_win32_mutex_lock
jmp 0x42c9a8
mov eax, dword [ebp - 0x68]
add eax, 7
and eax, 0xfffffff8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov dword [ebp - 0x58], 3
call method.__gnu_cxx::__pool_alloc_base._M_refill_unsigned_int_
mov dword [ebp - 0x64], eax
jmp 0x42c9bf
mov dword [ebp - 0x58], 3
call method.std.__throw_bad_alloc__
jmp 0x42c9ca