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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push esi
push eax
call fcn.004df880
mov esi, eax
add esp, 4
test esi, esi
jne 0x4c56d0
xor eax, eax
pop esi
add esp, 0x20
ret 0x10
cmp dword [esi + 0x14], 0
je 0x4c56c7
push ebp
push edi
push 0
push 1
push str.SetTerParaFmt_Enter
push 0
push esi
call fcn.004d59e0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.004c0980
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
add esp, 0x20
cmp dword [esi + 0x39b0], 0
jne 0x4c571e
push 0x50
push 0
push edi
push 0
push ebp
push esi
call fcn.004fa650
add esp, 0x18
cmp ebp, edi
push ebx
mov ebx, ebp
mov dword [esp + 0x2c], ebp
jg 0x4c59fb
lea ecx, [ecx]
push ebx
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4c59ec
mov eax, dword [esi + 0x39b0]
test eax, eax
je 0x4c57ab
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edx, dword [eax + ecx + 0x7c]
mov edi, dword [eax + ecx + 0x78]
mov ebp, dword [eax + ecx + 0x90]
add eax, ecx
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
jmp 0x4c57f7
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x14]
mov eax, dword [esi + 0x2b38]
imul edx, edx, 0x58
mov ecx, dword [ecx + 0x30]
mov edi, dword [eax + edx + 0xc]
mov ebp, dword [eax + edx + 0x34]
add eax, edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x38]
je 0x4c5806
or edx, ecx
jmp 0x4c580e
mov eax, dword [esp + 0x38]
not eax
and edx, eax
test ecx, 0x400
je 0x4c581c
and edx, 0xfffff7fc
test cl, 1
je 0x4c5827
and edx, 0xfffff3fd
test cl, 2
je 0x4c5832
and edx, 0xfffff3fe
test ecx, 0x800
je 0x4c5840
and edx, 0xfffffbfc
test ecx, 0x1000
je 0x4c584e
and edx, 0xffffdfff
test ecx, 0x2000
je 0x4c585c
and edx, 0xffffefff
cmp dword [esi + 0x39a4], 0
jge 0x4c5880
mov eax, dword [esi + 0x138]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4c5880
test byte [eax], 0x4e
je 0x4c5880
and edx, 0xffffcfff
test cl, 0x40
je 0x4c58b8
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, edi
jge 0x4c5892
lea eax, [ecx + edi]
cmp dword [esp + 0x3c], 0
je 0x4c58a9
cmp eax, 0x3c
jge 0x4c58ae
mov ecx, 0x3c
sub ecx, eax
add edi, ecx
jmp 0x4c58ae
cmp edi, 0x3c
je 0x4c58b2
test edi, edi
jge 0x4c58b4
xor edi, edi
mov ecx, dword [esp + 0x38]
test cl, cl
jns 0x4c58ea
cmp dword [esp + 0x3c], 0
je 0x4c58d4
cmp dword [esp + 0x34], 0x3c
jge 0x4c58db
mov dword [esp + 0x34], 0x3c
jmp 0x4c58ea
cmp dword [esp + 0x34], 0x3c
je 0x4c58e2
cmp dword [esp + 0x34], 0
jge 0x4c58ea
mov dword [esp + 0x34], 0
test dl, 4
je 0x4c58f9
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test cl, 0x10
je 0x4c5931
cmp dword [esp + 0x1c], 0
jne 0x4c5931
cmp dword [esp + 0x3c], 0
je 0x4c591d
cmp dword [esp + 0x10], 0x14
jge 0x4c5922
mov dword [esp + 0x10], 0x14
jmp 0x4c5931
sub dword [esp + 0x10], 0x14
cmp dword [esp + 0x10], 0
jge 0x4c5931
mov dword [esp + 0x10], 0
test cl, 0x20
je 0x4c595e
cmp dword [esp + 0x1c], 0
jne 0x4c595e
cmp dword [esp + 0x3c], 0
je 0x4c5950
cmp ebp, 0x14
jge 0x4c5958
mov ebp, 0x14
jmp 0x4c595e
cmp ebp, 0x14
jl 0x4c5958
sub ebp, 0x14
test ebp, ebp
jge 0x4c595e
xor ebp, ebp
cmp dword [esi + 0x39b0], 0
jne 0x4c5a40
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esi + 0x2b38]
push edx
mov eax, ecx
imul eax, eax, 0x58
mov edx, dword [eax + ebx + 0x50]
push edx
mov edx, dword [eax + ebx + 0x48]
push edx
mov edx, dword [eax + ebx + 0x44]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
add eax, ebx
push edx
mov edx, dword [esp + 0x28]
push ebp
push edx
mov edx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x40]
push edx
mov edx, dword [eax + 0x3c]
push edx
mov edx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [esp + 0x70]
push eax
push edx
push edi
push ecx
push esi
call fcn.004c2d90
mov ecx, dword [esi + 0x138]
mov ebx, dword [esp + 0x7c]
mov edx, dword [ecx + ebx*4]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
add esp, 0x50
mov dword [edx + 0x14], eax
add ebx, 1
cmp ebx, edi
mov dword [esp + 0x2c], ebx
jle 0x4c5730
add dword [esi + 0x114], 1
cmp dword [esi + 0x18], 0
je 0x4c5b25
test dword [esp + 0x38], 0x3000
je 0x4c5b25
cmp dword [esi + 0x5e4], 0x1388
jge 0x4c5b25
push 1
push 0
push 0
push 0
push esi
call fcn.0052b8f0
add esp, 0x14
jmp 0x4c5b2b
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x78], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edi, dword [esp + 0x34]
mov dword [eax + ecx + 0x7c], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edi, dword [esp + 0x20]
mov dword [eax + ecx + 0x80], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edi, dword [esp + 0x10]
mov dword [eax + ecx + 0x8c], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edi, dword [esp + 0x14]
mov dword [eax + ecx + 0x90], ebp
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x94], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edi, dword [esp + 0x18]
mov dword [eax + ecx + 0xa0], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
pop ebx
pop edi
pop ebp
mov dword [eax + ecx + 0x84], edx
mov eax, 1
pop esi
add esp, 0x20
ret 0x10
mov dword [esi + 0x3a00], ebp
cmp dword [esp + 0x40], 0
je 0x4c5b58
cmp dword [esp + 0x3c], 0
jne 0x4c5b4d
test dword [esp + 0x38], 0x103f0
je 0x4c5b4d
mov dword [esi + 0x498], 6
push esi
call fcn.004de3e0
add esp, 4
jmp 0x4c5b68
sub edi, ebp
add edi, 0xa
push edi
push ebp
push esi
call fcn.00520c30
add esp, 0xc
push 0
push 1
push str.SetTerParaFmt_Exit
push 0
push esi
call fcn.004d59e0
add esp, 0x14
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x20
ret 0x10