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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x3894]
push edi
mov edi, dword [esp + 0x1c]
mov ebp, edi
imul ebp, ebp, 0x10c
lea ecx, [eax + ebp + 0xbc]
push ecx
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4c96ac
mov eax, dword [esi + 0x3894]
lea edx, [esi + 0x3954]
push edx
lea ecx, [eax + ebp + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0x3894]
cmp dword [edx + ebp + 0x68], 0
lea eax, [edx + ebp + 0x68]
jne 0x4c96c5
mov ecx, dword [esi + 0x3900]
mov dword [eax], ecx
mov eax, 1
cmp dword [esi + 0x343c], eax
mov dword [esp + 0x18], eax
jle 0x4c9869
mov ebx, 0x170
nop
mov edx, dword [esi + 0x3434]
cmp dword [edx + ebx + 0x13c], 0
lea eax, [edx + ebx]
je 0x4c984c
test byte [eax + 0x134], 0x80
jne 0x4c984c
cmp dword [eax + 0x40], edi
jne 0x4c984c
mov ecx, dword [esi + 0x3894]
push 0
add ecx, ebp
push ecx
lea edx, [esi + 0x3898]
push edx
push eax
push esi
call fcn.004c8e10
mov eax, dword [esi + 0x3434]
mov edi, dword [eax + ebx + 0x3c]
imul edi, edi, 0x10c
add edi, dword [esi + 0x3894]
add esp, 0x14
lea ecx, [esi + 0x3954]
push ecx
lea ebp, [edi + 0xbc]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4c9774
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4c9774
mov edx, dword [esi + 0x3434]
push ebp
lea eax, [edx + ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0x68]
cmp eax, dword [esi + 0x3900]
jne 0x4c978d
test eax, eax
jle 0x4c978d
mov ecx, dword [esi + 0x3434]
mov dword [ecx + ebx + 0x2c], eax
mov eax, dword [edi + 0xb8]
cmp eax, dword [esi + 0x3950]
jne 0x4c97a5
mov edx, dword [esi + 0x3434]
mov dword [edx + ebx + 0x44], eax
mov eax, dword [edi + 0xf0]
cmp eax, dword [esi + 0x3988]
jne 0x4c97bd
mov ecx, dword [esi + 0x3434]
mov dword [ecx + ebx + 0x5c], eax
mov eax, dword [edi + 0xec]
cmp eax, dword [esi + 0x3984]
jne 0x4c97d5
mov edx, dword [esi + 0x3434]
mov dword [edx + ebx + 0x4c], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x3908]
cmp eax, ecx
jne 0x4c97f0
test ecx, ecx
je 0x4c97f0
mov ecx, dword [esi + 0x3434]
mov dword [ecx + ebx + 0x30], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [esi + 0x390c]
cmp eax, ecx
jne 0x4c980f
cmp ecx, 0xffffff
je 0x4c980f
mov edx, dword [esi + 0x3434]
mov dword [edx + ebx + 0x34], eax
mov edi, dword [edi + 0xe4]
mov eax, dword [esi + 0x397c]
cmp edi, eax
jne 0x4c982d
test eax, eax
je 0x4c982d
mov eax, dword [esi + 0x3434]
mov dword [eax + ebx + 0x38], edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3a0]
push 1
push ecx
push edx
push esi
call fcn.004a2b60
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0x18]
add eax, 1
add ebx, 0x170
cmp eax, dword [esi + 0x343c]
mov dword [esp + 0x18], eax
jl 0x4c96e0
test edi, edi
jne 0x4c998c
mov eax, dword [esi + 0x3894]
add eax, 0xbc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4c98bb
mov ecx, dword [esi + 0x3894]
mov edx, dword [esi + 0x3434]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ecx, 0xbc
push ecx
add edx, 8
push edx
call ebx
mov eax, dword [esi + 0x3894]
add eax, 0xbc
push eax
lea ecx, [esi + 0xf0]
push ecx
call ebx
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0x68]
test eax, eax
jle 0x4c98f1
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x2c], eax
mov ecx, dword [esi + 0x3894]
mov edx, dword [ecx + 0x68]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10c], eax
mov eax, dword [ecx + 0x6c]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x134], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0x70]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x30], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0x74]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x34], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0xe4]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x38], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0xb8]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x44], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0xf0]
mov edx, dword [esi + 0x3434]
mov dword [edx + 0x5c], eax
mov ecx, dword [esi + 0x3894]
mov eax, dword [ecx + 0xec]
mov edx, dword [esi + 0x3434]
push 1
mov dword [edx + 0x4c], eax
mov ecx, dword [esi + 0x3a0]
push 0
push ecx
push esi
call fcn.004a2b60
add esp, 0x10
mov ebx, 1
cmp dword [esi + 0x2b3c], ebx
jle 0x4c99e1
mov edi, 0x58
mov edi, edi
mov edx, dword [esi + 0x2b38]
mov ecx, dword [esp + 0x1c]
cmp dword [edx + edi + 0x24], ecx
lea eax, [edx + edi]
jne 0x4c99cf
mov edx, dword [esi + 0x3894]
push 0
add edx, ebp
push edx
lea ecx, [esi + 0x3898]
push ecx
push eax
push esi
call fcn.004c9050
add esp, 0x14
add ebx, 1
add edi, 0x58
cmp ebx, dword [esi + 0x2b3c]
jl 0x4c99a0
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4c9b5c
mov edx, dword [esi + 0x3894]
mov ecx, dword [edx + 0x78]
mov eax, dword [esi + 0x2b38]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x3894]
mov ecx, dword [edx + 0x7c]
mov eax, dword [esi + 0x2b38]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x3894]
mov ecx, dword [edx + 0x80]
mov eax, dword [esi + 0x2b38]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x500]
mov eax, dword [esi + 0x2b38]
mov ecx, dword [eax + 0xc]
push 0x5a0
push edx
push ecx
call edi
mov edx, dword [esi + 0x2b38]
mov dword [edx], eax
mov eax, dword [esi + 0x500]
mov ecx, dword [esi + 0x2b38]
mov edx, dword [ecx + 0x10]
push 0x5a0
push eax
push edx
call edi
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x500]
mov eax, dword [esi + 0x2b38]
mov ecx, dword [eax + 0x14]
push 0x5a0
push edx
push ecx
call edi
mov edx, dword [esi + 0x2b38]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0x84]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0xac]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x2c], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0x88]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x28], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0x8c]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x30], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0x90]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x34], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0x94]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x38], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0xa0]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x4c], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0xb4]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x44], edx
mov eax, dword [esi + 0x3894]
mov edx, dword [eax + 0xe8]
mov ecx, dword [esi + 0x2b38]
mov dword [ecx + 0x54], edx
mov eax, dword [esi + 0x3894]
mov ecx, dword [esi + 0x2b38]
mov edx, dword [eax + 0x98]
mov dword [ecx + 0x1c], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret