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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x10073010]
xor eax, esp
mov dword [esp + 0x104], eax
movdqu xmm0, xmmword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x44]
lea ecx, [esp + 0xc]
movdqu xmmword [esp + 0xbc], xmm0
push edi
movdqu xmm0, xmmword [ebp + 0x1c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], 0
movdqu xmmword [esp + 0xd0], xmm0
mov dword [esp + 0x14], 0x20000000
movdqu xmm0, xmmword [ebp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
movdqu xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x20], 0
movq xmm0, qword [ebp + 0x3c]
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
mov eax, dword [0x10078424]
mov word [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2c], 0
test al, 1
jne 0x10021223
sub esp, 8
or eax, 1
mov ecx, 0x10078344
mov dword [0x10078424], eax
call fcn.10001120
push 0x1007840c
mov dword [0x10078340], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1005c8c0
call fcn.10049e88
add esp, 4
cmp byte [0x10078436], 0
jne 0x10021245
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0xa001000c
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
cmp dword [esp + 0x10], 0
jne 0x10021357
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x5c]
call fcn.10030db0
push eax
lea ecx, [esp + 0x14]
call sym.ISDI2.dll_public:_class_CConsolidatedError____thiscall_CConsolidatedError::operator_class_CConsolidatedError__
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10021288
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100212a1
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100212b2
push eax
call fcn.1004a2db
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x10021357
movdqu xmm0, xmmword [esp + 0xc0]
mov edx, dword [esp + 0x2c]
sub esp, 0x38
mov eax, esp
push ecx
movdqu xmmword [eax], xmm0
lea ecx, [esp + 0x6c]
movdqu xmm0, xmmword [esp + 0x10c]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmm0, xmmword [esp + 0x11c]
movdqu xmmword [eax + 0x20], xmm0
movq xmm0, qword [esp + 0x12c]
movq qword [eax + 0x30], xmm0
call fcn.100216b0
add esp, 0x3c
lea ecx, [esp + 0x10]
push eax
call sym.ISDI2.dll_public:_class_CConsolidatedError____thiscall_CConsolidatedError::operator_class_CConsolidatedError__
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1002132d
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10021346
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10021357
push eax
call fcn.1004a2db
add esp, 4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
call fcn.10031070
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1002137e
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10021397
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100213a8
push eax
call fcn.1004a2db
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1002157f
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 0
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], vtable.LakeTiny.0
mov dword [esp + 0xbc], 0
call fcn.10045540
push eax
lea ecx, [esp + 0x14]
call sym.ISDI2.dll_public:_class_CConsolidatedError____thiscall_CConsolidatedError::operator_class_CConsolidatedError__
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1002144f
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10021468
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10021479
push eax
call fcn.1004a2db
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1002155d
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x78]
push dword [eax]
call fcn.100458f0
test eax, eax
je 0x10021508
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10021508
xor esi, esi
cmp dword [eax + 0x14], esi
ja 0x100214b0
xor edi, edi
jmp 0x100214ba
mov eax, dword [eax + 0x10]
mov esi, 1
mov edi, dword [eax]
test edi, edi
je 0x1002155d
mov ecx, dword [edi]
push 0x10
call fcn.1000c780
add eax, 4
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.1004afb0
add esp, 0xc
test eax, eax
jne 0x100214eb
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x10021501
mov eax, dword [esp + 0x2c]
cmp esi, dword [eax + 0x14]
jae 0x1002155d
mov eax, dword [eax + 0x10]
mov edi, dword [eax + esi*4]
inc esi
test edi, edi
jne 0x100214c2
jmp 0x1002155d
mov eax, dword [edi + 0x14]
mov dword [ecx], eax
jmp 0x1002155d
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0xa0010010
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
push 0x1006284b
lea ecx, [esp + 0x14]
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
push 0x1006284b
lea ecx, [esp + 0x14]
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddDebugInformation_char_const__
cmp dword [esp + 0x10], 0
jne 0x1002155d
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0xa001000f
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], vtable.LakeTiny.0
call fcn.10045e50
lea ecx, [esp + 0x78]
call fcn.100448f0
jmp 0x10021589
test esi, esi
je 0x10021589
mov dword [esi], 0xffffffff
mov eax, dword [esp + 0x10]
sub esp, 0x1c
mov esi, esp
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100215ce
push eax
mov ecx, esi
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddDebugInformation_char_const__
mov edi, dword [esp + 0x40]
test edi, edi
je 0x100215de
push edi
mov ecx, esi
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
mov ecx, esi
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
lea eax, [esp + 0x4c]
push eax
call fcn.1001c050
mov esi, dword [ebp + 8]
add esp, 0x20
cmp dword [esp + 0x50], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
je 0x1002165f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
call fcn.10031070
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10021635
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1002164e
push eax
call fcn.1004a2db
add esp, 4
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1002165f
push eax
call fcn.1004a2db
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10021670
push eax
call fcn.1004a2db
add esp, 4
test edi, edi
je 0x1002167d
push edi
call fcn.1004a2db
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1002168e
push ecx
call fcn.1004a2db
add esp, 4
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1004952f
mov esp, ebp
pop ebp
ret