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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, 2
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov edi, dword [ebp + 8]
mov dword [esp], edi
mov dword [esp + 4], 2
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], esi
call fcn.0048280c
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x6c], 0
jne 0x4767c1
mov dword [esp + 0x90], 0
jmp 0x47699e
mov eax, dword [esp + 0x6c]
cmp dword [eax], 0
je 0x476993
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x8c]
test eax, eax
jns 0x476815
jmp 0x476805
mov dword [esp + 0x90], 0
jmp 0x47699e
mov eax, 0x10
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x88]
add ecx, edx
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 4]
ja 0x476991
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx]
jb 0x476991
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
add ecx, 0xfffffff0
cmp eax, ecx
ja 0x476991
xor eax, eax
lea ecx, [esp + 0x84]
lea edx, [esp + 0x80]
lea esi, [esp + 0x7c]
mov edi, dword [esp + 0x68]
mov edi, dword [edi + 4]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x54], eax
mov eax, esp
mov dword [eax + 8], ebx
mov dword [eax], edi
mov dword [eax + 0xc], str.resource_timestamp
mov dword [eax + 4], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
call fcn.0048a14c
mov ecx, dword [esp + 0x68]
movzx ecx, word [ecx + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi], ecx
mov dword [esi + 0xc], str.resource_version.major
mov dword [esi + 4], 0
mov dword [esp + 0x44], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x68]
movzx ecx, word [ecx + 0xa]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi], ecx
mov dword [esi + 0xc], str.resource_version.minor
mov dword [esi + 4], 0
mov dword [esp + 0x40], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x68]
mov esi, dword [ecx]
mov edi, dword [esp + 0x88]
add esi, edi
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
call fcn.00476cc0
mov dword [esp + 0x90], 1
mov dword [esp + 0x30], eax
jmp 0x47699e
jmp 0x476993
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x90]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret