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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [eax + 0x2c], ecx
mov edx, dword [edi + 4]
xor esi, esi
mov dword [eax + 0x30], edx
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], vtable.CArray_class_DSUtil::PinTemplate__class_DSUtil::PinTemplate_const__.0
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0xa0], esi
lea ecx, [edi + 0x10]
mov dword [esp + 0x24], esi
cmp eax, esi
jle 0x48355c
mov ebx, dword [ebp + 0x10]
lea eax, [edi + ebx - 0x18]
mov dword [esp + 0x28], eax
jmp 0x48323c
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
xor esi, esi
cmp ecx, dword [esp + 0x28]
ja 0x48355c
mov eax, vtable.CArray_struct__GUID__struct__GUID_const__.0
mov dword [esp + 0x58], vtable.DSUtil::PinTemplate.0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov byte [esp + 0xa0], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], esi
mov byte [esp + 0xa0], 3
mov eax, dword [ecx + 4]
mov edx, eax
shr edx, 1
and edx, 1
mov dword [esp + 0x60], edx
mov edx, eax
shr edx, 2
and edx, 1
shr eax, 3
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0xc]
and eax, 1
add ecx, 0x18
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
cmp edx, esi
jle 0x483492
lea eax, [edi + ebx - 0x10]
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x14]
ja 0x483492
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], edi
lea edi, [eax + 0x10]
cmp edi, ebx
ja 0x483476
mov edi, dword [esp + 0x1c]
add edi, 0x10
cmp edi, ebx
ja 0x483476
add eax, dword [ebp + 0xc]
cmp eax, dword [esp + 0x14]
ja 0x483492
movzx ebx, byte [eax + 3]
movzx edx, byte [eax + 2]
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, edx
movzx edx, byte [eax]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 5]
shl ebx, 8
or ebx, edx
movzx edx, byte [eax + 4]
shl cx, 8
or cx, dx
movzx edx, byte [eax + 6]
mov word [esp + 0x38], cx
movzx ecx, byte [eax + 7]
shl cx, 8
or cx, dx
mov edx, dword [eax + 0xc]
mov word [esp + 0x3a], cx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], eax
cmp eax, esi
jl 0x483589
lea edi, [eax + 1]
lea esi, [esp + 0x6c]
call fcn.00404f00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
shl eax, 4
add eax, dword [esp + 0x70]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0xc]
cmp eax, dword [esp + 0x14]
ja 0x483490
movzx ebx, byte [eax + 3]
movzx ecx, byte [eax + 2]
movzx edx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax]
shl ebx, 8
or ebx, edx
movzx edx, byte [eax + 5]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 4]
shl dx, 8
or dx, cx
movzx ecx, byte [eax + 6]
mov word [esp + 0x38], dx
movzx edx, byte [eax + 7]
shl dx, 8
or dx, cx
mov word [esp + 0x3a], dx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
test eax, eax
js 0x483589
lea edi, [eax + 1]
lea esi, [esp + 0x80]
call fcn.00404f00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
shl eax, 4
add eax, dword [esp + 0x84]
xor esi, esi
mov dword [eax], ebx
mov ebx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
inc eax
add ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x4832f0
jmp 0x483492
xor esi, esi
cmp dword [esp + 0x5c], 1
mov edx, dword [esp + 0x74]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x68], edx
jne 0x4834a9
add ebx, 0x54
jmp 0x4834ac
add ebx, 0x40
mov edi, dword [ebx + 8]
cmp edi, esi
jl 0x483589
push ebx
lea ecx, [edi + 1]
call fcn.00413bf0
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x5c]
mov eax, edi
shl eax, 4
sub eax, edi
lea edi, [ecx + eax*4]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x60]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x64]
mov dword [edi + 0xc], ecx
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x4834f5
push eax
call fcn.00415ef4
add esp, 4
mov dword [edi + 0x18], esi
mov dword [edi + 0x20], esi
lea ebx, [esp + 0x6c]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], esi
call fcn.00412d20
mov eax, dword [edi + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x48351c
push eax
call fcn.00415ef4
add esp, 4
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], ebx
lea ebx, [esp + 0x80]
lea eax, [edi + 0x28]
call fcn.00412d20
mov edx, dword [esp + 0x68]
mov dword [edi + 0x10], edx
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x58]
call fcn.00483030
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x30]
jl 0x483230
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x44], vtable.CArray_class_DSUtil::PinTemplate__class_DSUtil::PinTemplate_const__.0
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041d34a
int3