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

Disassembly:
push 0xffffffffffffffff
push 0x4d9ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x74]
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x476763
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x14], eax
jmp 0x47676a
lea ecx, [eax + 4]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], edx
jb 0x476778
mov eax, dword [eax + 4]
jmp 0x47677b
add eax, 4
push ecx
push eax
lea eax, [esp + 0x20]
push 0x4fef3c
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x4fef14
mov dword [esp + 0x30], 0x4fee58
mov dword [esp + 0x34], 0xa6
call fcn.0040c600
mov eax, dword [ebx + 0x18]
mov edi, dword [eax]
mov esi, dword [ebx + 4]
add esp, 0x10
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx + 4]
test esi, esi
je 0x4767c5
cmp esi, eax
je 0x4767cb
call dword [0x4eb328]
cmp edi, ebp
je 0x476a88
mov ebp, dword [0x4eb328]
test esi, esi
jne 0x476811
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4767e8
call ebp
mov ecx, dword [esp + 0x70]
lea eax, [edi + 8]
push eax
push ecx
call dword [0x4eb29c]
add esp, 8
test al, al
jne 0x476819
test esi, esi
jne 0x476815
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x47680d
call ebp
mov edi, dword [edi]
jmp 0x4767b7
mov eax, dword [esi]
jmp 0x4767e1
mov eax, dword [esi]
jmp 0x476806
test esi, esi
jne 0x476833
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x476828
call ebp
cmp dword [edi + 0x20], 0x10
jb 0x476837
mov eax, dword [edi + 0xc]
jmp 0x47683a
mov eax, dword [esi]
jmp 0x476821
lea eax, [edi + 0xc]
push eax
lea edx, [esp + 0x1c]
push 0x4fef04
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x4fef14
mov dword [esp + 0x2c], 0x4fee58
mov dword [esp + 0x30], 0xb0
call fcn.0040c600
add esp, 0xc
test esi, esi
jne 0x4768c0
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x47687c
call ebp
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0x24]
call fcn.00475ca0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
test esi, esi
jne 0x4768c4
call dword [0x4eb328]
cmp edi, dword [esi + 0x14]
jne 0x4768a8
call dword [0x4eb328]
mov esi, dword [edi + 0x3c]
mov edi, dword [edi + 0x24]
test ebp, ebp
je 0x4768b6
cmp ebp, edi
je 0x4768c8
mov edi, dword [0x4eb328]
call edi
jmp 0x4768ce
mov eax, dword [esi]
jmp 0x476875
mov esi, dword [esi]
jmp 0x47689d
mov edi, dword [0x4eb328]
cmp ebx, esi
je 0x476a3f
test ebp, ebp
jne 0x4769db
call edi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4768e9
call edi
mov al, byte [ebx + 0x44]
mov esi, dword [esp + 0x78]
mov byte [esi + 0x1c], al
mov ecx, 0x4fef00
test al, al
jne 0x476901
mov ecx, 0x4feefc
mov edx, dword [esp + 0x74]
cmp dword [edx + 0x18], 0x10
mov eax, dword [esp + 0x14]
jb 0x476911
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x30]
push 0x4feed0
push ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0x4fef14
mov dword [esp + 0x40], 0x4fee58
mov dword [esp + 0x44], 0xb7
call fcn.0040c600
add esp, 0x10
cmp byte [esi + 0x1c], 0
je 0x4769fa
test ebp, ebp
jne 0x4769e3
call edi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x476962
call edi
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x28]
call fcn.00474950
push eax
mov ecx, esi
mov dword [esp + 0x6c], 0
call dword [0x4eb258]
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call dword [0x4eb23c]
test ebp, ebp
jne 0x4769eb
call edi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4769a1
call edi
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x20], eax
test ebp, ebp
jne 0x4769f0
call edi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4769b6
call edi
mov ecx, dword [ebx + 0x4c]
mov dword [esi + 0x24], ecx
test ebp, ebp
jne 0x4769f5
call edi
cmp ebx, dword [ebp + 0x18]
jne 0x4769c9
call edi
mov dl, byte [ebx + 0x45]
mov edi, 1
mov byte [esi + 0x1d], dl
mov eax, edi
jmp 0x476a8a
mov eax, dword [ebp]
jmp 0x4768e2
mov eax, dword [ebp]
jmp 0x47695b
mov eax, dword [ebp]
jmp 0x47699a
mov eax, dword [ebp]
jmp 0x4769af
mov ebp, dword [ebp]
jmp 0x4769c2
push 0x4fc7ac
lea ecx, [esp + 0x2c]
call dword [0x4eb244]
lea eax, [esp + 0x28]
mov edi, 1
push eax
mov ecx, esi
mov dword [esp + 0x6c], edi
call dword [0x4eb258]
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call dword [0x4eb23c]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [esi + 0x1d], 1
mov eax, edi
jmp 0x476a8a
mov esi, dword [esp + 0x78]
push 0x4fc7ac
lea ecx, [esp + 0x48]
mov byte [esi + 0x1c], 0
call dword [0x4eb244]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov dword [esp + 0x6c], 2
call dword [0x4eb258]
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call dword [0x4eb23c]
mov eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc