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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4c45a6
sub esp, 0x98
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x4c45b0]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x94], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.004acf80
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x64], esi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
test edx, edx
je 0x4c41cd
test ebx, ebx
je 0x4c41ab
lea ecx, [0x581ad4]
cmp eax, ecx
jne 0x4c41a7
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x50], ebx
lea eax, [0x52aae0]
mov dword [esp], eax
call fcn.0040b9c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x92b5b0]
test eax, eax
jne 0x4c4161
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
jmp 0x4c416a
mov eax, dword [esp + 0x7c]
call fcn.00461c70
mov ecx, dword [esp + 0x8c]
mov dword [edi + 8], ecx
mov ecx, dword [0x92b5b0]
test ecx, ecx
jne 0x4c418a
mov eax, dword [esp + 0x84]
mov dword [edi + 0xc], eax
jmp 0x4c419f
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x84]
mov edx, edi
mov edi, ecx
call fcn.00461c70
mov edi, edx
lea edx, [0x58191c]
jmp 0x4c41ad
mov edi, ebp
jmp 0x4c41ad
mov edi, ebp
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edi
add esp, 0x98
ret
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x9c]
mov edx, dword [eax + 0x134]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x138]
mov ebp, dword [eax + 0x140]
mov dword [esp + 0x68], ebp
mov esi, dword [eax + 0x144]
mov dword [esp + 0x44], esi
cmp ebx, 2
je 0x4c4211
cmp ebx, 3
setne al
mov byte [esp + 0x2f], al
jmp 0x4c421b
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + 0x2f], al
mov dword [esp + 0x30], ebx
cmp ebx, 1
sete al
mov byte [esp + 0x2e], al
lea ecx, [0x535340]
mov dword [esp], ecx
call fcn.0040b9c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
movzx ecx, byte [esp + 0x2e]
mov byte [eax + 0x12d], cl
movzx ecx, byte [esp + 0x2f]
mov byte [eax + 0x12e], cl
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x134], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x144], ecx
mov ecx, dword [0x92b5b0]
test ecx, ecx
jne 0x4c428c
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x140], ecx
jmp 0x4c429f
lea edi, [eax + 0x140]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00461c70
mov eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp], eax
call fcn.004c34d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4c4551
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x40]
test edx, edx
jbe 0x4c459c
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.004969f0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00492af0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.00492af0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x134]
cmp ebx, 1
jne 0x4c43a5
mov ebx, dword [edx + 0x138]
cmp ebx, 1
jne 0x4c438b
lea ebx, [0x55ed60]
jmp 0x4c43e2
cmp ebx, 2
jne 0x4c4398
lea ebx, [0x55ed58]
jmp 0x4c43e2
cmp ebx, 5
jne 0x4c43dc
lea ebx, [0x55ed5c]
jmp 0x4c43e2
cmp ebx, 2
je 0x4c43af
cmp ebx, 0x17
jne 0x4c43dc
mov ebx, dword [edx + 0x138]
cmp ebx, 1
jne 0x4c43c2
lea ebx, [0x55ed50]
jmp 0x4c43e2
cmp ebx, 2
jne 0x4c43cf
lea ebx, [0x55ed54]
jmp 0x4c43e2
cmp ebx, 3
jne 0x4c43dc
lea ebx, [0x55ed4c]
jmp 0x4c43e2
lea ebx, [0x55ecec]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, ebx
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x8c], ebp
cmp ecx, 1
jne 0x4c4449
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c442f
lea ecx, [0x55ed60]
jmp 0x4c4486
cmp ecx, 2
jne 0x4c443c
lea ecx, [0x55ed58]
jmp 0x4c4486
cmp ecx, 5
jne 0x4c4480
lea ecx, [0x55ed5c]
jmp 0x4c4486
cmp ecx, 2
je 0x4c4453
cmp ecx, 0x17
jne 0x4c4480
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c4466
lea ecx, [0x55ed50]
jmp 0x4c4486
cmp ecx, 2
jne 0x4c4473
lea ecx, [0x55ed54]
jmp 0x4c4486
cmp ecx, 3
jne 0x4c4480
lea ecx, [0x55ed4c]
jmp 0x4c4486
lea ecx, [0x55ecf0]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x78]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x92b5b0]
test ebx, ebx
jne 0x4c44cd
mov edx, dword [esp + 0x74]
mov dword [ebp + 0x14c], edx
jmp 0x4c44e0
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x74]
call fcn.00461c70
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x92b5b0]
test ecx, ecx
jne 0x4c44f8
mov dword [ebp + 0x154], eax
jmp 0x4c4503
lea edi, [ebp + 0x154]
call fcn.00461c70
lea eax, [0x53b260]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x520ac0]
mov dword [esp + 8], eax
lea eax, [0x55ece8]
mov dword [esp + 0xc], eax
call fcn.00414610
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x98
ret
mov dword [esp + 0x80], edx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.004c3240
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
add esp, 0x98
ret
xor eax, eax
mov ecx, eax
call fcn.00461cf0
nop
call fcn.00460860
jmp fcn.004c4070