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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebx + 8]
push ebp
push esi
shl eax, 4
push edi
push eax
call fcn.102d6fbe
mov ebp, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x10]
push ebp
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x84]
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x44]
push ebx
push ecx
mov dword [esp + 0x30], ebp
call fcn.1012a2e0
mov esi, eax
mov eax, dword [esp + 0x90]
add esp, 0x20
cmp dword [eax + 0x14], 3
jne 0x1012a4f0
mov edx, dword [eax + 0x50]
cmp edx, dword [esp + 0x34]
jne 0x1012a499
mov ecx, dword [esp + 0x38]
cmp dword [eax + 0x54], ecx
jne 0x1012a499
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 0x48], ecx
jne 0x1012a499
mov edx, dword [eax + 0x4c]
cmp edx, dword [esp + 0x30]
jne 0x1012a499
mov edx, dword [esp + 0x3c]
cmp dword [eax + 0x58], edx
jne 0x1012a499
mov edx, dword [esp + 0x40]
cmp dword [eax + 0x5c], edx
je 0x1012a500
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
push ebp
lea edi, [eax + 0x48]
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
push ebx
push edi
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jge 0x1012a4f0
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov esi, eax
jmp 0x1012a500
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
jmp 0x1012a500
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
mov eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], ecx
dec ecx
mov eax, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x8c], 0
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jge 0x1012a5b7
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov esi, eax
jmp 0x1012a500
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [ebx - 1]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [ebx + 1]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
lea eax, [edi + 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jge 0x1012a76f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov esi, eax
mov dword [esp + 0x70], 0x20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
inc dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jge 0x1012a7dc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov esi, eax
mov dword [esp + 0x70], 0x400
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [edi - 1]
mov dword [esp + 0x24], edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
lea eax, [edi + 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
cmp dword [esp + 0x70], 0
jne 0x1012a4f0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [ebp - 1]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [ebp + 1]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
push edx
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
push edx
mov edx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
push edx
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
push edi
inc eax
push edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x78]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call fcn.1012a2e0
add esp, 0x1c
cmp eax, esi
jl 0x1012a580
push edi
call fcn.102d6d32
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x44]
add esp, 4
mov dword [eax + 0x10], ecx
pop edi
mov dword [eax + 0x14], edx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret