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

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.10231050
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x10212414
mov edx, dword [ecx + 0x1bc]
test edx, edx
jne 0x1021206f
cmp dword [ecx + 0x1c0], edx
je 0x10212414
mov eax, dword [ecx]
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
movq qword [esp + 0x20], xmm0
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
test edx, edx
jne 0x102120b0
mov edx, dword [ecx + 0x1c0]
jmp 0x102120b3
mov edx, dword [edx + 0xc]
mov eax, edx
mov byte [esp + 5], dl
sar eax, 8
mov byte [esp + 4], al
lea eax, [esp + 4]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x1b8]
mov dword [esp + 0x80], 2
mov dword [esp + 0x8c], 0
test eax, eax
je 0x10212126
mov byte [esp + 3], al
lea eax, [esp + 3]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x48]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x14c]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x148]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x170]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx + 0x16c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x1b4]
cdq
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1b0]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x1a8]
push esi
mov esi, dword [ecx + 0x1d0]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x19c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
push edi
test esi, esi
je 0x10212222
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x102121f3
sub edx, edi
mov dword [esp + 0xe0], esi
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x1021222a
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x1021225e
mov dword [esp + 0xf0], eax
mov eax, dword [ecx + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x1dc]
test eax, eax
je 0x10212274
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov esi, dword [ecx + 0x190]
mov eax, dword [ecx + 0x1e0]
mov dword [esp + 0x58], eax
test esi, esi
je 0x102122bf
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10212290
sub edx, edi
mov dword [esp + 0x100], esi
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x102122c7
mov dword [esp + 0x60], 0
mov esi, dword [ecx + 0x194]
test esi, esi
je 0x10212305
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x102122d6
sub edx, edi
mov dword [esp + 0x110], esi
lea eax, [esp + 0x108]
mov dword [esp + 0x108], edx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x1021230d
mov dword [esp + 0x64], 0
mov esi, dword [ecx + 0x1f4]
test esi, esi
je 0x1021234f
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10212320
sub edx, edi
mov dword [esp + 0x120], esi
lea eax, [esp + 0x118]
mov dword [esp + 0x118], edx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x10212357
mov dword [esp + 0x68], 0
mov eax, dword [ecx + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1e8]
mov dword [esp + 0x74], 0
pop edi
pop esi
test eax, eax
jne 0x10212385
mov dword [esp + 0x74], eax
jmp 0x102123af
mov dword [esp + 0x128], eax
mov eax, dword [ecx + 0x1ec]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x74], eax
movzx eax, byte [ecx + 0x1f0]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1f8]
test eax, eax
jne 0x102123ca
mov dword [esp + 0x7c], eax
jmp 0x102123f4
mov dword [esp + 0x138], eax
mov eax, dword [ecx + 0x1fc]
mov dword [esp + 0x130], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x7c], eax
push 0x1029b8f0
push dword [esp + 0x14c]
lea eax, [esp + 0x10]
push eax
call fcn.10152c10
add esp, 0xc
add esp, 0x140
ret
xor eax, eax
add esp, 0x140
ret