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

Disassembly:
jmp 0x8a9310
sub esp, 0x110
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
lea eax, [esp + 0x8c]
push ebx
mov dword [esp + 0x84], eax
mov ebx, ecx
mov eax, dword [str.Attrs:]
push ebp
mov ebp, dword [esp + 0x124]
cmp dword [ebx + 0x3c], 0
mov dword [esp + 0x94], eax
mov ax, word [0x9fc73c]
push esi
mov word [esp + 0x9c], ax
mov al, byte [0x9fc73e]
push edi
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x10]
mov dword [esp + 0x98], 0x80
mov byte [esp + 0xa2], al
mov dword [esp + 0x94], 7
je 0x8a99b2
cmp dword [ebx + 0x34], 0
jne 0x8a99b2
cmp dword [ebx + 0x38], 0
jne 0x8a99b2
mov bl, byte [ebp + 8]
lea eax, [esp + 0x30]
push eax
and bl, 0x1f
call fcn.0040f605
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040a664
push dword [eax + 4]
push dword [eax]
movzx eax, bl
push eax
lea eax, [esp + 0x40]
push edi
push eax
call fcn.008a1d50
add esp, 0x20
mov ecx, dword [eax]
test ecx, ecx
jne 0x8a93fe
xor edx, edx
mov dword [esp + 0x88], ecx
mov esi, 0xf
mov dword [esp + 0x78], edx
mov dword [esp + 0x8c], esi
jmp 0x8a943e
push dword [eax + 4]
mov dword [esp + 0x7c], 0
push ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
call fcn.00408698
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x78]
mov ebx, SysReAllocString
mov eax, ebx
sub eax, ecx
cmp eax, 8
jb 0x8a9c01
push ecx
cmp esi, 0x10
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x4c]
cmovae eax, edx
push eax
push 8
push str.__Type:
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x44]
call fcn.0041551e
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x48]
mov ecx, dword [esp + 0x48]
cmp esi, 0x10
mov eax, dword [esp + 0x58]
cmovae edx, ecx
mov dword [esp + 0x28], eax
add eax, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
sub eax, edx
cmp dword [esp + 0x28], eax
jbe 0x8a94de
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
push 1
add eax, edx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00405e1b
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
je 0x8a950e
push dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x98]
add eax, edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0xa0]
add esp, 0xc
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
add edx, dword [esp + 0x28]
mov dword [esp + 0x94], edx
cmp esi, 0x10
jb 0x8a954b
lea edx, [esi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x8a9541
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a9541
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov esi, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004073a6
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040a664
shr esi, 5
and esi, 7
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x3c]
push esi
push edi
push eax
call fcn.008a1d50
add esp, 0x20
mov ecx, dword [eax]
test ecx, ecx
jne 0x8a9598
xor edx, edx
mov dword [esp + 0x58], ecx
mov esi, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], esi
jmp 0x8a95c9
push dword [eax + 4]
mov dword [esp + 0x4c], 0
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
call fcn.00408698
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
sub ebx, ecx
cmp ebx, 8
jb 0x8a9c06
push ecx
cmp esi, 0x10
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x64]
cmovae eax, edx
push eax
push 8
push str.__Mode:
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x44]
call fcn.0041551e
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x60]
cmp esi, 0x10
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x94]
cmovae eax, ecx
mov dword [esp + 0x30], eax
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
sub eax, edx
cmp ebx, eax
jbe 0x8a9656
push 1
lea eax, [edx + ebx]
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x9c]
call fcn.00405e1b
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x1c]
je 0x8a9683
push ebx
push eax
mov eax, dword [esp + 0x98]
add eax, edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0xa0]
add esp, 0xc
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
add edx, ebx
mov dword [esp + 0x94], edx
cmp esi, 0x10
jb 0x8a96be
lea edx, [esi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x8a96b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a96b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov eax, dword [ebp + 8]
shr eax, 0xd
movzx eax, al
cdq
push 0
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040422d
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
push str.__SizeOf:
push eax
call fcn.0040e89a
add esp, 0x1c
mov ebx, eax
cmp dword [eax + 0x14], 0x10
jb 0x8a96f7
mov ebx, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp esi, eax
jbe 0x8a9728
lea eax, [esi + ecx]
push 1
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x9c]
call fcn.00405e1b
lea eax, [esi + ebx]
cmp ebx, eax
je 0x8a9748
mov eax, dword [esp + 0x94]
add eax, dword [esp + 0x90]
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [esp + 0x94], esi
mov edx, dword [esp + 0x74]
cmp edx, 0x10
jb 0x8a9781
mov ecx, dword [esp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a9777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a97be
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
cmp edx, 0x10
jb 0x8a97ce
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a97c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a97c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
test al, 1
je 0x8a97fb
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isFlat
mov dword [eax + 4], 8
call fcn.00410a14
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x8a9825
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isConst
mov dword [eax + 4], 9
call fcn.00410a14
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 9
test al, 1
je 0x8a984f
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isVolatile
mov dword [eax + 4], 0xc
call fcn.00410a14
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0xb
test al, 1
je 0x8a9879
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isUnaligned
mov dword [eax + 4], 0xd
call fcn.00410a14
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0xc
test al, 1
je 0x8a98a3
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isRestricted
mov dword [eax + 4], 0xe
call fcn.00410a14
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x14
test al, 1
je 0x8a98cd
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], 0x9fc8e4
mov dword [eax + 4], 0xc
call fcn.00410a14
mov ecx, dword [ebp + 8]
shr ecx, 0x15
test cl, 1
je 0x8a98f3
sub esp, 8
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [eax], str.__isThisPtr
mov dword [eax + 4], 0xd
call fcn.00410a14
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 2
jae 0x8a9922
lea eax, [ecx + 2]
push 1
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x9c]
call fcn.00405e1b
mov eax, dword [esp + 0x94]
mov edx, 0x5d20
mov ecx, dword [esp + 0x90]
mov word [ecx + eax], dx
add dword [esp + 0x94], 2
mov edx, dword [esp + 0x5c]
cmp edx, 0x10
jb 0x8a9973
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a9969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a999e
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x8c]
cmp edx, 0x10
jb 0x8a99ae
mov ecx, dword [esp + 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a99a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a99a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x30]
mov word [esp + 0x38], 0x103
push eax
lea eax, [ebp + 2]
mov dword [esp + 0x34], str.PointeeType
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a9a08
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov dword [edi], eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x8a9be4
push eax
jmp 0x8a9bdb
lea eax, [esp + 0x90]
mov word [esp + 0x38], 0x106
mov dword [esp + 0x30], eax
lea esi, [ebp + 8]
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x18]
push eax
call fcn.004034c2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x8a99de
mov eax, dword [esi]
shr eax, 5
and al, 7
cmp al, 2
je 0x8a9a4a
cmp al, 3
jne 0x8a9bbe
cmp dword [ebx + 0x34], 0
je 0x8a9a69
cmp dword [ebx + 0x3c], 0
jne 0x8a9a69
cmp dword [ebx + 0x38], 0
jne 0x8a9a69
xor eax, eax
mov word [ebp + 0x10], ax
mov dword [ebp + 0xc], eax
mov byte [ebp + 0x12], 1
lea eax, [esp + 0x30]
mov word [esp + 0x38], 0x103
push eax
add ebp, 0xc
mov dword [esp + 0x34], str.ClassType
push ebp
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x8a99de
lea eax, [esp + 0x30]
push eax
call fcn.004151a9
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00402f68
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
push dword [eax + 4]
push dword [eax]
movzx eax, word [ebp + 4]
push eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.008a1cc0
add esp, 0x14
mov ecx, eax
call fcn.00412ba7
lea eax, [esp + 0x60]
mov word [esp + 0x24], 0x104
push eax
lea eax, [esp + 0x7c]
push str.Representation:
push eax
call fcn.00406933
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x2c], 0
je 0x8a9b09
cmp dword [edi + 0x24], 0
jne 0x8a9b09
cmp dword [edi + 0x28], 0
je 0x8a9b35
mov ecx, edi
call fcn.0041315b
cmp eax, 2
jae 0x8a9b35
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 2
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004125ee
mov esi, dword [esp + 0x24]
add esp, 8
jmp 0x8a9b98
mov eax, dword [edi + 0x28]
test eax, eax
je 0x8a9b48
cmp dword [edi + 0x2c], 0
jne 0x8a9b4e
cmp dword [edi + 0x24], 0
jmp 0x8a9b56
cmp dword [edi + 0x2c], 0
je 0x8a9b60
cmp dword [edi + 0x24], 0
jne 0x8a9b60
test eax, eax
jne 0x8a9b60
movzx eax, word [ebp + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040cc66
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x8a9b98
cmp dword [edi + 0x24], esi
je 0x8a9b96
cmp dword [edi + 0x2c], esi
jne 0x8a9b96
cmp dword [edi + 0x28], esi
jne 0x8a9b96
mov ax, word [esp + 0x10]
mov word [ebp + 4], ax
xor esi, esi
lea ecx, [esp + 0x78]
call fcn.0040aeed
lea ecx, [esp + 0x60]
test esi, esi
je 0x8a9bb9
mov edi, dword [esp + 0x18]
mov dword [edi], esi
call fcn.0040aeed
jmp 0x8a99ec
call fcn.0040aeed
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0x90]
mov dword [edi], 0
cmp ecx, eax
je 0x8a9be4
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x11c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x110
ret 0xc
call fcn.0040a7a9
call fcn.0040a7a9
int3