joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10058b90
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x10058ba5
mov edi, 0x2719
jmp 0x10058bd7
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 1
push 6
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.100ae100
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], ebx
test edi, edi
jne 0x10058be1
call fcn.100ae100
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp + 4], eax
pop edi
mov dword [ebp], edx
mov eax, ebp
pop ebp
pop ebx
ret 8
Function at 0x10059c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ddf31
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
call fcn.10058aa0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x34], edx
mov dl, byte [esp + 0x60]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov byte [esi + 0x40], dl
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 1
test eax, eax
je 0x10059d2f
test al, 1
jne 0x10059d2f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x10059d2f
lea ecx, [esp + 0x28]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x1005aff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e2de8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x3c]
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0x40]
mov dword [esi], edx
mov esi, dword [eax + 0x20]
push 1
mov dword [esi], edx
sub ecx, edx
mov edx, dword [eax + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
mov dword [edx], ecx
call fcn.1000a300
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
and dword [esp + eax + 0x1c], 0xfffffffe
mov edx, dword [esp + 0xc]
lea eax, [esp + eax + 0xc]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0xc]
mov dword [eax + 0x14], 9
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.1005baa0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x1005b09e
lea eax, [esp + 0xc]
push eax
call fcn.1005bbf0
cmp eax, 0xffffffff
jne 0x1005b09e
mov bl, 1
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x14]
mov dword [esp + edx + 0xc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + 0x18], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret 8
Function at 0x1005e720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100df218
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1010bb90]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
lea edx, [esp + 0x24]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call fcn.10002300
lea ecx, [esp + 0x14]
push ecx
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
mov dword [esp + 0x9c], 0
call fcn.1005f2b0
add esp, 0x18
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100b096f
fstp qword [esp + 0x3c]
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x34]
add esp, 0x10
test edi, edi
je 0x1005e811
push 0
lea ecx, [esp + 0x2c]
call fcn.100afbd0
mov eax, dword [edi + 4]
test eax, eax
jbe 0x1005e7ef
cmp eax, 0xffffffff
jae 0x1005e7ef
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.100afbf8
test esi, esi
je 0x1005e811
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x1005e854
test edx, edx
je 0x1005e84b
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x1005e835
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x1005e835
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005e841
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1005e84b
mov byte [ebp + 0x11], al
jmp 0x1005e850
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x1005e88c
test ecx, ecx
je 0x1005e88a
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1005e878
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x1005e878
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005e885
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x1005e88c
xor ecx, ecx
test edx, edx
jne 0x1005e8b5
test ecx, ecx
je 0x1005e8b9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
cmp dword [esp + 0x18], ecx
je 0x1005e8c2
cmp dword [esp + 0x14], 0
jne 0x1005e8c2
fld qword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
fstp qword [eax]
jmp 0x1005e8c5
test ecx, ecx
je 0x1005e894
mov eax, dword [esp + 0x10]
or dword [eax], 1
jmp 0x1005e898
or dword [eax], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.100bfcbc
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1005e8f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100df218
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1010bb90]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
lea edx, [esp + 0x24]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call fcn.10002300
lea ecx, [esp + 0x14]
push ecx
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
mov dword [esp + 0x9c], 0
call fcn.1005f2b0
add esp, 0x18
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100b07cc
fstp qword [esp + 0x3c]
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x34]
add esp, 0x10
test edi, edi
je 0x1005e9e1
push 0
lea ecx, [esp + 0x2c]
call fcn.100afbd0
mov eax, dword [edi + 4]
test eax, eax
jbe 0x1005e9bf
cmp eax, 0xffffffff
jae 0x1005e9bf
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.100afbf8
test esi, esi
je 0x1005e9e1
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x1005ea24
test edx, edx
je 0x1005ea1b
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x1005ea05
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x1005ea05
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005ea11
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1005ea1b
mov byte [ebp + 0x11], al
jmp 0x1005ea20
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x1005ea5c
test ecx, ecx
je 0x1005ea5a
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1005ea48
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x1005ea48
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005ea55
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x1005ea5c
xor ecx, ecx
test edx, edx
jne 0x1005ea85
test ecx, ecx
je 0x1005ea89
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
cmp dword [esp + 0x18], ecx
je 0x1005ea92
cmp dword [esp + 0x14], 0
jne 0x1005ea92
fld qword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
fstp qword [eax]
jmp 0x1005ea95
test ecx, ecx
je 0x1005ea64
mov eax, dword [esp + 0x10]
or dword [eax], 1
jmp 0x1005ea68
or dword [eax], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.100bfcbc
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10061c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e24e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
sub esp, 0x50
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp + 0x60]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebp - 0x14], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x84]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x88]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x8c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x90]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x94]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x98]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x9c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0xa0]
mov byte [esi + 0x40], dl
sub esp, 0x50
mov esi, esp
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x44]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0x50]
push edi
mov byte [esi + 0x40], dl
push ebx
mov byte [ebp - 4], 2
call fcn.100658f0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x10061d90
test al, 1
jne 0x10061d8d
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x10061d8d
lea ecx, [ebp + 0x18]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x60]
cmp eax, esi
je 0x10061db9
test al, 1
jne 0x10061db9
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x10061db9
lea ecx, [ebp + 0x68]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa8
Function at 0x10062780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e24a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
sub esp, 0x50
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp + 0x60]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebp - 0x14], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x84]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x88]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x8c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x90]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x94]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x98]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x9c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0xa0]
mov byte [esi + 0x40], dl
sub esp, 0x50
mov esi, esp
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x44]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0x50]
push edi
mov byte [esi + 0x40], dl
push ebx
mov byte [ebp - 4], 2
call fcn.10065aa0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x100628a0
test al, 1
jne 0x1006289d
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x1006289d
lea ecx, [ebp + 0x18]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x60]
cmp eax, esi
je 0x100628c9
test al, 1
jne 0x100628c9
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x100628c9
lea ecx, [ebp + 0x68]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa8

Function at 0x10063270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100e1298
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
lea ecx, [edi + 4]
push ecx
lea ebx, [esp + 0x28]
mov dword [edi], eax
call fcn.10058990
lea esi, [esp + 0x114]
call fcn.1002c110
lea esi, [esp + 0x30]
call fcn.1002c110
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x10065f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100e2358
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ecx
mov dword [edi], edx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x28]
lea edx, [edi + 0x14]
mov dword [edi + 8], eax
push edx
lea ebx, [esp + 0x30]
mov dword [edi + 0x10], ecx
call fcn.10058990
lea esi, [esp + 0x11c]
call fcn.1002c110
lea esi, [esp + 0x38]
call fcn.1002c110
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x10067650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100e35c1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov ebx, ecx
mov edi, edx
lea edx, [esp + 0x140]
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], 0
push edx
mov eax, 0x220
mov dword [esp + 0x1c], ecx
call fcn.100226c0
mov esi, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x34], 2
cmp esi, eax
je 0x100676da
movzx ecx, byte [ebx + 4]
mov edx, dword [ebx]
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
push edx
mov eax, edi
call fcn.10067af0
mov byte [esp + 0x34], 1
test byte [ebx + 4], 0x10
mov dword [esp + 0x20], eax
je 0x100676f3
cmp dword [edi + 4], 0
jne 0x100676f3
mov cl, 1
jmp 0x100676f5
xor cl, cl
push ecx
mov ecx, dword [esp + 0x28]
and ebp, 1
add ebp, ebp
push ebp
push ecx
mov edi, eax
call fcn.1002b260
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
call fcn.10068120
lea esi, [esp + 0x15c]
call fcn.1002c110
lea esi, [esp + 0x78]
call fcn.1002c110
cmp dword [esp + 0x64], 0x10
jb 0x10067745
mov eax, dword [esp + 0x50]
push eax
call fcn.100c14d4
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x1fc
Function at 0x1006caf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100dd950
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x4c]
push eax
sub esp, 0x14
lea edi, [esp + 0x50]
mov esi, esp
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], esp
call fcn.1006c880
lea ecx, [esp + 0x28]
call fcn.1006d210
mov edi, eax
mov esi, ebx
mov byte [esp + 0x30], 1
call fcn.1006c880
mov ecx, dword [edi + 0x14]
mov esi, 8
mov dword [ebx + 0x14], ecx
cmp dword [esp + 0x20], esi
jbe 0x1006cb75
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1006cb75
push eax
call fcn.100c149f
add esp, 4
cmp dword [esp + 0x48], esi
jbe 0x1006cb8c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006cb8c
push eax
call fcn.100c149f
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x1006cf60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100de508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006cf93
sub eax, esi
sar eax, 1
lea eax, [edx + eax*2]
lea esi, [esp + 0xf]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
call fcn.1006d280
test al, al
je 0x1006cfcf
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_cast
lea ecx, [esp + 0x1c]
call fcn.100c0438
mov dword [esp + 0x18], vtable.boost::bad_lexical_cast.0
mov dword [esp + 0x24], 0x10113308
mov dword [esp + 0x28], 0x10113154
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.10019df0
int3

Function at 0x1006d010
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100df099
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ecx
mov dword [esp + 0xc], esi
mov word [esi + 4], dx
mov dword [esp + 0x18], ecx
movzx cx, byte [esp + 0x20]
mov edx, dword [esp + 0xc]
add cx, 0x30
mov word [eax], cx
lea ecx, [eax + 2]
push edx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x14], 1
call fcn.1006eeb0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x1006d210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100dd918
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.1006c880
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
jbe 0x1006d264
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1006d264
push eax
call fcn.100c149f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18
Function at 0x1006e190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e20d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
sub esp, 0x50
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp + 0x60]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebp - 0x14], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x84]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x88]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x8c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x90]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x94]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x98]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x9c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0xa0]
mov byte [esi + 0x40], dl
sub esp, 0x50
mov esi, esp
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esp
call fcn.10058aa0
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x24], ecx
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x44]
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0x50]
push edi
mov byte [esi + 0x40], dl
push ebx
mov byte [ebp - 4], 2
call fcn.1006ebd0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x1006e2b0
test al, 1
jne 0x1006e2ad
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x1006e2ad
lea ecx, [ebp + 0x18]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x60]
cmp eax, esi
je 0x1006e2d9
test al, 1
jne 0x1006e2d9
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, esi
je 0x1006e2d9
lea ecx, [ebp + 0x68]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa8