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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2e8
cmp dword [edx], 0
mov edi, edx
lea eax, [edx + 0x1c]
mov dword [esp + 0x88], ecx
mov dword [esp + 4], eax
je 0x4fce5c
mov edx, dword [edi + 4]
test edx, edx
je 0x4fce2b
mov eax, dword [edi + 8]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 0x34]
je 0x4fce27
mov ecx, dword [esp + 4]
lea ebx, [edx + 0xf0]
mov dword [edi + 4], ebx
call fcn.004fd92c
test eax, eax
mov edx, ebx
je 0x4fce07
jmp 0x4fce8a
and dword [edi + 4], 0
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4fce59
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 0x34]
je 0x4fce59
mov ecx, dword [esp + 4]
lea ebx, [edx + 0xf0]
mov dword [edi + 0xc], ebx
call fcn.004fd92c
test eax, eax
mov edx, ebx
je 0x4fce39
jmp 0x4fce8a
and dword [edi], 0
mov edx, dword [edi + 0x14]
xor esi, esi
test edx, edx
je 0x4fce8c
mov eax, dword [edi + 0x18]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 0x34]
je 0x4fce8c
mov ecx, dword [esp + 4]
lea ebx, [edx + 0xf0]
mov dword [edi + 0x14], ebx
call fcn.004fd92c
test eax, eax
mov edx, ebx
je 0x4fce6c
mov esi, eax
lea edi, [esp + 0x98]
mov edx, esi
mov ecx, edi
call fcn.004fd918
movzx eax, word [edi + 0xac]
cmp ax, 2
jne 0x4fcebb
mov eax, dword [esp + 0x88]
mov dword [eax], 0x80000001
jmp 0x4fd505
movzx ecx, word [esp + 0x98]
movzx esi, word [esp + 0x13c]
movzx edx, word [esp + 0x13e]
movzx edi, word [esp + 0x140]
movzx ebx, word [esp + 0x142]
cmp ecx, 0x1a
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x138]
mov word [esp + 0x34], dx
mov word [esp + 0x5a], si
mov word [esp + 0x58], bx
mov word [esp + 0x56], di
mov dword [esp + 0x94], ecx
jne 0x4fcf1b
mov dword [esp + 0x4c], 0x80000000
jmp 0x4fd2fe
mov word [esp + 0x60], ax
movzx eax, word [esp + 0x9a]
movzx ecx, word [esp + 0xfa]
movzx edx, word [esp + 0xea]
movzx esi, word [esp + 0xf0]
movzx edi, word [esp + 0xa0]
mov word [esp + 8], ax
mov eax, dword [esp + 0x9c]
mov word [esp + 0x2e], cx
mov ecx, dword [esp + 0xfc]
mov word [esp + 0x32], dx
mov word [esp + 0x30], si
movzx esi, word [esp + 0xf2]
mov edx, dword [esp + 0x104]
mov dword [esp + 0x90], eax
movzx eax, word [esp + 0xa2]
mov dword [esp + 0x40], ecx
movzx ecx, word [esp + 0x100]
mov word [esp + 0x54], ax
mov eax, dword [esp + 0xa4]
mov word [esp + 0x44], cx
movzx ecx, word [esp + 0x102]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov word [esp + 0x38], cx
movzx ecx, word [esp + 0x108]
mov ebx, eax
cmp ax, 0x17
movzx eax, word [esp + 0xa8]
mov word [esp + 0x3e], cx
movzx ecx, word [esp + 0x10a]
mov word [esp + 0xc], ax
movzx eax, word [esp + 0xaa]
mov word [esp + 0xe], ax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x64], eax
movzx eax, word [esp + 0xb0]
mov word [esp + 0x10], ax
movzx eax, word [esp + 0xb2]
mov word [esp + 0x12], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0xb8]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0xba]
mov word [esp + 0x16], ax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], eax
movzx eax, word [esp + 0xc0]
mov word [esp + 0x18], ax
movzx eax, word [esp + 0xc2]
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
movzx eax, word [esp + 0xc8]
mov word [esp + 0x1c], ax
movzx eax, word [esp + 0xca]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x74], eax
movzx eax, word [esp + 0xd0]
mov word [esp + 0x20], ax
movzx eax, word [esp + 0xd2]
mov word [esp + 0x22], ax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x78], eax
movzx eax, word [esp + 0xd8]
mov word [esp + 0x24], ax
movzx eax, word [esp + 0xda]
mov word [esp + 0x26], ax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x7c], eax
movzx eax, word [esp + 0xe0]
mov word [esp + 0x28], ax
movzx eax, word [esp + 0xe2]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x84], eax
movzx eax, word [esp + 0xe8]
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x80], eax
movzx eax, word [esp + 0xf8]
jne 0x4fd1c1
cmp di, 8
jne 0x4fd1c1
mov word [esp + 0xa], cx
movzx ecx, word [esp + 0x2c]
mov edi, eax
movzx eax, word [esp + 0x30]
movzx ebx, word [esp + 0x44]
mov word [esp + 0x30], di
movzx edi, word [esp + 0x38]
mov word [esp + 8], cx
mov ecx, dword [esp + 0x84]
mov word [esp + 0x3c], bx
mov dword [esp + 0x60], ecx
movzx ecx, word [esp + 0x2a]
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x40]
mov word [esp + 0x5c], cx
movzx ecx, word [esp + 0x32]
mov word [esp + 0x32], si
movzx esi, word [esp + 0x2e]
mov word [esp + 0x2e], di
mov edi, dword [esp + 0x48]
mov word [esp + 0x2c], cx
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x80], eax
jmp 0x4fd2ea
cmp ebx, 0x1b
mov word [esp + 0x52], di
je 0x4fcf0e
cmp ebx, 0x1a
mov word [esp + 0x3c], ax
jne 0x4fd50d
movzx edi, word [esp + 0x26]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x44]
mov ecx, dword [esp + 4]
mov word [esp + 8], di
mov edi, dword [esp + 0x7c]
mov word [esp + 0x3e], ax
movzx eax, word [esp + 0x38]
mov dword [esp + 0x60], edi
movzx edi, word [esp + 0x28]
mov word [esp + 0xa], ax
mov word [esp + 0x5c], di
movzx edi, word [esp + 0x24]
mov word [esp + 0x28], di
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], edi
movzx edi, word [esp + 0x22]
mov word [esp + 0x26], di
movzx edi, word [esp + 0x20]
mov word [esp + 0x24], di
mov edi, dword [esp + 0x74]
mov dword [esp + 0x78], edi
movzx edi, word [esp + 0x1e]
mov word [esp + 0x22], di
movzx edi, word [esp + 0x1c]
mov word [esp + 0x20], di
mov edi, dword [esp + 0x70]
mov dword [esp + 0x74], edi
movzx edi, word [esp + 0x1a]
mov word [esp + 0x1e], di
movzx edi, word [esp + 0x18]
mov word [esp + 0x1c], di
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x70], edi
movzx edi, word [esp + 0x16]
mov word [esp + 0x16], dx
movzx edx, word [esp + 0x10]
mov word [esp + 0x1a], di
movzx edi, word [esp + 0x14]
mov word [esp + 0x14], dx
mov edx, dword [esp + 0x64]
mov word [esp + 0x18], di
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edx
movzx edx, word [esp + 0xe]
mov word [esp + 0x12], dx
movzx edx, word [esp + 0xc]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x90]
mov word [esp + 0x10], dx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x64], edx
movzx edx, word [esp + 0x54]
mov word [esp + 0xe], dx
movzx edx, word [esp + 0x52]
mov word [esp + 0xc], dx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x8c], edx
mov word [esp + 0x3a], si
mov dword [esp + 4], ecx
mov dword [esp + 0x4c], edi
lea edi, [esp + 0x154]
mov eax, dword [edi - 0xc]
mov esi, dword [edi - 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edi - 8]
mov dword [esp + 0x44], eax
mov eax, dword [edi - 4]
mov dword [esp + 0x40], eax
push 0x2c
pop eax
lea ecx, [esp + 0x188]
push eax
push edi
push ecx
call fcn.00616830
add esp, 0xc
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x4c]
mov dword [ebx], eax
movzx eax, word [esp + 0xc]
mov word [ebx + 4], ax
movzx eax, word [esp + 0xe]
mov word [ebx + 6], ax
mov eax, dword [esp + 0x64]
mov dword [ebx + 8], eax
movzx eax, word [esp + 0x10]
mov word [ebx + 0xc], ax
movzx eax, word [esp + 0x12]
mov word [ebx + 0xe], ax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x10], eax
movzx eax, word [esp + 0x14]
mov word [ebx + 0x14], ax
movzx eax, word [esp + 0x16]
mov word [ebx + 0x16], ax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x18], eax
movzx eax, word [esp + 0x18]
mov word [ebx + 0x1c], ax
movzx eax, word [esp + 0x1a]
mov word [ebx + 0x1e], ax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x20], eax
movzx eax, word [esp + 0x1c]
mov word [ebx + 0x24], ax
movzx eax, word [esp + 0x1e]
mov word [ebx + 0x26], ax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x28], eax
movzx eax, word [esp + 0x20]
mov word [ebx + 0x2c], ax
movzx eax, word [esp + 0x22]
mov word [ebx + 0x2e], ax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x30], eax
movzx eax, word [esp + 0x24]
mov word [ebx + 0x34], ax
movzx eax, word [esp + 0x26]
mov word [ebx + 0x36], ax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x38], eax
movzx eax, word [esp + 0x28]
mov word [ebx + 0x3c], ax
movzx eax, word [esp + 8]
mov word [ebx + 0x3e], ax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x40], eax
movzx eax, word [esp + 0x5c]
mov word [ebx + 0x44], ax
movzx eax, word [esp + 0x2c]
mov word [ebx + 0x46], ax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x48], eax
movzx eax, word [esp + 0x2a]
mov word [ebx + 0x4c], ax
movzx eax, word [esp + 0x32]
mov word [ebx + 0x4e], ax
mov eax, dword [esp + 4]
mov dword [ebx + 0x50], eax
movzx eax, word [esp + 0x30]
mov word [ebx + 0x54], ax
movzx eax, word [esp + 0x3a]
mov word [ebx + 0x56], ax
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x58], eax
movzx eax, word [esp + 0x3c]
mov word [ebx + 0x5c], ax
movzx eax, word [esp + 0x2e]
mov word [ebx + 0x5e], ax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x60], eax
movzx eax, word [esp + 0x3e]
mov word [ebx + 0x64], ax
movzx eax, word [esp + 0xa]
mov word [ebx + 0x66], ax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x68], esi
mov esi, dword [edi + 0x2c]
mov edi, dword [edi + 0x30]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x78]
push 0x2c
pop ecx
push ecx
lea ecx, [esp + 0x18c]
push ecx
push eax
call fcn.00616830
add esp, 0xc
movzx eax, word [esp + 0x56]
movzx edx, word [esp + 0x58]
movzx ecx, word [esp + 0x5a]
mov dword [ebx + 0xa4], esi
mov dword [ebx + 0xa8], edi
mov word [ebx + 0xac], ax
mov word [ebx + 0xae], dx
mov word [ebx + 0xb0], cx
movzx edx, word [esp + 0x34]
mov ecx, dword [esp + 0x94]
mov word [ebx + 0xb2], dx
mov dword [ebx + 0xb4], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esp + 0x3a], si
lea esi, [esp + 0x10c]
push 0x2c
pop eax
lea edi, [esp + 0x188]
push eax
push esi
push edi
mov dword [esp + 0x98], edx
mov word [esp + 0x16], cx
call fcn.00616830
add esp, 0xc
movzx eax, word [esi + 0x3a]
mov word [esp + 0x88], ax
mov eax, dword [esi + 0x3c]
lea esi, [esp + 0x98]
mov dword [esp + 0x5c], eax
mov eax, 0xb4
add esi, eax
push 0xf
pop ecx
lea edi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x264]
movzx eax, word [esp + 8]
mov word [esi - 0x74], bx
mov word [esi - 0x72], ax
mov eax, dword [esp + 0x90]
mov dword [esi - 0x70], eax
movzx eax, word [esp + 0x52]
mov word [esi - 0x6c], ax
movzx eax, word [esp + 0x54]
mov word [esi - 0x6a], ax
mov eax, dword [esp + 0x48]
mov dword [esi - 0x68], eax
movzx eax, word [esp + 0xc]
mov word [esi - 0x64], ax
movzx eax, word [esp + 0xe]
mov word [esi - 0x62], ax
mov eax, dword [esp + 0x64]
mov dword [esi - 0x60], eax
movzx eax, word [esp + 0x10]
mov word [esi - 0x5c], ax
movzx eax, word [esp + 0x12]
mov word [esi - 0x5a], ax
mov eax, dword [esp + 0x68]
mov dword [esi - 0x58], eax
movzx eax, word [esp + 0x14]
mov word [esi - 0x54], ax
movzx eax, word [esp + 0x16]
mov word [esi - 0x52], ax
mov eax, dword [esp + 0x6c]
mov dword [esi - 0x50], eax
movzx eax, word [esp + 0x18]
mov word [esi - 0x4c], ax
movzx eax, word [esp + 0x1a]
mov word [esi - 0x4a], ax
mov eax, dword [esp + 0x70]
mov dword [esi - 0x48], eax
movzx eax, word [esp + 0x1c]
mov word [esi - 0x44], ax
movzx eax, word [esp + 0x1e]
mov word [esi - 0x42], ax
mov eax, dword [esp + 0x74]
mov dword [esi - 0x40], eax
movzx eax, word [esp + 0x20]
mov word [esi - 0x3c], ax
movzx eax, word [esp + 0x22]
mov word [esi - 0x3a], ax
mov eax, dword [esp + 0x78]
mov dword [esi - 0x38], eax
movzx eax, word [esp + 0x24]
mov word [esi - 0x34], ax
movzx eax, word [esp + 0x26]
mov word [esi - 0x32], ax
mov eax, dword [esp + 0x7c]
mov dword [esi - 0x30], eax
movzx eax, word [esp + 0x28]
mov word [esi - 0x2c], ax
movzx eax, word [esp + 0x2c]
mov word [esi - 0x2a], ax
mov eax, dword [esp + 0x84]
mov dword [esi - 0x28], eax
movzx eax, word [esp + 0x2a]
mov word [esi - 0x24], ax
movzx eax, word [esp + 0x32]
mov word [esi - 0x22], ax
mov eax, dword [esp + 4]
mov dword [esi - 0x20], eax
movzx eax, word [esp + 0x30]
mov word [esi - 0x1c], ax
movzx eax, word [esp + 0x3a]
mov word [esi - 0x1a], ax
mov eax, dword [esp + 0x80]
mov dword [esi - 0x18], eax
movzx eax, word [esp + 0x3c]
mov word [esi - 0x14], ax
movzx eax, word [esp + 0x2e]
mov word [esi - 0x12], ax
mov eax, dword [esp + 0x40]
mov dword [esi - 0x10], eax
movzx eax, word [esp + 0x44]
mov word [esi - 0xc], ax
movzx eax, word [esp + 0x38]
mov word [esi - 0xa], ax
mov eax, dword [esp + 0x8c]
mov dword [esi - 8], eax
movzx eax, word [esp + 0x3e]
mov word [esi - 4], ax
movzx eax, word [esp + 0xa]
mov word [esi - 2], ax
push 0x2c
pop eax
push eax
lea eax, [esp + 0x18c]
push eax
push esi
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 0x94]
mov edi, 0xb4
mov dword [esi + 0x2c], eax
movzx eax, word [esp + 0x5a]
mov word [esi + 0x30], ax
movzx eax, word [esp + 0x34]
mov word [esi + 0x32], ax
movzx eax, word [esp + 0x56]
mov word [esi + 0x34], ax
movzx eax, word [esp + 0x58]
mov word [esi + 0x36], ax
movzx eax, word [esp + 0x60]
mov word [esi + 0x38], ax
movzx eax, word [esp + 0x88]
mov word [esi + 0x3a], ax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x3c], eax
lea eax, [esp + 0x1f0]
add edi, eax
push 0xf
pop ecx
lea esi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
push 0x21
pop edx
mov ecx, str.the_record_type_was_checked_above
push 0x7397bc
push 0x73c354
push eax
call fcn.0062d770