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

Disassembly:
jmp 0x8a86f0
sub esp, 0x70
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
push eax
mov esi, ecx
mov dword [esp + 0x28], ebp
call fcn.00412139
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040a664
lea ecx, [ebp + 0xe]
lea ebp, [esi + 0x10]
mov dword [esp + 0x3c], ecx
push dword [eax + 4]
push dword [eax]
movzx eax, byte [ecx]
push eax
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.008a1c30
add esp, 0x20
mov ecx, dword [eax]
test ecx, ecx
jne 0x8a8764
xor esi, esi
mov edi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
jmp 0x8a8791
push dword [eax + 4]
mov dword [esp + 0x50], 0
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xf
call fcn.00408698
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
call fcn.00407f8b
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040a664
mov ecx, dword [esp + 0x30]
add ecx, 0xf
mov dword [esp + 0x34], ecx
push dword [eax + 4]
push dword [eax]
movzx eax, byte [ecx]
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.008a1f00
add esp, 0x20
mov word [esp + 0x20], 0x103
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.ReturnType
mov ecx, ebp
push eax
mov eax, dword [esp + 0x28]
add eax, 2
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8865
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8834
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a882a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8858
push edx
push ecx
call fcn.004036ca
add esp, 8
cmp edi, 0x10
jb 0x8a8dbb
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x8a885e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a885e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
jmp 0x8a8db3
lea eax, [esp + 0x18]
mov word [esp + 0x20], 0x103
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebp
add eax, 6
mov dword [esp + 0x1c], str.ClassType
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8903
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a88d1
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a88c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a88fd
push edx
push ecx
call fcn.004036ca
add esp, 8
cmp edi, 0x10
jb 0x8a8dbb
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x8a885e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a885e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [esp + 0x18]
mov word [esp + 0x20], 0x103
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebp
add eax, 0xa
mov dword [esp + 0x1c], str.ThisType
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a89a1
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a896f
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a899b
push edx
push ecx
call fcn.004036ca
add esp, 8
cmp edi, 0x10
jb 0x8a8dbb
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x8a885e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a885e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [esp + 0x5c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x13
jb 0x8a8dd2
push ecx
cmp edi, 0x10
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
cmovae eax, esi
push eax
push 0x13
push str.CallingConvention:
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x3c]
call fcn.0041551e
lea eax, [esp + 0x64]
mov word [esp + 0x20], 0x104
mov dword [esp + 0x18], eax
mov ecx, ebp
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
call fcn.0040989f
lea ecx, [esp + 0x64]
call fcn.0040aeed
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8a85
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8a4b
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8a41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8a7f
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [esp + 0x44]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xf
jb 0x8a8dd7
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
push ecx
cmovae eax, dword [esp + 0x38]
lea ecx, [esp + 0x68]
push eax
push 0xf
push str.FunctionOptions
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x3c]
call fcn.0041551e
lea eax, [esp + 0x64]
mov word [esp + 0x20], 0x104
mov dword [esp + 0x18], eax
mov ecx, ebp
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call fcn.0040a2b3
lea ecx, [esp + 0x64]
call fcn.0040aeed
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8b6d
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8b33
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8b67
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov word [esp + 0x24], 0x103
mov dword [esp + 0x1c], str.NumParameters
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040cc66
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8c13
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8bd9
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8bcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8c0d
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [esp + 0x18]
mov word [esp + 0x20], 0x103
push eax
lea eax, [esi + 0x12]
mov dword [esp + 0x1c], str.ArgListType
push eax
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0041033e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x8a8cb5
mov edx, dword [esp + 0x48]
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8c7b
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8c71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8caf
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [esp + 0x18]
mov word [esp + 0x20], 0x103
push eax
lea eax, [esi + 0x18]
mov dword [esp + 0x1c], str.ThisAdjustment
push eax
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00401af0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test eax, eax
je 0x8a8d4f
mov dword [ebx], eax
mov dword [esp + 0x10], 0
cmp edx, 0x10
jb 0x8a8d1d
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8d13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8d49
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebx], 0
cmp edx, 0x10
jb 0x8a8d83
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8d79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a8dab
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x8a8dbb
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a8db1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a8db1
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 [esp + 0x7c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x70
ret 0xc
call fcn.0040a7a9
call fcn.0040a7a9
int3