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

Disassembly:
push ebp
mov eax, esi
mov dword [esi], vtable.asCModule.0
call fcn.00414650
mov eax, dword [esi + 0x18]
xor ebp, ebp
cmp eax, ebp
je 0x413954
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x18], ebp
push ebx
push edi
cmp dword [esi + 0x14], ebp
je 0x413a21
xor ebx, ebx
cmp dword [esi + 0x20], ebp
jbe 0x4139b4
mov eax, dword [esi + 0x1c]
cmp dword [eax + ebx*4 + 4], ebp
je 0x4139ac
mov ecx, dword [esi + 0x14]
xor edi, edi
cmp dword [ecx + 0xeb0], ebp
jbe 0x4139ac
lea esp, [esp]
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0xeac]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + edi*8]
lea eax, [eax + edi*8]
cmp edx, dword [ecx + ebx*4]
jne 0x4139a0
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov ecx, dword [esi + 0x14]
inc edi
cmp edi, dword [ecx + 0xeb0]
jb 0x413980
add ebx, 2
cmp ebx, dword [esi + 0x20]
jb 0x413966
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x7e4], esi
jne 0x4139c5
mov dword [eax + 0x7e4], ebp
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 0x7d4]
xor ecx, ecx
cmp edi, ebp
jbe 0x413a21
mov edx, dword [eax + 0x7d0]
lea ebx, [ebx]
cmp dword [edx], esi
je 0x4139ee
inc ecx
add edx, 4
cmp ecx, edi
jb 0x4139e0
jmp 0x413a21
cmp ecx, edi
jae 0x413a21
dec edi
cmp ecx, edi
jae 0x413a1b
jmp 0x413a00
mov edx, dword [eax + 0x7d0]
mov edi, dword [edx + ecx*4 + 4]
lea edx, [edx + ecx*4]
mov dword [edx], edi
mov edx, dword [eax + 0x7d4]
inc ecx
dec edx
cmp ecx, edx
jb 0x413a00
dec dword [eax + 0x7d4]
mov eax, dword [esi + 0x150]
cmp eax, ebp
je 0x413a45
lea ecx, [esi + 0x15c]
mov dword [esi + 0x154], ebp
cmp eax, ecx
je 0x413a45
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x150], ebp
mov dword [esi + 0x158], ebp
mov eax, dword [esi + 0x13c]
cmp eax, ebp
je 0x413a75
lea edx, [esi + 0x148]
mov dword [esi + 0x140], ebp
cmp eax, edx
je 0x413a75
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x144], ebp
mov eax, dword [esi + 0x128]
cmp eax, ebp
je 0x413aa5
lea ecx, [esi + 0x134]
mov dword [esi + 0x12c], ebp
cmp eax, ecx
je 0x413aa5
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x128], ebp
mov dword [esi + 0x130], ebp
mov eax, dword [esi + 0x114]
cmp eax, ebp
je 0x413ad5
lea edx, [esi + 0x120]
mov dword [esi + 0x118], ebp
cmp eax, edx
je 0x413ad5
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x114], ebp
mov dword [esi + 0x11c], ebp
mov eax, dword [esi + 0xf8]
cmp eax, ebp
je 0x413b05
lea ecx, [esi + 0x104]
mov dword [esi + 0xfc], ebp
cmp eax, ecx
je 0x413b05
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0xf8], ebp
mov dword [esi + 0x100], ebp
mov edx, dword [esi + 0xb8]
push edx
lea ecx, [esi + 0xb8]
call fcn.004165a0
mov dword [esi + 0xb8], ebp
mov eax, dword [esi + 0xe0]
cmp eax, ebp
je 0x413b4d
lea ecx, [esi + 0xec]
mov dword [esi + 0xe4], ebp
cmp eax, ecx
je 0x413b4d
push eax
call dword [0x4d5464]
add esp, 4
mov ebx, 0xb
mov dword [esi + 0xe0], ebp
mov dword [esi + 0xe8], ebp
cmp dword [esi + 0xd0], ebx
jbe 0x413b7a
mov edi, dword [esi + 0xd4]
cmp edi, ebp
je 0x413b7a
push edi
call dword [0x4d5464]
add esp, 4
mov eax, dword [esi + 0xa4]
cmp eax, ebp
je 0x413b9e
lea edx, [esi + 0xb0]
mov dword [esi + 0xa8], ebp
cmp eax, edx
je 0x413b9e
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xac], ebp
mov eax, dword [esi + 0x8c]
cmp eax, ebp
je 0x413bce
lea ecx, [esi + 0x98]
mov dword [esi + 0x90], ebp
cmp eax, ecx
je 0x413bce
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x94], ebp
mov edx, dword [esi + 0x4c]
push edx
lea ecx, [esi + 0x4c]
call fcn.004165a0
mov dword [esi + 0x4c], ebp
mov eax, dword [esi + 0x74]
cmp eax, ebp
je 0x413c07
lea ecx, [esi + 0x80]
mov dword [esi + 0x78], ebp
cmp eax, ecx
je 0x413c07
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x74], ebp
mov dword [esi + 0x7c], ebp
cmp dword [esi + 0x64], ebx
jbe 0x413c23
mov edi, dword [esi + 0x68]
cmp edi, ebp
je 0x413c23
push edi
call dword [0x4d5464]
add esp, 4
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x413c3e
lea edx, [esi + 0x44]
mov dword [esi + 0x3c], ebp
cmp eax, edx
je 0x413c3e
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x38], ebp
mov dword [esi + 0x40], ebp
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x413c5f
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], ebp
cmp eax, ecx
je 0x413c5f
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x24], ebp
cmp dword [esi + 4], ebx
pop edi
pop ebx
jbe 0x413c7d
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x413c7d
push eax
call dword [0x4d5464]
add esp, 4
mov dword [esi], vtable.asIScriptModule.0
pop ebp
ret