Function at 0x476f31
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.00476cdd
test eax, eax
je 0x476f8f
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x476f97
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x30]
jne 0x476f5c
cmp dword [ebp - 0x20], 0
jne 0x476fa4
xor eax, eax
jmp 0x47715a
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 0x477007
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 0x47712d
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.00476ec6
test eax, eax
jne 0x47705f
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 0x477102
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476ec6
test eax, eax
jne 0x477096
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 0x477102
mov edx, dword [ebp + 8]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476ec6
test eax, eax
jne 0x4770cd
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 0x477102
mov edx, dword [ebp + 8]
add edx, 0x58
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00476ec6
test eax, eax
jne 0x477102
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 0x477128
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x477128
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x477128
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x477128
jmp 0x47712d
jmp 0x476ffe
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x477158
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], 0
je 0x477158
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x477158
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x477158
mov eax, 1
jmp 0x47715a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4