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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
xor esi, esi
push edi
mov ebx, eax
xor edi, edi
mov dword [esp + 0x10], esi
cmp ebx, esi
jge 0x4c55bb
mov edx, dword [ebp + 8]
cmp dword [edx + 0xfc], esi
je 0x4c55bb
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esp + 0x24], esi
call fcn.0047b34a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4c55bb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c55bb
push eax
mov eax, dword [ebp + 0x24]
call fcn.004af09a
add esp, 4
mov edi, eax
cmp ebx, 0xffffffff
je 0x4c593c
test edi, edi
jne 0x4c593c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push ebx
push eax
mov eax, dword [ebp + 0xc]
call fcn.004b727a
mov esi, dword [esp + 0x1c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4c593c
push esi
call fcn.004bd22a
mov edi, eax
add esp, 4
cmp edi, 0x64
jne 0x4c593c
mov dword [esp + 0x14], 0
test esi, esi
je 0x4c5663
cmp dword [esi + 0x14], 0
je 0x4c563e
mov ecx, 1
cmp cx, word [esi + 0x54]
jae 0x4c563e
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c5636
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi + 0x14]
add ecx, 0x28
jmp 0x4c5668
mov eax, dword [esi]
test eax, eax
je 0x4c5663
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c5655
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi]
push 0
push 0x19
call fcn.0046152a
add esp, 8
mov ecx, 0x100aa4c0
call fcn.0043ca0a
mov ebx, eax
mov dword [esp + 0x34], edx
test esi, esi
je 0x4c56c7
mov edi, dword [esi]
mov ecx, dword [esi + 0x50]
test edi, edi
je 0x4c56aa
cmp byte [edi + 0x40], 0
jne 0x4c568e
cmp ecx, 0xc0a
jne 0x4c56a5
push 0
push 7
mov ecx, edi
call fcn.0046152a
add esp, 8
mov byte [edi + 0x40], 0
mov ecx, 7
mov eax, dword [edi + 0x38]
jmp 0x4c56af
mov eax, 0xff
and eax, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c56c7
push eax
call dword [0x100b706c]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x4c5728
cmp dword [esi + 0x14], 0
je 0x4c5703
mov edx, 2
cmp dx, word [esi + 0x54]
jae 0x4c5703
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c56fb
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi + 0x14]
add ecx, 0x50
jmp 0x4c572d
mov eax, dword [esi]
test eax, eax
je 0x4c5728
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c571a
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi]
push 0
push 0x19
call fcn.0046152a
add esp, 8
mov ecx, 0x100aa4c0
call fcn.0043ca0a
mov ebx, eax
mov dword [esp + 0x3c], edx
test esi, esi
je 0x4c578c
mov edi, dword [esi]
mov ecx, dword [esi + 0x50]
test edi, edi
je 0x4c576f
cmp byte [edi + 0x40], 0
jne 0x4c5753
cmp ecx, 0xc0a
jne 0x4c576a
push 0
push 7
mov ecx, edi
call fcn.0046152a
add esp, 8
mov byte [edi + 0x40], 0
mov ecx, 7
mov eax, dword [edi + 0x38]
jmp 0x4c5774
mov eax, 0xff
and eax, ecx
mov ecx, dword [esi]
mov dword [esi + 0x50], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4c578c
push eax
call dword [0x100b706c]
add esp, 4
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
test esi, esi
je 0x4c57ed
cmp dword [esi + 0x14], 0
je 0x4c57c8
mov eax, 3
cmp ax, word [esi + 0x54]
jae 0x4c57c8
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4c57c0
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi + 0x14]
add ecx, 0x78
jmp 0x4c57f2
mov eax, dword [esi]
test eax, eax
je 0x4c57ed
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c57df
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [esi]
push 0
push 0x19
call fcn.0046152a
add esp, 8
mov ecx, 0x100aa4c0
call fcn.0043ca0a
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
test esi, esi
je 0x4c5853
mov edi, dword [esi]
mov ecx, dword [esi + 0x50]
test edi, edi
je 0x4c5836
cmp byte [edi + 0x40], 0
jne 0x4c581a
cmp ecx, 0xc0a
jne 0x4c5831
push 0
push 7
mov ecx, edi
call fcn.0046152a
add esp, 8
mov byte [edi + 0x40], 0
mov ecx, 7
mov eax, dword [edi + 0x38]
jmp 0x4c583b
mov eax, 0xff
mov edx, dword [esi]
and eax, ecx
mov dword [esi + 0x50], eax
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c5853
push eax
call dword [0x100b706c]
add esp, 4
push 4
push esi
call fcn.0047128a
push 4
push esi
mov ebx, eax
call fcn.0046cbba
mov ecx, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
or eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
je 0x4c58ce
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c58ce
mov edx, dword [ebp + 0x1c]
neg edx
sbb edx, edx
lea edi, [esp + 0x20]
and edx, edi
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push ebx
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push eax
push edx
call fcn.004c319a
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x4c593c
cmp dword [ebp + 0x1c], eax
jne 0x4c58e1
cmp dword [ebp + 0x20], eax
jne 0x4c58e1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea eax, [edi + 1]
jmp 0x4c58e3
cmp dword [ebp + 0x1c], 0
jne 0x4c58e1
cmp dword [ebp + 0x20], 0
jne 0x4c58e1
mov eax, 1
jmp 0x4c58e3
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [ebp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebx + 4]
push ecx
push eax
inc edx
push edx
call fcn.00445d6a
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x4c593c
mov eax, dword [esp + 0x14]
push eax
mov eax, ebx
call fcn.004af09a
mov edi, eax
add esp, 4
test edi, edi
je 0x4c55f2
push esi
call fcn.004aad2a
add esp, 4
cmp edi, 0x65
je 0x4c594c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret