joyce8/EMBER2024-capa huggingface dataset:
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 sub.msvcrt.dll_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.qdhKlnLqm4BLd_h8MmdlmLLmomOmLjsmmL__2djs__mhmh4
mov dword [esp + 4], 0x43e005
mov dword [esp], 0x441030
call sub.msvcrt.dll_strcat
mov dword [esp + 4], 0x43d000
mov dword [esp], 0x441030
call sub.msvcrt.dll_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._q__LmPl_LmMm4EhyhTjKlh_pU8mlK_EjlKgyKVuGljNhlKl5dKjoh_p
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040cb80
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.Hj_ahE_dWj5_thth__jih8_0o4JiKjmjrmLl_Lm4kKjmjrmLl_Lm9a
mov dword [ebp - 0x24], 0x43c6d4
mov dword [ebp - 0x1c], 0x404280
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call fcn.0040d0f0
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 fcn.0040d1d0
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 sub.msvcrt.dll_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 sym.sjlK_KlUBKl4yhlKj_ubm_u_u_
call sym.LmMm4EhyhTjKlh_pU8mlK_EjlKgyKVuGljNhlKl5dKjoh_pKlKVDljNh
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 sym._fLEljo_NMmcm_dtElguLVhEljClKd6oLjahlKjKluMRP4_mLJ4_mL
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x409a3c
call sub.msvcrt.dll__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 fcn.0040cc80
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.LmomOmLjsmmL__2djs__mhmh4_lKhw__mhLmhngKX3
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 fcn.0040cb80
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 0x6aec17d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6aec7c10
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6aec7c10
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6aec1830
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6b1e2054]
test esi, esi
jle 0x6aec1950
mov eax, dword [0x6b1e2058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6aec1864
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6aec18e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6aec1850
mov dword [esp], ebx
call fcn.6aec1f90
mov edi, eax
test eax, eax
je 0x6aec1977
mov eax, dword [0x6b1e2058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6aec20d0
mov edx, dword [0x6b1e2058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6aec1957
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6aec18e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6aec18f0
add dword [0x6b1e2054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6b1e2058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6aec18e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6aec17d0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6aec186e
mov eax, dword [0x6b1e2058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6aec17d0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6aec17d0
lea esi, [esi]
nop
Function at 0x6aec1c10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6b1e2064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6b1e205c]
sub esp, 4
test ebx, ebx
je 0x6aec1c65
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6aec1c5e
test esi, esi
je 0x6aec1c5e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6aec1c40
mov dword [esp], 0x6b1e2064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6aec1f90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6aec0000], 0x5a4d
jne 0x6aec1fb5
mov ecx, dword [0x6aec003c]
cmp dword [ecx + 0x6aec0000], 0x4550
lea edx, [ecx + 0x6aec0000]
je 0x6aec1fc0
ret
cmp word [ecx + 0x6aec0018], 0x10b
jne 0x6aec1fb5
push esi
movzx eax, word [ecx + 0x6aec0014]
push ebx
movzx esi, word [ecx + 0x6aec0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6aec0000
test esi, esi
je 0x6aec2008
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6aec1ffe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6aec200a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6aec1ff0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
jne 0x401a92
xor al, al
add esp, 8
ret 8
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a8a
cmp dword [esp + 0xc], 4
jne 0x401a8a
cmp dword [esp], eax
mov ecx, dword [esp + 0x10]
setne al
mov byte [ecx], al
mov al, 1
add esp, 8
ret 8

Function at 0x401ae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
jne 0x401af2
xor al, al
add esp, 8
ret 8
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401aea
cmp dword [esp + 0xc], 4
jne 0x401aea
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [eax], ecx
mov al, 1
add esp, 8
ret 8

Function at 0x401b40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x416028]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x124]
test eax, eax
jne 0x401b84
xor al, al
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00402d3f
add esp, 0x118
ret 8
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401b6a
cmp dword [esp + 8], 1
jne 0x401b6a
fldz
lea edx, [esp + 7]
push edx
fstp qword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push str._lg_c
push ecx
call fcn.00402fb6
add esp, 0x10
cmp eax, 1
jne 0x401b6a
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x118]
fstp qword [esi]
pop esi
xor ecx, esp
mov al, al
call fcn.00402d3f
add esp, 0x118
ret 8

Function at 0x401c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x401c0c
xor al, al
ret 0xc
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401c07
cmp dword [esp + 8], 1
sete al
ret 0xc

Function at 0x401c40
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x401c67
movzx ecx, byte [esp + 8]
push 4
lea edx, [esp + 0xc]
push edx
push 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x401c70
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x401c96
mov ecx, dword [esp + 8]
push 4
lea edx, [esp + 0xc]
push edx
push 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x401ca0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x104
mov eax, dword [0x416028]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov edi, dword [esp + 0x110]
je 0x401d0f
fld qword [esp + 0x114]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x10]
push 0x4140f4
push eax
call fcn.00402dbe
lea eax, [esp + 0x18]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x401cf0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401cf0
sub eax, edx
mov edx, dword [esi + 4]
inc eax
push eax
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.00402d3f
add esp, 0x104
ret 0xc

Function at 0x401d30
Capabilities:
Set registry value

Disassembly:
mov edx, dword [ecx + 4]
test edx, edx
je 0x401d7f
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401d67
mov eax, esi
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401d46
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x10]
push esi
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
mov ecx, dword [esp + 8]
push 1
push 0x4140e8
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8
Function at 0x401e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x411ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x416028]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
push 1
push 0x417010
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], vtable.boost::exception.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xffffffff
call fcn.00402e8e
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_alloc_.1.0
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x74], edi
call fcn.00402540
test byte [0x418144], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_alloc___void_
mov dword [esp + 0x44], str.C:Devel_boost_1_51_0_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x7c
jne 0x401f72
or dword [0x418144], 1
push 0x2c
mov byte [esp + 0x74], 2
call fcn.00402d59
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x401ed9
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00402220
mov esi, eax
jmp 0x401edb
xor esi, esi
mov byte [esp + 0x70], 2
cmp esi, edi
jne 0x401eea
mov dword [esp + 0x10], edi
jmp 0x401ef8
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x20]
mov dword [esp + 0x10], ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00402a20
push esi
lea edx, [esp + 0x14]
push esi
push edx
call fcn.004018e0
mov eax, dword [esp + 0x1c]
mov dword [0x41813c], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [0x418140], eax
cmp eax, edi
je 0x401f65
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x401f65
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x401f65
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x401f65
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x411c50
call fcn.004030ff
add esp, 4
mov eax, dword [0x41813c]
mov dword [0x418158], eax
mov eax, dword [0x418140]
mov dword [0x41815c], eax
cmp eax, edi
je 0x401f96
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea esi, [esp + 0x38]
call fcn.004025e0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.0
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.00402f08
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x401fdf
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, 0x418158
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x411a89
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x416028]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], vtable.boost::exception.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], str.bad_exception
call fcn.00402e3b
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_exception_.1.0
lea ecx, [esp + 0x38]
push ecx
lea esi, [esp + 0x1c]
mov dword [esp + 0x74], edi
call fcn.00402710
test byte [0x418138], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x44], str.C:Devel_boost_1_51_0_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x7c
jne 0x402179
or dword [0x418138], 1
push 0x2c
mov byte [esp + 0x74], 2
call fcn.00402d59
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x4020df
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.004022f0
mov esi, eax
jmp 0x4020e1
xor esi, esi
mov byte [esp + 0x70], 2
cmp esi, edi
jne 0x4020f0
mov dword [esp + 0x10], edi
jmp 0x4020fe
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
lea edx, [ecx + esi + 0x20]
mov dword [esp + 0x10], edx
push esi
lea ecx, [esp + 0x18]
call fcn.00402ac0
push esi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004018e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [0x418130], ecx
mov dword [0x418134], eax
cmp eax, edi
je 0x40216c
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x40216c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40216c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40216c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x411c10
call fcn.004030ff
add esp, 4
mov eax, dword [0x418130]
mov dword [0x418150], eax
mov eax, dword [0x418134]
mov dword [0x418154], eax
cmp eax, edi
je 0x40219d
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea esi, [esp + 0x38]
call fcn.004027b0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.0
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.00402f08
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x4021e6
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, 0x418150
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402c80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edi
lea edi, [edx + eax]
cmp edx, edi
jae 0x402cae
lea ebx, [ebx]
test dl, 3
je 0x402cae
movzx esi, byte [edx]
mov eax, ecx
shr eax, 0x18
xor eax, esi
shl ecx, 8
xor ecx, dword [eax*4 + 0x418168]
inc edx
cmp edx, edi
jb 0x402c90
mov eax, edi
and eax, 3
mov esi, edi
sub esi, eax
cmp edx, esi
jae 0x402d13
jmp 0x402cc0
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
bswap eax
xor eax, ecx
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x418168]
add edx, 4
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x418168]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x418168]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x418168]
mov ecx, eax
cmp edx, esi
jb 0x402cc0
mov eax, edx
cmp edx, edi
jae 0x402d39
lea esp, [esp]
movzx esi, byte [eax]
mov edx, ecx
shr edx, 0x18
xor edx, esi
shl ecx, 8
xor ecx, dword [edx*4 + 0x418168]
inc eax
cmp eax, edi
jb 0x402d20
pop edi
mov eax, ecx
pop esi
pop ecx
ret

Function at 0x402d3f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416028]
jne 0x402d49
repz ret
jmp fcn.00403342