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

Disassembly:
push 0xffffffffffffffff
push 0x4a7a18
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea ecx, [esp + 0x78]
call fcn.004352c0
push eax
call fcn.0042a020
add esp, 4
cmp byte [eax], 0
je 0x477631
push 0x4bd9b8
lea ecx, [esp + 0x20]
call fcn.0040f9f0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
call fcn.00416d70
push 0x4c40f4
lea ecx, [esp + 0x3c]
push ecx
call fcn.0048be06
lea ecx, [esp + 0x78]
call fcn.004352c0
mov ebx, eax
lea edi, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.004771a0
push ebx
call fcn.0045cd20
mov edx, dword [eax]
push edx
call fcn.0042a020
add esp, 8
cmp byte [eax], 0
push ebx
je 0x47766c
call fcn.0045cd40
mov ebp, dword [eax]
add esp, 4
jmp 0x4776ac
call fcn.0045cd40
mov eax, dword [eax]
push eax
call fcn.0042a020
add esp, 8
cmp byte [eax], 0
je 0x47768e
push ebx
call fcn.0045cd20
mov ebp, dword [eax]
add esp, 4
jmp 0x4776ac
lea ecx, [esp + 0x78]
call fcn.004352c0
mov esi, eax
push esi
call fcn.0045cd40
mov ebp, dword [eax]
add esp, 4
cmp esi, ebx
jne 0x477798
push ebx
call fcn.0045cd30
mov edi, dword [eax]
push ebp
call fcn.0042a020
add esp, 8
cmp byte [eax], 0
jne 0x4776cd
push ebp
call fcn.0045cd30
add esp, 4
mov dword [eax], edi
mov ebx, dword [esp + 0x70]
mov ecx, ebx
call fcn.0045d700
mov esi, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x4776e9
mov ecx, ebx
call fcn.0045d700
jmp 0x477706
push edi
call fcn.0045cd20
add esp, 4
cmp dword [eax], esi
push edi
jne 0x4776fe
call fcn.0045cd20
jmp 0x477703
call fcn.0045cd40
add esp, 4
mov dword [eax], ebp
mov ecx, dword [ebx + 4]
push ecx
call fcn.0045cd20
add esp, 4
cmp dword [eax], esi
jne 0x477741
push ebp
call fcn.0042a020
add esp, 4
cmp byte [eax], 0
je 0x47772a
mov esi, edi
jmp 0x477733
mov eax, ebp
call fcn.004773f0
mov esi, eax
mov edx, dword [ebx + 4]
push edx
call fcn.0045cd20
add esp, 4
mov dword [eax], esi
mov eax, dword [ebx + 4]
push eax
call fcn.0045cd40
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [eax], ecx
jne 0x47789f
push ebp
call fcn.0042a020
add esp, 4
cmp byte [eax], 0
je 0x47777c
mov edx, dword [ebx + 4]
push edx
mov esi, edi
call fcn.0045cd40
add esp, 4
mov dword [eax], esi
jmp 0x47789f
mov eax, ebp
call fcn.00477c80
mov edx, dword [ebx + 4]
push edx
mov esi, eax
call fcn.0045cd40
add esp, 4
mov dword [eax], esi
jmp 0x47789f
push ebx
call fcn.0045cd20
mov eax, dword [eax]
push eax
call fcn.0045cd30
push ebx
mov dword [eax], esi
call fcn.0045cd20
push esi
mov edi, eax
call fcn.0045cd20
mov ecx, dword [edi]
push ebx
mov dword [eax], ecx
call fcn.0045cd40
add esp, 0x14
cmp esi, dword [eax]
jne 0x4777cb
mov edi, esi
jmp 0x477821
push esi
call fcn.0045cd30
mov edi, dword [eax]
push ebp
call fcn.0042a020
add esp, 8
cmp byte [eax], 0
jne 0x4777ec
push ebp
call fcn.0045cd30
add esp, 4
mov dword [eax], edi
push edi
call fcn.0045cd20
push ebx
mov dword [eax], ebp
call fcn.0045cd40
push esi
mov ebx, eax
call fcn.0045cd40
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [esp + 0x20]
push eax
call fcn.0045cd40
mov ecx, dword [eax]
push ecx
call fcn.0045cd30
mov ebx, dword [esp + 0x28]
add esp, 0x14
mov dword [eax], esi
mov ecx, dword [esp + 0x70]
call fcn.0045d700
cmp dword [eax], ebx
jne 0x477839
mov ecx, dword [esp + 0x70]
call fcn.0045d700
jmp 0x47786e
push ebx
call fcn.0045cd30
mov edx, dword [eax]
push edx
call fcn.0045cd20
add esp, 8
cmp dword [eax], ebx
push ebx
jne 0x47785e
call fcn.0045cd30
mov eax, dword [eax]
push eax
call fcn.0045cd20
jmp 0x47786b
call fcn.0045cd30
mov ecx, dword [eax]
push ecx
call fcn.0045cd40
add esp, 8
push ebx
mov dword [eax], esi
call fcn.0045cd30
push esi
mov dword [esp + 0x20], eax
call fcn.0045cd30
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
add ebx, 0x44
push ebx
add esi, 0x44
push esi
mov dword [eax], ecx
call fcn.00429690
mov ebx, dword [esp + 0x80]
add esp, 0x10
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x44], 1
jne 0x477a6d
mov ecx, ebx
call fcn.0045d700
cmp ebp, dword [eax]
je 0x477a69
cmp byte [ebp + 0x44], 1
jne 0x477a69
push edi
call fcn.0045cd20
add esp, 4
cmp ebp, dword [eax]
push edi
jne 0x477996
call fcn.0045cd40
mov esi, dword [eax]
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x477903
mov byte [esi + 0x44], 1
push ebx
mov esi, edi
mov byte [edi + 0x44], 0
call fcn.00477320
push edi
call fcn.0045cd40
mov esi, dword [eax]
add esp, 4
push esi
call fcn.0042a020
add esp, 4
cmp byte [eax], 0
jne 0x4779f5
push esi
call fcn.0045cd20
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
jne 0x47793b
push esi
call fcn.0045cd40
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
je 0x4779f1
push esi
call fcn.0045cd40
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
jne 0x477970
push esi
call fcn.0045cd20
mov eax, dword [eax]
add esp, 4
mov byte [eax + 0x44], 1
push ebx
mov byte [esi + 0x44], 0
call fcn.00477440
push edi
call fcn.0045cd40
mov esi, dword [eax]
add esp, 4
mov cl, byte [edi + 0x44]
mov byte [esi + 0x44], cl
push esi
mov byte [edi + 0x44], 1
call fcn.0045cd40
mov edx, dword [eax]
add esp, 4
push ebx
mov esi, edi
mov byte [edx + 0x44], 1
call fcn.00477320
jmp 0x477a69
call fcn.0045cd20
mov esi, dword [eax]
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x4779c1
mov byte [esi + 0x44], 1
push ebx
mov esi, edi
mov byte [edi + 0x44], 0
call fcn.00477440
push edi
call fcn.0045cd20
mov esi, dword [eax]
add esp, 4
push esi
call fcn.0042a020
add esp, 4
cmp byte [eax], 0
jne 0x4779f5
push esi
call fcn.0045cd40
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
jne 0x477a13
push esi
call fcn.0045cd20
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
jne 0x477a13
mov byte [esi + 0x44], 0
push edi
mov ebp, edi
call fcn.0045cd30
mov edi, dword [eax]
add esp, 4
mov ecx, ebx
call fcn.0045d700
cmp ebp, dword [eax]
jne 0x4778bc
jmp 0x477a69
push esi
call fcn.0045cd20
mov eax, dword [eax]
add esp, 4
cmp byte [eax + 0x44], 1
jne 0x477a48
push esi
call fcn.0045cd40
mov eax, dword [eax]
add esp, 4
mov byte [eax + 0x44], 1
push ebx
mov byte [esi + 0x44], 0
call fcn.00477320
push edi
call fcn.0045cd20
mov esi, dword [eax]
add esp, 4
mov cl, byte [edi + 0x44]
mov byte [esi + 0x44], cl
push esi
mov byte [edi + 0x44], 1
call fcn.0045cd20
mov edx, dword [eax]
add esp, 4
push ebx
mov esi, edi
mov byte [edx + 0x44], 1
call fcn.00477440
mov byte [ebp + 0x44], 1
mov esi, dword [esp + 0x14]
add esi, 0xc
lea ecx, [esi + 0x1c]
call fcn.004206f0
mov ecx, esi
call fcn.004206f0
mov eax, dword [esp + 0x14]
push eax
call fcn.004850a8
mov eax, dword [ebx + 8]
add esp, 4
test eax, eax
jbe 0x477a9d
add eax, 0xffffffff
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10