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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
push eax
call fcn.004df880
mov esi, eax
add esp, 4
test esi, esi
jne 0x4c3310
xor eax, eax
pop esi
add esp, 0x10
ret 0x18
cmp dword [esi + 0x14], 0
je 0x4c3307
push edi
mov edi, dword [esp + 0x20]
mov eax, 0x1388
cmp edi, eax
jle 0x4c332a
mov edi, eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0x24], eax
jle 0x4c3334
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp eax, 0xfffff830
jge 0x4c3350
cmp eax, 0xffffd8f1
je 0x4c3350
mov dword [esp + 0x28], 0xfffff830
jmp 0x4c335f
cmp eax, 0x7d0
jle 0x4c335f
mov dword [esp + 0x28], 0x7d0
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.004c0980
mov ebx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esi + 0x39b0], 0
jne 0x4c3395
mov eax, dword [esp + 0x10]
push 0x50
push 0
push ebx
push 0
push eax
push esi
call fcn.004fa650
add esp, 0x18
push ebp
mov ebp, dword [esp + 0x14]
mov eax, ebp
cmp eax, ebx
mov dword [esp + 0x1c], ebp
jg 0x4c352f
push ebp
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4c351c
mov eax, dword [esi + 0x39b0]
test eax, eax
je 0x4c3429
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
test edi, edi
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x84]
mov dword [esp + 0x24], ecx
jl 0x4c33ef
mov ecx, edi
mov dword [esp + 0x10], edi
jmp 0x4c33f9
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jge 0x4c3407
mov ebx, dword [eax + 0x90]
mov edi, dword [esp + 0x30]
cmp edi, 0xffffd8f1
jne 0x4c3419
mov edi, dword [eax + 0x94]
mov edx, dword [esp + 0x34]
test edx, edx
jge 0x4c3480
mov edx, dword [eax + 0xa0]
jmp 0x4c3480
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x14]
mov edx, dword [esi + 0x2b38]
imul ecx, ecx, 0x58
test edi, edi
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
jl 0x4c3454
mov ecx, edi
mov dword [esp + 0x10], edi
jmp 0x4c345b
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jge 0x4c3466
mov ebx, dword [eax + 0x34]
mov edi, dword [esp + 0x30]
cmp edi, 0xffffd8f1
jne 0x4c3475
mov edi, dword [eax + 0x38]
mov edx, dword [esp + 0x34]
test edx, edx
jge 0x4c3480
mov edx, dword [eax + 0x4c]
test edi, edi
je 0x4c3488
xor edx, edx
jmp 0x4c348e
test edx, edx
je 0x4c3493
xor edi, edi
and dword [esp + 0x24], 0xfffffffb
cmp dword [esi + 0x39b0], 0
jne 0x4c3571
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebp*4]
mov ecx, dword [ecx + 0x14]
mov ebp, dword [esi + 0x2b38]
mov eax, ecx
imul eax, eax, 0x58
add eax, ebp
mov ebp, dword [esp + 0x24]
push ebp
mov ebp, dword [eax + 0x50]
push ebp
mov ebp, dword [eax + 0x48]
push ebp
mov ebp, dword [eax + 0x44]
push ebp
push edx
mov edx, dword [esp + 0x24]
push edi
push ebx
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]
push edx
mov edx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
push eax
push ecx
push esi
call fcn.004c2d90
mov ecx, dword [esi + 0x138]
mov ebp, dword [esp + 0x6c]
mov edx, dword [ecx + ebp*4]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x68]
add esp, 0x50
mov dword [edx + 0x14], eax
add ebp, 1
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jle 0x4c33a8
mov eax, dword [esp + 0x14]
add dword [esi + 0x114], 1
cmp dword [esp + 0x38], 0
je 0x4c3601
push esi
call fcn.004de3e0
add esp, 4
cmp dword [esi + 0x4dc], 0
je 0x4c3611
push 0
push esi
call fcn.005119e0
add esp, 8
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x18
mov eax, dword [esi + 0x39a4]
mov ebp, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ebp + 0x8c], ecx
mov ecx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + eax + 0x90], ebx
mov ecx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + eax + 0x94], edi
mov ecx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + eax + 0xa0], edx
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov eax, dword [esp + 0x24]
pop ebp
pop ebx
pop edi
mov dword [ecx + edx + 0x84], eax
mov eax, 1
pop esi
add esp, 0x10
ret 0x18
sub ebx, eax
add ebx, 0xa
push ebx
push eax
push esi
call fcn.00520c30
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x18