Function at 0x476fb9
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
xor eax, eax
mov ax, word [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00476d65
test eax, eax
je 0x477017
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x47701f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x30]
jne 0x476fe4
cmp dword [ebp - 0x20], 0
jne 0x47702c
xor eax, eax
jmp 0x4771e2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x24]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], 0
jmp 0x47708f
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x18]
jge 0x4771b5
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476f4e
test eax, eax
jne 0x4770e7
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
jmp 0x47718a
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476f4e
test eax, eax
jne 0x47711e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
jmp 0x47718a
mov edx, dword [ebp + 8]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476f4e
test eax, eax
jne 0x477155
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
jmp 0x47718a
mov edx, dword [ebp + 8]
add edx, 0x58
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476f4e
test eax, eax
jne 0x47718a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 0
je 0x4771b0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x4771b0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x4771b0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x4771b0
jmp 0x4771b5
jmp 0x477086
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x4771e0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], 0
je 0x4771e0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x4771e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x4771e0
mov eax, 1
jmp 0x4771e2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4